WO2017156704A1 - Procédé pour établir un canal de données et transmettre un paquet de données, terminal, serveur et système - Google Patents

Procédé pour établir un canal de données et transmettre un paquet de données, terminal, serveur et système Download PDF

Info

Publication number
WO2017156704A1
WO2017156704A1 PCT/CN2016/076356 CN2016076356W WO2017156704A1 WO 2017156704 A1 WO2017156704 A1 WO 2017156704A1 CN 2016076356 W CN2016076356 W CN 2016076356W WO 2017156704 A1 WO2017156704 A1 WO 2017156704A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
terminal
data
resource pool
virtual
Prior art date
Application number
PCT/CN2016/076356
Other languages
English (en)
Chinese (zh)
Inventor
张军
钱湘江
刘亚林
胡亨捷
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/076356 priority Critical patent/WO2017156704A1/fr
Publication of WO2017156704A1 publication Critical patent/WO2017156704A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1443Reselecting a network or an air interface over a different radio air interface technology between licensed networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data channel establishment and data packet transmission method, terminal, server, and system.
  • the intelligentization of power grid is the development trend of the power industry. More and more power equipments are connected through communication networks to form power communication systems to realize information sharing and control of power systems.
  • the power communication system includes an access network, which is used to support terminals in the power communication system for network connection. Since the wireless access network has a great advantage in construction cost and deployment flexibility compared to the fiber-optic cable network, Therefore, wireless access networks are receiving more and more attention in the field of power communication. Meanwhile, since the power system is an industrial system, the wireless power communication system using the wireless access network requires high reliability of data packet transmission.
  • the wireless power communication system may include at least two wireless access networks, and when the wireless power communication system is interfered or the signal of the wireless access network for which the terminal is currently connected for data packet transmission is poor, the wireless access The data channel of the network will be interrupted, and the terminal will initiate a wireless connection request to another wireless access network.
  • the other wireless access network allocates a new Internet protocol to the terminal (English: Internet Protocol; referred to as IP)
  • IP Internet Protocol
  • the terminal performs data packet transmission on the data channel of the other radio access network according to the new IP address.
  • the current time terminal transmits data packets through the fourth generation communication technology (English: the fourth generation mobile communication technology; 4G) network.
  • the data channel of the 4G network is interrupted.
  • the terminal initiates a wireless connection request to the third generation mobile communication technology (English: the third generation mobile communication technology; 3G) network.
  • the 3G network assigns a new IP address to the terminal, and the terminal according to the new IP
  • the data channel is transmitted on the data channel of the address on the 3G network.
  • the terminal When the terminal in the wireless power communication system performs network switching, the terminal needs to initiate a wireless connection request to another wireless access network, and after the request is successful, the terminal is to receive the other wireless access network.
  • the packet transmission is performed after the new IP address. In this process, the packet transmission is interrupted, resulting in communication delay and data loss. Therefore, the reliability of packet transmission is low.
  • the present invention provides a data channel establishment and data packet transmission method, terminal, server and system.
  • the application to the power communication system in the implementation of the present invention is a typical scenario.
  • a data channel establishing method for a terminal in a wireless power communication system, the data channel establishing method comprising: generating a virtual IP address; establishing according to the virtual IP address and each communication network in the n communication networks Connection, n is greater than or equal to 2; obtains an IP address assigned to the terminal by each communication network in the n communication networks, and obtains n IP addresses; and establishes a data channel with the server by using each of the n IP addresses.
  • the data channel establishing method can be applied to a terminal in a wireless power communication system.
  • the terminal can establish a connection with each communication network of the n communication networks, and obtain an IP address assigned by each communication network to the terminal, and then use each of the n IP addresses to respectively connect with the server.
  • Establishing a data channel increases the number of data channels used to transmit data packets and improves the reliability of packet transmission.
  • the data channel establishing method may further include: establishing a first IP resource pool according to the n IP addresses, where the first IP resource pool includes n IP addresses; sending the virtual IP address and the first IP resource pool to the server Information, so that the server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool, where the second resource pool includes n IP addresses.
  • the terminal can establish a first IP resource pool according to the obtained n IP addresses, and send the virtual IP address and the information of the first IP resource pool to the server, so that the server establishes the terminal indicated by the virtual IP address.
  • the second IP resource pool in this way, the terminal and the server can select different data channels to transmit data packets, thereby improving the reliability of data packet transmission.
  • the data channel establishing method further includes: determining a service quality of each of the n data channels; sorting the n data channels according to a service quality of each of the n data channels, and obtaining the sorting information. Recording the quality of service and ordering information of each of the n data channels to the first IP resource pool.
  • the terminal determines the quality of service of each data channel, and sorts multiple data channels according to the quality of service, so that different priorities can be selected according to the importance of the data to be transmitted.
  • the data channel transmits data packets, such as selecting a data channel with better quality of service to transmit data packets with higher importance of data, which improves the reliability of data packet transmission.
  • the data channel establishing method may further include: detecting whether an interrupt occurs in the first data channel, where the first data channel is any one of n data channels; when the first data channel is interrupted, The information corresponding to the first data channel in an IP resource pool is set to the prohibited use state.
  • the terminal sets the information corresponding to the interrupted data channel in the first IP resource pool to the forbidden state, so that the data channel with poor service quality can be excluded in time, and the data channel with better service quality is selected. Perform packet transmission.
  • other information corresponding to the data channel that does not satisfy the transmission requirement may be set to the prohibited use state, for example, the data channel whose service quality is less than a certain value is corresponding. The information is set to the prohibited state.
  • the second aspect provides a data channel establishing method for a server in a wireless power communication system, where the data channel establishing method includes: receiving a virtual IP address sent by the terminal and information of the first IP resource pool, the first IP
  • the resource pool includes n IP addresses, each IP address is used for the terminal to access a different communication network, and the virtual IP address is a virtual IP address generated by the terminal; the virtual IP address is established according to the virtual IP address and the information of the first IP resource pool.
  • a second IP resource pool of the indicated terminal, the second resource pool includes n IP addresses; and each of the n IP addresses establishes a data channel with the terminal.
  • the data channel establishment method can be applied to a server in a wireless power communication system.
  • the server can establish a second IP resource pool according to the virtual IP address sent by the terminal and the information of the first IP resource pool, and then use each of the n IP addresses in the second IP resource pool.
  • the data channel is respectively established with the terminal, which increases the number of data channels used for transmitting data packets, and improves the reliability of data packet transmission.
  • the second IP resource pool further includes the quality of service of each of the n data channels and the ranking information of the quality of service of the n data channels.
  • the server can select different data channels to transmit data packets according to the importance of the data to be transmitted, for example, selecting a data channel with better quality of service to transmit data packets with higher importance of data, thereby improving data packet transmission. reliability.
  • a data packet transmission method for a terminal in a wireless power communication system, the data packet transmission method includes: acquiring a first IP address in a first IP resource pool when data packet transmission is required
  • the first IP address is a target source IP address for performing packet transmission
  • the first The 1P resource pool includes n IP addresses, each IP address is used for the terminal to access different communication networks, n is greater than or equal to 2, and the data packet includes data to be transmitted, a first source IP address, and a first destination IP address, and the first The source IP address is the virtual IP address of the terminal, and the first destination IP address is the IP address of the server; the first source IP address of the data packet is replaced by the virtual IP address to the first IP address, and the processed data packet is obtained; The data channel of the communication network indicated by an IP address and the first destination IP address transmits the processed data packet to the server.
  • the data channel establishing method can be applied to a terminal in a wireless power communication system.
  • the terminal can obtain the first IP address in the first IP resource pool, and replace the first source IP address of the data packet with the virtual IP address and the first IP address.
  • the processed data packet is transmitted to the server through the data channel, and when the terminal performs network switching, the terminal does not need to initiate a wireless connection request to another communication network to perform a new IP address according to another communication network.
  • the data packet transmission solves the problem of communication delay and data loss caused by interruption of data packet transmission, and improves the reliability of data packet transmission.
  • the data packet transmission method may further include: generating a virtual IP address; establishing a connection with each communication network in the n communication networks according to the virtual IP address; acquiring an IP allocated by each communication network in the n communication networks to the terminal. Address; establish a first IP resource pool, where the first IP resource pool includes n IP addresses.
  • the terminal establishes a first IP resource pool in advance, so that when the data packet needs to be transmitted, the first IP address is obtained in the first IP resource pool, and then the first source IP address of the data packet is virtualized. The IP address is replaced with the first IP address, and the processed data packet is obtained, and the data packet transmission process is completed.
  • establishing a connection with each of the n communication networks according to the virtual IP address including: sending a connection request message to the packet gateway of each of the n communication networks according to the virtual IP address, where the connection request message includes a virtual IP address; receiving a connection response message sent by a packet gateway of each communication network, each connection response message including an IP address assigned by the communication network to the terminal.
  • the terminal receives the connection response message sent by the packet gateway of each communication network, acquires the IP address in the connection response message, and establishes the first IP resource pool.
  • the connection response message may further include a port number assigned by the communication network to the terminal.
  • the first IP resource pool further includes a service quality of the data channel of each communication network in the n communication networks and a sorting information of the service quality of the n data channels
  • the data packet transmission method further includes: determining n data. Quality of service for each data channel in the channel; based on each of the n data channels The service quality of the channel sorts the n data channels to obtain sorting information; and records the quality of service and the sorting information of each of the n data channels to the first IP resource pool.
  • the terminal determines the quality of service of each data channel, and sorts multiple data channels according to the quality of service, so that different data channels can be selected according to the importance of the data to be transmitted, such as selecting A data channel with better quality of service transmits data packets with higher importance of data, which improves the reliability of data packet transmission.
  • the data packet further includes: a type of the data to be transmitted, and acquiring the first IP address in the first IP resource pool, including: determining an important level of the data to be transmitted according to the type of the data to be transmitted; Level, quality of service and ranking information for each of the n data channels, m data channels are determined in n data channels, m is greater than or equal to 1, and less than n; each data channel of m data channels
  • the corresponding communication network is the IP address assigned by the terminal as the first IP address.
  • the terminal can select different data channels to transmit data packets according to the importance of the data to be transmitted, for example, selecting a data channel with better quality of service to transmit data packets with higher importance of data, thereby improving data packet transmission. reliability.
  • the data packet transmission method may further include: detecting whether the first data channel is interrupted, the first data channel is any one of the n data channels; when the first data channel is interrupted, the first The information corresponding to the first data channel in the IP resource pool is set to the forbidden state.
  • the terminal sets the information corresponding to the interrupted data channel in the first IP resource pool to the prohibited use state, so that the data channel with poor service quality can be excluded in time, and the data channel with better service quality is selected. Perform packet transmission.
  • other information corresponding to the data channel that does not satisfy the transmission requirement may be set to the prohibited use state, for example, the data channel whose service quality is less than a certain value is corresponding. The information is set to the prohibited state.
  • the data packet transmission method may further include: sending, to the server, the virtual IP address and the information of the first IP resource pool, so that the server indicates the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the terminal sends the virtual IP address and the information of the first IP resource pool to the server, so that the server establishes the second IP resource pool of the terminal indicated by the virtual IP address, so that the server can select different data.
  • Channels transmit data packets, improving the reliability of packet transmission.
  • the data packet transmission method may further include: when the information of the first IP resource pool changes, sending the changed information of the first IP resource pool to the server, so that the server changes according to the server.
  • the information of the first IP resource pool is updated to the second IP resource pool.
  • the terminal may send the changed information of the first IP resource pool to the server, so that the server performs the second IP resource pool according to the changed information of the first IP resource pool.
  • the update enables the server to exclude data channels that do not meet the transmission requirements, and select a data channel with better quality of service for packet transmission. For example, when the data channel is interrupted, after the terminal sets the information corresponding to the data channel to the forbidden state, the information of the changed first IP resource pool may be sent to the server, so that the server accesses the second IP resource pool.
  • the information corresponding to the data channel in the middle is set to the prohibited use state.
  • the data packet transmission method may further include: the terminal updates the service quality and the sorting information of each data channel in the first IP resource pool every preset time period, so that the data with better service quality can be selected in time.
  • the channel carries out packet transmission, which further improves the reliability of data packet transmission.
  • obtaining the first IP address in the first IP resource pool includes: the terminal uses the IP address corresponding to the communication network corresponding to each data channel of the n data channels as the first IP address, and the n data channels.
  • the link hot backup is formed, which greatly improves the reliability of data packet transmission.
  • the quality of service may be a parameter such as a signal to noise ratio, a number of packet retransmissions, a number of channel carriers, a channel bandwidth, a channel delay, a channel type, and a channel scheduling level.
  • the communication network may be a wireless local area network, a wireless cellular network, a wireless private network, a ZigBee network, and a low-power wireless personal area network 6LowPAN based on the Internet Protocol version 6.
  • a fourth aspect provides a data packet transmission method for a server in a wireless power communication system, where the data packet transmission method includes: acquiring a second IP in a second IP resource pool when data packet transmission is required The address, the second IP address is a target destination IP address for data packet transmission, and the second IP resource pool includes n IP addresses, each IP address is used for the terminal to access different communication networks, and n is greater than or equal to 2.
  • the second IP resource pool is established according to the virtual IP address of the terminal and the information of the first IP resource pool, where the data packet includes data to be transmitted, a second source IP address, and a second destination IP address, and the second source IP address.
  • the IP address of the server, the second destination IP address is a virtual IP address; the second destination IP address of the data packet is replaced by the virtual IP address to the second IP address, and the processed data packet is obtained; the second source IP address is The data channel of the communication network indicated by the second IP address transmits the processed data packet to the terminal; wherein the first IP resource pool includes n IP addresses.
  • the data channel establishment method can be applied to a server in a wireless power communication system.
  • the server can obtain the second IP address in the second IP resource pool, and replace the second destination IP address of the data packet with the virtual IP address.
  • the second IP address obtains the processed data packet, and then transmits the processed data packet to the terminal through the data channel, thereby solving the problem of data loss during the data packet transmission process and improving the reliability of the data packet transmission.
  • the data packet transmission method may further include: receiving the virtual IP address sent by the terminal and the information of the first IP resource pool; establishing the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the second IP resource pool may further include: receiving the virtual IP address sent by the terminal and the information of the first IP resource pool; establishing the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool. The second IP resource pool.
  • the server pre-establishes a second IP resource pool, so that when the data packet needs to be transmitted, the second IP address is obtained in the second IP resource pool, and then the second destination IP address of the data packet is virtualized.
  • the IP address is replaced with the second IP address, and the processed data packet is obtained, and the data packet transmission process is completed.
  • the data packet further includes: a type of data to be transmitted
  • the second IP resource pool further includes a service quality of the data channel of each communication network in the n communication networks and a sorting information of the service quality of the n data channels, where Obtaining the second IP address in the second IP resource pool, including: determining an important level of the data to be transmitted according to the type of the data to be transmitted; according to the important level of the data to be transmitted, the quality of service and the ordering of each data channel in the n data channels
  • the p data channels are determined in the n data channels, p is greater than or equal to 1, and is less than n; and the communication network corresponding to each data channel of the p data channels is the IP address assigned by the terminal as the second IP address.
  • the server can select different data channels to transmit data packets according to the importance of the data to be transmitted, for example, selecting a data channel with better quality of service to transmit data packets with higher importance of data, thereby improving data packet transmission. reliability.
  • the data packet transmission method further includes: receiving information of the changed first IP resource pool sent by the terminal; and updating the second IP resource pool according to the changed information of the first IP resource pool.
  • the terminal may send the changed information of the first IP resource pool to the server, and the server according to the changed information of the first IP resource pool.
  • the second IP resource pool is updated, so that the server can exclude data channels that do not meet the transmission requirements, and select a data channel with better quality of service for data packet transmission.
  • the information of the changed first IP resource pool may be sent to the server, and the server may be in the second IP resource pool.
  • the information corresponding to the data channel is set to the prohibited use state.
  • a terminal includes: a generating unit, configured to generate a virtual IP address, and a first establishing unit, configured to establish a connection with each communication network in the n communication networks according to the virtual IP address, where n is greater than Or equal to 2; an acquisition unit for acquiring each communication network in n communication networks The network assigns an IP address to the terminal, and obtains n IP addresses.
  • the second establishing unit is configured to establish a data channel with the server by using each of the n IP addresses.
  • the terminal may further include: a third establishing unit, configured to establish a first IP resource pool according to the n IP addresses, where the first IP resource pool includes n IP addresses, and a sending unit, configured to send the virtual IP to the server And the information of the first IP resource pool, so that the server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool, where the second resource pool includes n IP addresses.
  • a third establishing unit configured to establish a first IP resource pool according to the n IP addresses, where the first IP resource pool includes n IP addresses
  • a sending unit configured to send the virtual IP to the server And the information of the first IP resource pool, so that the server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool, where the second resource pool includes n IP addresses.
  • the terminal may further include: a determining unit, configured to determine a quality of service of each of the n data channels; and a sorting unit, configured to compare n quality of service data according to each of the n data channels The data channel is sorted to obtain sorting information; and the recording unit is configured to record the quality of service and the sorting information of each of the n data channels to the first IP resource pool.
  • a determining unit configured to determine a quality of service of each of the n data channels
  • a sorting unit configured to compare n quality of service data according to each of the n data channels The data channel is sorted to obtain sorting information
  • the recording unit is configured to record the quality of service and the sorting information of each of the n data channels to the first IP resource pool.
  • the terminal may further include: a detecting unit, configured to detect whether the first data channel is interrupted, the first data channel is any one of the n data channels; and the setting unit is configured to be in the first data channel When an interrupt occurs, the information corresponding to the first data channel in the first IP resource pool is set to the prohibited use state.
  • a detecting unit configured to detect whether the first data channel is interrupted, the first data channel is any one of the n data channels; and the setting unit is configured to be in the first data channel When an interrupt occurs, the information corresponding to the first data channel in the first IP resource pool is set to the prohibited use state.
  • a server includes: a receiving unit, configured to receive a virtual IP address sent by the terminal and information of a first IP resource pool, where the first IP resource pool includes n IP addresses, and each IP address The terminal is used to access a different communication network, and the virtual IP address is a virtual IP address generated by the terminal.
  • the first establishing unit is configured to establish a terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the second IP resource pool includes a plurality of IP addresses, and the second establishing unit is configured to establish a data channel with the terminal by using each of the n IP addresses.
  • the second IP resource pool further includes the quality of service of each of the n data channels and the ranking information of the quality of service of the n data channels.
  • the seventh aspect provides a terminal, where the terminal includes: a first acquiring unit, configured to acquire a first IP address in a first IP resource pool when the data packet needs to be transmitted, where the first IP address is used for performing The destination IP address of the data packet transmission, the first IP resource pool includes n IP addresses, each IP address is used for the terminal to access different communication networks, n is greater than or equal to 2, and the data packet includes data to be transmitted, the first source.
  • the IP address and the first destination IP address, the first source IP address is the virtual IP address of the terminal, the first destination IP address is the IP address of the server, and the replacement unit is configured to use the virtual IP address of the first source IP address of the data packet.
  • Replacing with the first IP address obtaining the processed data packet; and transmitting, for transmitting to the server by the data channel of the communication network indicated by the first IP address and the first destination IP address The processed packet.
  • the terminal may further include: a generating unit, configured to generate a virtual IP address, a first establishing unit, configured to establish a connection with each of the n communication networks according to the virtual IP address, and a second acquiring unit, Obtaining an IP address assigned by each communication network to the terminal in the n communication networks; a second establishing unit, configured to establish a first IP resource pool, where the first IP resource pool includes n IP addresses.
  • a generating unit configured to generate a virtual IP address
  • a first establishing unit configured to establish a connection with each of the n communication networks according to the virtual IP address
  • a second acquiring unit Obtaining an IP address assigned by each communication network to the terminal in the n communication networks
  • a second establishing unit configured to establish a first IP resource pool, where the first IP resource pool includes n IP addresses.
  • the first establishing unit is specifically configured to: send, according to the virtual IP address, a connection request message to a packet gateway of each communication network in the n communication networks, where the connection request message includes a virtual IP address; and receive a packet of each communication network.
  • a connection response message sent by the gateway, and each connection response message includes an IP address assigned by the communication network to the terminal.
  • the first IP resource pool further includes the service quality of the data channel of each communication network of the n communication networks and the ranking information of the service quality of the n data channels
  • the terminal may further include: a determining unit, configured to determine Quality of service for each of the n data channels; a sorting unit for sorting n data channels according to the quality of service of each of the n data channels to obtain sorting information; and a recording unit for n The quality of service and ordering information of each data channel in each data channel are recorded to the first IP resource pool.
  • the data packet further includes: a type of the data to be transmitted, where the first acquiring unit is specifically configured to: determine an important level of the data to be transmitted according to the type of the data to be transmitted; and according to an important level of the data to be transmitted, n data channels
  • the service quality and the sorting information of each data channel, determining m data channels in n data channels, m is greater than or equal to 1, and less than n; the communication network corresponding to each data channel in the m data channels is a terminal
  • the assigned IP address is used as the first IP address.
  • the terminal may further include: a detecting unit, configured to detect whether the first data channel is interrupted, the first data channel is any one of the n data channels; and the setting unit is configured to be in the first data channel When an interrupt occurs, the information corresponding to the first data channel in the first IP resource pool is set to the prohibited use state.
  • a detecting unit configured to detect whether the first data channel is interrupted, the first data channel is any one of the n data channels; and the setting unit is configured to be in the first data channel When an interrupt occurs, the information corresponding to the first data channel in the first IP resource pool is set to the prohibited use state.
  • the terminal may further include: a first sending unit, configured to send the virtual IP address and the information of the first IP resource pool to the server, so that the server establishes a virtual IP according to the virtual IP address and the information of the first IP resource pool.
  • the second IP resource pool of the terminal indicated by the address, and the second resource pool includes n IP addresses.
  • the terminal may further include: a second sending unit, configured to: when the information of the first IP resource pool changes, send the changed information of the first IP resource pool to the server, so that the server changes according to the The information of the first IP resource pool is updated to the second IP resource pool.
  • a second sending unit configured to: when the information of the first IP resource pool changes, send the changed information of the first IP resource pool to the server, so that the server changes according to the The information of the first IP resource pool is updated to the second IP resource pool.
  • a server includes: an obtaining unit, configured to acquire a second IP address in a second IP resource pool when the data packet needs to be transmitted, where the second IP address is used for performing a data packet
  • the destination IP address of the transmission the second IP resource pool includes n IP addresses, each IP address is used for the terminal to access different communication networks, n is greater than or equal to 2, and the second IP resource pool is based on the terminal sent by the terminal.
  • the virtual IP address and the information of the first IP resource pool are established, and the data packet includes data to be transmitted, a second source IP address, and a second destination IP address, where the second source IP address is the IP address of the server, and the second destination IP address is a virtual IP address; a replacement unit, configured to replace the second destination IP address of the data packet by the virtual IP address with the second IP address to obtain the processed data packet; and the transmission unit, configured to pass the second source IP address and the second The data channel of the communication network indicated by the IP address transmits the processed data packet to the terminal; wherein the first IP resource pool includes n IP addresses.
  • the server may further include: a first receiving unit, configured to receive the virtual IP address sent by the terminal and the information of the first IP resource pool; and the establishing unit, configured to use the virtual IP address and the information of the first IP resource pool Establish a second IP resource pool of the terminal indicated by the virtual IP address.
  • a first receiving unit configured to receive the virtual IP address sent by the terminal and the information of the first IP resource pool
  • the establishing unit configured to use the virtual IP address and the information of the first IP resource pool Establish a second IP resource pool of the terminal indicated by the virtual IP address.
  • the data packet further includes: a type of data to be transmitted, where the second IP resource pool further includes a service quality of the data channel of each communication network in the n communication networks and a sorting information of the service quality of the n data channels, and obtains
  • the unit is specifically configured to: determine an important level of the data to be transmitted according to the type of the data to be transmitted; according to the important level of the data to be transmitted, the quality of service and the sorting information of each data channel in the n data channels, in the n data channels
  • the p data channels are determined, p is greater than or equal to 1, and is less than n; the communication network corresponding to each data channel of the p data channels is the IP address assigned by the terminal as the second IP address.
  • the server may further include: a second receiving unit, configured to receive information about the changed first IP resource pool sent by the terminal; and an update unit, configured to use, according to the changed information of the first IP resource pool The second IP resource pool is updated.
  • a ninth aspect provides a data channel establishing system, including a terminal and a server, wherein the terminal is the terminal according to the fifth aspect; the server is the server according to the sixth aspect.
  • the tenth aspect provides a data packet transmission system, including a terminal and a server, where the terminal is the terminal according to the seventh aspect; the server is the server according to the eighth aspect.
  • a terminal comprising: at least one processor, a memory, a communication module, at least one communication bus, and a communication antenna.
  • the communication bus is used to implement connection communication between these components.
  • the communication module can be used for remote communication.
  • the communication antenna is used to receive and transmit communication signals.
  • the processor is configured to execute an application stored in the memory, the application including the first aspect The data channel establishment method described.
  • a server comprising: a processor, a network interface, a memory, and a bus.
  • the bus is used to connect the processor, network interface and memory.
  • the processor is configured to execute a program stored in the memory, the program comprising the data channel establishing method of the second aspect.
  • a terminal comprising at least one processor, a memory, a communication module, at least one communication bus, and a communication antenna.
  • the communication bus is used to implement connection communication between these components.
  • the communication module can be used for remote communication.
  • the communication antenna is used to receive and transmit communication signals.
  • the processor is configured to execute an application stored in the memory, the application comprising the data packet transmission method of the third aspect.
  • a server comprising: a processor, a network interface, a memory, and a bus.
  • the bus is used to connect the processor, network interface and memory.
  • the processor is configured to execute a program stored in the memory, the program comprising the data packet transmission method of the fourth aspect.
  • a data channel establishing system comprising a terminal and a server, wherein the terminal is the terminal according to the eleventh aspect; the server is the server according to the twelfth aspect.
  • a data packet transmission system comprising a terminal and a server, wherein the terminal is the terminal according to the thirteenth aspect; the server is the server according to the fourteenth aspect.
  • the data channel establishment and data packet transmission method, the terminal, the server and the system provided by the present invention when the data packet transmission is required, the terminal can acquire the first IP address in the first IP resource pool, and use the first IP address to the data packet.
  • the address information in the process is processed, and the processed data packet is transmitted to the server through the data channel, and the server can obtain the second IP address in the second IP resource pool, and use the second IP address to perform the address information in the data packet.
  • the processed data packet is transmitted to the terminal through the data channel, which solves the problem of communication delay and data loss caused by interruption of data packet transmission, and improves the reliability of data packet transmission.
  • FIG. 1 is a schematic diagram of an implementation environment involved in various embodiments of the present invention.
  • FIG. 2 is a flowchart of a method for establishing a data channel according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for establishing a data channel according to an embodiment of the present invention.
  • 4-1 is a flowchart of still another method for establishing a data channel according to an embodiment of the present invention.
  • 4-2 is a flowchart of establishing a connection between a terminal and a communication network in the embodiment shown in FIG. 4-1;
  • FIG. 4-3 is a schematic structural diagram of a terminal in the embodiment shown in FIG. 4-1;
  • FIG. 4-4 is a schematic structural diagram of a server in the embodiment shown in FIG. 4-1;
  • FIG. 5 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of another method for transmitting a data packet according to an embodiment of the present invention.
  • 7-1 is a flowchart of still another method for transmitting a data packet according to an embodiment of the present invention.
  • FIG. 7-2 is a flowchart of obtaining, by the terminal, the first IP address in the first IP resource pool in the embodiment shown in FIG. 7-1;
  • FIG. 7-3 is a flowchart of the server acquiring the second IP address in the second IP resource pool in the embodiment shown in FIG. 7-1;
  • FIG. 7-5 is a flowchart of the network switching performed by the terminal in FIG. 7-4;
  • FIGS. 7-6 are schematic diagrams of a model involved in a data packet transmission method in the prior art.
  • FIGS. 7-7 are schematic diagrams of models involved in a data packet transmission method according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • 12-1 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • 12-2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 14-1 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 15-1 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 15-2 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 17 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the terminal 11 may be any one of the wireless power communication systems.
  • the server 12 may be a server in a wireless power communication system (the server is a service server), and the server 12 may be a server, or a server cluster composed of several servers, or a cloud computing service center.
  • the terminal 11 can establish a connection with each communication network of n (n is greater than or equal to 2) communication networks 13 according to the generated virtual IP address, and obtain an IP address allocated by each communication network in the n communication networks for the terminal, and obtain n
  • the IP address, and each of the n IP addresses, respectively, establishes a data channel with the server 12, so that the terminal and the server transmit the data packet through the data channel.
  • the implementation environment is described by taking n equal to 2 as an example.
  • the embodiments of the present invention are applicable to the wireless power communication system, and can be applied to any other scenario in which data packet transmission is performed.
  • the method for establishing a data channel is applied to the terminal 11 in FIG. 1 as an example.
  • the method for establishing a data channel may include:
  • Step 201 Generate a virtual IP address.
  • Step 202 Establish a connection with each communication network in the n communication networks according to the virtual IP address, where n is greater than or equal to 2.
  • Step 203 Obtain an IP address assigned by each communication network in the n communication networks to the terminal, and obtain n IP addresses.
  • Step 204 Establish a data channel with the server by using each of the n IP addresses.
  • the terminal can establish a connection with each communication network in the n communication networks according to the virtual IP address, and acquire each pass in the n communication networks.
  • the IP address assigned by the network to the terminal obtains n IP addresses, and then uses each of the n IP addresses to establish a data channel with the server respectively.
  • the terminal and the server are used to transmit data packets. The number of data channels is larger, thus improving the reliability of packet transmission.
  • FIG. 3 is a flowchart of a method for establishing a data channel according to an embodiment of the present invention.
  • the method for establishing a data channel is applied to the server 12 in FIG. 1 as an example.
  • the method for establishing a data channel may include:
  • Step 301 Receive a virtual IP address sent by the terminal and information of the first IP resource pool, where the first IP resource pool includes n IP addresses, each IP address is used for the terminal to access different communication networks, and the virtual IP address is generated by the terminal. Virtual IP address.
  • Step 302 Establish a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool, where the second resource pool includes n IP addresses.
  • Step 303 Establish a data channel with the terminal by using each of the n IP addresses.
  • the server can establish a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address sent by the terminal and the information of the first IP resource pool, and reuse
  • Each of the n IP addresses establishes a data channel with the terminal, wherein the first IP resource pool includes n IP addresses, and the second resource pool includes n IP addresses, compared to the prior art, the terminal and the server.
  • the number of data channels used to transmit data packets is larger, thus improving the reliability of packet transmission.
  • 4-1 is a flowchart of a method for establishing a data channel according to an embodiment of the present invention. The method for establishing a data channel is applied to the implementation environment shown in FIG.
  • Step 401 The terminal generates a virtual IP address.
  • the virtual IP address is visible to the application layer of the terminal, and the application layer of the terminal can see the virtual IP address, thereby realizing the effect that the data channel is transparent to the application layer.
  • the application layer in the terminal may generate a virtual identity number (abbreviation: ID), and the terminal may use the virtual ID as the virtual IP address of the terminal. This virtual IP address can always be used by the terminal.
  • the terminal can be a mobile phone, and the mobile phone can be a multi-mode mobile phone.
  • Multi-mode mobile phones refer to networks that can be used in different technical standards, such as Global System For Mobile Communications (GSM) networks and code division multiple access (English: CodeDivisionMultipleAccess; referred to as: CDMA) Mobile phones used between networks, multi-mode phones can reside in multiple networks at the same time.
  • the terminal may be a single user identity supporting a long term evolution (English: Long Term Evolution; LTE for short) network, a second generation mobile communication technology (English: the second generation mobile communication technology; 2G) network, and a 3G network.
  • Identification module (English: Subscriber Identity Module; referred to as: SIM) card multi-mode mobile phone or dual SIM card multi-mode mobile phone.
  • Step 402 The terminal establishes a connection with each communication network in the n communication networks according to the virtual IP address, where n is greater than or equal to 2.
  • the terminal can detect n communication networks (ie, wireless access networks) that the terminal can connect through automatic frequency sweeping technology.
  • the communication network may be a wireless local area network, a wireless cellular network, a wireless private network, a ZigBee network, and a low-power wireless personal area network based on the Internet Protocol version 6. (English: Internet Protocol Version 6 over Low- The power wireless personal area network (abbreviation: 6LowPAN) and the like, the embodiment of the present invention does not limit the network form of the communication network.
  • the terminal includes a packet switching (English: Packet Switch; PS) domain and a circuit switching (English: Circuit Switch; CS: abbreviation: CS) domain, where the PS domain is mainly responsible for session control related to the packet type service.
  • PS Packet Switch
  • CS Circuit Switch
  • the PS domain is mainly used for data transmission
  • the CS domain is mainly responsible for call control and mobility management functions related to circuit-type services
  • the CS domain is mainly used for voice calls.
  • the embodiment of the present invention can solve the problem of communication delay and data loss in the PS domain data packet transmission process, and the embodiment of the present invention can be applied to various scenarios involving PS domain data transmission.
  • step 402 may include:
  • Step 4021 Send a connection request message to a packet gateway of each communication network in the n communication networks according to the virtual IP address.
  • the connection request message includes a virtual IP address.
  • the terminal sends a connection request message to the packet gateway of each communication network in the n communication networks according to the virtual IP address.
  • the n communication networks are respectively a 2G network, a 3G network, and a 4G network
  • the terminal according to the virtual IP address The packet gateway of the 2G network sends a connection establishment request, and the terminal sends a connection request message to the packet gateway of the 3G network according to the virtual IP address, and the terminal sends a connection request message to the packet gateway of the 4G network according to the virtual IP address.
  • Step 4022 Receive a connection response message sent by a packet gateway of each communication network, where each connection response message includes an IP address allocated by the communication network for the terminal.
  • the terminal sends a connection to the packet gateway of each communication network in the n communication networks according to the virtual IP address. After receiving the request message, a connection response message sent by the packet gateway of each communication network is received.
  • the terminal sends a connection establishment request to the packet gateway of the 2G network according to the virtual IP address, and the packet gateway of the 2G network sends a connection response message to the terminal, where the connection response message includes The IP address assigned by the 2G network to the terminal.
  • the terminal sends a connection establishment request to the packet gateway of the 3G network according to the virtual IP address, and the packet gateway of the 3G network sends a connection response message to the terminal, where the connection response message includes an IP address allocated by the 3G network for the terminal.
  • the terminal sends a connection establishment request to the packet gateway of the 4G network according to the virtual IP address, and the packet gateway of the 4G network sends a connection response message to the terminal, where the connection response message includes an IP address allocated by the 4G network for the terminal.
  • the terminal is attached to 2G networks, 3G networks, and 4G networks.
  • each connection response message may further include a port number assigned by the communication network to the terminal, the port number being a number of a port for distinguishing the service.
  • Step 403 The terminal acquires an IP address allocated by each communication network in the n communication networks for the terminal, and obtains n IP addresses.
  • the n IP addresses are invisible to the application layer of the terminal, so that the application layer cannot perceive the change of the underlying IP address, thereby realizing the effect of shielding different data channels from the application layer software.
  • the terminal After the terminal establishes a connection with each communication network in the n communication networks according to the virtual IP address, the terminal can obtain an IP address assigned to the terminal by each communication network in the n communication networks, and the terminal acquires the IP address and registers with the corresponding communication network. in. At the same time, the terminal can also obtain the port number assigned by the communication network to the terminal. Taking the 2G network, the 3G network, and the 4G network in step 4022 as an example, the terminal acquires an IP address assigned to the terminal by each communication network in the three communication networks, and obtains three IP addresses.
  • Step 404 The terminal establishes a first IP resource pool according to the n IP addresses.
  • the first IP resource pool includes n IP addresses.
  • the terminal may establish a first IP resource pool according to the n addresses obtained in step 403.
  • the first IP resource pool includes an IP address assigned to the terminal by each of the n communication networks to which the terminal is connected.
  • the first IP resource pool may further include a port number assigned to the terminal by each communication network.
  • the terminal may set a virtual internet protocol proxy (English: Virtual Internet Protocol Proxy; referred to as: VIPP) module, and the terminal may establish a first IP resource pool according to n IP addresses through the VIPP module.
  • VIPP Virtual Internet Protocol Proxy
  • 4-3 shows a schematic structural diagram of a terminal provided with a VIPP module.
  • n communication networks connected to the terminal are respectively a communication network 1, a communication network 2, a communication network 3, .
  • the communication network n, n communication networks assigned IP addresses for the terminals are IP1, IP2, IP3, ..., IPn.
  • the application layer of the terminal generates a virtual IP address.
  • the VIPP module uses the virtual ID as a virtual IP address.
  • the VIPP module can automatically scan the communication network that the terminal can connect, and control the terminal to establish a connection with each communication network in the n communication networks according to the virtual IP address, and the VIPP module acquires each communication network in the n communication networks as the terminal.
  • the assigned IP address obtains n IP addresses, and then establishes a first IP resource pool according to n IP addresses.
  • Step 405 The terminal sends the virtual IP address and the information of the first IP resource pool to the server.
  • the terminal may send the virtual IP address and the information of the first IP resource pool to the server, so that the server establishes the information according to the virtual IP address and the information of the first IP resource pool.
  • the second IP resource pool of the terminal indicated by the virtual IP address.
  • the terminal may send the virtual IP address and the information of the first IP resource pool to the server through the VIPP module shown in FIG. 4-3.
  • the server can set a virtual link control (English: Virtual Internet Protocol Control; referred to as: VIPC) module, and Figure 4-4 shows the structure of the server with the VIPC module.
  • the n communication networks connected to the server are respectively a communication network 1, a communication network 2, a communication network 3, ..., a communication network n.
  • the terminal can automatically send the transmission control protocol to the VIPC module shown in Figure 4-4 (English: Transmission Control Protocol; TCP).
  • TCP Transmission Control Protocol
  • a link setup request establishes a TCP link.
  • the VIPP module After the TCP link is established, the VIPP module sends the virtual IP address and the information of the first IP resource pool to the VIPC module through the established TCP link. As shown in Figure 4-4, the n IP addresses in the first IP resource pool can be centrally stored in the IP module.
  • Step 406 The server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the second resource pool includes n IP addresses.
  • the server may establish a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the second IP resource pool may also include a port number assigned to the terminal by each communication network.
  • the server may establish a second IP resource pool according to the virtual IP address and the information of the first IP resource pool by using the VIPC module shown in FIG. 4-4.
  • the information of the second IP resource pool is the same as the information of the first IP resource pool.
  • the VIPC module can establish its own IP resource pool according to the information of the first IP resource pool sent by the VIPP module, and maintain the information of the IP resource pool.
  • Step 407 The terminal establishes a data channel with the server by using each of the n IP addresses.
  • the terminal establishes a data channel with the server by using each of the n IP addresses, including: the terminal separately sends a channel to the server according to each of the n IP addresses. Request; the terminal receiving server establishes a response based on the channel respectively sent by each of the n IP addresses.
  • the terminal acquires an IP address assigned to each terminal in each of the three communication networks, obtains three IP addresses, and then uses each of the three IP addresses.
  • Each IP address establishes a data channel with the server. Assuming that the three IP addresses are IPa, IPb, and IPc, the terminal can establish three data channels with the server by using IPa, IPb, and IPc.
  • the terminal and the server are used to transmit the data channel of the data packet. More numbers increase the reliability of packet transmission.
  • the terminal may refer to the prior art, and details are not described herein.
  • the VIPP module in Figure 4-3 can manage multiple data channels upwards and shield different data channels for the application layer.
  • the VIPC module in Figure 4-4 functions similarly to the VIPP module. Manage the underlying multiple data channels down and shield different data channels for the business layer.
  • the terminal establishes a data channel with the server by using each of the n IP addresses, and the server establishes a data channel with the terminal by using each of the n IP addresses.
  • the server may establish a data channel with the terminal by using the n IP addresses in the first IP resource pool sent by the terminal, or establish a data channel with the terminal by using the n IP addresses in the established second IP resource pool.
  • Step 408 The terminal determines a quality of service of each of the n data channels.
  • the terminal can measure and record the quality of service of each data channel in real time through the VIPP module shown in Figure 4-3 (English: Quality of Service; QoS for short).
  • the service quality of the data channel may be the signal-to-noise ratio of the uplink and downlink channels of the data channel (English: Signal-Noise Ratio; SNR), number of data packet retransmissions, number of channel carriers, channel bandwidth, channel delay, channel type.
  • SNR Signal-Noise Ratio
  • the specific form of the service quality is not limited in the embodiment of the present invention. For example, the higher the signal-to-noise ratio, the better the quality of the data channel. The smaller the number of packet retransmissions, the better the quality of the data channel.
  • the VIPP module can also comprehensively consider a plurality of parameters to calculate the service quality of the data channel. For the specific calculation process, reference may be made to the prior art, and details are not described herein again.
  • Step 409 The terminal sorts the n data channels according to the service quality of each of the n data channels to obtain the sorting information.
  • the terminal can sort the n data channels according to the service quality of each data channel in the n data channels by using the VIPP module shown in Figure 4-3 to obtain sorting information.
  • the data channel established by the terminal using IPa and the server is PS channel A
  • the terminal utilizes IPb and service.
  • the data channel established by the device is PS channel B
  • the data channel established by the terminal using IPc and the server is PS channel C. If the quality of service of the data channel is represented by a number, the larger the number, the better the quality of service of the data channel.
  • the VIPP module sorts the data channels according to the service quality of the data channel from good to bad, and obtains: PS channel C, PS channel B and PS channel A.
  • Step 410 The terminal records the quality of service and the sorting information of each of the n data channels to the first IP resource pool.
  • the VIPP module shown in Figure 4-3 records the quality of service and the sorting information of each of the n data channels to the first IP resource pool.
  • the VIPP module can provide the quality of service of PS channel A: 2, the quality of service of PS channel B: 3, the quality of service of PS channel C: 4, And sorting information: PS channel C, PS channel B, and PS channel A are recorded in the first IP resource pool.
  • the second IP resource pool may further include a quality of service of each of the n data channels and a quality of service of the n data channels. information.
  • Step 411 The terminal detects whether an interruption occurs in the first data channel.
  • the first data channel is any one of the n data channels.
  • the terminal can detect whether the data channel is interrupted by using the VIPP module shown in Figure 4-3.
  • Step 412 When the first data channel is interrupted, the terminal sets the information corresponding to the first data channel in the first IP resource pool to a prohibited use state.
  • the terminal When the terminal detects that there is a data channel interruption through the VIPP module shown in Figure 4-3, the terminal can set the information corresponding to the data channel in the first IP resource pool, such as the IP address of the data channel, through the VIPP module.
  • the use of the state is prohibited, so that the data channel with poor service quality can be eliminated in time, and the data channel with better quality of service is selected for data packet transmission.
  • the terminal sets the information corresponding to the first data channel in the first IP resource pool to the forbidden state, that is, the terminal sets the information corresponding to the first communication channel in the first IP resource pool, such as the IP address corresponding to the first data channel, to be unavailable. For example, after the information corresponding to the first data channel is set to be unavailable, the terminal cannot transmit the data packet through the first data channel.
  • the terminal can establish a connection with each communication network in the n communication networks according to the virtual IP address, and acquire each communication network in the n communication networks for the terminal. IP address, get n IP addresses, and then use each of the n IP addresses to establish a data channel with the server.
  • the server can establish a virtual IP address according to the virtual IP address sent by the terminal and the information of the first IP resource pool.
  • the second IP resource pool of the indicated terminal, and each of the n IP addresses respectively establishes a data channel with the terminal, and the number of data channels used by the terminal and the server to transmit the data packet is compared with the prior art. More, therefore, improves the reliability of packet transmission.
  • FIG. 5 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • the data packet transmission method may be applied to the terminal 11 in FIG. 1 as an example.
  • the data packet transmission method may include:
  • Step 501 When the data packet transmission is required, obtain the first IP address in the first IP resource pool, where the first IP address is a target source IP address used for data packet transmission, and the first IP resource pool includes n IP addresses. Address, each IP address is used for the terminal to access different communication networks, n is greater than or equal to 2, the data packet includes data to be transmitted, a first source IP address, and a first destination IP address, and the first source IP address is a virtual terminal. IP address, the first destination IP address is the IP address of the server.
  • Step 502 Replace the first source IP address of the data packet with the virtual IP address and the first IP address, and obtain the processed data packet.
  • Step 503 Transmit the processed data packet to the server by using the data channel of the communication network indicated by the first IP address and the first destination IP address.
  • the data packet transmission method can obtain the first IP address in the first IP resource pool when the data packet needs to be transmitted, and the first source IP address of the data packet is virtualized.
  • the IP address is replaced with the first IP address, and the processed data packet is obtained, and then the processed data packet is transmitted to the server through the data channel.
  • the terminal does not need to initiate to another communication network when performing network switching.
  • the wireless connection request performs data packet transmission according to the new IP address allocated by another communication network, and solves the problem of communication delay and data loss caused by interruption of data packet transmission, thereby improving the reliability of data packet transmission.
  • FIG. 6 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • the data packet transmission method may be applied to the server 12 in FIG. 1 as an example.
  • the data packet transmission method may include:
  • Step 601 When a data packet transmission is required, obtain a second IP address in the second IP resource pool, where the second IP address is a destination destination IP address used for data packet transmission, and the second IP resource pool includes n IP addresses. Address, each IP address is used for the terminal to access different communication networks, n is greater than or equal to 2, and the second IP resource pool is established according to the virtual IP address of the terminal sent by the terminal and the information of the first IP resource pool, the data packet The data source to be transmitted, the second source IP address, and the second destination IP address, the second source IP address is the IP address of the server, the second destination IP address is the virtual IP address, and the first IP resource pool includes n IP addresses.
  • Step 602 Replace the second destination IP address of the data packet with the virtual IP address and the second IP address to obtain the processed data packet.
  • Step 603 Transmit the processed data packet to the terminal by using a data channel of the communication network indicated by the second source IP address and the second IP address.
  • the data packet transmission method provided by the embodiment of the present invention can obtain the second IP address in the second IP resource pool when the data packet transmission needs to be performed, and the second destination IP address of the data packet is virtualized.
  • the IP address is replaced with the second IP address, and the processed data packet is obtained, and then the processed data packet is transmitted to the terminal through the data channel, which solves the problem of data loss during the data packet transmission process and improves the reliability of the data packet transmission.
  • FIG. 7-1 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • the data packet transmission method may be applied to the implementation environment shown in FIG.
  • Step 701 The terminal generates a virtual IP address.
  • step 701 can be described with reference to step 401.
  • Step 702 The terminal establishes a connection with each of the n communication networks according to the virtual IP address.
  • n is greater than or equal to 2.
  • Step 703 The terminal acquires an IP address assigned by each communication network in the n communication networks to the terminal.
  • step 703 The specific process of step 703 can be described with reference to step 403.
  • Step 704 The terminal establishes a first IP resource pool.
  • the first IP resource pool includes n IP addresses.
  • the specific process of step 704 can be described with reference to step 404.
  • Step 705 The terminal determines a quality of service of each of the n data channels.
  • the first IP resource pool further includes the service quality of the data channel of each communication network in the n communication networks and the ranking information of the service quality of the n data channels.
  • the specific process of step 705 can be described with reference to step 408.
  • Step 706 The terminal sorts the n data channels according to the service quality of each of the n data channels to obtain the sorting information.
  • step 706 The specific process of step 706 can be described with reference to step 409.
  • Step 707 The terminal records the quality of service and the sorting information of each of the n data channels to the first IP resource pool.
  • step 707 The specific process of step 707 can be described with reference to step 410.
  • the terminal updates the service quality and the sorting information of each data channel in the first IP resource pool every preset time period, and the terminal accesses the first IP resource pool every preset time period.
  • the information is updated, and the data channel with better service quality can be selected in time for data packet transmission, thereby further improving the reliability of data packet transmission.
  • the terminal may update the information of the first IP resource pool through the VIPP module shown in Figure 4-3. Taking PS channel A, PS channel B, and PS channel C in step 410 as an example, assume that the current time, the VIPP module detects that the quality of service of PS channel A is 2, the quality of service of PS channel B is 3, and the service of PS channel C.
  • the quality is 4, after the preset time period, the VIPP module detects that the service quality of PS channel A is 3, the service quality of PS channel B is 4, and the service quality of PS channel C is 2, then the VIPP module can access the first IP resource.
  • the original quality of service of the three data channels in the pool is updated, that is, the quality of service of PS channel A is updated from 2 to 3, the quality of service of PS channel B is updated from 3 to 4, and the quality of service of PS channel C is updated by 4. 2, and reordering the 3 data channels according to the quality of service from good to bad, obtaining: PS channel B, PS channel A and PS channel C.
  • Step 708 The terminal detects whether an interruption occurs in the first data channel.
  • the first data channel is any one of n data channels.
  • the specific process of step 708 can be described with reference to step 411.
  • Step 709 When the first data channel is interrupted, the terminal sets the information corresponding to the first data channel in the first IP resource pool to a prohibited use state.
  • step 709 The specific process of step 709 can be described with reference to step 412.
  • Step 710 The terminal sends the virtual IP address and the information of the first IP resource pool to the server.
  • step 710 The specific process of step 710 can be described with reference to step 405.
  • Step 711 The server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the second resource pool includes n IP addresses.
  • the second IP resource pool further includes ranking information of the quality of service of the data channel of each of the n communication networks and the quality of service of the n data channels.
  • the specific process of step 711 can be described with reference to step 406.
  • Step 712 When the information of the first IP resource pool changes, the terminal sends the changed information of the first IP resource pool to the server.
  • the terminal may change the first IP resource pool.
  • the information is sent to the server, so that the server updates the second IP resource pool according to the changed information of the first IP resource pool, so that the server can select a data channel with better quality of service for data packet transmission.
  • the terminal can send the changed information of the first IP resource pool to the VIPC module of the server through the VIPP module shown in Figure 4-3.
  • the VIPC module is the VIPC module shown in Figure 4-4.
  • the information of the changed first IP resource pool may be changed. Sending to the server, so that the server sets the information corresponding to the first data channel in the second IP resource pool to the prohibited use state.
  • Step 713 The server updates the second IP resource pool according to the changed information of the first IP resource pool.
  • the server may update the second IP resource pool according to the changed information of the first IP resource pool by using the VIPC module shown in FIG. 4-4.
  • Step 714 When the data packet transmission needs to be performed, the terminal acquires the first IP address in the first IP resource pool.
  • the first IP address is the target source IP address used for packet transmission.
  • the data packet includes data to be transmitted, a first source IP address, and a first destination IP address, the first source IP address is a virtual IP address of the terminal, and the first destination IP address is an IP address of the server.
  • the number of the first IP address obtained by the terminal in the first IP resource pool may be equal to 1 or greater than 1.
  • the terminal can obtain the first IP address in the first IP resource pool through the VIPP module shown in Figure 4-3.
  • step 714 may include: using the n IP addresses in the first IP resource pool as the first IP address.
  • the VIPP module shown in Figure 4-3 can have data channel selection capability.
  • the VIPP module can use the n IP addresses in the first IP resource pool together as the first IP address for data packet transmission.
  • the terminal transmits data packets to the server through n data channels, and the n data channels form a link hot backup, which greatly improves the reliability of data packet transmission.
  • the data packet further includes: a type of data to be transmitted, and correspondingly, as shown in FIG. 7-2, step 714 may include:
  • Step 7141 Determine an important level of data to be transmitted according to the type of data to be transmitted.
  • the embodiment of the present invention is applied to a wireless power communication system, and the data of the wireless power communication system is classified into key data, important data, general data, and file type data according to the type, and the important level of the key data is higher than the important level of the important data, and the important data.
  • the important level is higher than the important level of the general data, and the important level of the general data is higher than the important level of the file type data.
  • the terminal can select one or more data channels with better quality of service to transmit data packets through the VIPP module; for general data and file type data, if the data channel with better quality of service is in the data channel Working status, the terminal can select a data channel with a poor quality of service to transmit data packets through the VIPP module.
  • Step 7142 Determine m data channels in the n data channels according to the importance level of the data to be transmitted, the quality of service and the sorting information of each data channel in the n data channels, where m is greater than or equal to 1, and less than n.
  • the type of data to be transmitted is critical data
  • the critical data since the critical data has the highest importance level, it is necessary to select a data channel with better quality of service to transmit the data packet.
  • PS channel A, PS channel B, and PS channel C in step 410 assume that the quality of service of PS channel A is 2, the quality of service of PS channel B is 3, and the quality of service of PS channel C is 4, and the VIPP module is The three data channels are sorted according to the quality of the data channel from good to bad, and PS channel C, PS channel B and PS channel A are obtained. Then, the VIPP module can select the data channel with better quality of service according to two strategies.
  • the first strategy is: the VIPP module selects the PS channel C transmission data packet located in the first name; the second strategy is: the VIPP module selects the first two PS channel C and PS channel B transmission data packets. It should be added that in the second strategy, the VIPP module can first select the first two PS channels C and PS channel B, according to the preset threshold and the quality of service of the selected PS channel C and the quality of service of the PS channel B, further screening the PS channel C and the PS channel B, such as selecting data with a service quality greater than a preset threshold.
  • the channel transmits data packets, excluding data channels whose quality of service is less than a preset threshold.
  • Step 7143 The IP address assigned by the communication network corresponding to each data channel of the m data channels is the first IP address.
  • the terminal can use the VIPP module to assign the IP address corresponding to the communication network corresponding to each of the three data channels to the terminal as the IP address of the terminal. First IP address.
  • Step 715 The terminal replaces the first source IP address of the data packet with the virtual IP address and the first IP address, and obtains the processed data packet.
  • the terminal can replace the first source IP address of the data packet with the virtual IP address by using the VIPP module shown in FIG. 4-3.
  • the VIPP module provides a TCP/IP protocol interface for the application layer.
  • the VIPP module can convert the application layer TCP/IP interface call into a call to the underlying first IP resource pool to shield different data channels from the application layer. The difference. Assuming that m is equal to 1 in step 7143, the IP address corresponding to the communication network corresponding to the data channel is IPA, and the terminal uses IPA as the first IP address. Then, according to step 715, the terminal uses the first source in the data packet through the VIPP module.
  • the IP address is replaced by the virtual IP address to IPA, and the processed data packet is obtained.
  • the VIPP module replaces the command of the application layer transmission packet: (first source IP address: virtual IP address of the terminal, first destination IP address: IP address of the server) with a new command: (first source) IP address: IPA, first destination IP address: IP address of the server), to achieve mapping of data channels.
  • Step 716 The terminal transmits the processed data packet to the server by using a data channel of the communication network indicated by the first IP address and the first destination IP address.
  • the terminal After processing the address information in the data packet to be transmitted, the terminal transmits the processed data packet to the server.
  • the terminal can directly process the address information in the data packet through the VIPP module, replace the first IP address with another IP address that satisfies the transmission requirement, and then communicate the communication indicated by the IP address satisfying the transmission requirement and the IP address of the server.
  • the data channel of the network transmits the processed data packet to the server. Throughout the process, the terminal does not need to initiate a wireless connection request to another communication network, which solves the problem of communication delay and data loss caused by interruption of data packet transmission in the prior art.
  • Step 717 When data packet transmission is required, the server acquires the second IP address in the second IP resource pool.
  • the second IP address is a target destination IP address used for data packet transmission, and the data packet includes data to be transmitted, a second source IP address, and a second destination IP address, and the second source IP address is an IP address of the server, and the second destination The IP address is a virtual IP address.
  • the server may use the VIP IP address shown in FIG. 4-4 to use the n IP addresses in the second IP resource pool as the second IP address; the server may also determine the second level according to the importance level of the data to be transmitted through the VIPC module. IP address. Specifically, as shown in FIG. 7-3, step 717 may include:
  • Step 7171 Determine an important level of data to be transmitted according to the type of data to be transmitted.
  • the data packet also includes the type of data to be transmitted.
  • the server can determine the importance level of the data to be transmitted according to the type of data to be transmitted included in the data packet.
  • the specific process of step 7171 can be described with reference to step 7141.
  • Step 7172 Determine p data channels in the n data channels according to the importance level of the data to be transmitted, the quality of service and the sorting information of each data channel in the n data channels, where p is greater than or equal to 1, and less than n.
  • step 7172 can be described with reference to step 7142.
  • Step 7173 The IP address assigned to the terminal by the communication network corresponding to each of the p data channels is used as the second IP address.
  • the server can use the VIPC module to assign the IP address corresponding to the communication network corresponding to each of the four data channels to the terminal as the IP address of the terminal. Second IP address.
  • the specific process for the server to obtain the second IP address in the second IP resource pool may be described with reference to step 714.
  • Step 718 The server replaces the second destination IP address of the data packet with the virtual IP address and the second IP address, and obtains the processed data packet.
  • the server can replace the second destination IP address of the data packet from the virtual IP address to the second IP address through the VIPC module shown in FIG. 4-4.
  • the VIPC module provides a TCP/IP protocol interface for the service layer.
  • the VIPC module can convert the TCP/IP interface call of the service layer into a call to the underlying second IP resource pool to shield different data channels from the software of the service layer. The difference. Assuming that p is equal to 1 in step 7173, the IP address corresponding to the communication network corresponding to the data channel is IPE, and the server uses the IPE as the second IP address. Then, according to step 718, the server uses the VIPC module to set the second destination in the data packet. The IP address is replaced by a virtual IP address with an IPE.
  • the VIPC module will The command to transmit the data packet at the service layer: (the second source IP address: the IP address of the server, the second destination IP address: the virtual IP address of the terminal) is replaced with a new command: (second source IP address: IP address of the server) , the second destination IP address: IPE), to achieve the mapping of the data channel.
  • Step 719 The server transmits the processed data packet to the terminal by using a data channel of the communication network indicated by the second source IP address and the second IP address.
  • the server After processing the address information in the data packet to be transmitted, the server transmits the processed data packet to the terminal.
  • the server can directly process the address information in the data packet through the VIPC module, replace the second IP address with another IP address that satisfies the transmission requirement, and then indicate by the second source IP address and the IP address satisfying the transmission requirement.
  • the data channel of the communication network transmits the processed data packet to the terminal. This process solves the problem of communication delay and data loss caused by interruption of data packet transmission in the prior art.
  • FIG. 7-4 shows a startup flowchart of a terminal in the prior art.
  • the terminal may be a single SIM multimode dual standby terminal, and the terminal supports an access process of a 4G network.
  • the terminal when the terminal is powered on, the terminal preferentially searches for the 4G network. If the 4G network is available, the terminal resides on the 4G network, and the terminal sends a PS domain registration request message to the 4G network.
  • the 4G network according to the PS domain.
  • the registration request sends a PS domain registration accept message and a PS domain registration completion message to the terminal, and the 4G network assigns an IP address to the terminal, and the terminal performs data packet transmission.
  • the terminal initiates a CS domain registration request message of the 3G network, and the 3G network sends a CS domain registration accept message and a CS domain registration complete message to the terminal according to the CS domain registration request message.
  • the terminal successfully registers with the 3G network and makes voice calls over the 3G network. After the terminal's boot process is completed, it can enter the dual standby state.
  • FIG. 7-5 are flowcharts showing the network switching of the terminal in FIG. 7-4.
  • the terminal transmits data packets through the 4G network.
  • the terminal detects that the data channel (PS channel) of the 4G network is interrupted
  • the terminal initiates a PS domain registration request to the 3G network.
  • the 3G network allocates a new IP address to the terminal, and the terminal reconstructs and recovers the PS domain data on the 3G network.
  • the terminal detects that the data channel of the 3G network is interrupted, the terminal searches for the 4G network and resides on the 4G network, and the terminal resends the PS domain registration request message to the 4G network. After the PS domain is successfully registered, the 4G network allocates the terminal to the terminal.
  • the terminal rebuilds and recovers the PS domain data on the 4G network, and the 3G network and the terminal release the connection related to the 3G network and Host resources.
  • the CS domain of the terminal is in the standby state during the handover.
  • FIG. 7-6 are schematic diagrams showing the model involved in a data packet transmission method in the prior art.
  • the terminal can only transmit through one communication network (ie, communication network 1, communication network 2, communication network 3, ..., one of the communication networks n) at the same time.
  • the data packet FIG. 7-6 shows that the terminal transmits the data packet through the communication network 1 at the current time, and therefore, the reliability of the data packet transmission is low; when the terminal performs the network switching, the current bearer link needs to be interrupted, and the other communication is performed.
  • the network initiates a wireless connection request, acquires a new IP address, and the data packet transmission is interrupted, resulting in communication delay and data loss, and the reliability of data packet transmission is low; n IP addresses (ie, IP1, IP2, IP3, .... .., IPn) is visible to the application layer of the terminal.
  • the application layer of the terminal needs to manage the switching process of the underlying data channel, and the development complexity of the application layer is high.
  • n IP addresses are also visible to the service layer of the server, and the service of the server is The layer needs to manage the underlying data channel, and the development complexity of the business layer is high.
  • the IP addresses of the underlying multiple data channels in the server are stored centrally in the IP module.
  • FIG. 7-7 is a schematic diagram of a model involved in a data packet transmission method according to an embodiment of the present invention.
  • a terminal is provided with a VIPP module
  • a server is provided with a VIPC module, and the terminal can pass multiple times at the same time.
  • Communication networks (ie, communication network 1, communication network 2, communication network 3, ..., communication network n) transmit data packets, which improves the reliability of data packet transmission; when the terminal performs network switching, it is not necessary to Another communication network initiates a wireless connection request to acquire a new IP address, which solves the problem of communication delay and data loss caused by interruption of data packet transmission, and improves the reliability of data packet transmission;
  • n IP addresses (ie, IP1, IP2, IP3) , ..., IPn) is invisible to the application layer of the terminal.
  • the application layer of the terminal does not need to manage the switching process of the underlying data channel, which reduces the development complexity of the application layer, and the n IP addresses also serve the server.
  • the layer is not visible, and the server's business layer does not need to manage the underlying data channel, which reduces the development complexity of the business layer.
  • the data packet transmission method provided by the embodiment of the present invention is a multi-data channel transmission method, and the terminal can establish a connection with multiple communication networks at the same time, and the terminal can work in two or more frequency bands at the same time, and the data packet can simultaneously be in multiple data.
  • the transmission is performed on the channel; the terminal can establish a wireless packet data channel for each connection, and the terminal is provided with a virtual IP address, and the application layer of the terminal can see the virtual IP address without perceiving the change of the IP address of the underlying communication layer.
  • the terminal sets the VIPP module, and sets the VIPC module on the server to realize the effect that the data channel is transparent to the application layer of the terminal, and realizes the effect that the data channel is transparent to the service layer of the server; the terminal can measure the wireless communication capability of different data channels, that is, the quality of service (such as the downlink channel SNR, number of packet retransmissions, number of channel carriers, channel bandwidth, channel delay, channel type and channel scheduling level, etc.)
  • a certain strategy allocates different data packets to different data channels, and multiple data channels form a link hot backup to achieve optimal packet transmission reliability and low deployment cost.
  • the channel type can be 2G, 3G, 4G, wireless fidelity (English: WIreless-Fidelity; referred to as: WIFI) and private network LTE and so on.
  • the VIPP module in the method can measure the service quality of the data channel in real time, and perceive the service to achieve the best matching of the data channel and the data requirement. For example, for the highest priority data, the VIPP module can distribute the corresponding data packets to multiple data channels for simultaneous transmission, improving the reliability of data packet transmission. For data with low reliability requirements, the VIPP module can allocate corresponding data packets. Transmission to a data channel with poor quality of service, thus improving the reliability of data packet transmission and ensuring the quality of the service.
  • the method solves the problem of communication delay and data loss caused by interruption of data packet transmission, avoids the influence of channel interference and data channel service quality degradation on communication quality.
  • the data packet transmission method enables wireless communication technology to be applied. In the field of power control where high reliability is required.
  • the terminal when data packet transmission is required, the terminal can acquire the first IP address in the first IP resource pool, and use the address in the data packet by using the first IP address.
  • the information is processed, and the processed data packet is transmitted to the server, and the server can obtain the second IP address in the second IP resource pool, and process the address information in the data packet by using the second IP address, and then process the data.
  • the data packet is transmitted to the terminal, which solves the problem of communication delay and data loss caused by the interruption of the data packet transmission.
  • the terminal and the server can select different data channels to transmit the data packet according to the importance of the data to be transmitted, and the application of the terminal
  • the layer does not need to manage the switching process of the underlying data channel
  • the service layer of the server does not need to manage the underlying data channel, thereby improving the reliability of data packet transmission and reducing the development complexity of the application layer and the service layer.
  • FIG. 8 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • the data packet transmission method is applied to the implementation environment shown in FIG. 1 for example.
  • the terminal in FIG. 1 may be Single SIM card multimode terminal, the single SIM card multimode terminal supports the access process of 2G network, 3G network, 4G network and WIFI network.
  • the data packet transmission method may include:
  • Step 801 A single SIM card multimode terminal generates a virtual IP address.
  • Step 802 The single SIM card multimode terminal establishes a connection with the 2G network, the 3G network, the 4G network, and the WIFI network according to the virtual IP address.
  • a single SIM card multimode terminal establishes a connection with a 2G network, a 3G network, a 4G network, and a WIFI network.
  • Each communication network allocates an IP address to a single SIM card multimode terminal, assuming that the 2G network is an IP assigned to a single SIM card multimode terminal.
  • the address is IP1, the IP address assigned by the 3G network for the single SIM card multimode terminal is IP2, the IP address assigned by the 4G network to the single SIM card multimode terminal is IP3, and the IP address assigned by the WIFI network to the single SIM card multimode terminal is IP4.
  • the single SIM card multimode terminal registers with the corresponding communication network.
  • Step 803 The single SIM card multimode terminal acquires an IP address allocated by each communication network in the four communication networks as a single SIM card multimode terminal.
  • the single SIM card multimode terminal can also obtain the port number assigned to each communication network as a single SIM card multimode terminal.
  • Step 804 The single SIM card multimode terminal establishes a first IP resource pool.
  • Step 805 The single SIM card multimode terminal determines the quality of service of each of the four data channels.
  • the VIPP module of a single SIM card multimode terminal measures and records the quality of service of each data channel in real time.
  • Step 806 The single SIM card multimode terminal sorts the four data channels according to the service quality of each of the four data channels to obtain the sorting information.
  • the VIPP module of the single SIM card multimode terminal sorts the four data channels according to the service quality of each of the four data channels to obtain the sorting information.
  • Step 807 The single SIM card multimode terminal records the quality of service and the sorting information of each of the four data channels to the first IP resource pool.
  • the VIPP module of the single SIM card multimode terminal records the quality of service and the sorting information of each of the four data channels to the first IP resource pool.
  • Step 808 The single SIM card multimode terminal sends the virtual IP address and the information of the first IP resource pool to the server.
  • the VIPP module of the single SIM card multimode terminal sends the virtual IP address and the information of the first IP resource pool to the VIPC module in the server through the established TCP link.
  • the TCP link will always exist during the business application, and the TCP link is used to synchronize the information of the virtual resource pool in the terminal and the server.
  • Step 809 The server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the information of the second IP resource pool is the same as the information of the first IP resource pool.
  • the VIPP module of the single SIM card multimode terminal can update the service quality and the sorting information of each data channel in the first IP resource pool every preset time period.
  • the VIPP module of the single SIM card multimode terminal can also detect whether there is a data channel interruption, or whether the service quality of the data channel is less than a certain value, when there is a data channel interruption, or the service quality of the data channel is less than a certain value, The VIPP module sets the information corresponding to the data channel in the first IP resource pool to a prohibited state.
  • the VIPP module sends the changed information of the first IP resource pool to the VIPC module, and the VIPC module performs the second IP resource pool according to the changed information of the first IP resource pool. Update.
  • Step 810 When a data packet transmission is required, the single SIM card multimode terminal acquires the first IP address in the first IP resource pool.
  • the first IP address is the target source IP address used for packet transmission.
  • the VIPP module of the single SIM card multimode terminal can use the four IP addresses (ie, IP1, IP2, IP3, and IP4) in the first IP resource pool as the first IP address.
  • the data packet further includes: the type of data to be transmitted, and the VIPP module of the single SIM card multimode terminal can determine the important level of the data to be transmitted according to the type of data to be transmitted, and then according to the important level of the data to be transmitted, 4
  • the quality of service and the sorting information of each data channel in the data channel determine m (m is greater than or equal to 1, and less than 4) data channels in the four data channels, and then corresponding to each data channel in the m data channels
  • the communication network assigns the IP address assigned to the terminal as the first IP address.
  • Step 811 The single SIM card multimode terminal replaces the first source IP address of the data packet with the virtual IP address and the first IP address, and obtains the processed data packet.
  • the VIPP module of the single SIM card multimode terminal selects IP1 as the first IP address
  • the VIPP module replaces the first source IP address of the data packet with the virtual IP address with IP1.
  • Step 812 The single SIM card multimode terminal transmits the processed data packet to the server by using the data channel of the communication network indicated by the first IP address and the first destination IP address.
  • the single SIM card multimode terminal transmits the processed data packet to the server through the data channel of the communication network (ie, 2G network) indicated by the IP1 and the IP address of the server.
  • the communication network ie, 2G network
  • Step 813 When the data packet transmission needs to be performed, the server acquires the second in the second IP resource pool. IP address.
  • the second IP address is the destination destination IP address used for packet transmission.
  • the VIPC module of the server may use the four IP addresses (ie, IP1, IP2, IP3, and IP4) in the second IP resource pool as the second IP address.
  • the data packet further includes: a type of data to be transmitted, and the VIPC module of the server can determine an important level of the data to be transmitted according to the type of the data to be transmitted, and then according to the important level of the data to be transmitted, each of the four data channels.
  • the service quality and the sorting information of the data channel determine p (p is greater than or equal to 1, and less than 4) data channels in the four communication channels, and then the communication network corresponding to each of the p data channels is the terminal
  • the assigned IP address is used as the second IP address.
  • Step 814 The server replaces the second destination IP address of the data packet with the virtual IP address and the second IP address to obtain the processed data packet.
  • the VIPC module replaces the second destination IP address of the packet with the virtual IP address with IP1.
  • Step 815 The server transmits the processed data packet to the single SIM card multimode terminal by using the data channel of the communication network indicated by the second source IP address and the second IP address.
  • the server transmits the processed data packet to the terminal through the IP address of the server and the data channel of the communication network (ie, 2G network) indicated by IP1.
  • the terminal when data packet transmission is required, the terminal can acquire the first IP address in the first IP resource pool, and use the address in the data packet by using the first IP address.
  • the information is processed, and the processed data packet is transmitted to the server, and the server can obtain the second IP address in the second IP resource pool, and process the address information in the data packet by using the second IP address, and then process the data.
  • the data packet is transmitted to the terminal, which solves the problem of communication delay and data loss caused by the interruption of the data packet transmission.
  • the terminal and the server can select different data channels to transmit the data packet according to the importance of the data to be transmitted, and the application of the terminal
  • the layer does not need to manage the switching process of the underlying data channel
  • the service layer of the server does not need to manage the underlying data channel, thereby improving the reliability of data packet transmission and reducing the development complexity of the application layer and the service layer.
  • FIG. 9 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • the data packet transmission method is applied to the implementation environment shown in FIG. 1 as an example.
  • the terminal in FIG. 1 may be Dual SIM multimode terminal, the dual SIM multimode terminal can access two carrier networks: Y1 and Y2, and the dual SIM multimode terminal supports 2G network, 3G network, 4G network and WIFI network Network access process.
  • the data packet transmission method may include:
  • Step 901 The dual SIM card multimode terminal generates a virtual IP address.
  • Step 902 The dual SIM card multimode terminal establishes a connection with the 2G network, the 3G network, the 4G network, and the WIFI network of each carrier network according to the virtual IP address.
  • Each carrier network includes a 2G network, a 3G network, a 4G network, and a WIFI network.
  • the dual SIM card multimode terminals respectively establish a connection with the 2G network, the 3G network, the 4G network and the WIFI network of each operator network, and each communication network allocates an IP address for the dual SIM card multimode terminal, assuming the operator network Y1
  • the IP address assigned to the dual SIM card multimode terminal in the 2G network is IP1
  • the IP address assigned to the dual SIM card multimode terminal of the carrier network Y1 is IP2
  • the 4G network of the carrier network Y1 is dual SIM multimode.
  • the IP address assigned by the terminal is IP3, and the IP address assigned by the WIFI network of the operator network Y1 to the dual SIM card multimode terminal is IP4.
  • the IP address of the 2G network of the carrier network Y2 is IP5 for the dual SIM card multimode terminal
  • the IP address of the 3G network of the carrier network Y2 is IP6 for the dual SIM card multimode terminal
  • the 4G network of the operator network Y2 is
  • the IP address assigned by the dual SIM card multimode terminal is IP7
  • the IP address assigned by the WIFI network of the operator network Y2 to the dual SIM card multimode terminal is IP8.
  • Step 903 The dual SIM card multimode terminal acquires an IP address allocated by each communication network in the eight communication networks as a dual SIM card multimode terminal.
  • the dual SIM multimode terminal can also obtain the port number assigned to each dual SIM card multimode terminal by each communication network.
  • Step 904 The dual SIM card multimode terminal establishes a first IP resource pool.
  • Step 905 The dual SIM card multimode terminal determines the quality of service of each of the eight data channels.
  • the VIPP module of the dual SIM multimode terminal measures and records the quality of service of each data channel in real time.
  • Step 906 The dual SIM card multimode terminal sorts the eight data channels according to the service quality of each of the eight data channels to obtain the sorting information.
  • the VIPP module of the dual SIM card multimode terminal sorts 8 data channels according to the service quality of each of the 8 data channels to obtain sorting information.
  • Step 907 the dual SIM card multimode terminal will provide quality of service for each of the eight data channels. And sorting information is recorded to the first IP resource pool.
  • the VIPP module of the dual SIM card multimode terminal records the quality of service and the sorting information of each of the eight data channels to the first IP resource pool.
  • Step 908 The dual SIM card multimode terminal sends the virtual IP address and the information of the first IP resource pool to the server.
  • the VIPP module of the dual SIM card multimode terminal sends the virtual IP address and the information of the first IP resource pool to the VIPC module in the server through the established TCP link.
  • Step 909 The server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the information of the second IP resource pool is the same as the information of the first IP resource pool.
  • the VIPP module of the dual SIM card multimode terminal can update the service quality and the sorting information of each data channel in the first IP resource pool every preset time period.
  • the VIPP module of the dual SIM card multimode terminal can also detect whether there is an interruption of the data channel, or whether the service quality of the data channel is less than a certain value, when there is a data channel interruption, or when the service quality of the data channel is less than a certain value, The VIPP module sets the information corresponding to the data channel in the first IP resource pool to a prohibited state.
  • the VIPP module sends the changed information of the first IP resource pool to the VIPC module, and the VIPC module performs the second IP resource pool according to the changed information of the first IP resource pool. Update.
  • Step 910 When a data packet transmission is required, the dual SIM card multimode terminal acquires the first IP address in the first IP resource pool.
  • the VIPP module of the dual SIM card multimode terminal can use the eight IP addresses (ie, IP1 to IP8) in the first IP resource pool as the first IP address.
  • the VIPP module of the dual SIM card multimode terminal can determine the important level of the data to be transmitted according to the type of data to be transmitted, and then according to the important level of the data to be transmitted, the quality of service of each data channel in the 8 data channels, and Sorting information, determining m (m is greater than or equal to 1, and less than 8) data channels in 8 data channels, and then assigning an IP address assigned by the communication network corresponding to each data channel of the m data channels to the terminal as the first An IP address.
  • Step 911 The dual SIM card multimode terminal replaces the first source IP address of the data packet with the virtual IP address and the first IP address, and obtains the processed data packet.
  • VIPP Assuming that the VIPP module of the dual SIM card multimode terminal selects IP1 as the first IP address, then VIPP The module replaces the first source IP address of the packet with the virtual IP address with IP1.
  • Step 912 The dual SIM card multimode terminal transmits the processed data packet to the server by using a data channel of the communication network indicated by the first IP address and the first destination IP address.
  • the dual SIM card multimode terminal transmits the processed data packet to the server through the data channel of the communication network indicated by the IP1 and the IP address of the server (ie, the 2G network of the carrier network Y1).
  • Step 913 When data packet transmission is required, the server acquires a second IP address in the second IP resource pool.
  • step 913 The specific process of step 913 can be described with reference to step 813.
  • Step 914 The server replaces the second destination IP address of the data packet with the virtual IP address and the second IP address, to obtain the processed data packet.
  • Step 915 The server transmits the processed data packet to the dual SIM card multimode terminal by using the data channel of the communication network indicated by the second source IP address and the second IP address.
  • the terminal when data packet transmission is required, the terminal can acquire the first IP address in the first IP resource pool, and use the address in the data packet by using the first IP address.
  • the information is processed, and the processed data packet is transmitted to the server, and the server can obtain the second IP address in the second IP resource pool, and process the address information in the data packet by using the second IP address, and then process the data.
  • the data packet is transmitted to the terminal, which solves the problem of communication delay and data loss caused by the interruption of the data packet transmission.
  • the terminal and the server can select different data channels to transmit the data packet according to the importance of the data to be transmitted, and the application of the terminal
  • the layer does not need to manage the switching process of the underlying data channel
  • the service layer of the server does not need to manage the underlying data channel, thereby improving the reliability of data packet transmission and reducing the development complexity of the application layer and the service layer.
  • FIG. 10 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • the data packet transmission method is applied to the implementation environment shown in FIG. 1 as an example.
  • the terminal in FIG. 1 may be Dual SIM multimode terminal, the dual SIM multimode terminal supports LTE 1.8G (Gigabit) frequency band, 230M (mega) frequency band private network cluster, and carrier network: 2G network, 3G network, 4G network, WIFI network connection Into the process.
  • One SIM card of the dual SIM card multimode terminal is used to support the industry private network (ie, LTE 1.8G private network and 230M private network), and another SIM card is used to support the carrier network.
  • the data packet transmission method may include:
  • Step 1001 A dual SIM card multimode terminal generates a virtual IP address.
  • Step 1002 The dual SIM card multimode terminal is separately associated with the LTE 1.8G private network according to the virtual IP address.
  • the 230M private network establishes a connection with the carrier network.
  • the dual SIM card multimode terminal After the dual SIM card multimode terminal is powered on, the LTE 1.8G private network, the 230M private network, and the carrier network are detected by the automatic frequency sweeping technology.
  • the carrier network includes the 2G network, the 3G network, the 4G network, and the WIFI network.
  • the dual SIM card multimode terminal establishes a connection with the LTE 1.8G private network, the 230M private network and the carrier network, and each communication network allocates an IP address for the dual SIM card multimode, assuming that the 2G network is the IP of the dual SIM multimode allocation.
  • the IP address assigned to the dual SIM card multimode is IP2, the IP address assigned to the dual SIM card multimode is IP3, and the IP address assigned by the WIFI network to the dual SIM card multimode is IP4, LTE.
  • the IP address assigned by the 1.8G private network to the dual SIM card multimode is IP5, and the IP address assigned by the 230M private network to the dual SIM card multimode is IP6.
  • the dual SIM multimode terminal registers with the corresponding communication network.
  • Step 1003 The dual SIM card multimode terminal acquires an IP address allocated by each communication network in the six communication networks as a dual SIM card multimode terminal.
  • the dual SIM multimode terminal can also obtain the port number assigned to each dual SIM card multimode terminal by each communication network.
  • Step 1004 The dual SIM card multimode terminal establishes a first IP resource pool.
  • Step 1005 The dual SIM card multimode terminal determines the quality of service of each of the six data channels.
  • the VIPP module of the dual SIM multimode terminal measures and records the quality of service of each data channel in real time.
  • Step 1006 The dual SIM card multimode terminal sorts the six data channels according to the service quality of each of the six data channels to obtain the sorting information.
  • the VIPP module of the dual SIM card multimode terminal sorts the six data channels according to the service quality of each of the six data channels to obtain the sorting information.
  • Step 1007 The dual SIM card multimode terminal records the quality of service and the sorting information of each of the six data channels to the first IP resource pool.
  • the VIPP module of the dual SIM card multimode terminal records the quality of service and the sorting information of each of the six data channels to the first IP resource pool.
  • Step 1008 The dual SIM card multimode terminal sends the virtual IP address and the information of the first IP resource pool to the server.
  • the VIPP module of the dual SIM card multimode terminal sends the virtual IP address and the information of the first IP resource pool to the VIPC module in the server through the established TCP link.
  • Step 1009 The server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the VIPP module of the dual SIM card multimode terminal can update the service quality and the sorting information of each data channel in the first IP resource pool every preset time period.
  • the VIPP module of the dual SIM card multimode terminal can also detect whether there is an interruption of the data channel, or whether the service quality of the data channel is less than a certain value, when there is a data channel interruption, or when the service quality of the data channel is less than a certain value, The VIPP module sets the information corresponding to the data channel in the first IP resource pool to a prohibited state.
  • the VIPP module sends the changed information of the first IP resource pool to the VIPC module, and the VIPC module performs the second IP resource pool according to the changed information of the first IP resource pool. Update.
  • Step 1010 When a data packet transmission is required, the dual SIM card multimode terminal acquires the first IP address in the first IP resource pool.
  • the VIPP module of the dual SIM card multimode terminal can use the six IP addresses (ie, IP1 to IP6) in the first IP resource pool as the first IP address.
  • the VIPP module of the dual SIM card multimode terminal can determine the important level of the data to be transmitted according to the type of data to be transmitted, and then according to the important level of the data to be transmitted, the quality of service of each of the six data channels, and Sorting information, determining m (m is greater than or equal to 1, and less than 6) data channels in 6 data channels, and then assigning an IP address assigned by the communication network corresponding to each data channel of the m data channels to the terminal as the first An IP address.
  • Step 1011 The dual SIM card multimode terminal replaces the first source IP address of the data packet with the virtual IP address and the first IP address, and obtains the processed data packet.
  • step 1011 The specific process of step 1011 can be described with reference to step 811.
  • Step 1012 The dual SIM card multimode terminal transmits the processed data packet to the server by using a data channel of the communication network indicated by the first IP address and the first destination IP address.
  • Step 1013 When data packet transmission is required, the server acquires a second IP address in the second IP resource pool.
  • step 1013 The specific process of step 1013 can be described with reference to step 813.
  • Step 1014 The server replaces the second destination IP address of the data packet with the virtual IP address and the second IP address, and obtains the processed data packet.
  • step 1014 The specific process of step 1014 can be described with reference to step 814, and details are not described herein again.
  • Step 1015 The server transmits the processed data packet to the dual SIM card multimode terminal by using the data channel of the communication network indicated by the second source IP address and the second IP address.
  • the terminal when data packet transmission is required, the terminal can acquire the first IP address in the first IP resource pool, and use the address in the data packet by using the first IP address.
  • the information is processed, and the processed data packet is transmitted to the server, and the server can obtain the second IP address in the second IP resource pool, and process the address information in the data packet by using the second IP address, and then process the data.
  • the data packet is transmitted to the terminal, which solves the problem of communication delay and data loss caused by the interruption of the data packet transmission.
  • the terminal and the server can select different data channels to transmit the data packet according to the importance of the data to be transmitted, and the application of the terminal
  • the layer does not need to manage the switching process of the underlying data channel
  • the service layer of the server does not need to manage the underlying data channel, thereby improving the reliability of data packet transmission and reducing the development complexity of the application layer and the service layer.
  • FIG. 11 is a flowchart of a data packet transmission method according to an embodiment of the present invention.
  • the data packet transmission method is applied to the implementation environment shown in FIG. 1 as an example.
  • the terminal in FIG. 1 may be Single SIM card multimode terminal, the single SIM card multimode terminal supports the access process of LTE 1.8G private network and 230M private network, and LTE 1.8G private network and 230M private network belong to the power company.
  • the data packet transmission method may include:
  • Step 1101 A single SIM card multimode terminal generates a virtual IP address.
  • Step 1102 The single SIM card multimode terminal establishes a connection with the LTE 1.8G private network and the 230M private network according to the virtual IP address.
  • the LTE 1.8G private network and the 230M private network are detected by the automatic frequency sweeping technology.
  • a single SIM card multimode terminal establishes a connection with an LTE 1.8G private network and a 230M private network, and each communication network allocates an IP address to a single SIM card multimode terminal, assuming that the LTE 1.8G private network is allocated for a single SIM card multimode terminal.
  • the IP address is IP1
  • the IP address assigned to the single SIM card multimode terminal by the 230M private network is IP2.
  • the single SIM card multimode terminal registers with the corresponding communication network.
  • Step 1103 The single SIM card multimode terminal acquires an IP address allocated by each communication network in the two communication networks as a single SIM card multimode terminal.
  • the single SIM card multimode terminal can also obtain the port number assigned to each communication network as a single SIM card multimode terminal.
  • Step 1104 The single SIM card multimode terminal establishes a first IP resource pool.
  • Step 1105 The single SIM card multimode terminal determines the quality of service of each of the two data channels.
  • the VIPP module of a single SIM card multimode terminal measures and records the quality of service of each data channel in real time.
  • Step 1106 The single SIM card multimode terminal sorts the two data channels according to the service quality of each of the two data channels to obtain the sorting information.
  • Step 1107 The single SIM card multimode terminal records the quality of service and the sorting information of each of the two data channels to the first IP resource pool.
  • Step 1108 The single SIM card multimode terminal sends the virtual IP address and the information of the first IP resource pool to the server.
  • the VIPP module of the single SIM card multimode terminal sends the virtual IP address and the information of the first IP resource pool to the VIPC module in the server through the established TCP link.
  • Step 1109 The server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the information of the second IP resource pool is the same as the information of the first IP resource pool.
  • Step 1110 When a data packet transmission is required, the single SIM card multimode terminal acquires the first IP address in the first IP resource pool.
  • Step 1111 The single SIM card multimode terminal replaces the first source IP address of the data packet with the virtual IP address and the first IP address, and obtains the processed data packet.
  • Step 1112 The single SIM card multimode terminal transmits the processed data packet to the server by using the data channel of the communication network indicated by the first IP address and the first destination IP address.
  • Step 1113 When data packet transmission is required, the server acquires a second IP address in the second IP resource pool.
  • step 1113 The specific process of step 1113 can be described with reference to step 813, and details are not described herein again.
  • Step 1114 The server replaces the second destination IP address of the data packet with the virtual IP address and the second IP address, and obtains the processed data packet.
  • step 1114 For the specific process of step 1114, reference may be made to step 814, and details are not described herein again.
  • Step 1115 The server transmits the processed data packet to the single SIM card multimode terminal by using the data channel of the communication network indicated by the second source IP address and the second IP address.
  • the data packet transmission method can obtain the first IP address in the first IP resource pool and use the first IP address to compare the data packet when the data packet transmission needs to be performed.
  • the address information in the process is processed, and the processed data packet is transmitted to the server, and the server can obtain the second IP address in the second IP resource pool, and process the address information in the data packet by using the second IP address, and then Transmitting the processed data packet to the terminal, solving the problem of communication delay and data loss caused by the interruption of the data packet transmission, and the terminal and the server can select different data channels to transmit the data packet according to the importance of the data to be transmitted, and
  • the application layer of the terminal does not need to manage the switching process of the underlying data channel
  • the service layer of the server does not need to manage the underlying data channel, thereby improving the reliability of data packet transmission and reducing the development complexity of the application layer and the service layer.
  • FIG. 12-1 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure, where the terminal may include:
  • the generating unit 1201 is configured to generate a virtual IP address.
  • the first establishing unit 1202 is configured to establish a connection with each of the n communication networks according to the virtual IP address, where n is greater than or equal to 2.
  • the obtaining unit 1203 is configured to acquire an IP address allocated by each communication network in the n communication networks for the terminal, and obtain n IP addresses.
  • the second establishing unit 1204 is configured to establish a data channel with the server by using each of the n IP addresses.
  • the terminal provided by the embodiment of the present invention can establish a connection with each communication network in the n communication networks according to the virtual IP address, and acquire an IP address assigned by each communication network in the n communication networks to the terminal, and obtain n IP addresses, and each of the n IP addresses is used to establish a data channel with the server respectively.
  • the number of data channels used by the terminal and the server for transmitting data packets is more, therefore, Improve the reliability of packet transmission.
  • the terminal may further include:
  • the third establishing unit 1205 is configured to establish a first IP resource pool according to the n IP addresses, where the first IP resource pool includes n IP addresses.
  • the sending unit 1206 is configured to send, to the server, the virtual IP address and the information of the first IP resource pool, so that the server establishes the second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the second resource pool includes n IP addresses.
  • the terminal may further include:
  • the determining unit 1207 is configured to determine a quality of service of each of the n data channels.
  • the sorting unit 1208 is configured to sort the n data channels according to the quality of service of each of the n data channels to obtain sorting information.
  • the recording unit 1209 is configured to record the quality of service and the sorting information of each of the n data channels to the first IP resource pool.
  • the terminal may further include:
  • the detecting unit 1210 is configured to detect whether an interruption occurs in the first data channel, where the first data channel is any one of the n data channels.
  • the setting unit 1211 is configured to set, when the first data channel is interrupted, information corresponding to the first data channel in the first IP resource pool to a prohibited use state.
  • FIG. 12-1 The specific working process of each unit in Figure 12-1 can be described with reference to the embodiment shown in Figure 2.
  • the specific working process of each unit in Figure 12-2 can be described with reference to the embodiment shown in Figure 4-1.
  • the terminal provided by the embodiment of the present invention can establish a connection with each communication network in the n communication networks according to the virtual IP address, and acquire an IP address assigned by each communication network in the n communication networks to the terminal, and obtain n IP addresses, and each of the n IP addresses is used to establish a data channel with the server respectively.
  • the number of data channels used by the terminal and the server for transmitting data packets is more, therefore, Improve the reliability of packet transmission.
  • FIG. 13 is a schematic structural diagram of a server according to an embodiment of the present disclosure, where the server may include:
  • the receiving unit 1301 is configured to receive the virtual IP address sent by the terminal and the information of the first IP resource pool, where the first IP resource pool includes n IP addresses, and each IP address is used for the terminal to access different communication networks, and the virtual IP address.
  • the first establishing unit 1302 is configured to establish, according to the virtual IP address and the information of the first IP resource pool, a second IP resource pool of the terminal indicated by the virtual IP address, where the second resource pool includes n IP addresses.
  • the second establishing unit 1303 is configured to establish a data channel with the terminal by using each of the n IP addresses.
  • the second IP resource pool further includes the quality of service of each of the n data channels and the ranking information of the quality of service of the n data channels.
  • the server provided by the embodiment of the present invention can establish a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address sent by the terminal and the information of the first IP resource pool, and then use n IP addresses.
  • Each of the IP addresses establishes a data channel with the terminal, wherein the first IP resource pool includes n IP addresses, and the second resource pool includes n IP addresses.
  • the terminal and the server are used to transmit data. The number of data channels of the packet is more, thus improving the reliability of packet transmission.
  • An embodiment of the present invention provides a data channel establishing system, where the data channel establishing system includes a terminal and a server.
  • the terminal is the terminal shown in Figure 12-1 or Figure 12-2;
  • This server is the server shown in FIG.
  • FIG. 14-1 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure, where the terminal may include:
  • the first obtaining unit 1401 is configured to acquire a first IP address in the first IP resource pool when the data packet needs to be transmitted, where the first IP address is a target source IP address used for data packet transmission, and the first IP resource is used.
  • the pool includes n IP addresses, each IP address is used for the terminal to access different communication networks, n is greater than or equal to 2, and the data packet includes data to be transmitted, a first source IP address, and a first destination IP address, and the first source IP address.
  • the address is the virtual IP address of the terminal, and the first destination IP address is the IP address of the server.
  • the replacing unit 1402 is configured to replace the first source IP address of the data packet with the virtual IP address and the first IP address, to obtain the processed data packet.
  • the transmitting unit 1403 is configured to transmit the processed data packet to the server by using a data channel of the communication network indicated by the first IP address and the first destination IP address.
  • the terminal provided by the embodiment of the present invention can obtain the first IP address in the first IP resource pool when the data packet needs to be transmitted, and replace the first source IP address of the data packet with the virtual IP address.
  • the first IP address is used to obtain the processed data packet, and then the processed data packet is transmitted to the server through the data channel.
  • the terminal does not need to initiate a wireless connection request to another communication network when performing network switching.
  • the data packet transmission is performed according to the new IP address allocated by another communication network, which solves the problem of communication delay and data loss caused by interruption of data packet transmission, thereby improving the reliability of data packet transmission.
  • the terminal may further include:
  • the generating unit 1404 is configured to generate a virtual IP address.
  • the first establishing unit 1405 is configured to establish a connection with each of the n communication networks according to the virtual IP address.
  • the second obtaining unit 1406 is configured to acquire an IP address allocated by each communication network in the n communication networks for the terminal.
  • the second establishing unit 1407 is configured to establish a first IP resource pool, where the first IP resource pool includes n IP addresses.
  • the first establishing unit 1405 is specifically configured to:
  • connection request message includes a virtual IP address; receiving a connection response message sent by the packet gateway of each communication network, and each connection response message Including the IP address assigned by the communication network to the terminal.
  • the first IP resource pool further includes the service quality of the data channel of each communication network in the n communication networks and the ranking information of the service quality of the n data channels, as shown in FIG. 14-2, the terminal may also be include:
  • the determining unit 1408 is configured to determine a quality of service of each of the n data channels.
  • the sorting unit 1409 is configured to sort the n data channels according to the quality of service of each of the n data channels to obtain sorting information.
  • the recording unit 1410 is configured to record the quality of service and the sorting information of each of the n data channels to the first IP resource pool.
  • the data packet further includes: a type of the data to be transmitted, where the first acquiring unit 1401 is configured to: determine an important level of the data to be transmitted according to the type of the data to be transmitted; and according to an important level of the data to be transmitted, n data.
  • the terminal may further include:
  • the detecting unit 1411 is configured to detect whether an interruption occurs in the first data channel, where the first data channel is any one of the n data channels.
  • the setting unit 1412 is configured to set, when the first data channel is interrupted, information corresponding to the first data channel in the first IP resource pool to a prohibited use state.
  • the terminal may further include:
  • the first sending unit 1413 is configured to send a virtual IP address and a letter of the first IP resource pool to the server. So that the server establishes a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool, and the second resource pool includes n IP addresses.
  • the second sending unit 1414 is configured to: when the information of the first IP resource pool changes, send the changed information of the first IP resource pool to the server, so that the server can perform information according to the changed first IP resource pool.
  • the second IP resource pool is updated.
  • the first obtaining unit 1401, the replacing unit 1402, and the transmitting unit 1403 in FIG. 14-2 can be explained with reference to FIG. 14-1.
  • the specific working process of each unit in FIG. 14-1 can be described with reference to the embodiment shown in FIG. 5.
  • the specific working process of each unit in FIG. 14-2 can be described with reference to the embodiment shown in FIG. 7-1.
  • the units in FIG. 14-2 can be applied to the models shown in FIG. 7-7, such as the first obtaining unit 1401, the replacing unit 1402, the second establishing unit 1407, the determining unit 1408, the sorting unit 1409, the recording unit 1410, and the detecting.
  • the unit 1411, the setting unit 1412, the first transmitting unit 1413, and the like can be used to implement the functions of the VIPP module in the terminal shown in FIGS. 7-7.
  • the terminal provided by the embodiment of the present invention can obtain the first IP address in the first IP resource pool when the data packet needs to be transmitted, and replace the first source IP address of the data packet with the virtual IP address.
  • the first IP address is used to obtain the processed data packet, and then the processed data packet is transmitted to the server through the data channel.
  • the terminal does not need to initiate a wireless connection request to another communication network when performing network switching.
  • the data packet transmission is performed according to the new IP address allocated by another communication network, which solves the problem of communication delay and data loss caused by interruption of data packet transmission, thereby improving the reliability of data packet transmission.
  • FIG. 15-1 is a schematic structural diagram of another server according to an embodiment of the present disclosure, where the server may include:
  • the obtaining unit 1501 is configured to obtain a second IP address in the second IP resource pool when the data packet needs to be transmitted, where the second IP address is a target destination IP address used for data packet transmission, and the second IP resource pool includes n IP addresses, each IP address is used for the terminal to access different communication networks, n is greater than or equal to 2, and the second IP resource pool is established according to the virtual IP address of the terminal sent by the terminal and the information of the first IP resource pool.
  • the data packet includes data to be transmitted, a second source IP address, and a second destination IP address, the second source IP address is an IP address of the server, and the second destination IP address is a virtual IP address.
  • the first IP resource pool includes n IP addresses.
  • the replacing unit 1502 is configured to replace the second destination IP address of the data packet with the virtual IP address and the second IP address to obtain the processed data packet.
  • the transmitting unit 1503 is configured to transmit the processed data packet to the terminal by using a data channel of the communication network indicated by the second source IP address and the second IP address.
  • the server provided by the embodiment of the present invention can obtain the second IP address in the second IP resource pool when the data packet needs to be transmitted, and replace the second destination IP address of the data packet with the virtual IP address.
  • the second IP address obtains the processed data packet, and then transmits the processed data packet to the terminal through the data channel, thereby solving the problem of data loss during the data packet transmission process and improving the reliability of the data packet transmission.
  • the server may further include:
  • the first receiving unit 1504 is configured to receive the virtual IP address sent by the terminal and the information of the first IP resource pool.
  • the establishing unit 1505 is configured to establish, according to the virtual IP address and the information of the first IP resource pool, a second IP resource pool of the terminal indicated by the virtual IP address.
  • the data packet further includes: a type of data to be transmitted, where the second IP resource pool further includes a service quality of the data channel of each communication network in the n communication networks and a sorting information of the service quality of the n data channels, and obtains
  • the unit 1501 is specifically configured to:
  • the server may further include:
  • the second receiving unit 1506 is configured to receive information about the changed first IP resource pool sent by the terminal.
  • the updating unit 1507 is configured to update the second IP resource pool according to the changed information of the first IP resource pool.
  • FIG. 15-1 the obtaining unit 1501, the replacing unit 1502, and the transmitting unit 1503 in FIG. 15-2 can be explained with reference to FIG. 15-1.
  • the specific working process of each unit in Figure 15-1 can be described with reference to the embodiment shown in Figure 6.
  • the specific working process of each unit in Figure 15-2 can be described with reference to the embodiment shown in Figure 7-1.
  • the units in FIG. 15-2 can be applied to the models shown in FIG. 7-7, such as the obtaining unit 1501, the replacing unit 1502, the first receiving unit 1504, the establishing unit 1505, the second receiving unit 1506, and the updating unit 1507, etc. Used to implement the functions of the VIPC module in the server shown in Figure 7-7.
  • the server provided by the embodiment of the present invention can perform data packet transmission when Obtaining a second IP address in the second IP resource pool, replacing the second destination IP address of the data packet with the virtual IP address and the second IP address, and obtaining the processed data packet, and transmitting the processed data packet to the terminal through the data channel
  • the data packet solves the problem of data loss during data packet transmission and improves the reliability of data packet transmission.
  • An embodiment of the present invention provides a data packet transmission system, where the data packet transmission system includes a terminal and a server.
  • the terminal is a terminal shown in Figure 14-1 or Figure 14-2;
  • This server is the server shown in Figure 15-1 or Figure 15-2.
  • FIG. 16 is a schematic structural diagram of still another terminal according to an embodiment of the present invention. It should be understood that the terminal may have more or fewer components than those shown in FIG. 16, and two or more components may be combined. Or can have different component configurations.
  • the various components shown in Figure 16 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the terminal shown in FIG. 16 is taken as an example for specific description.
  • the terminal includes at least one processor 1601, a memory 1602, a communication module 1603, at least one communication bus 1604, and a communication antenna 1605.
  • the terminal also includes other functional components such as battery modules, wired/wireless charging structures, and the like.
  • Communication bus 1604 is used to implement connection communication between these components.
  • Memory 1602 may include non-volatile solid state memory and/or dynamic non-volatile storage devices such as flash memory, rotatable disk drives.
  • the communication module 1603 can be used for long-distance communication, such as GSM, CDMA, General Packet Radio Service (GPRS), and Enhanced Data Rate for GSM Evolution (English: Enhanced Data Rate for GSM Evolution; EDGE), 3G technologies such as Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (English: Time Division-Synchronous Code Division Multiple Access; TD-SCDMA), 4G technologies such as LTE.
  • Communication antenna 1605 is used to receive and transmit communication signals.
  • the memory 1602 includes an operating system 16021 and an application program 16022.
  • the operating system 16021 includes various operating system programs for implementing hardware-based operations.
  • the application program 16022 includes various applications for implementing various application functions. For example, a virtual IP address generation program, a communication network connection program, and a data channel establishment program enable the terminal to generate a virtual IP address, establish a connection with n (n is greater than or equal to 2) communication networks according to the virtual IP address, and acquire n communication networks. Medium Each communication network assigns an IP address to the terminal, and obtains n IP addresses, thereby establishing a data channel with the server by using each of the n IP addresses.
  • the processor 1601 communicates with various modules and components via a communication bus 1604, and the processor 1601 can execute an application stored in the memory 1602 to implement the terminal, such that the terminal generates a virtual IP address, and then according to the virtual IP address and each of the n communication networks.
  • the communication networks establish a connection, and then obtain an IP address assigned to each terminal by each communication network in the n communication networks, and obtain n IP addresses, thereby establishing a data channel with the server by using each of the n IP addresses.
  • the terminal provided by the embodiment of the present invention implements the method embodiment shown in FIG. 2 or FIG. 4-1 through the cooperation of the foregoing execution modules, the device embodiment shown in FIG. 12-1 or FIG. 12-2, and the foregoing data channel establishment.
  • the detecting unit 1210 and the setting unit 1211 may be implemented by the processor 1601 executing an application stored in the memory 1602; the transmitting unit 1206 of FIG. 12-2 may be implemented by the communication module 1603 and the communication antenna 1605.
  • the terminal provided by the embodiment of the present invention can establish a connection with each communication network in the n communication networks according to the virtual IP address, and acquire an IP address assigned by each communication network in the n communication networks to the terminal, and obtain n IP addresses, and each of the n IP addresses is used to establish a data channel with the server respectively.
  • the number of data channels used by the terminal and the server for transmitting data packets is more, therefore, Improve the reliability of packet transmission.
  • FIG. 17 is a schematic structural diagram of still another server according to an embodiment of the present invention. It should be understood that the server may have more or fewer components than those shown in FIG. 17, and two or more components may be combined. Or can have different component configurations.
  • the various components shown in Figure 17 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the server shown in FIG. 17 is taken as an example for specific description. As shown in FIG. 17, the server may include a processor 1710, a network interface 1720, a memory 1730, and a bus 1740.
  • the bus 1740 is used to connect the processor 1710, the network interface 1720, and the memory 1730.
  • the processor 1710 can execute the program 1731 stored in the memory 1730 to implement the server, so that the server can establish a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address and the information of the first IP resource pool.
  • the second resource pool includes n IP addresses, and is reused. Each of the n IP addresses establishes a data channel with the terminal.
  • the server provided by the embodiment of the present invention implements the method embodiment shown in FIG. 3 or FIG. 4-1 through the cooperation of the foregoing execution modules, the device embodiment shown in FIG. 13 , and the servers completed in the data channel establishment system.
  • the receiving unit 1301 of FIG. 13 as above may be implemented by the network interface 1720; the first establishing unit 1302 and the second establishing unit 1303 of FIG. 13 may be implemented by the processor 1710 executing the program 1731 stored in the memory 1730.
  • the server provided by the embodiment of the present invention can establish a second IP resource pool of the terminal indicated by the virtual IP address according to the virtual IP address sent by the terminal and the information of the first IP resource pool, and then use n IP addresses.
  • Each of the IP addresses establishes a data channel with the terminal, wherein the first IP resource pool includes n IP addresses, and the second resource pool includes n IP addresses.
  • the terminal and the server are used to transmit data. The number of data channels of the packet is more, thus improving the reliability of packet transmission.
  • An embodiment of the present invention provides another data channel establishing system, where the data channel establishing system includes a terminal and a server.
  • the terminal is the terminal shown in FIG. 16;
  • This server is the server shown in FIG.
  • FIG. 18 is a schematic structural diagram of still another terminal according to an embodiment of the present invention. It should be understood that the terminal may have more or fewer components than those shown in FIG. 18, and two or more components may be combined. Or can have different component configurations.
  • the various components shown in Figure 18 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the terminal shown in FIG. 18 is taken as an example for specific description.
  • the terminal includes at least one processor 1801, a memory 1802, a communication module 1803, at least one communication bus 1804, and a communication antenna 1805.
  • the terminal also includes other functional components such as battery modules, wired/wireless charging structures, and the like.
  • Communication bus 1804 is used to implement connection communication between these components.
  • Memory 1802 may include non-volatile solid state memory and/or dynamic non-volatile storage devices such as flash memory, rotatable disk drives.
  • the communication module 1803 can be used for long-distance communication, such as GSM, CDMA, GPRS, EDGE, WCDMA, TD-SCDMA, 4G technologies such as LTE, and the like.
  • Communication antenna 1805 is used to receive and transmit communication signals.
  • the memory 1802 includes an operating system 18021 and an application 18022, an operating system.
  • 18021 includes various operating system programs for implementing hardware-based operations
  • application 18022 includes various applications for implementing various application functions, such as a first IP address acquisition program and an IP address replacement program, enabling When the terminal needs to perform data packet transmission, the terminal obtains the first IP address in the first IP resource pool, and then replaces the first source IP address of the data packet with the virtual IP address to the first IP address, and obtains the processed data packet.
  • the processor 1801 communicates with the various modules and components through the communication bus 1804.
  • the processor 1801 can execute the application stored in the memory 1802 to implement the terminal, so that the terminal acquires the first IP resource pool when the data packet needs to be transmitted.
  • An IP address, and then the first source IP address of the data packet is replaced by the virtual IP address to the first IP address, and the processed data packet is obtained.
  • the terminal provided by the embodiment of the present invention implements the method embodiment shown in FIG. 5 or FIG. 7-1 through the cooperation of the foregoing execution modules, the device embodiment shown in FIG. 14-1 or FIG. 14-2, and the foregoing data packet transmission.
  • the sorting unit 1409, the recording unit 1410, the detecting unit 1411, and the setting unit 1412 may be implemented by the processor 1801 executing an application stored in the memory 1802; the transmitting unit 1403 of FIG. 14-1, and the first of FIG. 14-2
  • the transmitting unit 1413 and the second transmitting unit 1414 may be implemented by the communication module 1803 and the communication antenna 1805.
  • the terminal provided by the embodiment of the present invention can obtain the first IP address in the first IP resource pool when the data packet needs to be transmitted, and replace the first source IP address of the data packet with the virtual IP address.
  • the first IP address is used to obtain the processed data packet, and then the processed data packet is transmitted to the server through the data channel.
  • the terminal does not need to initiate a wireless connection request to another communication network when performing network switching.
  • the data packet transmission is performed according to the new IP address allocated by another communication network, which solves the problem of communication delay and data loss caused by interruption of data packet transmission, thereby improving the reliability of data packet transmission.
  • FIG. 19 is a schematic structural diagram of still another server according to an embodiment of the present invention. It should be understood that the server may have more or fewer components than those shown in FIG. 19, and two or more components may be combined. Or can have different component configurations.
  • the various components shown in Figure 19 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the server shown in FIG. 19 is taken as an example for specific description, as shown in FIG.
  • the server can include a processor 1910, a network interface 1920, a memory 1930, and a bus 1940.
  • the bus 1940 is used to connect the processor 1910, the network interface 1920, and the memory 1930.
  • the processor 1910 can execute the program 1931 stored in the memory 1930 to implement the server, so that the server can acquire the second IP address in the second IP resource pool when the data packet needs to be transmitted, and then the second destination IP address of the data packet.
  • the address is replaced by the virtual IP address to the second IP address, and the processed data packet is obtained.
  • the server provided by the embodiment of the present invention implements the method embodiment shown in FIG. 6 or FIG. 7-1 through the cooperation of the foregoing execution modules, the device embodiment shown in FIG. 15-1 or FIG. 15-2, and the foregoing data channel establishment.
  • the obtaining unit 1501 and the replacing unit 1502 of FIG. 15-1, and the establishing unit 1505 and the updating unit 1507 of FIG. 15-2, may be implemented by the processor 1910 executing the program 1931 stored in the memory 1930; FIG. 15-1
  • the transmission unit 1503, and the first receiving unit 1504 and the second receiving unit 1506 of FIG. 15-2 may be implemented by the network interface 1920.
  • the server provided by the embodiment of the present invention can obtain the second IP address in the second IP resource pool when the data packet needs to be transmitted, and replace the second destination IP address of the data packet with the virtual IP address.
  • the second IP address obtains the processed data packet, and then transmits the processed data packet to the terminal through the data channel, thereby solving the problem of data loss during the data packet transmission process and improving the reliability of the data packet transmission.
  • An embodiment of the present invention provides another data packet transmission system, where the data packet transmission system includes a terminal and a server.
  • the terminal is the terminal shown in FIG. 18;
  • This server is the server shown in FIG.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

