CN116208551B - Data transmission method, device, equipment and storage medium - Google Patents

Data transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN116208551B
CN116208551B CN202211572320.5A CN202211572320A CN116208551B CN 116208551 B CN116208551 B CN 116208551B CN 202211572320 A CN202211572320 A CN 202211572320A CN 116208551 B CN116208551 B CN 116208551B
Authority
CN
China
Prior art keywords
address information
target
transmitted
address
uplink data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211572320.5A
Other languages
Chinese (zh)
Other versions
CN116208551A (en
Inventor
刘兆棠
廖淑婷
徐丹
邵博文
樊鹏
伦晓潼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211572320.5A priority Critical patent/CN116208551B/en
Publication of CN116208551A publication Critical patent/CN116208551A/en
Application granted granted Critical
Publication of CN116208551B publication Critical patent/CN116208551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a data transmission method, a data transmission device, data transmission equipment and a storage medium. The method is applied to the current broadband equipment, wherein the current broadband equipment is located in a preset network architecture, and specifically comprises the following steps: receiving an uplink data packet to be transmitted, which is sent by a user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved; acquiring at least one piece of first IP address information pre-stored in a first IP address pool, wherein the first IP address information is IP address information supported by the current broadband device; matching the target IP address information with the first IP address information; and sending the uplink data packet to be transmitted to the original broadband device to indicate that the original broadband device sends the uplink data to be transmitted to the target application server based on the target IP address information in response to the fact that the target IP address information is not matched with all the first IP address information.

Description

Data transmission method, device, equipment and storage medium
Technical Field
The present application relates to communications technologies, and in particular, to a data transmission method, apparatus, device, and storage medium.
Background
Because of the needs of work or life, some users move across the coverage area of broadband equipment, in order to ensure that the users can use the network smoothly after moving, the users do not influence the access of the users to internet services, so that the data transmission among the users is realized, and operators make great efforts on how to use the network for the moved users. The user can be an enterprise user or a family user.
In the prior art, when a user moves from an original broadband device coverage area to a current broadband device coverage area, the user uses an IP address supported by the original broadband device in the original broadband device coverage area, and the current broadband device does not support the IP address of the original broadband device because the user moves to the current broadband device coverage area after moving, so that after the user moves to the current broadband device coverage area, in order to ensure that the user terminal can smoothly use a network, an operation and maintenance personnel can allocate an IP address supported by the current broadband device to the user terminal, so that the user terminal can use the allocated IP address supported by the current broadband device, and further, the data to be transmitted can be transmitted between the user terminal and a target application server based on the IP address.
Therefore, after the user is moved, the operation and maintenance personnel can reassign the IP address to the user terminal, but the reassignment of the IP address is troublesome for the user, the user needs to spend time to adapt to the new IP address, if the reassigned IP address can not meet the user requirement, the service requirement of the user is not finished, and the experience of the user can be reduced in the use process.
Disclosure of Invention
The application provides a data transmission method, a device, equipment and a storage medium, which are used for solving the problems that after a user is moved, the user spends time in allocating an IP address to the user again so as to adapt to a new IP address, and the newly allocated IP address cannot meet the user requirement, so that the user experience is reduced.
In a first aspect, the present application provides a data transmission method, where the method is applied to a current broadband device, where the current broadband device is located in a preset network architecture, where the preset network architecture further includes an original broadband device and a target user network device, where the current broadband device is communicatively connected to the target user network device, and where the original broadband device is disconnected from the target user network device, and the method includes:
Receiving an uplink data packet to be transmitted, which is sent by a user terminal; the uplink data packet to be transmitted comprises target Internet Protocol (IP) address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved;
Acquiring at least one piece of first IP address information pre-stored in a first IP address pool; the first IP address information is IP address information supported by the current broadband equipment;
Matching the target IP address information with at least one piece of first IP address information;
And responding to the fact that the target IP address information is not matched with all the first IP address information, sending the uplink data packet to be transmitted to the original broadband device, and indicating the original broadband device to send the uplink data to be transmitted to a target application server based on the target IP address information.
In one manner, the matching the target IP address information with at least one of the first IP address information includes:
Dividing the target IP address information into a plurality of address fields;
And matching each address field in the target IP address information with at least one corresponding address field in the first IP address information in parallel.
In one manner, before the uplink data packet to be transmitted is sent to the original broadband device, the method further includes:
Acquiring first configuration information stored in advance; the first configuration information comprises configuration information of the current broadband device about constructing a communication channel; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is positioned in original broadband equipment;
determining a first interface identifier and a second interface identifier of a communication channel from the first configuration information;
Establishing a communication channel with original broadband equipment according to the first interface identifier, the second interface identifier and a preset network protocol;
The sending the uplink data packet to be transmitted to the original broadband device includes:
And sending the uplink data packet to be transmitted to the second interface in the original broadband equipment by adopting the first interface.
In one form, the method further comprises:
receiving a downlink data packet to be transmitted sent by original broadband equipment; the downlink data packet to be transmitted comprises a target user network equipment identifier and downlink data to be transmitted;
Responding to the existence of the target user network equipment identifier in the pre-stored network equipment identifier with communication connection with the current broadband equipment, and determining corresponding target user network equipment based on the target user network equipment identifier;
And sending the downlink data to be transmitted to a user terminal through the target user network equipment.
In a second aspect, the present application provides a data transmission method, where the method is applied to an original broadband device, where the original broadband device is located in a preset network architecture, where the preset network architecture further includes a current broadband device and a target user network device, where the target user network device is disconnected from the original broadband device and is communicatively connected to the current broadband device, and the method includes:
Receiving an uplink data packet to be transmitted, which is sent by current broadband equipment; the uplink data packet to be transmitted is sent to the current broadband equipment by the user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved;
Acquiring at least one piece of second IP address information pre-stored in a second IP address pool, and matching target IP address information with at least one piece of second IP address information; the second IP address information is the IP address information supported by the original broadband equipment;
And responding to the matching of the target IP address information and any one of the second IP address information, and sending the uplink data to be transmitted to a target application server based on the target IP address information.
In one manner, the matching the target IP address information with at least one of the second IP address information includes:
Dividing the target IP address information into a plurality of address fields;
And matching each address field in the target IP address information with at least one corresponding address field in the second IP address information in parallel.
In one manner, before responding to the matching of the target IP address information with the second IP address information, the method further comprises:
Acquiring second configuration information stored in advance; the second configuration information comprises configuration information of the original broadband equipment about determining a transmission network;
Determining a third interface identifier of the transmission network from the second configuration information;
the sending the uplink data to be transmitted to a target application server based on the target IP address information includes:
Calling a transmission network of a target IP address by adopting a third interface, and sending data to be transmitted to a management server by utilizing the transmission network of the target IP address so as to instruct the management server to send uplink data to be transmitted to a target application server; the third interface is located in the original broadband device.
In one mode, the second configuration information further includes configuration information of the original broadband device about constructing a communication channel; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is located in a legacy broadband device, and the method further comprises:
receiving a downlink data packet to be transmitted sent by a target application server; the downlink data packet to be transmitted comprises a target user network equipment identifier and downlink data to be transmitted;
Determining a first interface identifier and a second interface identifier of the communication channel based on second configuration information in response to the target user network device identifier not being in the pre-stored network device identifier having communication connection with the original broadband device;
establishing a communication channel with the current broadband equipment according to the first interface identifier, the second interface identifier and a preset network protocol;
And transmitting the downlink data packet to be transmitted to the first interface in the current broadband device by adopting the second interface so as to instruct the current broadband device to transmit the downlink data packet to be transmitted to the user terminal.
In a third aspect, the present application provides a data transmission apparatus, where the apparatus is located in a current broadband device, where the current broadband device is located in a preset network architecture, where the preset network architecture further includes an original broadband device and a target user network device, where the current broadband device is communicatively connected to the user network device, and where the original broadband device is disconnected from the target user network device, where the apparatus includes:
The receiving module is used for receiving an uplink data packet to be transmitted, which is sent by the user terminal; the uplink data packet to be transmitted comprises target Internet Protocol (IP) address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved;
the acquisition module is used for acquiring at least one piece of first IP address information pre-stored in the first IP address pool; the first IP address information is IP address information supported by the current broadband equipment;
The matching module is used for matching the target IP address information with at least one piece of first IP address information;
And the sending module is used for responding that the target IP address information is not matched with all the first IP address information, and sending the uplink data packet to be transmitted to the original broadband device so as to indicate the original broadband device to send the uplink data to be transmitted to a target application server based on the target IP address information.
In a fourth aspect, the present application provides a data transmission apparatus, where the apparatus is located in an original broadband device, where the original broadband device is located in a preset network architecture, where the preset network architecture further includes a current broadband device and a target user network device, where the target user network device is disconnected from the original broadband device and is communicatively connected to the current broadband device, and the apparatus includes:
the receiving module is used for receiving an uplink data packet to be transmitted, which is sent by the current broadband equipment; the uplink data packet to be transmitted is sent to the current broadband equipment by the user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address is an IP address used in original broadband equipment before the user is moved;
The matching module is used for acquiring at least one piece of second IP address information pre-stored in the second address pool and matching the target IP address information with at least one piece of second IP address information; the second IP address information is the IP address information supported by the original broadband equipment;
And the sending module is used for responding to the matching of the target IP address information and any one of the second IP address information and sending the uplink data to be transmitted to a target application server based on the target IP address information.
In a fifth aspect, the present application provides a broadband device comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data;
the processor executes computer-executable instructions stored by the memory to implement the method as described in the first aspect, the second aspect or any one of the ways described above.
In a sixth aspect, the present application provides a computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out a method as described in the first aspect, the second aspect or any of the ways described above.
The application provides a data transmission method, a device, equipment and a storage medium, wherein the method is applied to current broadband equipment, the current broadband equipment is positioned in a preset network architecture, the preset network architecture also comprises original broadband equipment and target user network equipment, the current broadband equipment is in communication connection with the target user network equipment, and the original broadband equipment is disconnected from the target user network equipment, and the method specifically comprises the following steps: receiving an uplink data packet to be transmitted, which is sent by a user terminal; the uplink data packet to be transmitted comprises target Internet Protocol (IP) address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved; acquiring at least one piece of first IP address information pre-stored in a first IP address pool; the first IP address information is the IP address information supported by the current broadband device; matching the target IP address information with at least one first IP address information; and sending the uplink data packet to be transmitted to the original broadband device to indicate that the original broadband device sends the uplink data to be transmitted to the target application server based on the target IP address information in response to the fact that the target IP address information is not matched with all the first IP address information. In the application, in a preset network architecture, a target user network device is in communication connection with a current broadband device, the current broadband device receives an uplink data packet to be transmitted sent by a user terminal, the uplink data packet to be transmitted contains target IP address information, and further the current broadband device determines whether the uplink data packet to be transmitted is matched with first IP address information or not based on the target IP address information, if the uplink data packet to be transmitted is not matched with the first IP address information, the current broadband device sends the uplink data packet to be transmitted to the original broadband device, so that the original broadband device is instructed to send the uplink data packet to be transmitted to a target application server based on the target IP address information, wherein the target IP address information is the IP address information used in the original broadband device before the user moves, and therefore, when the user is in communication connection with the current broadband device, the current broadband device is not used for supporting the IP address, and the uplink data packet to be transmitted is sent to the original broadband device through the current broadband device, and the uplink data packet to be transmitted is still sent to the target application server by using the IP address supported by the original broadband device. The application does not need to redistribute the IP address to the user from the current broadband equipment, so that the user still uses the original IP address to realize service even after the user is moved, and the adaptation time of the user to the new IP address is reduced. Meanwhile, the situation that the new IP address cannot meet the requirements of the user can be avoided, and after the new IP address is moved, the life and work of the user cannot be affected, so that the experience of the user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario diagram of a data transmission method provided by the present application;
fig. 2 is a flow chart of a data transmission method according to a first embodiment of the present application;
fig. 3 is a flow chart of a data transmission method according to a third embodiment of the present application;
fig. 4 is a flow chart of a data transmission method according to a fourth embodiment of the present application;
fig. 5 is a flow chart of a data transmission method according to a fifth embodiment of the present application;
fig. 6 is a flow chart of a data transmission method according to an eighth embodiment of the present application;
fig. 7 is an interaction schematic diagram of data transmission according to a ninth embodiment of the present application;
fig. 8 is a schematic diagram of a data transmission device according to a tenth embodiment of the present application;
Fig. 9 is a schematic diagram of a data transmission device according to an eleventh embodiment of the present application;
fig. 10 is a schematic structural diagram of a broadband device according to a twelfth embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
First, the terms involved in the present application will be explained:
Remote session (Remote LDP Session, LDP for short): means that two LSRs establishing a session are not directly connected;
virtual local area network (Virtual Local Area Network, VLAN for short): the data transmission technology is used for logically dividing local area network equipment into a plurality of network segments so as to realize virtual work groups.
Interior gateway protocol (Interior Gateway Protocol, IGP for short): refers to a routing protocol used within an autonomous system.
In the prior art, when a user moves from an original broadband device coverage area to a current broadband device coverage area, the user uses an IP address supported by the original broadband device in the original broadband device coverage area, and the current broadband device does not support the IP address of the original broadband device because the user moves to the current broadband device coverage area after moving, so that after the user moves to the current broadband device coverage area, in order to ensure that the user terminal can smoothly use a network, an operation and maintenance personnel can allocate an IP address supported by the current broadband device to the user terminal, so that the user terminal can use the allocated IP address supported by the current broadband device, and further, the data to be transmitted can be transmitted between the user terminal and a target application server based on the IP address.
Therefore, after the user is moved, the operation and maintenance personnel can reassign the IP address to the user terminal, but the reassignment of the IP address is troublesome for the user, the user needs to spend time to adapt to the new IP address, if the reassigned IP address can not meet the user requirement, the service requirement of the user is not finished, and the experience of the user can be reduced in the use process.
In order to solve the defects of the prior art, the inventor of the scheme designs a new scheme through creative research. In order to solve the problem that after a user moves, the user spends time in allocating an IP address again to the user to adapt to a new IP address and the newly allocated IP address cannot meet the user requirement and further reduce the user experience, the application presets that the target user network equipment in the network architecture is in communication connection with the current broadband equipment and is disconnected from the original broadband equipment, after the user terminal sends an uplink data packet to be transmitted to the current broadband equipment, the uplink data packet to be transmitted contains target IP address information, and the current broadband equipment responds to the fact that the target IP address information is not matched with the first IP address information supported by the user, so that the current broadband equipment sends the uplink data packet to be transmitted to the original broadband equipment, and the original broadband equipment is instructed to send the uplink data to be transmitted to the target application server based on the target IP address information.
The application provides a data transmission method, a data transmission device, data transmission equipment and application scenes of a storage medium.
Fig. 1 is an application scenario diagram of a data transmission method provided by the present application. As shown in fig. 1, the application scenario diagram includes a target user network device 101, a current broadband device 102, an original broadband device 103, a management server 104, and a target application server 105.
Wherein the target user network device 101 is communicatively connected to the current broadband device 102, and the management server 104 is communicatively connected to the current broadband device 102 and the original broadband device 103. The communication connection may be a wired connection or a wireless connection.
The target user network device 101 may be, but not limited to, optical fiber devices, optical cats, and the like, which are moved along with the user. The target user network device 101 is communicatively coupled to a plurality of user terminals, the target user network device 101 transmitting data between the user terminals and the current broadband device 102.
Specifically, when any user terminal sends an uplink data packet to be transmitted to the target application service 105 due to living or working requirements, the method specifically includes: the ue sends the uplink data packet to be transmitted to the target ue 101, then the target ue 101 receives the uplink data packet to be transmitted sent by the ue, and then sends the uplink data packet to be transmitted to the corresponding current broadband device 102, where the current broadband device 102 receives the uplink data packet to be transmitted, and then the current broadband device 102 obtains at least one piece of first IP address information in a pre-stored first IP address pool, where the first IP address information is the IP address information supported by the current broadband device. The current broadband device 102 will then send the upstream data packet to be transmitted to the original broadband device 103 in response to the target IP address information not matching all the first IP address information.
Further, the original broadband device 103 receives the uplink data packet to be transmitted sent by the current broadband device 102, then obtains pre-stored second IP address information from its own storage area, where the second IP address information is IP address information supported by the original broadband device, matches the target IP address information with the second IP address information, and, in response to the matching of the target IP address information with the second IP address information, the original broadband device 103 sends the uplink data to be transmitted to the target application server 105 based on the target IP address information.
Specifically, the original broadband device 103 sends the uplink data to be transmitted to the management server 104, and then the management server 104 determines the identifier of the target application server 105, so that the management server 104 sends the uplink data to be transmitted to the target application server 105.
It should be noted that, the target user network device 101 and the current broadband device 102 may be connected by using two lines, namely, line 1 and line 2, and when the line 1 fails, the uplink data packet to be transmitted is sent to the current broadband device 102 through the line 2, and the line 2 still can realize the function of data transmission.
The application provides a data transmission method, which aims to solve the technical problems in the prior art.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Example 1
The implementation main body of the method of the embodiment is a data transmission device, the method is applied to current broadband equipment, the current broadband equipment is located in a preset network architecture, the preset network architecture further comprises original broadband equipment and target user network equipment, the current broadband equipment is in communication connection with the target user network equipment, and the original broadband equipment is disconnected from the target user network equipment.
The current broadband device refers to a device that is in communication connection after the target user network device is relocated, that is, the user is indicated to be in the coverage area of the current broadband device after relocation.
The original broadband device refers to the device to which the target user network device is in communication connection before relocation, that is, the user is indicated to be in the coverage area of the original broadband device before relocation.
The target user network device refers to a bridge for connecting the user terminal and the uplink device. The target user network device may be a fiber optic device or other device, without limitation.
Fig. 2 is a flowchart of a data transmission method according to a first embodiment of the present application. As shown in fig. 2, the specific steps are as follows.
S201, receiving an uplink data packet to be transmitted, which is sent by a user terminal; the uplink data packet to be transmitted comprises target Internet Protocol (IP) address information and uplink data to be transmitted; the target IP address information is IP address information used in the original broadband device before the user moves.
The uplink data packet refers to a data packet sent from the user terminal to the target application server.
The target IP address information comprises a target IP address.
Specifically, the ue sends an uplink data packet to be transmitted to the target ue, then the target ue sends the uplink data packet to be transmitted to the switch, and then the switch sends the uplink data packet to be transmitted to the current broadband device, and then the current broadband device receives the uplink data packet to be transmitted sent by the switch. Wherein a switch is a device for forwarding electrical signals.
S202, acquiring at least one piece of first IP address information pre-stored in a first IP address pool; the first IP address information is IP address information supported by the current broadband device.
The current broadband device may include a plurality of first IP address pools, where the first IP address pool includes at least one first IP address, where the first IP address may be used as a shared network, and the first IP address may provide network services for a plurality of users.
Specifically, the current broadband device acquires at least one piece of first IP address information stored in advance in its own storage area.
In one manner, at least one first IP address information may be sorted into a first IP address information table according to the identity of the first IP address pool for facilitating subsequent operations.
And S203, matching the target IP address information with at least one piece of first IP address information.
Specifically, the current broadband device matches the target IP address information in parallel with at least one first IP address information.
And S204, in response to the fact that the target IP address information is not matched with all the first IP address information, sending the uplink data packet to be transmitted to the original broadband device so as to indicate that the original broadband device sends the uplink data to be transmitted to the target application server based on the target IP address information.
The target application server may be any server for satisfying the service requirement of the user, for example, a hundred degree server or other servers, which is not limited herein.
Specifically, the target IP address information is IP address information used in the original broadband device before the user moves, and it can be understood that the current broadband device does not include the target IP address information.
Specifically, the current broadband device will respond to the target IP address information not matching all the first address information, and then the current broadband device will begin to perform the action of the upstream data packet to be transmitted. It should be noted that, the target IP address information may be mapped to which broadband device the target IP address originates from, and then the current broadband device determines the original broadband device of the user, so that the current broadband device sends the uplink data packet to be transmitted to the original broadband device, instructs the original broadband device to determine the transmission network of the target IP address based on the target IP address information, and then sends the uplink data to be transmitted to the target application server based on the transmission network.
The embodiment provides a data transmission method, which is applied to current broadband equipment, wherein the current broadband equipment is located in a preset network architecture, the preset network architecture further comprises original broadband equipment and target user network equipment, the current broadband equipment is in communication connection with the target user network equipment, and the original broadband equipment is disconnected from the target user network equipment, and specifically comprises the following steps: receiving an uplink data packet to be transmitted, which is sent by a user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved; acquiring at least one piece of first IP address information pre-stored in a first IP address pool; the first IP address information is the IP address information supported by the current broadband device; matching the target IP address information with at least one first IP address information; and sending the uplink data packet to be transmitted to the original broadband device to indicate that the original broadband device sends the uplink data to be transmitted to the target application server based on the target IP address information in response to the fact that the target IP address information is not matched with all the first IP address information. In the application, in a preset network architecture, a target user network device is in communication connection with a current broadband device, the current broadband device receives an uplink data packet to be transmitted sent by a user terminal, the uplink data packet to be transmitted contains target IP address information, and further the current broadband device determines whether the uplink data packet to be transmitted is matched with first IP address information or not based on the target IP address information, if the uplink data packet to be transmitted is not matched with the first IP address information, the current broadband device sends the uplink data packet to be transmitted to the original broadband device, so that the original broadband device is instructed to send the uplink data packet to be transmitted to a target application server based on the target IP address information, wherein the target IP address information is the IP address information used in the original broadband device before the user moves, and therefore, when the user is in communication connection with the current broadband device, the current broadband device is not used for supporting the IP address, and the uplink data packet to be transmitted is sent to the original broadband device through the current broadband device, and the uplink data packet to be transmitted is still sent to the target application server by using the IP address supported by the original broadband device. The application does not need to reassign the IP address to the user from the current broadband equipment, so that the user still remains even after the user is moved
The original IP address is used for realizing the service, and the adaptation time of the user to the new IP address is reduced. Meanwhile, the condition that the new IP5 address cannot meet the requirement of the user can be avoided, and after the moving, the life and the work of the user cannot be influenced, so that the method is carried out
The experience of the user is improved.
Example two
The embodiment of the present application is a further refinement of the first embodiment, and the embodiment is an optional way of matching the target IP address information with at least one first IP address information, which is specifically described below.
0 Divides the destination IP address information into a plurality of address fields.
Wherein the address field is a small string of address characters.
Specifically, the current broadband device divides the target IP address in the target IP address information into a plurality of address fields, each of which contains several characters.
Exemplary, the destination IP address information is 100.110.120.1, which is divided into a plurality of address fields such as 100, 110, 120, and 15, which may be a first address field, a second address field, a third address field, and a fourth address field, respectively
An address field. It will be appreciated that the number of address fields is not limited.
And matching each address field in the target IP address information with the corresponding address field in at least one first IP address information in parallel.
Illustratively, according to the above exemplary example, the current broadband device matches the first address field 0 of the target IP address information with the address field corresponding to the first IP address information 1, if the matching is successful, continues to match the second address field of the target IP address information with the address field corresponding to the first IP address information 1, if the matching is successful, continues to match the third address field of the target IP address information with the address field corresponding to the first IP address information 1, if the matching is again successful, continues to match the fourth address field of the target IP address information with the address field corresponding to the first IP address information 1, and if the matching is successful, it indicates that the first IP address information 1 matches the target IP address information.
5 It will be understood that when one address field of the destination IP address information does not match the address field corresponding to the first IP address information 1, the other address fields of the destination IP address information do not match the address field corresponding to the first IP address information 1, and the first IP address information 1 does not match the destination IP address information.
It will be appreciated that there is at least one first IP address information in the current broadband device, and the current broadband device may process the matching task of the target IP address information and the at least one first IP address information in parallel.
The embodiment 0 provides a data transmission method, when matching target IP address information with at least one first IP address information, including: dividing the target IP address information into a plurality of address fields; and matching each address field in the target IP address information with the corresponding address field in at least one first IP address information in parallel. In this embodiment, the target IP address information is divided into a plurality of address fields, so that each address field contains fewer characters, and then the current broadband device matches the plurality of address fields in the target IP address information with corresponding address fields in at least one first IP address information, and because the current broadband device performs parallel matching, the current broadband device can perform matching with at least one first IP address information according to the address fields at the same time, so that the time for parallel matching can be reduced, the matching work can be completed in a shorter time, and the matching efficiency can be improved.
Example III
Fig. 3 is a flow chart of a data transmission method according to a third embodiment of the present application. This embodiment is a further refinement of any of the foregoing embodiments, and this embodiment is an optional manner before sending the uplink data packet to be transmitted to the original broadband device, as shown in fig. 3, and the specific steps are as follows.
S301, acquiring first configuration information stored in advance; the first configuration information comprises configuration information of the current broadband device about constructing a communication channel; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is located in the original broadband device.
The communication channel is a virtual channel, and the virtual channel establishes a data transmission channel between the first interface and the second interface according to a preset network protocol.
The first interface and the second interface are two-layer interfaces, are pre-configured virtual Ethernet interfaces, and have two-layer switching capability.
Specifically, the current broadband device acquires the first configuration information stored in advance from the own storage area.
S302, determining a first interface identifier and a second interface identifier of a communication channel from the first configuration information.
The first configuration information comprises a first interface identifier and a second interface identifier.
S303, establishing a communication channel with the original broadband equipment according to the first interface identifier, the second interface identifier and a preset network protocol.
Specifically, the current broadband device determines a corresponding first interface and second interface according to the first interface identifier and the second interface identifier, and then establishes a communication channel between the current broadband device and the original broadband device according to a preset network protocol.
It should be noted that, to realize data transmission of the communication channel, conventional configuration is also required, and the conventional configuration can be completed in advance, so that the establishment and use of the communication channel can be facilitated. For example, an interior gateway protocol may be configured over a communication channel, an Open Shortest Path First (OSPF) protocol may be used, or other protocols may be used. Likewise, a remote session is established between two broadband devices.
In one mode, the method is an optional mode of sending the uplink data packet to be transmitted to the original broadband device, and the specific content is as follows.
And sending the uplink data packet to be transmitted to a second interface in the original broadband equipment by adopting the first interface.
Specifically, after the communication channel is established, data transmission can be performed between the current broadband device and the original broadband device, and then the current broadband device sends an uplink data packet to be transmitted to a second interface in the original broadband device through the communication channel by adopting the first interface.
The embodiment provides a data transmission method, which is used for acquiring first configuration information stored in advance before an uplink data packet to be transmitted is sent to original broadband equipment; the first configuration information comprises configuration information of the current broadband device about constructing a communication channel; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is positioned in the original broadband equipment; determining a first interface identifier and a second interface identifier of a communication channel from the first configuration information; establishing a communication channel with original broadband equipment according to the first interface identifier, the second interface identifier and a preset network protocol; the method for sending the uplink data packet to be transmitted to the original broadband device comprises the following steps: and sending the uplink data packet to be transmitted to a second interface in the original broadband equipment by adopting the first interface. The first interface identifier and the second interface identifier of the communication channel are determined from the first configuration information, and then the communication channel between the first interface identifier, the second interface identifier and the original broadband device is established according to the first interface identifier, the second interface identifier and the preset network protocol, and then the first interface is adopted to send the uplink data packet to be transmitted to the second interface in the original broadband device.
Example IV
Fig. 4 is a flow chart of a data transmission method according to a fourth embodiment of the present application. This embodiment is a further refinement of any of the embodiments described above, as shown in fig. 4, and the specific steps are as follows.
S401, receiving a downlink data packet to be transmitted sent by original broadband equipment; the downlink data packet to be transmitted comprises the target user network equipment identifier and the downlink data to be transmitted.
The downlink data packet refers to a data packet sent from the target application server to the user terminal.
Wherein, the downlink data is feedback of the uplink data.
Specifically, the downlink data packet to be transmitted is transmitted through the communication channel between the current broadband device and the original broadband device, and then the current broadband device receives the downlink data packet to be transmitted sent from the broadband device.
S402, in response to the target user network equipment identifier being in the pre-stored network equipment identifier with the communication connection with the current broadband equipment, determining the corresponding target user network equipment based on the target user network equipment identifier.
The network equipment identifier with communication connection with the current broadband equipment refers to the network equipment identifier of the downlink communication connection of the current broadband equipment. It should be noted that, the current broadband device is in communication connection with the target user network device, so that the network device identifier includes the target user network device identifier, and similarly, the current broadband device may also be in communication connection with other user network devices, and then the current broadband device also stores other user network device identifiers in advance.
Wherein the network device identification is at least one.
Specifically, if the current broadband device determines that any one of the pre-stored network device identifiers is consistent with the target user network device identifier, the current broadband device responds to the target user network device identifier and exists in the pre-stored network device identifier.
Further, the current broadband device determines, from the at least one network device, a target user network device corresponding to the target user network device identifier through the target user network device identifier.
S403, the downlink data to be transmitted is sent to the user terminal through the target user network equipment.
Specifically, the current broadband device sends downlink data to be transmitted to the target user network device, and then the target user network device sends the downlink data to be transmitted to the user terminal, so that a corresponding service page is displayed on the user terminal.
The embodiment provides a data transmission method, which specifically includes: receiving a downlink data packet to be transmitted sent by original broadband equipment; the downlink data packet to be transmitted comprises a target user network equipment identifier and downlink data to be transmitted; responding to the existence of the target user network equipment identifier in the pre-stored network equipment identifier with communication connection with the current broadband equipment, and determining corresponding target user network equipment based on the target user network equipment identifier; and sending the downlink data to be transmitted to the user terminal through the target user network equipment. The current broadband device in this embodiment receives the downlink data packet to be transmitted sent by the broadband device first, and then the current broadband device determines whether the target user network device identifier in the downlink data packet to be transmitted exists in the prestored network device identifier having communication connection with the current broadband device, and because the network device identifier is accurate and complete, the current broadband device can accurately determine that the target user network device identifier exists in the network device identifier from the network device identifier, and further can determine that the target user network device is in communication connection with the current broadband device, so that the current broadband device can accurately find the target user network device corresponding to the target user network device identifier, and therefore, the current broadband device can only send the downlink data to the user terminal through the target user network device.
Example five
The implementation main body of the method of the embodiment is a data transmission device, the method is applied to original broadband equipment, the original broadband equipment is located in a preset network architecture, the preset network architecture further comprises current broadband equipment and target user network equipment, and the target user network equipment is disconnected from the original broadband equipment and is connected with the current broadband equipment in a communication mode.
Fig. 5 is a flow chart of a data transmission method according to a fifth embodiment of the present application. As shown in fig. 5, the specific steps are as follows.
S501, receiving an uplink data packet to be transmitted, which is sent by current broadband equipment; the uplink data packet to be transmitted is sent to the current broadband equipment by the user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address information is IP address information used in the original broadband device before the user moves.
Wherein the target IP address is an IP address supported by the original broadband device.
Specifically, the uplink data packet to be transmitted may be transmitted through a communication channel between the current wideband device and the original wideband device, where the original wideband device receives the uplink data packet to be transmitted by the communication channel.
S502, at least one piece of second IP address information pre-stored in a second IP address pool is acquired, and target IP address information is matched with the at least one piece of second IP address information; the second IP address information is the IP address information supported by the original broadband equipment.
The original broadband device may include a plurality of second IP address pools, where the second IP address pool includes at least one second IP address, where the second IP address may be used as a shared network, and the second IP address may provide network services for a plurality of users.
Specifically, the original broadband device acquires at least one piece of second IP address information stored in advance in its own storage area.
In one manner, at least one second IP address information may be sorted into a second IP address information table according to the identification of the first IP address pool for facilitating subsequent operations.
Further, the original broadband device matches the target IP address information with at least one second IP address information in parallel.
And S503, in response to the matching of the target IP address information and any second IP address information, sending uplink data to be transmitted to the target application server based on the target IP address information.
Specifically, the original broadband device matches any one of the at least one second IP address information with the response to the target IP address information, so that the original broadband device sends uplink data to be transmitted to a management server in communication connection with the original broadband device based on the target IP address information, and then the management server sends the uplink data to be transmitted to the target application server.
The embodiment provides a data transmission method, which is applied to original broadband equipment, wherein the original broadband equipment is positioned in a preset network architecture, the preset network architecture further comprises current broadband equipment and target user network equipment, and the target user network equipment is disconnected from the original broadband equipment and is in communication connection with the current broadband equipment, and specifically comprises the following steps: receiving an uplink data packet to be transmitted, which is sent by current broadband equipment; the uplink data packet to be transmitted is sent to the current broadband equipment by the user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved; acquiring at least one piece of second IP address information pre-stored in a second IP address pool, and matching the target IP address information with the at least one piece of second IP address information; the second IP address information is the IP address information supported by the original broadband equipment; and responding to the matching of the target IP address information and any second IP address information, and sending uplink data to be transmitted to the target application server based on the target IP address information. In the preset network architecture, the target user network device is disconnected from the original broadband device and is in communication connection with the current broadband device, the original broadband device receives an uplink data packet to be transmitted sent by the current broadband device, wherein the uplink data packet contains target IP address information, and then the original broadband device matches the response target IP address information with the second IP address information stored in advance, so that the original broadband device sends the uplink data to be transmitted to the target application server based on the target IP address information. Because the target IP address information is the IP address information used before relocation, users are used to use the IP address, so that the adaptation time of the users to the reassignment of the IP address can be saved, the situation that the reassignment of the IP address does not meet the user requirement can be avoided, and the experience of the users can be improved.
Example six
The present embodiment is a further refinement of the fifth embodiment, and is an alternative way of matching the target IP address information with at least one second IP address information, which is specifically described below.
Dividing the target IP address information into a plurality of address fields, and respectively matching each address field in the target IP address information with the corresponding address field in at least one second IP address information in parallel.
The implementation manner of this embodiment is the same as that of the second embodiment, and specific reference is made to the second embodiment, which is not limited herein.
The embodiment provides a data transmission method, when matching target IP address information with at least one second IP address information, specifically including: dividing the target IP address information into a plurality of address fields; and matching each address field in the target IP address information with the corresponding address field in at least one second IP address information in parallel. In this embodiment, the target IP address information is divided into a plurality of address fields, so that each address field contains fewer characters, and then the original broadband device matches the plurality of address fields in the target IP address information with corresponding address fields in at least one second IP address information, and because the embodiment is parallel matching, the original broadband device can match with at least one second IP address information according to the address fields at the same time, so that the time for parallel matching can be reduced, the matching work can be completed in a shorter time, and the matching efficiency can be improved.
Example seven
The present embodiment is a further refinement of the fifth or sixth embodiment, and is an alternative manner before the target IP address information is matched with the second IP address information, which is specifically described below.
Acquiring second configuration information stored in advance; the second configuration information comprises configuration information of the legacy broadband device regarding determining the transport network.
Wherein, determining transport network configuration information refers to the configuration information of the transport network for invoking the target IP address. The second configuration information includes a physical interface of the transport network that invokes the target IP address.
Specifically, the original broadband device will acquire the pre-stored second configuration information from its own storage area.
And determining a third interface identification of the transmission network from the second configuration information.
The third interface is a three-layer interface, and is a pre-configured virtual Ethernet interface.
In one manner, when uplink data to be transmitted is sent to a target application server based on target IP address information, the following is specific.
Calling a transmission network of a target IP address by adopting a third interface, and sending uplink data to be transmitted to a management server by utilizing the transmission network of the target IP address so as to instruct the management server to send the uplink data to be transmitted to a target application server; the third interface is located in the original broadband device.
Specifically, the original broadband device adopts a third interface to call the transmission network of the target IP address, and meanwhile, the third interface sends uplink data to be transmitted to the management server by using the transmission network.
The uplink data to be transmitted may include a target application server identifier, and the management server determines the target application server according to the target application server identifier, so that the management server sends the uplink data to be transmitted to the target application server.
It should be noted that, in the present application, a virtual local area network (Virtual Local Area Network, abbreviated as VLAN) technology is adopted, so as to ensure the security of the transmission network.
The embodiment provides a data transmission method, which specifically includes, before responding to matching of target IP address information and second IP address information: acquiring second configuration information stored in advance; the second configuration information comprises configuration information of the original broadband equipment about determining a transmission network; determining a third interface identifier of the transmission network from the second configuration information; when uplink data to be transmitted is sent to a target application server based on target IP address information, the method specifically comprises the following steps: calling a transmission network of a target IP address by adopting a third interface, and sending uplink data to be transmitted to a management server by utilizing the transmission network of the target IP address so as to instruct the management server to send the uplink data to be transmitted to a target application server; the third interface is located in the original broadband device. According to the embodiment, the original broadband equipment firstly determines the third interface identifier from the second pre-stored configuration information, and the second configuration information accurately reflects the configuration information of the original broadband equipment about determining the transmission network, so that the third interface can be accurately determined, and then the transmission network of the target IP address is called by adopting the third interface, so that uplink data to be transmitted can be sent to the management server by smoothly utilizing the transmission network of the target IP address, and the management server is instructed to send the uplink data to be transmitted to the target application server.
Example eight
This embodiment is a further refinement of any one of the fifth to seventh embodiments described above. The second configuration information of the embodiment further includes configuration information about constructing a communication channel of the original broadband device; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is located in the original broadband device.
Fig. 6 is a flowchart of a data transmission method according to an eighth embodiment of the present application. As shown in fig. 6, the specific steps are as follows.
S601, receiving a downlink data packet to be transmitted sent by a target application server; the downlink data packet to be transmitted comprises the target user network equipment identifier and the downlink data to be transmitted.
Specifically, the target application server sends the downlink data packet to be transmitted to the management server.
In one mode, the management server stores the mapping relation between all the user network device identifiers and the corresponding target IP address information in advance, and then the management server can determine the corresponding target IP address information based on the target user network device identifiers, and then the management server determines that the downlink data packet to be transmitted is sent to the original broadband device according to the broadband device to which the target IP address information belongs.
Further, the original broadband device receives the downlink data packet to be transmitted from the management server.
S602, determining a first interface identifier and a second interface identifier of a communication channel based on second configuration information in response to the target user network equipment identifier not existing in the pre-stored network equipment identifier with communication connection with the original broadband device.
Specifically, the original broadband device compares the target user network identifier with a pre-stored network device identifier having a communication connection with the original broadband device.
It will be appreciated that the target user network device is communicatively coupled to the current broadband device and decoupled from the legacy broadband device, so the legacy broadband device will respond to the target user network device identification not being present in the network device identification having a communication connection with the legacy broadband device.
Further, the original broadband device determines a first interface identifier and a second interface identifier for establishing a communication channel from the second configuration information.
S603, establishing a communication channel with the current broadband device according to the first interface identifier, the second interface identifier and a preset network protocol.
Specifically, the original broadband device establishes a communication channel with the current broadband device according to the first interface identifier, the second interface identifier and a preset network protocol.
And S604, transmitting the downlink data packet to be transmitted to a first interface in the current broadband device by adopting a second interface so as to instruct the current broadband device to transmit the downlink data packet to be transmitted to the user terminal.
Specifically, the original broadband device sends the downlink data packet to be transmitted to the first interface of the current broadband device through the communication channel by adopting the second interface, so as to instruct the current broadband device to send the downlink data packet to be transmitted to the user terminal.
The second configuration information of the embodiment further includes configuration information about constructing a communication channel of the original broadband device; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is located in the original broadband device. The embodiment specifically comprises the following steps: receiving a downlink data packet to be transmitted sent by a target application server; the downlink data packet to be transmitted comprises a target user network equipment identifier and downlink data to be transmitted; determining a first interface identifier and a second interface identifier of the communication channel based on second configuration information in response to the target user network device identifier not being in the pre-stored network device identifier having communication connection with the original broadband device; establishing a communication channel with the current broadband equipment according to the first interface identifier, the second interface identifier and a preset network protocol; and transmitting the downlink data packet to be transmitted to a first interface in the current broadband device by adopting a second interface so as to instruct the current broadband device to transmit the downlink data packet to be transmitted to the user terminal. In this embodiment, the first interface is located in the current wideband device, and the second interface is located in the original wideband device, so that a communication channel can be established between the current wideband device and the original wideband device, thereby realizing data transmission between the original wideband device and the current wideband device. In this embodiment, the original broadband device receives the downlink data packet to be transmitted including the target user network device identifier, and in response to the target user network device identifier not existing in the network device identifier with a communication connection with the original broadband device, accurately determines the first interface identifier and the second interface identifier based on the second configuration information, so as to establish a communication channel according to the first interface identifier, the second interface identifier and a preset network protocol.
Example nine
Fig. 7 is an interaction schematic diagram of data transmission according to a ninth embodiment of the present application. The implementation main body of the embodiment is a data transmission system, as shown in fig. 7, and specific steps are as follows.
S701, a target user network device sends an uplink data packet to be transmitted to a current broadband device; the uplink data packet to be transmitted contains target IP address information and uplink data to be transmitted;
S702, the current broadband device determines that target IP address information is not matched with all first IP address information;
S703, the current broadband device sends an uplink data packet to be transmitted to the original broadband device;
s704, the original broadband equipment determines target IP address information and invokes a transmission network of the target IP address;
s705, original broadband equipment sends uplink data to be transmitted to a target application server;
s706, the target application server sends a downlink data packet to be transmitted to the original broadband device; the downlink data packet to be transmitted contains downlink data to be transmitted;
s707, the original broadband device sends a downlink data packet to be transmitted to the current broadband device;
s708, the current broadband device will send downlink data to be transmitted to the target user network device.
Examples ten
Fig. 8 is a schematic diagram of a data transmission device according to a tenth embodiment of the present application. The device is located in a current broadband device, the current broadband device is located in a preset network architecture, the preset network architecture further comprises an original broadband device and a target user network device, the current broadband device is in communication connection with the user network device, the original broadband device is disconnected from the target user network device, and as shown in fig. 8, the device 800 comprises the following modules.
A receiving module 801, configured to receive an uplink data packet to be transmitted sent by a user terminal; the uplink data packet to be transmitted comprises target Internet Protocol (IP) address information and uplink data to be transmitted; the target IP address information is IP address information used in the original broadband device before the user moves.
An obtaining module 802, configured to obtain at least one piece of first IP address information pre-stored in a first IP address pool; the first IP address information is IP address information supported by the current broadband device.
A matching module 803, configured to match the target IP address information with at least one first IP address information.
And the sending module 804 is configured to send the uplink data packet to be transmitted to the original broadband device in response to the target IP address information not matching with all the first IP address information, so as to instruct the original broadband device to send the uplink data to be transmitted to the target application server based on the target IP address information.
In one manner, the matching module 803 is specifically configured to, when matching the target IP address information with the at least one first IP address information: dividing the target IP address information into a plurality of address fields; and matching each address field in the target IP address information with the corresponding address field in at least one first IP address information in parallel.
In one manner, before sending an uplink data packet to be transmitted to an original broadband device, the embodiment provides a data transmission apparatus, which further includes: a determining module and a building module.
The obtaining module 802 is further configured to obtain first configuration information stored in advance; the first configuration information comprises configuration information of the current broadband device about constructing a communication channel; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is positioned in the original broadband equipment; the determining module is used for determining a first interface identifier and a second interface identifier of the communication channel from the first configuration information; the establishing module is used for establishing a communication channel with the original broadband equipment according to the first interface identifier, the second interface identifier and a preset network protocol; the sending module 804 is specifically configured to, when sending an uplink data packet to be transmitted to an original broadband device: and sending the uplink data packet to be transmitted to a second interface in the original broadband equipment by adopting the first interface.
In one mode, the present embodiment provides a data transmission apparatus including the following modules.
The receiving module 801 is further configured to receive a downlink data packet to be transmitted sent by an original broadband device; the downlink data packet to be transmitted comprises a target user network equipment identifier and downlink data to be transmitted; the determining module is further used for determining corresponding target user network equipment based on the target user network equipment identification in response to the fact that the target user network equipment identification exists in the pre-stored network equipment identification which is in communication connection with the current broadband equipment; the sending module 804 is further configured to send downlink data to be transmitted to the user terminal through the target user network device.
Example eleven
Fig. 9 is a schematic diagram of a data transmission device according to an eleventh embodiment of the present application. The device is located in an original broadband device, the original broadband device is located in a preset network architecture, the preset network architecture further comprises a current broadband device and a target user network device, the target user network device is disconnected from the original broadband device and is connected with the current broadband device in a communication mode, and the device comprises the following modules as shown in fig. 9.
A receiving module 901, configured to receive an uplink data packet to be transmitted sent by a current broadband device; the uplink data packet to be transmitted is sent to the current broadband equipment by the user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address is the IP address used in the original broadband device before the user is moved.
A matching module 902, configured to obtain at least one piece of second IP address information pre-stored in the second address pool, and match the target IP address information with the at least one piece of second IP address information; the second IP address information is the IP address information supported by the original broadband equipment.
The sending module 903 is configured to send uplink data to be transmitted to the target application server based on the target IP address information in response to the target IP address information matching any one of the second IP address information.
In one manner, the matching module 902 is specifically configured to, when matching the target IP address information with at least one second IP address information: dividing the target IP address information into a plurality of address fields; and matching each address field in the target IP address information with the corresponding address field in at least one second IP address information in parallel.
In one manner, the present embodiment provides a data transmission apparatus before responding to matching of the target IP address information with the second IP address information, further comprising: the device comprises an acquisition module and a determination module.
The acquisition module is used for acquiring second configuration information stored in advance; the second configuration information comprises configuration information of the original broadband equipment about determining a transmission network; a determining module, configured to determine a third interface identifier of the transport network from the second configuration information; the sending module 903 is specifically configured to, when sending uplink data to be transmitted to a target application server based on target IP address information: calling a transmission network of a target IP address by adopting a third interface, and sending uplink data to be transmitted to a management server by utilizing the transmission network of the target IP address so as to instruct the management server to send the uplink data to be transmitted to a target application server; the third interface is located in the original broadband device.
In one mode, the second configuration information further includes configuration information of the original broadband device about constructing a communication channel; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is located in an original broadband device, and this embodiment provides a data transmission device, and further includes: and (5) establishing a module.
The receiving module 901 is further configured to receive a downlink data packet to be transmitted sent by the target application server; the downlink data packet to be transmitted comprises a target user network equipment identifier and downlink data to be transmitted; the determining module is further used for determining a first interface identifier and a second interface identifier of the communication channel based on the second configuration information in response to the fact that the target user network equipment identifier does not exist in the pre-stored network equipment identifier which is in communication connection with the original broadband equipment; the system comprises a first interface identification, a second interface identification and a preset network protocol, wherein the first interface identification is used for identifying a first interface of a broadband device, and the second interface identification is used for identifying a second interface of the broadband device; the sending module 903 is further configured to send the downlink data packet to be transmitted to the first interface in the current broadband device by using the second interface, so as to instruct the current broadband device to send the downlink data packet to be transmitted to the user terminal.
Example twelve
Fig. 10 is a schematic structural diagram of a broadband device according to a twelfth embodiment of the present application. As shown in fig. 10, the broadband device 1000 may include: a processor 1001, and a memory 1002 and a transceiver 1003 communicatively connected to the processor 1001. Wherein the memory 1002 stores computer-executable instructions; a transceiver 1003 for transmitting and receiving data; processor 1001 executes computer-executable instructions stored in memory 1002, and the present broadband device implements any of the method embodiments described above in embodiments one through four and nine; the specific implementation manner and technical effects of the original broadband device to implement any one of the method embodiments from the fifth embodiment to the ninth embodiment are similar, and are not repeated here.
In this embodiment, the memory 1002 and the processor 1001 are connected via a bus. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (PERIPHERAL COMPONENT INTERCONNECT, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 10, but not only one bus or one type of bus.
Example thirteen
The present application provides a computer readable storage medium, in which computer executable instructions are stored, where the computer executable instructions are used to implement any one of the method embodiments of the first to ninth embodiments when executed by a processor, and the specific implementation manner and technical effect are similar, and are not repeated here.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (12)

1. The data transmission method is characterized in that the method is applied to a current broadband device, the current broadband device is located in a preset network architecture, the preset network architecture further comprises an original broadband device and a target user network device, the current broadband device is in communication connection with the target user network device, and the original broadband device is disconnected from the target user network device, and the method comprises the following steps:
Receiving an uplink data packet to be transmitted, which is sent by a user terminal; the uplink data packet to be transmitted comprises target Internet Protocol (IP) address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved;
Acquiring at least one piece of first IP address information pre-stored in a first IP address pool; the first IP address information is IP address information supported by the current broadband equipment;
Matching the target IP address information with at least one piece of first IP address information;
And responding to the fact that the target IP address information is not matched with all the first IP address information, sending the uplink data packet to be transmitted to the original broadband device, and indicating the original broadband device to send the uplink data to be transmitted to a target application server based on the target IP address information.
2. The method of claim 1, wherein said matching the destination IP address information with at least one of said first IP address information comprises:
Dividing the target IP address information into a plurality of address fields;
And matching each address field in the target IP address information with at least one corresponding address field in the first IP address information in parallel.
3. The method of claim 1, wherein before sending the upstream data packet to be transmitted to the legacy broadband device, further comprises:
Acquiring first configuration information stored in advance; the first configuration information comprises configuration information of the current broadband device about constructing a communication channel; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is positioned in original broadband equipment;
determining a first interface identifier and a second interface identifier of a communication channel from the first configuration information;
Establishing a communication channel with original broadband equipment according to the first interface identifier, the second interface identifier and a preset network protocol;
The sending the uplink data packet to be transmitted to the original broadband device includes:
And sending the uplink data packet to be transmitted to the second interface in the original broadband equipment by adopting the first interface.
4. A method according to any one of claims 1-3, wherein the method further comprises:
receiving a downlink data packet to be transmitted sent by original broadband equipment; the downlink data packet to be transmitted comprises a target user network equipment identifier and downlink data to be transmitted;
Responding to the existence of the target user network equipment identifier in the pre-stored network equipment identifier with communication connection with the current broadband equipment, and determining corresponding target user network equipment based on the target user network equipment identifier;
And sending the downlink data to be transmitted to a user terminal through the target user network equipment.
5. The data transmission method is characterized in that the method is applied to original broadband equipment, the original broadband equipment is located in a preset network architecture, the preset network architecture further comprises current broadband equipment and target user network equipment, and the target user network equipment is disconnected from communication with the original broadband equipment and is in communication connection with the current broadband equipment, and the method comprises the following steps:
Receiving an uplink data packet to be transmitted, which is sent by current broadband equipment; the uplink data packet to be transmitted is sent to the current broadband equipment by the user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved;
Acquiring at least one piece of second IP address information pre-stored in a second IP address pool, and matching target IP address information with at least one piece of second IP address information; the second IP address information is the IP address information supported by the original broadband equipment;
And responding to the matching of the target IP address information and any one of the second IP address information, and sending the uplink data to be transmitted to a target application server based on the target IP address information.
6. The method of claim 5, wherein said matching destination IP address information with at least one of said second IP address information comprises:
Dividing the target IP address information into a plurality of address fields;
And matching each address field in the target IP address information with at least one corresponding address field in the second IP address information in parallel.
7. The method of claim 5, wherein, before responding to the target IP address information matching the second IP address information, further comprising:
Acquiring second configuration information stored in advance; the second configuration information comprises configuration information of the original broadband equipment about determining a transmission network;
Determining a third interface identifier of the transmission network from the second configuration information;
the sending the uplink data to be transmitted to a target application server based on the target IP address information includes:
Calling a transmission network of a target IP address by adopting a third interface, and sending data to be transmitted to a management server by utilizing the transmission network of the target IP address so as to instruct the management server to send uplink data to be transmitted to a target application server; the third interface is located in the original broadband device.
8. The method according to any of claims 5-7, wherein the second configuration information further comprises configuration information of the original broadband device for constructing a communication channel; the communication channel is a data transmission channel established between the first interface and the second interface according to a preset network protocol; the first interface is located in the current broadband device; the second interface is located in a legacy broadband device, and the method further comprises:
receiving a downlink data packet to be transmitted sent by a target application server; the downlink data packet to be transmitted comprises a target user network equipment identifier and downlink data to be transmitted;
Determining a first interface identifier and a second interface identifier of the communication channel based on second configuration information in response to the target user network device identifier not being in the pre-stored network device identifier having communication connection with the original broadband device;
establishing a communication channel with the current broadband equipment according to the first interface identifier, the second interface identifier and a preset network protocol;
And transmitting the downlink data packet to be transmitted to the first interface in the current broadband device by adopting the second interface so as to instruct the current broadband device to transmit the downlink data packet to be transmitted to the user terminal.
9. A data transmission apparatus, wherein the apparatus is located in a current broadband device, the current broadband device is located in a preset network architecture, the preset network architecture further includes an original broadband device and a target user network device, the current broadband device is communicatively connected with the user network device, and the original broadband device is disconnected from the target user network device, the apparatus includes:
The receiving module is used for receiving an uplink data packet to be transmitted, which is sent by the user terminal; the uplink data packet to be transmitted comprises target Internet Protocol (IP) address information and uplink data to be transmitted; the target IP address information is the IP address information used in the original broadband equipment before the user is moved;
the acquisition module is used for acquiring at least one piece of first IP address information pre-stored in the first IP address pool; the first IP address information is IP address information supported by the current broadband equipment;
The matching module is used for matching the target IP address information with at least one piece of first IP address information;
And the sending module is used for responding that the target IP address information is not matched with all the first IP address information, and sending the uplink data packet to be transmitted to the original broadband device so as to indicate the original broadband device to send the uplink data to be transmitted to a target application server based on the target IP address information.
10. A data transmission apparatus, wherein the apparatus is located in an original broadband device, the original broadband device is located in a preset network architecture, the preset network architecture further includes a current broadband device and a target user network device, and the target user network device is disconnected from the original broadband device and is in communication connection with the current broadband device, the apparatus includes:
the receiving module is used for receiving an uplink data packet to be transmitted, which is sent by the current broadband equipment; the uplink data packet to be transmitted is sent to the current broadband equipment by the user terminal; the uplink data packet to be transmitted comprises target IP address information and uplink data to be transmitted; the target IP address is an IP address used in original broadband equipment before the user is moved;
The matching module is used for acquiring second IP address information stored in advance and matching the target IP address information with the second IP address information; the second IP address information is the IP address information supported by the original broadband equipment;
And the sending module is used for responding to the matching of the target IP address information and the second IP address information and sending the uplink data to be transmitted to a target application server based on the target IP address information.
11. A broadband device, comprising: a processor, and a memory and transceiver communicatively coupled to the processor;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-8.
12. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-8.
CN202211572320.5A 2022-12-08 2022-12-08 Data transmission method, device, equipment and storage medium Active CN116208551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211572320.5A CN116208551B (en) 2022-12-08 2022-12-08 Data transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211572320.5A CN116208551B (en) 2022-12-08 2022-12-08 Data transmission method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116208551A CN116208551A (en) 2023-06-02
CN116208551B true CN116208551B (en) 2024-04-16

Family

ID=86511972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211572320.5A Active CN116208551B (en) 2022-12-08 2022-12-08 Data transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116208551B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265568A (en) * 2011-06-13 2011-11-30 华为技术有限公司 Communication method and load equalizer
CN103152196A (en) * 2013-02-26 2013-06-12 青岛龙泰天翔通信科技有限公司 Method for dynamically adding optical line terminal (OLT) into Ethernet passive optical network (EPON) management system
CN106375209A (en) * 2016-08-31 2017-02-01 上海地面通信息网络有限公司 Apparatus for automatically switching building broadband nodes by using network quality analysis technology
KR20180050181A (en) * 2016-11-04 2018-05-14 주식회사 케이티 Modem apparatus and system for providing static ip
CN108632200A (en) * 2017-03-16 2018-10-09 北京京东尚科信息技术有限公司 Data transmission method and device
CN109787870A (en) * 2017-11-13 2019-05-21 中兴通讯股份有限公司 Access management method, device, system, initial and target access device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265568A (en) * 2011-06-13 2011-11-30 华为技术有限公司 Communication method and load equalizer
CN103152196A (en) * 2013-02-26 2013-06-12 青岛龙泰天翔通信科技有限公司 Method for dynamically adding optical line terminal (OLT) into Ethernet passive optical network (EPON) management system
CN106375209A (en) * 2016-08-31 2017-02-01 上海地面通信息网络有限公司 Apparatus for automatically switching building broadband nodes by using network quality analysis technology
KR20180050181A (en) * 2016-11-04 2018-05-14 주식회사 케이티 Modem apparatus and system for providing static ip
CN108632200A (en) * 2017-03-16 2018-10-09 北京京东尚科信息技术有限公司 Data transmission method and device
CN109787870A (en) * 2017-11-13 2019-05-21 中兴通讯股份有限公司 Access management method, device, system, initial and target access device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无源光网络在郑州联通接入网的应用研究;赵亮;《中国优秀硕学位论文全文数据库》;20130215;全文 *

Also Published As

Publication number Publication date
CN116208551A (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN109156046B (en) Home gateway and method for forwarding service thereof
EP2645679A1 (en) Method and apparatus for message transmission
CN107211483B (en) Data communication method and terminal
CN110752975B (en) Network sharing method and device
CN112333713B (en) 5G ad hoc network system, ad hoc network method, computer device and storage medium
CN105245629A (en) DHCP-based host communication method and device
CN105323229A (en) CPE-based data transmission method, network element, platform and system
CN104320502A (en) Terminal gateway IP address assignment method, data transmission method, MME and system
CN111372102B (en) Data transmission method, device, terminal equipment and storage medium
US11943198B2 (en) Method for implementing multiple PDNs between indoor unit and outdoor unit, and storage medium
CN110351772B (en) Mapping between wireless links and virtual local area networks
US20160248727A1 (en) Delivery control device, data delivery system, delivery control method, and non-transitory computer readable medium storing delivery control program
KR101481337B1 (en) Mobile Communication System Based on Software Defined Networks and Method for Processing Access of Mobile Equipment thereof
CN116208551B (en) Data transmission method, device, equipment and storage medium
CN102447703A (en) Hot backup method and system as well as CGN (carrier grade network address translation (NAT)) equipment
US8305968B2 (en) Solicitation triggers for opening a network link
EP4250649A1 (en) Packet forwarding method and apparatus, and network system
US20050044271A1 (en) Method for allocating a non-data device to a voice vlan object of the invention
CN102083173B (en) Network access control method, equipment and gateway GPRS support node
CN113438159B (en) Transmission method and device of segmented routing strategy and network transmission system
CN111726427B (en) Information processing method, equipment and computer readable storage medium
CN112996137A (en) Method for establishing data connection on multi-operation system terminal
CN113973098A (en) Method and device for sending domain name system request
CN104702602A (en) System and method of realizing dynamically creating channel and expansion of gateway cluster based on SIP (System in Package)
CN112217846A (en) Data transmission method and device

Legal Events

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