L'invention se rapporte au domaine technique des communications. L'invention concerne un procédé pour établir un canal de données et transmettre un paquet de données, un terminal, un serveur et un système. Le procédé pour établir un canal de données consiste : à générer une adresse IP virtuelle ; à établir, selon l'adresse IP virtuelle, une connexion avec chacun de n réseaux de communication, n étant supérieur ou égal à 2 ; à acquérir une adresse IP attribuée à un terminal par chacun des n réseaux de communication pour obtenir n adresses IP ; à utiliser chacune des n adresses IP pour établir des canaux de données respectifs avec un serveur. L'invention résout un problème de faible fiabilité de transmission de paquet de données, permettant ainsi d'améliorer la fiabilité de la transmission de paquet de données. L'invention s'applique à une transmission de paquet de données.
PCT/CN2016/076356 2016-03-15 2016-03-15 Procédé pour établir un canal de données et transmettre un paquet de données, terminal, serveur et système WO2017156704A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/076356 WO2017156704A1 (fr) 2016-03-15 2016-03-15 Procédé pour établir un canal de données et transmettre un paquet de données, terminal, serveur et système

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/076356 WO2017156704A1 (fr) 2016-03-15 2016-03-15 Procédé pour établir un canal de données et transmettre un paquet de données, terminal, serveur et système

Publications (1)

Publication Number Publication Date
WO2017156704A1 true WO2017156704A1 (fr) 2017-09-21

Family

ID=59850563

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076356 WO2017156704A1 (fr) 2016-03-15 2016-03-15 Procédé pour établir un canal de données et transmettre un paquet de données, terminal, serveur et système

Country Status (1)

Country Link
WO (1) WO2017156704A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291363A (zh) * 2020-11-06 2021-01-29 腾讯科技(深圳)有限公司 无线通信的方法、装置、电子设备和计算机可读存储介质
CN113341833A (zh) * 2021-06-22 2021-09-03 天津航通科技有限公司 一种机坪地面设备运行状态数据的采集和传输方法
WO2023185484A1 (fr) * 2022-03-29 2023-10-05 华能新疆能源开发有限公司新能源东疆分公司 Procédé de commutation à deux canaux de dispositif agc

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453768A (zh) * 2007-12-03 2009-06-10 Sk电信有限公司 在异构网络之间切换时提供分组服务的方法和移动通信终端
CN101582773A (zh) * 2008-05-13 2009-11-18 株式会社日立国际电气 冗余切换系统、冗余管理装置以及应用程序处理装置
CN101827111A (zh) * 2010-05-12 2010-09-08 中兴通讯股份有限公司 Tcp链接方法、网络系统、客户端和服务器
CN102811437A (zh) * 2011-05-31 2012-12-05 三星Sds株式会社 用于控制数据发送/接收路径的设备和方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453768A (zh) * 2007-12-03 2009-06-10 Sk电信有限公司 在异构网络之间切换时提供分组服务的方法和移动通信终端
CN101582773A (zh) * 2008-05-13 2009-11-18 株式会社日立国际电气 冗余切换系统、冗余管理装置以及应用程序处理装置
CN101827111A (zh) * 2010-05-12 2010-09-08 中兴通讯股份有限公司 Tcp链接方法、网络系统、客户端和服务器
CN102811437A (zh) * 2011-05-31 2012-12-05 三星Sds株式会社 用于控制数据发送/接收路径的设备和方法

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291363A (zh) * 2020-11-06 2021-01-29 腾讯科技(深圳)有限公司 无线通信的方法、装置、电子设备和计算机可读存储介质
WO2022095708A1 (fr) * 2020-11-06 2022-05-12 腾讯科技(深圳)有限公司 Procédé et appareil de communication sans fil, dispositif, support de stockage et produit-programme informatique
CN112291363B (zh) * 2020-11-06 2023-09-08 腾讯科技(深圳)有限公司 无线通信的方法、装置、电子设备和计算机可读存储介质
CN113341833A (zh) * 2021-06-22 2021-09-03 天津航通科技有限公司 一种机坪地面设备运行状态数据的采集和传输方法
WO2023185484A1 (fr) * 2022-03-29 2023-10-05 华能新疆能源开发有限公司新能源东疆分公司 Procédé de commutation à deux canaux de dispositif agc

Similar Documents

Publication Publication Date Title
CN111052849B (zh) 移动网络交互代理的方法和设备
CN109981316B (zh) 应用服务器的切换方法及会话管理网元、终端设备
US11510258B2 (en) Direct user equipment to user equipment without data network access identifier
JP6553635B2 (ja) D2d関連情報の指示及びd2d伝送リソースの決めのための方法及び装置
KR102580499B1 (ko) 통신 방법 및 통신 장치
CN110365727B (zh) 通信方法和相关装置
JP2020167716A (ja) Lteと5gのタイト・インターワーキングの場合の通信処理方法及び装置
WO2015154392A1 (fr) Procédé et dispositif de mise en œuvre de commutation pour un service d2d
CN107113188B (zh) 基于云的无线电接入网络中的层管理器装置及操作方法
JP2022550517A (ja) サービスオフロード方法、装置、システム、電子機器、及びコンピュータプログラム
EP3817453A1 (fr) Procédé et appareil de communication
CN114342332B (zh) 一种通信方法、装置及系统
TWI692989B (zh) 上行資料包資源配置方法和使用者終端
WO2017156704A1 (fr) Procédé pour établir un canal de données et transmettre un paquet de données, terminal, serveur et système
JP2019510435A (ja) ネットワークアクセス方法、その関連機器およびシステム
JP2020524462A (ja) ダウンリンク制御チャネルリソース特定方法、装置、ユーザ機器および基地局
CN108617012B (zh) 一种建立连接的方法及装置
CN116390036A (zh) 会话控制方法、系统及smf网元
US20230180066A1 (en) Handover method, device and system in multi-connection network
WO2020249208A1 (fr) Appareil, procédé et programme informatique
WO2022227088A1 (fr) Communication par accès et raccordement intégrés
US11039501B2 (en) Converged controller selection method, device, and converged controller selection system
US20240114398A1 (en) Adaptive resource allocation for a wireless telecommunication network fronthaul link
KR101199124B1 (ko) 캐리어 어그리게이션 환경에서 호 설정을 수행하는 장치
CN107528681B (zh) 一种数据传输方法、收发信机及通信终端

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16893869

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16893869

Country of ref document: EP

Kind code of ref document: A1