CN111935756A - Data transmission method, device and equipment - Google Patents

Data transmission method, device and equipment Download PDF

Info

Publication number
CN111935756A
CN111935756A CN201910394138.7A CN201910394138A CN111935756A CN 111935756 A CN111935756 A CN 111935756A CN 201910394138 A CN201910394138 A CN 201910394138A CN 111935756 A CN111935756 A CN 111935756A
Authority
CN
China
Prior art keywords
network element
data
request message
identifier
instruction
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.)
Granted
Application number
CN201910394138.7A
Other languages
Chinese (zh)
Other versions
CN111935756B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910394138.7A priority Critical patent/CN111935756B/en
Priority to PCT/CN2020/089727 priority patent/WO2020228689A1/en
Publication of CN111935756A publication Critical patent/CN111935756A/en
Application granted granted Critical
Publication of CN111935756B publication Critical patent/CN111935756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

The embodiment of the application discloses a data transmission method, a data transmission device and data transmission equipment, which are used for forwarding data through a third network element node, so that data loss is reduced. The method in the embodiment of the application comprises the following steps: the first network element receives a first request message from the second network element, where the first request message may include an identifier of the first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element, so that the first network element may collect the first data and send the first data to the second network element, and if the first network element does not obtain the reception confirmation information from the second network element, which indicates that the first data is lost in the transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. That is, the second network element may also receive the first data from the first network element through the third network element, thereby improving the fault tolerance of the system and reducing data loss.

Description

Data transmission method, device and equipment
Technical Field
The present application relates to the field of communications, and in particular, to a data transmission method, apparatus, and device.
Background
In the prior art, after a data producer collects data, the data producer can store the collected data, for example, the data is stored by a large-capacity hard disk, and then corresponding data is obtained from storage resources and sent to a consumer when the consumer needs the data; of course, the data producer may also report the data to the data consumer in real time, so that the data producer may not rely on a local large-scale cache, for example, under an architecture in which a Centralized Unit (CU) and a Distributed Unit (DU) are separated, the resource of the DU is limited, and the data may be reported in real time. Specifically, in an actual network form, the DU may not be disposed with a hard disk, and when a physical layer (PHY) and a Medium Access Control (MAC) layer function are deployed on the DU, these layer functions will generate a large amount of Radio Resource Management (RRM) and Radio Transmission Technology (RTT) data, and the limited storage resource of the DU will cause a local cache to fail, so that the DU needs to perform real-time data collection and reporting.
Therefore, many scenarios exist in the prior art for data transmission between data producers and data consumers. In actual operation, due to problems such as network failure or network congestion, data is lost during transmission, so that a data receiver cannot receive the transmitted data in time, and normal operation of a communication system is affected. Therefore, how to reduce data loss is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a data transmission method, a data transmission device and data transmission equipment, and after a first network element fails to send data to a second network element, data can be forwarded through a third network element node, so that data loss is reduced.
In a first aspect, an embodiment of the present application provides a data transmission method, where the method includes: the first network element receives a first request message from the second network element, where the first request message may include an identifier of the first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element, so that the first network element may collect the first data and send the first data to the second network element, and if the second network element receives the first data, send a reception confirmation message to the first network element to indicate that the second network element receives the first data, so that if the first network element does not obtain the reception confirmation message from the second network element, which indicates that the first data is lost in a transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. Therefore, in the embodiment of the present application, even if a communication link between the first network element and the second network element fails to cause a failure in data transmission between the first network element and the second network element, the second network element may receive the first data from the first network element through the third network element, thereby providing a fault tolerance of the system and reducing data loss.
In some possible embodiments, the method further comprises:
and the first network element sends a transfer identifier to the third network element, wherein the transfer identifier is used for indicating to forward the first data to the second network element.
In this embodiment of the application, the transit identifier may instruct the third network element to forward the first data to the second network element, so that the third network element may distinguish whether the received data needs to be processed or forwarded, thereby improving the working efficiency of the third network element.
In some possible embodiments, before the first network element sends the first data to the third network element, the method further includes:
the first network element sends a transfer request to a third network element, wherein the transfer request is used for indicating to forward the first data to the second network element;
and the first network element receives transit confirmation information sent by the third network element when the third network element has the capability of forwarding the first data.
In this embodiment of the present application, before sending the first data to the third network element, the first network element may send a relay request to the third network element, so that the first data is sent to the third network element again when the third network element has the capability of forwarding the first data, and if the third network element does not have the capability of forwarding the first data, the first data is not forwarded, thereby avoiding sending invalid data.
In some possible embodiments, the method further comprises:
the first network element sends at least one of the following information to the third network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In this embodiment of the present application, the first network element may further send the information of the first network element, the information of the second network element, and the information of the first data to the third network element, which is beneficial for the third network element to accurately judge whether the third network element has the capability of forwarding the first data.
In some possible embodiments, if the reception acknowledgement information from the second network element is not obtained, the sending, by the first network element, the first data to the third network element includes:
if the first network element does not acquire the reception confirmation information from the second network element within the preset retransmission waiting duration of the first data, retransmitting the first data to the second network element;
and if the number of times of retransmitting the first data reaches the preset number of times of retransmitting the first data, the first network element sends the first data to the third network element.
In this embodiment of the present application, before the first network element sends the first data to the third network element, the first data may also be retransmitted to the second network element, and if the retransmission is successful, the first data may not be forwarded, and only after the retransmission reaches the preset retransmission number, the first data is forwarded, so that the data forwarding number may be controlled, and the resource of the third network element is saved.
In some possible embodiments, the first request message further comprises at least one of the following information: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In this embodiment, the first request message received by the first network element from the second network element may include other various information of the first data, which is beneficial for the first network element to collect and send the first data.
In some possible embodiments, the method further comprises:
the first network element receives reception confirmation information from the third network element, where the reception confirmation information includes an identifier of the first data.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
In a second aspect, an embodiment of the present application provides another data transmission method, where the method includes: the first network element receives a first request message from the second network element, where the first request message may include an identifier of the first data, and when the first network element does not have a capability of collecting the first data, for example, when a collection function is occupied or a fault occurs, the first network element may send a suspension request to the second network element, so as to request to suspend collecting the first data. In this way, the second network element can update the state of the related service of the first data in real time according to the state of the first network element, so that the cooperation capability of each network element is improved, and the resource waste is reduced.
In some possible embodiments, the method further comprises:
and if the first network element recovers the capability of acquiring the first data, sending a restart request to the second network element for requesting to restart the acquisition of the first data.
In the embodiment of the present application, when the first network element recovers the capability of acquiring the first data, a restart instruction may be sent to the second network element, so that the second network element can restart the service related to the first data in time according to the restart instruction, thereby improving the working efficiency of the system.
In a third aspect, an embodiment of the present application further provides another data transmission method, where the method includes:
the first network element receives a first request message from a second network element, wherein the first request message may include an identification of the first data; a first network element receives a fault recovery monitoring request from a second network element; and if the first network element recovers the capability of acquiring the first data, sending a fault recovery notice to the second network element.
In this embodiment of the present application, after a failure occurs in a first network element, a failure recovery monitoring request sent by a second network element may be received, and after the failure is recovered, a failure recovery notification may be sent to the second network element, so as to recover communications between the first network element and the second network element in time, for example, recover data acquisition, data transmission, and data processing.
In some possible embodiments, the method further comprises:
after the first network element sends a failure recovery notification to the second network element, the first network element receives the first request message from the second network element;
and the first network element collects the first data according to the first request message.
In this embodiment of the application, after the first network element sends the failure recovery notification to the second network element, it is described that the failure of the first network element has recovered, and the acquisition and sending of the first data may be performed normally, so that the first request message from the second network element may be received, and the first data may be acquired according to the first request message, so as to send the first data to the second network element.
In a fourth aspect, an embodiment of the present application further provides another data transmission method, where the method includes:
the third network element receives the first data from the first network element and a transfer identifier, wherein the transfer identifier is used for indicating that the first data is transferred to the second network element; the third network element sends the first data to the second network element.
In this embodiment of the present application, if the first data is lost in the transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. That is, even if the communication link between the first network element and the second network element fails, the second network element can receive the first data from the first network element through the third network element, thereby providing the fault tolerance of the system and reducing the data loss.
In some possible embodiments, before the third network element receives the first data and the relay identifier sent by the first network element, the method further includes:
the third network element receives a transfer request from the first network element, where the transfer request is used to instruct the third network element to forward the first data to the second network element;
and the third network element sends transfer confirmation information to the first network element when the third network element has the capability of forwarding the first data.
In this embodiment of the present application, before sending the first data to the third network element, the first network element may send a relay request to the third network element, so that the first data is sent to the third network element again when the third network element has the capability of forwarding the first data, and if the third network element does not have the capability of forwarding the first data, the first data is not forwarded, thereby avoiding sending invalid data.
In some possible embodiments, the method further comprises:
the third network element receives at least one of the following information from the first network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In this embodiment of the present application, the first network element may further send the information of the first network element, the information of the second network element, and the information of the first data to the third network element, which is beneficial for the third network element to accurately judge whether the third network element has the capability of forwarding the first data.
In some possible embodiments, the method further comprises:
the third network element receives reception confirmation information from the second network element, wherein the reception confirmation information comprises an identifier of the first data;
and the third network element sends the receiving confirmation information to the first network element.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a data core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
In a fifth aspect, an embodiment of the present application further provides a data transmission method, where the method includes:
the third network element receives a second request message from the second network element, wherein the second request message comprises an identifier of second data, and the second data is associated with the first data; when the first data acquisition fails, the third network element receives a pause instruction or a termination instruction from the second network element; the pause instruction is used for indicating that the second data is paused to be acquired, and the termination instruction is used for indicating that the acquisition of the second data is terminated.
In the embodiment of the application, when the first data is failed to be acquired, the acquisition of the second data associated with the first data can be suspended or terminated, so that the acquisition of invalid data is reduced, and the resource utilization rate of a third network element for acquiring the second data is improved.
In some possible embodiments, after receiving the suspend instruction from the second network element, the third network element further includes:
the third network element receives a restart instruction of the second data from the second network element;
and the third network element acquires the second data based on the second request message according to the restart instruction.
In the embodiment of the present application, when the first data can be acquired, the acquisition of the second data that has been suspended may be restarted, so that the second network element acquires the second data, and thus, the second request message may not be sent again, the information interaction flow between the second network element and the third network element is reduced, and the communication resource is saved.
In some possible embodiments, after receiving the termination instruction from the second network element, the third network element further includes:
the third network element receives the second request message from the second network element;
and the third network element acquires the second data according to the second request message.
In this embodiment of the present application, after receiving the termination instruction from the second network element, the third network element may delete the relevant information of the second data, thereby saving resources of the third network element, and when the second network element needs to acquire the second data, send a second request message to the third network element, and resume acquiring the second data.
In a sixth aspect, an embodiment of the present application further provides another data transmission method, where the method includes:
the second network element sends a first request message to the first network element, wherein the first request message comprises an identifier of the first data and an identifier of a third network element, and the identifier of the third network element is used for indicating the network element which forwards the first data to the second network element; the second network element receives the first data from the third network element.
In this embodiment of the present application, after the second network element sends the first request message to the first network element, the first network element may forward the first data to the second network element through the third network element, so that the third network element may receive the first data from the third network element, and thus, even if a communication link between the first network element and the second network element fails, the second network element may not be affected to obtain the first data, thereby providing a fault tolerance capability of the system, and reducing data loss.
In some possible embodiments, the first request message further comprises at least one of the following information: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In this embodiment, the first request message received by the first network element from the second network element may include other various information of the first data, which is beneficial for the first network element to collect and send the first data.
In some possible embodiments, the method further comprises:
and the second network element sends receiving confirmation information to the third network element, wherein the receiving confirmation information comprises the identifier of the first data.
In this embodiment, after receiving the first data from the third network element, the second network element may send a reception acknowledgement message to the third network element, where the reception acknowledgement message is used to indicate that the second network element receives the first data, so that the third network element does not need to retransmit the first data.
In some possible embodiments, after receiving the first data, the second network element further includes:
and performing persistence processing on the first data.
In this embodiment, the second network element may process the first data, for example, may perform a persistence process, so as to retain the first data.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a data core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
In a seventh aspect, an embodiment of the present application provides another data transmission method, including:
the second network element sends a first request message to the first network element, wherein the first request message comprises an identifier of the first data; the second network element sends a second request message to a third network element, wherein the second request message comprises an identifier of second data, and the second data is associated with the first data; and when the first data acquisition fails, the second network element sends a pause instruction or a termination instruction to the third network element, wherein the pause instruction is used for indicating that the acquisition of the second data is paused, and the termination instruction is used for indicating that the acquisition of the second data is terminated.
In this embodiment of the present application, the second network element may suspend or terminate acquisition of the second data associated with the first data after the acquisition of the first data fails, thereby reducing acquisition of invalid data and improving a resource utilization rate of a third network element that acquires the second data.
In some possible embodiments, when the first data collection fails, the sending, by the second network element, a pause instruction or a termination instruction to the third network element includes:
and when the second network element does not receive the first data within the preset waiting time of the first data, the second network element sends the pause instruction or the termination instruction to the third network element.
The second network element does not receive the first data within the preset waiting time of the first data, it can be considered that the acquisition or transmission of the first data fails, and if the second network element cannot receive the first data, the acquisition of the second data can be suspended or terminated, so that the acquisition of invalid data is reduced, and the resource utilization rate of the third network element is improved.
In some possible embodiments, the method further comprises:
the second network element sends a fault recovery monitoring request to the first network element;
the second network element receives a failure recovery notification from the first network element.
In this embodiment of the present application, after a failure occurs in a first network element, a second network element may send a failure recovery monitoring request to the first network element, and after the failure is recovered, a failure recovery notification sent by the first network element may be received, so as to recover communications between the first network element and the second network element in time, for example, recover data acquisition, data transmission, and data processing.
In some possible embodiments, when the first data collection fails, the sending, by the second network element, a pause instruction or a termination instruction to the third network element includes:
the second network element receives a pause request from the first network element, wherein the pause request is used for requesting to pause the acquisition of the first data;
and the second network element sends the pause instruction or the termination instruction to the third network element.
In this embodiment, when the first network element does not have the capability of collecting the first data, for example, the collecting function is occupied or a fault occurs, the first network element may send a suspension request to the second network element, so as to request to suspend collecting the first data. In this way, the second network element can update the state of the related service of the first data in real time according to the state of the first network element, so that the cooperation capability of each network element is improved, and the resource waste is reduced.
In some of the possible embodiments, the first and second,
after the second network element sends the pause instruction to the third network element, the method further includes:
the second network element sends a restart instruction of the second data to the third network element, wherein the restart instruction is used for indicating to collect the second data;
after the second network element sends the termination instruction to the third network element, the method further includes:
and the second network element sends the second request message to the third network element.
In the embodiment of the present application, when the first data can be acquired, the acquisition of the second data that has been suspended may be restarted, so that the second network element acquires the second data, and thus, the second request message may not be sent again, the information interaction flow between the second network element and the third network element is reduced, and the communication resource is saved.
In this embodiment of the present application, after receiving the termination instruction from the second network element, the third network element may delete the relevant information of the second data, thereby saving resources of the third network element, and when the second network element needs to acquire the second data, send a second request message to the third network element, and resume acquiring the second data.
In an eighth aspect, an embodiment of the present application provides a data transmission apparatus, which is applied to a first network element, and the apparatus includes:
a first request message receiving unit, configured to receive a first request message from a second network element, where the first request message includes an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element;
a first data sending unit, configured to collect the first data and send the first data to the second network element;
a first data forwarding unit, configured to send the first data to the third network element if the reception acknowledgement information from the second network element is not obtained, where the reception acknowledgement information is used to indicate that the second network element receives the first data.
In some possible embodiments, the first data forwarding unit is further configured to:
and sending a transfer identifier to the third network element, where the transfer identifier is used to indicate to forward the first data to the second network element.
In some possible embodiments, the method further comprises:
a transfer request sending unit, configured to send a transfer request to a third network element before sending the first data to the third network element, where the transfer request is used to request to forward the first data to the second network element;
a transit confirmation information receiving unit, configured to receive transit confirmation information sent by the third network element when the third network element has the capability of forwarding the first data.
In some possible embodiments, the method further comprises:
a further information sending unit, configured to send at least one of the following information to the third network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the first data forwarding unit includes:
a retransmission unit, configured to retransmit the first data to the second network element if the reception acknowledgement information from the second network element is not obtained within a preset retransmission waiting duration of the first data;
a first data forwarding subunit, configured to send the first data to the third network element if the number of times of retransmitting the first data reaches a preset number of times of retransmitting the first data.
In some possible embodiments, the first request message further comprises at least one of the following information: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the apparatus further comprises:
a receiving confirmation information receiving unit, configured to receive receiving confirmation information from the third network element, where the receiving confirmation information includes an identifier of the first data.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
In a ninth aspect, an embodiment of the present application provides another data transmission apparatus, which is applied to a first network element, and the apparatus includes:
a first request message receiving unit, configured to receive a first request message from a second network element, where the first request message may include an identifier of first data;
a suspend request sending unit, configured to, when the first network element does not have the capability of collecting the first data, send a suspend request to the second network element by the first network element, where the suspend request is used to request to suspend collection of the first data.
In some possible embodiments, the apparatus further comprises:
and a restart request sending unit, configured to send a restart request to the second network element if the first network element recovers the capability of acquiring the first data, so as to request to restart the acquisition of the first data.
In a tenth aspect, an embodiment of the present application further provides another data transmission apparatus, which is applied to a first network element, and the apparatus includes:
a first request message receiving unit, configured to receive a first request message from a second network element, where the first request message may include an identifier of first data;
a fault recovery monitoring request receiving unit, configured to receive a fault recovery monitoring request from a second network element;
and a failure recovery notification sending unit, configured to send a failure recovery notification to the second network element if the capability of acquiring the first data is recovered.
In some possible embodiments, the apparatus further comprises:
a first request message receiving unit, further configured to receive the first request message from the second network element after sending the failure recovery notification to the second network element;
and the data acquisition unit is used for acquiring the first data according to the first request message.
In an eleventh aspect, an embodiment of the present application provides another data transmission apparatus, which is applied to a third network element, and the apparatus includes:
a data receiving unit, configured to receive first data from a first network element and a transit identifier, where the transit identifier is used to instruct to forward the first data to a second network element;
a first data sending unit, configured to send the first data to the second network element.
In some possible embodiments, the method further comprises:
a transit request receiving unit, configured to receive a transit request sent by the first network element before receiving the first data and the transit identifier sent by the first network element, where the transit request is used to request the third network element to forward the first data for the first network element;
a transit confirmation information sending unit, configured to send transit confirmation information to the first network element when the first network element has the capability of forwarding the first data.
In some possible embodiments, the method further comprises:
a further information receiving unit, configured to receive at least one of the following information from the first network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the apparatus further comprises:
a receiving confirmation information receiving unit, configured to receive receiving confirmation information from the second network element, where the receiving confirmation information includes an identifier of the first data;
a receiving confirmation information sending unit, configured to send the receiving confirmation information to the first network element.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a data core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
In a twelfth aspect, an embodiment of the present application provides a further data transmission apparatus, which is applied to a third network element, and includes:
a second request message receiving unit, configured to receive a second request message from a second network element, where the second request message includes an identifier of second data, and the second data is associated with the first data;
a stop instruction receiving unit, configured to receive, by the third network element, a pause instruction or a stop instruction from the second network element when the first data acquisition fails; the pause instruction is used for instructing to pause the acquisition of the second data, and the termination instruction is used for instructing to terminate the acquisition of the second data.
In some possible embodiments, the method further comprises:
a restart instruction receiving unit, configured to receive a restart instruction of the second data from the second network element after receiving a pause instruction from the second network element;
and the second data acquisition unit is used for acquiring the second data based on the second request message according to the restart instruction.
In some possible embodiments, the second request message receiving unit is further configured to receive the second request message from the second network element after receiving a termination instruction from the second network element;
the device further comprises:
and the second data acquisition unit is used for acquiring the second data according to the second request message.
In a thirteenth aspect, an embodiment of the present application provides a further apparatus for transmitting data, where the apparatus is applied to a second network element, and the apparatus includes:
a first request cancellation sending unit, configured to send a first request message to a first network element, where the first request message includes an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element;
a first data receiving unit, configured to receive the first data from the third network element.
In some possible embodiments, the first request message further comprises at least one of the following information: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the method further comprises:
a confirmation message sending unit, configured to send, by the second network element, reception confirmation information to the third network element, where the reception confirmation information includes an identifier of the first data.
In some possible embodiments, the method further comprises:
and the persistence processing unit is used for performing persistence processing on the first data after receiving the first data.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a data core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
In a fourteenth aspect, an embodiment of the present application provides another data transmission apparatus, which is applied to a second network element, and the apparatus includes:
a first request message sending unit, configured to send a first request message to a first network element, where the first request message includes an identifier of first data;
a second request message sending unit, configured to send a second request message to a third network element, where the second request message includes an identifier of second data, and the second data is associated with the first data;
a stop instruction sending unit, configured to send a pause instruction or a stop instruction to the third network element when the first data acquisition fails, where the pause instruction is used to instruct to pause acquisition of the second data, and the stop instruction is used to instruct to stop acquisition of the second data.
In some possible embodiments, the stop instruction sending unit is specifically configured to:
and sending the pause instruction or the termination instruction to the third network element when the first data is not received within the preset waiting time of the first data.
In some possible embodiments, the apparatus further comprises:
a monitoring request sending unit, configured to send a fault recovery monitoring request to the first network element;
a failure recovery notification receiving unit, configured to receive a failure recovery notification from the first network element.
In some possible embodiments, the stop instruction sending unit includes:
a pause request receiving unit, configured to receive a pause request from the first network element, where the pause request is used to request to pause acquisition of the first data;
a stop instruction sending subunit, configured to send the pause instruction or the termination instruction to the third network element.
In some possible embodiments, the method further comprises:
a first instruction sending unit, configured to send the first request message to the first network element and send a restart instruction of the second data to the third network element after sending a pause instruction to the third network element, where the restart instruction is used to instruct to acquire the second data;
and/or the presence of a gas in the gas,
a second instruction sending unit, configured to send the first request message to the first network element and send the second request message to the third network element after sending the termination instruction to the third network element.
In a fifteenth aspect, an embodiment of the present application provides a data transmission system, including a first network element, a second network element, and a third network element;
the second network element is configured to send a first request message to the first network element, where the first request message includes an identifier of first data and an identifier of the third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element;
the first network element is configured to receive the first request message; collecting the first data and sending the first data to the second network element; if the receiving confirmation information from the second network element is not obtained, the first network element sends the first data to the third network element, and the receiving confirmation information is used for indicating that the second network element receives the first data;
the third network element is configured to receive the first data and send the first data to the second network element.
In some possible embodiments, the first network element is further configured to: and sending a transfer identifier to the third network element, where the transfer identifier is used to indicate to forward the first data to the second network element.
In some possible embodiments, before the first network element sends the first data to the third network element, the first network element is further configured to: sending a transfer request to a third network element, where the transfer request is used to request to forward the first data to the second network element;
the third network element is further configured to: and when the first data has the capability of forwarding the first data, transmitting transit confirmation information to the first network element.
In some possible embodiments, the first network element is further configured to:
sending at least one of the following information to the third network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, if the reception acknowledgement information from the second network element is not obtained, the sending, by the first network element, the first data to the third network element includes:
if the first network element does not acquire the reception confirmation information from the second network element within the preset retransmission waiting duration of the first data, retransmitting the first data to the second network element;
and if the number of times of retransmitting the first data reaches the preset number of times of retransmitting the first data, the first network element sends the first data to the third network element.
In some possible embodiments, the first request message further comprises at least one of the following information: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the second network element is further configured to send, to the third network element, reception confirmation information, where the reception confirmation information includes an identifier of the first data.
In some possible embodiments, the third network element is further configured to receive a reception confirmation message from the second network element, and send the reception confirmation message to the first network element.
In some possible embodiments, after receiving the first data, the second network element is further configured to: and performing persistence processing on the first data.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
In a sixteenth aspect, an embodiment of the present application further provides another data transmission system, including a first network element, a second network element, and a third network element;
the second network element is configured to send a first request message to the first network element, where the first request message includes an identifier of first data; sending a second request message to the third network element, wherein the second request message comprises an identifier of second data, and the second data is associated with the first data;
and when the first data acquisition fails, the second network element sends a pause instruction or a termination instruction to the third network element, wherein the pause instruction is used for indicating that the acquisition of the second data is paused, and the termination instruction is used for indicating that the acquisition of the second data is terminated.
In some possible embodiments, when the first data collection fails, the sending, by the second network element, a pause instruction or a termination instruction to the third network element includes:
and the second network element does not receive the first data within the preset waiting time of the first data, and sends the pause instruction or the termination instruction to the third network element.
In some possible embodiments, the second network element is further configured to:
sending a fault recovery monitoring request to the first network element; receiving a failure recovery notification from the first network element.
In some possible embodiments, when the first data collection fails, the sending, by the second network element, a pause instruction or a termination instruction to the third network element includes:
the second network element receives a pause request from the first network element, wherein the pause request is used for requesting to pause the acquisition of the first data; and sending the pause instruction or the termination instruction to the third network element.
In some of the possible embodiments, the first and second,
after the second network element sends the pause instruction to the third network element, the second network element is further configured to: sending a restart instruction of the second data to the third network element, wherein the restart instruction is used for indicating to acquire the second data;
the third network element is further configured to: and acquiring the second data based on the second request message according to the restart instruction.
After the second network element sends the termination instruction to the third network element, the second network element is further configured to: sending the second request message to the third network element;
the third network element is further configured to: and acquiring the second data according to the second request message.
In a seventeenth aspect, an embodiment of the present application further provides a data transmission device, where the device includes a processor and a memory;
the memory to store instructions;
the processor is configured to execute the instructions in the memory to perform the data transmission method according to the first aspect of the present application.
In an eighteenth aspect, an embodiment of the present application further provides a data transmission device, where the device includes a processor and a memory;
the memory to store instructions;
the processor is configured to execute the instructions in the memory to perform the data transmission method according to the second aspect of the present application.
In a nineteenth aspect, an embodiment of the present application further provides a data transmission device, where the device includes a processor and a memory;
the memory to store instructions;
the processor is configured to execute the instructions in the memory to perform the data transmission method according to the third aspect of the present application.
In a twentieth aspect, an embodiment of the present application further provides a data transmission device, where the device includes a processor and a memory;
the memory to store instructions;
the processor is configured to execute the instructions in the memory, and execute the data transmission method provided in the fourth aspect of the present application.
In a twenty-first aspect, an embodiment of the present application further provides a data transmission device, where the device includes a processor and a memory;
the memory to store instructions;
the processor is configured to execute the instructions in the memory, and execute the data transmission method provided by the fifth aspect of the present application.
In a twenty-second aspect, an embodiment of the present application further provides a data transmission device, where the device includes a processor and a memory;
the memory to store instructions;
the processor is configured to execute the instructions in the memory, and execute the data transmission method provided in the sixth aspect of the present application.
In a twenty-third aspect, an embodiment of the present application further provides a data transmission device, where the device includes a processor and a memory;
the memory to store instructions;
the processor is configured to execute the instructions in the memory to perform the data transmission method provided in the seventh aspect of the present application.
In a twenty-fourth aspect, embodiments of the present application further provide a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the data transmission method as provided in the first aspect of the present application.
In a twenty-fifth aspect, embodiments of the present application further provide a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the data transmission method as provided in the second aspect of the present application.
In a twenty-sixth aspect, embodiments of the present application further provide a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the data transmission method as provided in the third aspect of the present application.
In a twenty-seventh aspect, embodiments of the present application further provide a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the data transmission method as provided in the fourth aspect of the present application.
In a twenty-eighth aspect, embodiments of the present application further provide a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the data transmission method as provided in the fifth aspect of the present application.
In a twenty-ninth aspect, embodiments of the present application further provide a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the data transmission method as provided in the sixth aspect of the present application.
Thirty-first, the present application further provides a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the data transmission method provided in the seventh aspect of the present application.
In a thirty-first aspect, embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the data transmission method as provided in the first aspect of the present application.
In a thirty-second aspect, embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the data transmission method as provided in the second aspect of the present application.
In a thirty-third aspect, embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the data transmission method as provided in the third aspect of the present application.
In a thirty-fourth aspect, embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the data transmission method as provided in the fourth aspect of the present application.
In a thirty-fifth aspect, embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the data transmission method as provided in the fifth aspect of the present application.
In a sixteenth aspect, the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the data transmission method as provided in the sixth aspect of the present application.
In a thirty-seventh aspect, the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the data transmission method provided in the seventh aspect of the present application.
According to the technical scheme, the embodiment of the application has the following advantages:
the first network element receives a first request message from the second network element, where the first request message may include an identifier of the first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element, so that the first network element may collect the first data and send the first data to the second network element, and if the second network element receives the first data, send a reception confirmation message to the first network element to indicate that the second network element receives the first data, so that if the first network element does not obtain the reception confirmation message from the second network element, which indicates that the first data is lost in a transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. That is to say, in the embodiment of the present application, even if a communication link between the first network element and the second network element fails to cause data transmission failure, the second network element may receive the first data from the first network element through the third network element, thereby improving the fault tolerance of the system and reducing data loss.
Drawings
Fig. 1 is a schematic diagram of a 5G network architecture according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a core network architecture in a 5G network architecture according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of data transmission provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating related data provided in an embodiment of the present application;
fig. 5 is a block diagram illustrating a data transmission system according to an embodiment of the present application;
fig. 6 is a schematic diagram of a distributed system according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a data transmission method according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating information interaction in a data transmission process according to an embodiment of the present application;
fig. 9 is a flowchart illustrating another data transmission method according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating another information interaction in a data transmission process according to an embodiment of the present application;
fig. 11 is a schematic diagram illustrating still another information interaction in a data transmission process according to an embodiment of the present application;
fig. 12 is a schematic diagram illustrating still another information interaction in a data transmission process according to an embodiment of the present application;
fig. 13 is a schematic diagram illustrating still another information interaction in a data transmission process according to an embodiment of the present application;
fig. 14 is a block diagram illustrating a data transmission apparatus according to an example of the present application;
fig. 15 is a block diagram illustrating another data transmission apparatus according to an embodiment of the present application;
fig. 16 is a block diagram illustrating a structure of another data transmission apparatus according to an example of the present application;
fig. 17 is a block diagram illustrating a structure of another data transmission apparatus according to an example of the present application;
fig. 18 is a block diagram illustrating a structure of another data transmission apparatus according to an example of the present application;
fig. 19 is a block diagram illustrating a structure of another data transmission apparatus according to an example of the present application;
fig. 20 is a block diagram illustrating a structure of another data transmission apparatus according to an example of the present application;
fig. 21 is a block diagram of a data transmission device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data transmission method, a device and equipment, and after a first network element fails to send data to a second network element, data can be forwarded through a third network element, so that data loss is reduced.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, data transmission may be performed between network elements, and specifically, a first network element may send first data to a second network element. For example, in a third generation (3rd generation, 3G) communication system and a 4th generation (4G) Long Term Evolution (LTE) communication system, a base station eNodeB (eNB) may report data to an Operations Support System (OSS), so the eNodeB may serve as a first network element and the OSS may serve as a second network element.
In a fifth generation (5G) communication system, referring to fig. 1, a schematic diagram of a 5G network architecture provided in an embodiment of the present application is shown, where the architecture may include a core network, a CU, and a DU. Optionally, the 5G network architecture may further include an OSS and a base station gsnodeb (5G NodeB).
In the existing network device form, a Radio Access Network (RAN) logical network element is implemented by a Remote Radio Unit (RRU) and a baseband control unit (BBU). The BBU generally has a strong memory expansion capability, so that a large amount of operation, maintenance, measurement and other types of data such as Call History Records (CHR), Measurement Reports (MR) and the like collected on the RAN device can be cached. The OSS may obtain and use this data through a management plane interface between the OSS and the RAN equipment as needed.
In 5G, the BBU function is reconfigured into two units (or functional entities) of CU and DU. The partitioning of CUs and DU functions distinguishes between handling the real-time nature of the content. The CU mainly includes non-real-time radio higher layer protocol stack functions, while also supporting partial core network function convergence and edge application service deployment, while the DU mainly handles physical layer functions and layer 2(L2) functions for real-time requirements. With the CU and DU architecture, the CU and DU can be implemented by separate hardware. Functionally, some core network functions may be moved down to CUs and even DUs for implementing mobile edge computation. In addition, originally all functions such as L1 (physical layer)/L2 (data link layer)/L3 (network layer) are implemented in the BBU, and under a new architecture, the functions of L1/L2/L3 can be separated and respectively placed in the CU and the DU or even the RRU to be implemented, so as to flexibly cope with changes of transmission and service requirements. For example, as a specific example, the non-real-time functions in L3 and L2 may be implemented in a CU, the real-time function of L2 and a part of the function of L1 may be implemented in a DU, and another part of the radio frequency function of L1 may be implemented by moving to an RRU.
During specific implementation, a DU generates a large amount of data in the operation process, and the storage of the DU cannot meet the storage requirement of the large amount of data, so that the generated data can be reported to a CU, and the CU or a gNodeB can report the data to an OSS. In other scenarios, the DU may also report data to the OSS without passing through the CU. Therefore, in a 5G network, a DU may serve as a first network element, and a CU or an OSS may serve as a second network element; a CU or a gsnodeb may serve as a first network element and an OSS may serve as a second network element.
Fig. 2 is a schematic diagram of a core network architecture in a 5G network architecture according to an embodiment of the present disclosure. This figure shows a part of functional network elements in a core network, including a core network element and a data analysis network element, where the core network element may include an access and mobility management function (AMF) network element, a Session Management Function (SMF) network element, a User Plane Function (UPF) network element, a Policy Control Function (PCF) network element, and the data analysis network element may include a network data analysis function (NWDAF) network element. Of course, the core network may further include other functional network elements, which may specifically refer to the description related to the 5G standard.
The AMF network element is a control plane network element provided by an operator network, and is mainly responsible for access control and mobility management of a terminal device accessing the operator network. The SMF network element is a control plane network element provided by an operator network and is responsible for managing a Protocol Data Unit (PDU) session of the terminal device. The UPF network element is a gateway provided by the operator, which is a gateway for the operator network to communicate with the DN. The PCF network element is a control plane function provided by the operator for providing the policy of the PDU session to the SMF network element. The NWDAF network element may collect data from Network Function (NF) network elements (such as an AMF network element, an SMF network element, and a UPF network element), and perform data analysis on the collected data, thereby obtaining a data analysis result. The NWDAF network element may further send the obtained data analysis result to the network function network element, so that the network elements perform corresponding policy making, operation execution, and the like.
That is to say, in the present application, a core network element (e.g., an SMF network element, a UPF network element, an AMF network element, a PCF network element, etc.) may report data to a data analysis network element (e.g., an NWDAF network element), and then the first network element may also be the core network element, and the second network element may also be the data analysis network element.
In summary, in the present application, a first network element may be a network element that generates data, that is, a data acquisition network element, and therefore the first network element may also be referred to as a producer, and a corresponding second network element is a network element that uses data, that is, a data processing network element, and therefore the second network element may also be referred to as a consumer.
It is to be understood that the above network elements or functions may be network elements in a hardware device, or may be software functions running on dedicated hardware, or virtualization functions instantiated on a platform (e.g., a cloud platform). The network architecture applied to the embodiment of the present application is only an example, and the network architecture applied to the embodiment of the present application is not limited thereto, and any network architecture capable of implementing the functions of the network elements is applicable to the embodiment of the present application.
In this embodiment, the first network element may send first data to the second network element, where the first data is generally determined by both the first network element and the second network element. For example, when the first network element is a DU and the second network element is a CU, the first data transmitted by the first network element may include Reference Signal Receiving Power (RSRP), Channel Quality Indicator (CQI), Modulation and Coding Scheme (MCS), and the like. For another example, when the first network element is a UPF network element and the second network element is an NWDAF network element, the first data sent by the first network element may include a packet size (packet size), a packet interval (packet interval), a delay (latency), a jitter (jitter), and the like.
For convenience of understanding, taking an example that a DU sends RSRP data to a CU, referring to fig. 3, a data transmission diagram provided for an embodiment of the present application is shown, where the data transmission process includes:
1) the first DU generates a large amount of RSRP data and MCS data in the operation process;
2) when the first CU needs RSRP data, the first CU may send a data request message for RSRP data to the first DU;
3) the first DU collects RSRP data according to the data request message and sends the collected RSRP data to the first CU;
4) and after receiving the RSRP data sent by the first DU, the first CU sends receiving confirmation information to the first DU to finish the transmission of the RSRP data.
In actual operation, due to network failure or network congestion, data may be lost during transmission, that is, after the first network element sends the first data to the second network element, the first data is lost, and the second network element cannot acquire the first data, so that the data processing process related to the first data cannot be continued, thereby causing a certain influence on normal operation of the communication system.
In addition, the second network element may further obtain related data of the first data while obtaining the first data, where the related data of the first data may be data of the same service as the first data, and if the service is a real-time service, the first data may be data obtained at the same time as the related data of the first data. If the first data is lost, a complete processing result cannot be obtained through data processing only according to the related data, so that the second network element does not process the related data, the related data becomes invalid data, and the second network element can delete the related data of the acquired first data, that is, due to the loss of the first data, more invalid data can be acquired and deleted, and resource waste is caused. Referring to fig. 4, a schematic diagram of related data provided in this embodiment of the present application is shown, where the first data is RSRP data with sequence number 2 (refer to a portion inside a black oval circle), the related data of the first data may be MCS data with sequence number 1, MCS data with sequence number 2, CQI data with sequence number 2, and CQI data with sequence number 3, and when the first data is lost, the related data of the first data becomes invalid data, and the second network element may delete the related data.
Therefore, how to reduce the data loss during the data transmission process, thereby reducing the acquisition of invalid data and reducing the influence of the data loss on the communication system is an urgent problem to be solved at present.
In order to solve the foregoing technical problem, an embodiment of the present application provides a data transmission method, an apparatus, and a related device, where a first network element receives a first request message from a second network element, where the first request message may include an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element, so that the first network element may collect the first data and send the first data to the second network element, and if the second network element receives the first data, a reception confirmation message may be sent to the first network element to indicate the second network element to receive the first data, so that if the first network element does not obtain the reception confirmation message from the second network element, which indicates that the first data is lost in a transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. That is, even if the communication link between the first network element and the second network element fails to cause data transmission failure, the second network element can receive the first data from the first network element through the third network element, thereby improving the fault tolerance of the system and reducing data loss.
Referring to fig. 5, a block diagram of a data transmission system provided in this embodiment is shown, and the data transmission system 100 may include a first network element 110, a second network element 120, and a third network element 130.
In this embodiment of the application, the first network element 110 is a data acquisition network element, the second network element 120 is a data processing network element, and after acquiring the first data, the first network element 110 may send the acquired first data to the second network element 120. Wherein, the first network element 110 may be an eNodeB, and the second network element 120 may be an OSS; the first network element 110 may also be a DU, and the second network element 120 is a CU or an OSS; the first network element 110 may be a CU or a gsnodeb, and the second network element 120 may be an OSS; the first network element 110 may be a core network element (e.g., an SMF network element, a UPF network element, an AMF network element, a PCF network element, etc.), and the second network element 120 may be a data analysis network element (e.g., an NWDAF network element). Of course, in practical applications, the first network element and the second network element are not limited to the above examples.
In the embodiment of the present application, the first data is generally determined by the first network element 110 and the second network element 120 together. For example, when the first network element 110 is a DU and the second network element 120 is a CU, the first data transmitted by the first network element 110 may include Reference Signal Receiving Power (RSRP), Channel Quality Indicator (CQI), Modulation and Coding Scheme (MCS), and the like. For another example, when the first network element 110 is a UPF network element and the second network element 120 is an NWDAF network element, the first data sent by the first network element 110 may include a packet size (packet size), a packet interval (packet interval), a delay (latency), a jitter (jitter), and the like.
Before the first network element 110 collects data, a first request message from the second network element 120 may be received, where the first request message includes an identifier of the first data, and is used to indicate data that needs to be collected. The first network element 110 may collect the first data according to the first request message, and send the first data to the second network element 120, and if the second network element 120 receives the first data, send a reception confirmation message to the first network element 110, so as to represent that the second network element 120 receives the first data. Therefore, if the first data is lost during transmission when the link between the first network element 110 and the second network element 120 is failed or blocked, the second network element 120 cannot receive the first data sent by the first network element 110. The second network element 120 does not send a reception confirmation request to the first network element 110 in case that the first data is not received, so that if the first network element 110 does not receive the reception confirmation information from the second network element 120, it can be considered that the second network element 120 does not receive the first data.
In this embodiment of the application, in order to reduce the loss of data during the transmission process, a third network element 130 may be introduced into the data transmission process of the first network element 110 and the second network element 120, and the third network element 130 may communicate with the first network element 110 and may also communicate with the second network element 120, so that after the second network element 120 does not receive the first data, the first data may be forwarded by the third network element 130, so that the second network element 120 receives the forwarded first data, thereby reducing the loss of data.
As a possible implementation manner, the first request message may further include an identifier of the third network element 130, where the identifier of the third network element 130 is used to indicate a network element that forwards the first data to the second network element 120, where the third network element 130 may be a network element adjacent to the first network element 110, and the following describes an association between the first network element 110, the second network element 120, and the third network element 130.
In a specific implementation, the first network element 110, the second network element 120, and the third network element 130 may be located in a distributed system, where one distributed system may include one central node and a plurality of local nodes, and the central node may manage the local nodes, that is, the local nodes serve as data acquisition network elements, and the central node serves as a data processing network element. Referring to fig. 6, which is a schematic diagram of a distributed system according to an embodiment of the present disclosure, when a first CU is used as a central node, a first DU and a second DU connected to the first CU may be managed, and then a local node is a first DU and a second DU; when the second CU is used as the central node, the third DU and the fourth DU connected to the second CU may be managed, and the local nodes are the third DU and the fourth DU.
Specifically, the first network element 110 and the third network element 130 may be local nodes, and the second network element 120 may be a common central node of the first network element 110 and the third network element 130, for example, the first network element 110 is a first DU, the third network element 130 is a second DU, and the second network element 120 is a first CU, so that when a link between the first DU and the first CU fails, the first DU may send the first data to the first CU through the second DU.
Of course, when the second CU acts as a central node, the local nodes may be a third DU and a fourth DU; when the OSS is a central node, the local node may be a first CU, a second CU, a first gdnodeb, and a second gdnodeb, or the local node may be a first DU, a second DU, a third DU, a fourth DU, a first gdnodeb, and a second gdnodeb. According to the location information of the network element in the distributed system, the first network element 110, the second network element 120 and the third network element 130 in the distributed system can be determined.
In specific implementation, the first network element 110, the second network element 120, and the third network element 130 may also be located in a core network, where the core network includes a core network unit and a data analysis network element, where the data analysis network element is configured to acquire data reported by the core network unit and process the data, that is, the core network unit is used as a data acquisition network element, and the data analysis network element is used as a data processing network element. In this embodiment, the first network element 110 and the third network element 130 may be core network elements, such as an SMF network element, a UPF network element, an AMF network element, a PCF network element, and the like, and the second network element 120 may be a data analysis network element, such as an NWDAF network element. For example, when a link between the SMF network element and the NWDAF network element fails, the SMF network element may send the first data to the NWDAF network element through the UPF network element.
Of course, the above descriptions are all exemplary descriptions and should not be taken as limitations of the embodiments of the present application, and in other application scenarios, the first network element 110, the second network element 120, and the third network element 130 may also have other combinations.
The data transmission process between the network elements in the foregoing data transmission system is described in detail below with reference to the accompanying drawings. Referring to fig. 7, a flowchart of a data transmission method provided in an embodiment of the present application is shown, where the method includes:
s101, the second network element 120 sends a first request message to the first network element 110.
The first request message may include an identification of the first data, the identification of the first data being used to uniquely identify the first data. In a specific implementation, the second network element 120 may send a first request message to the first network element 110 when the first data is needed, to indicate to acquire the first data, and the needed first data may be determined by the second network element 120 according to a service that needs to be executed.
Particularly, if the required first data is streaming data, the first data usually changes within a short time interval, and the changes are not obviously regular, so that the acquisition and transmission of the first data have timeliness, such as RSRP data, CQI data, MCS data, packet size, packet interval, delay, jitter, and the like.
In this case, the first request message sent by the second network element 120 to the first network element 110 may further include at least one of a data type of the first data, a data collection interval of the first data, a data collection duration of the first data, a sending period of the first data, a preset retransmission waiting duration of the first data, and a preset number of times of retransmission of the first data, so that the first network element 110 collects the first data according to the data first request message. The identification of the first data may indicate that the first data is RSRP data, CQI data, MCS data, packet size, packet interval, delay or jitter, etc., and the data type of the first data may be floating point type, shaping, string or boolean type, etc.
The first data is determined by the first network element 110 and the second network element 120 together, for example, when the first network element 110 is a DU and the second network element 120 is a CU, the first data sent by the first network element 110 may include one or more of RSRP data, CQI data, MCS data, and the like. For another example, when the first network element 110 is a UPF network element and the second network element 120 is an NWDAF network element, the first data sent by the first network element 110 may include one or more of a packet size, a packet interval, a delay, a jitter, and the like.
In this embodiment, the first request message may further include an identifier of the third network element 130, where the identifier of the third network element 130 is used to indicate a network element that forwards the first data to the second network element 120. In this way, when the link between the first network element 110 and the second network element 120 fails, the third network element 130 may forward data, so as to reduce data loss.
S102, the first network element 110 collects the first data and sends the first data to the second network element 120.
The first network element 110 may generate data in real time during the operation process, and after receiving the first request message from the second network element 120, the first network element 110 may perform first data acquisition, specifically, may perform data acquisition according to a data type, a data acquisition interval, and a data acquisition duration. The acquisition interval and the acquisition duration of the data acquisition performed by the first network element 110 may be different for different first data. In this embodiment of the application, the collected first data may further encapsulate one or more of a serial number (ID), an identifier of the first data, and an identifier of the first network element 110.
After collecting the first data, the first network element 110 may also send the first data to the second network element 120. The first network element 110 and the second network element 120 may communicate with each other via a wireless link, for example, a communication link in a wide area network, a communication link in a local area network, and so on. That is, the first data sent by the first network element 110 to the second network element 120 may include one or more of a sequence number, an identification of the first data, and an identification of the first network element 110.
S103, if the first network element 110 does not obtain the reception confirmation information from the second network element 120, the first data is sent to the third network element 130.
In this embodiment of the application, after the first network element 110 sends the first data to the second network element 120, if the second network element 120 receives the first data sent by the first network element 110, the receiving confirmation information may be sent to the first network element 110, which represents that the second network element 120 receives the first data, and specifically, the receiving confirmation information may include an identifier and a sequence number of the first data. Therefore, if the link between the first network element 110 and the second network element fails or is blocked, which results in the loss of the first data, the second network element 120 will not receive the first data, and the first network element 110 will not receive the reception confirmation information sent by the second network element 120 after receiving the first data.
Therefore, if the first network element 110 does not obtain the reception confirmation information from the second network element 120, it indicates that the first data is lost in the transmission process, and the first data may be forwarded. Specifically, the first network element 110 may start a timer after sending the first data, and determine whether the reception acknowledgement information is acquired within a preset retransmission waiting duration of the first data. If so, it means that the second network element 120 receives the first data, and there is no first data loss, otherwise, it means that the first data is lost, and the first network element 110 may send the first data to the third network element 130.
The preset retransmission waiting duration of the first data may be preset by the first network element 110, or may be sent to the first network element 110 by the second network element 120, for example, the first request message may further include the preset retransmission waiting duration of the first data. The preset retransmission waiting time duration of the first data may be greater than a sum of a first time duration of the first data transmitted from the first network element 110 to the second network element 120 and a second time duration of the reception acknowledgement information transmitted from the second network element 120 to the first network element 110.
Of course, in order to reduce the number of data transfers, the first network element 110 may determine that the first data transmission fails, and instead of immediately forwarding the first data, the first network element 110 may retransmit the first data to the second network element 120 before forwarding the first data through the third network element 130, and when the retransmission succeeds, the first data may not be forwarded, so as to reduce the number of data transfers, which may save resources of other network elements. Specifically, the first network element 110 may retransmit the first data to the second network element 120 if the first network element 110 does not acquire the reception confirmation information within the preset retransmission waiting duration of the first data, and if the number of times of retransmitting the first data reaches the preset number of times of retransmitting the first data, the first network element 110 sends the first data to the third network element 130 again. After the number of times that the first network element 110 retransmits the first data to the second network element 120 reaches the preset number of times of retransmission of the first data, it may be determined whether the reception acknowledgement information from the second network element 120 is acquired in the preset retransmission waiting duration of the first data, and if not, the first data is transmitted to the third network element 130. The preset number of retransmissions of the first data may be predetermined by the first network element 110, or may be sent to the first network element 110 by the second network element 120, for example, the first request message may further include the preset number of retransmissions of the first data. The preset number of retransmissions of the first data is determined according to the validity time of the first data, and the longer the validity time is, the larger the preset number of retransmissions of the first data may be.
In a specific implementation, the first network element 110 may further forward a relay identifier to the third network element 130, so as to instruct the third network element 130 to forward the first data to the second network element 120, so that the third network element may distinguish whether the received data needs to be processed or forwarded, thereby improving the working efficiency of the third network element 130. Specifically, the first network element 110 may send the first data and a transit identifier of the first data to the third network element 130, or may re-encapsulate the first data, add the transit identifier, and send the re-encapsulated first data to the third network element 130, so that the third network element 130 identifies the first data to be forwarded.
Before sending the first data to the third network element 130, the first network element 110 may also send a relay request to the third network element 130, so as to instruct the third network element 130 to forward the first data. The third network element 130 may determine whether the first data is capable of being forwarded according to the relay request, the network status, and the resource availability condition after receiving the relay request, and if so, may send relay confirmation information to the first network element 110, and after receiving the relay confirmation information, the first network element 110 confirms that the third network element 130 is capable of being forwarded the first data, and may send the first data to the third network element 130.
The relay request may include an identifier of the first network element 110 and/or an identifier of the second network element 120, and the identifier of the first network element 110 may be an Internet Protocol (IP) address of the first network element 110, and the identifier of the second network element 120 may also be an IP address of the second network element 120.
In this embodiment, the first network element 110 sends the first data to the third network element 130 when determining that the third network element 130 has the capability of forwarding the first data, and may not send the first data to the third network element 130 when the third network element 130 does not have the capability of forwarding the first data, so that sending of invalid data may be reduced, and resource waste is reduced.
Specifically, the first network element 110 may further send the information of the first data to the third network element 130, which is beneficial for the third network element 130 to accurately determine whether the third network element has the capability of forwarding the first data. The information of the first data may include, for example, one or more of a data type of the first data, a data acquisition interval of the first data, a data acquisition duration of the first data, a transmission cycle of the first data, a preset number of retransmissions of the first data, and a preset retransmission waiting duration of the first data. In a specific implementation, the relay request may include the information of the first data. The third network element 130 may retransmit the first data according to the preset retransmission waiting duration and/or the preset retransmission times of the first data after the first data is unsuccessfully transmitted to the second network element 120.
It can be understood that, if the third network element 130 does not have the capability of forwarding the first data, the stop forwarding information of the first data may be sent to the first network element 110, and after receiving the stop forwarding information of the first data, the first network element 110 may stop sending the first data to the third network element 130. Specifically, if the third network element 130 itself fails or the communication link between the third network element 130 and the second network element 120 fails, the third network element does not have the capability of forwarding the first data, and cannot forward the data.
S104, the third network element 130 forwards the first data to the second network element 120.
After receiving the first data, the third network element 130 may send the first data to the second network element 120, so as to implement forwarding of the first data. The third network element 130 may also send a reception notification to the first network element 110 after receiving the second data.
If the third network element 130 receives the transit identifier, the first data may be forwarded to the second network element 120 according to the transit identifier, specifically, if the first data is encapsulated with the transit identifier, the third network element 130 may remove the transit identifier encapsulated in the first data, and forward the first data.
After receiving the first data sent by the third network element 130, the second network element 120 may also send reception confirmation information to the third network element 130, which indicates that the second network element 120 receives the first data, and the third network element 130 may send the reception confirmation information to the first network element 110. The identification of the first data and the sequence number may be included in the reception confirmation information.
After receiving the first data sent by the third network element 130, the second network element 120 may perform persistence processing on the first data, and accordingly, the first request message sent by the second network element 120 to the first network element 110 may be a persistence request message. As a possible implementation manner, the second network element 120 may store the first data in a persistent device, where the persistent device, for example, a hard disk, may store the first data in a relational database, a hard disk file, an extensible markup language (XML) data file, or the like. As another possible implementation manner, the second network element 120 may also process the first data and other related data, and store the processing result in a persistent device, for example, a CU, and the processing result obtained by processing the first data and other related data may be a trained machine learning model.
Referring to fig. 8, for an information interaction schematic diagram in a data transmission process provided in an embodiment of the present application, the data transmission process may include:
1) the second network element 120 sends a first request message to the first network element 110;
2) the first network element 110 collects the first data and sends the first data to the second network element 120;
3) if the first network element 110 does not receive the reception confirmation information, the first data is retransmitted;
4) the first network element 110 sends the first data to the third network element 130 after the number of retransmissions reaches a preset number of retransmissions of the first data;
5) the third network element 130 sends the first data to the second network element 120.
The embodiment of the present application provides a data transmission method, where a first network element receives a first request message from a second network element, where the first request message may include an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element, so that the first network element may collect the first data and send the first data to the second network element, and if the second network element receives the first data, send a reception confirmation message to the first network element and indicate that the second network element receives the first data, so that if the first network element does not obtain the reception confirmation message from the second network element, which indicates that the first data is lost in a transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. That is to say, in the embodiment of the present application, even if a communication link between the first network element and the second network element fails to cause data transmission failure, the second network element may receive the first data from the first network element through the third network element, thereby improving the fault tolerance of the system and reducing data loss.
In this embodiment, when sending the first request message to the first network element 110, the second network element 120 may also send a second request message to the third network element 130, where the second request message is used to request to obtain second data, and the first data and the second data are related data, for example, the first data and the second data may be related data of the same service. Specifically, referring to fig. 9, a flowchart of another data transmission method provided in the embodiment of the present application includes the following steps:
s201, the second network element 120 sends a first request message to the first network element 110, and sends a second request message to the third network element 130.
The first request message may include an identification of the first data, and other relevant contents of the first request message may refer to the description of S101.
The second request message may include an identification of the second data, which may be used to uniquely determine the second data. In a specific implementation, the second network element 120 may send a second request message to the third network element 130 when the second data is needed, to indicate to acquire the second data. When the second data is streaming data, the second request message may further include at least one of a data type of the second data, a data acquisition interval of the second data, a data acquisition duration of the second data, a transmission cycle of the first data, a preset retransmission waiting duration of the second data, and a preset number of times of retransmission of the second data, so that the third network element 130 acquires the second data according to the second request message. The second data collected by the third network element according to the second request message may be encapsulated with one or more of the sequence number, the identifier of the second data, and the identifier of the third network element 130.
In the embodiment of the present application, the first data and the second data are associated, for example, the first data and the second data may be data associated with the same service, for example, RSRP data and CQI data acquired at the same time.
S202, if the first data collection fails, the second network element 120 sends a pause instruction or a stop instruction to the third network element 130.
Since the first data and the second data are related data, if the first data acquisition fails, the second network element 120 cannot normally operate related services only according to the acquired second data, and cannot obtain a complete data processing result, therefore, the second network element 120 usually does not process the second data, and the second data becomes invalid data, so that the second data can be deleted even if the second network element 120 acquires the second data.
Therefore, in this embodiment of the application, if the first data acquisition fails, the second network element may send a pause instruction or a termination instruction to the third network element, where the pause instruction or the termination instruction includes an identifier of the second data, where the pause instruction is used to instruct the third network element to pause the acquisition of the second data, and the termination instruction may instruct the third network element to terminate the acquisition of the second data. And after receiving the pause instruction or the termination instruction, the third network element does not acquire the second data, so that the acquisition of invalid data is reduced, and the resources of the third network element are saved.
In the embodiment of the present application, the first data collection failure may have the following two cases:
the first case of data acquisition failure: the first network element 110 does not have the capability to collect the first data, at which point the first network element 110 may actively send a suspension request to the second network element 120.
In a possible scenario, if the data collection function of the first network element 110 fails, the first network element 110 may send a suspension request to the second network element 120, where the suspension request includes an identifier of the first data, so that the second network element 120 obtains information that the first data collection fails.
In another possible scenario, the service of the first network element 110 collecting the first data may have an execution priority, which may be included in the first request message or predetermined by the first network element 110. When the first network element 110 acquires the first data, if the first network element 110 is occupied by a service with a high priority, the first network element 110 does not have the capability of acquiring the first data, and at this time, the first network element 110 may send a suspension request to the second network element 120, where the suspension request may include an identifier of the first data.
The second network element 120 may suspend or terminate the related traffic of the first data after receiving the suspension request, for example, may suspend or terminate the acquisition of the second data associated with the first data. Specifically, the second network element 120 may send a pause instruction or a termination instruction to the third network element 130 that collects the second data, so as to stop the acquisition of the second data, and save resources of the third network element 130. After the acquisition of the second data by the third network element 130 is suspended, the acquisition of the second data is restarted after the acquisition of the first data can be performed, and the second network element 120 does not need to send a first request message to the first network element, so that the number of times of sending requests between the second network element 120 and the third network element 130 can be reduced; after the third network element 130 terminates the acquisition of the second data, the third network element 130 may end the task of acquiring the second data in the memory, and delete the second request message and the acquired second data, so that resources of the third network element 130 may be saved.
After receiving the first suspension request sent by the first network element 110, the second network element 120 may also send a suspension confirmation message to the first network element 110, indicating that the second network element 120 receives the suspension request sent by the first network element 110.
After the first network element 110 has the capability of acquiring the first data, for example, after the operation of the high-priority service is completed, the restart request may be actively sent to the second network element 120, where the restart request may include an identifier of the first data, and the first network element 110 starts to acquire and send the first data at the same time. The second network element 120 may send restart confirmation information to the first network element 110 according to the restart request, and restart the related service of the first data, for example, restart acquisition of second data related to the first data.
Specifically, if the pause instruction is sent by the second network element 120 to the third network element 130, the second network element 120 may send a restart instruction to the third network element 130, where the restart instruction includes an identifier of the second data, so that the third network element 130 starts collecting the second data according to the second request message and sends the second data to the second network element 120; if the second network element 120 sends the termination instruction to the third network element 130, the second network element 120 may send the second request message to the third network element 130 again, so that the third network element 130 starts to collect the second data according to the second request message, and sends the second data to the second network element 120.
After receiving the restart request of the first data sent by the first network element 110, the second network element 120 may also send restart confirmation information to the first network element 110, which indicates that the second network element 120 receives the restart request sent by the first network element 110.
The suspension request sent by the first network element 110 to the second network element 120 may further include suspension time information, where the suspension time information may be determined according to the resource usage of the first network element 110, and is used to notify the second network element 120 of the suspension time of the failure of the first data acquisition, and the second network element 120 may determine the operation status of the related service according to the suspension time information. For example, if the high priority traffic in the first network element 110 is expected to occupy one minute, the pause time may be one minute.
After obtaining the pause time information, the second network element 120 may pause the related service of the first data according to the pause time information, and restart the related service of the first data after the pause time is finished.
Specifically, the second network element 120 may send a pause instruction to the third network element 130 that sends the second data after receiving the pause request of the first data, so that the third network element 130 pauses the collection and sending of the second data. After the time-out period is over, the second network element 120 may send a restart instruction of the second data to the third network element 130, so that the third network element 130 restarts obtaining and sending the second data. Certainly, the pause instruction sent by the second network element 120 to the third network element 130 may include pause time information, and after the pause time is over, the third network element 130 automatically restarts the action of obtaining the second data and sends the second data to the second network element 120, that is, the second network element 120 does not need to send the restart instruction to the third network element 130.
When the second data is streaming data, the acquisition of the second data is generally time-efficient, and then the third network element 130 may further delete part of the acquired second data after receiving the pause instruction or the termination instruction, and perform acquisition of the second data again after receiving the restart instruction or the second request message.
It should be noted that, the second data collection may be performed by the third network element 130 that can perform data forwarding, or may be performed by the third network element 130 that cannot perform data forwarding, and the second data may not be only one kind of data, and the third network element 130 may not be only one network element. If the third network element 130 is a plurality of network elements, the second network element 120 may send a pause instruction or a restart instruction to each third network element 130, or may broadcast the pause instruction or the restart instruction of the second data, so that the third network element 130 receives the pause instruction or the restart instruction.
It can be understood that, after receiving the pause instruction or the termination instruction sent by the second network element 120, the third network element 130 may send a pause response or a termination response to the second network element 120 to indicate that the third network element 130 receives the pause instruction or the termination instruction sent by the second network element 120, and after receiving the restart instruction sent by the second network element 120, the third network element 130 may also send a restart response to the second network element 120 to indicate that the third network element 130 receives the restart instruction sent by the second network element 120.
In this embodiment, after determining that the first data collection is failed, the second network element 120 may send a failure recovery monitoring request to the first network element 110, and after the first network element 110 recovers the capability of collecting the first data, for example, after the collection function is recovered, a failure recovery notification may be sent to the second network element 120 to indicate that the second network element 120 starts to communicate with the first network element 110 normally. For example, the second network element 120 may send a first request message or a restart instruction to the first network element 110 after receiving the failure recovery notification, so that the first network element 110 collects the first data according to the first request message.
Referring to fig. 10, for another schematic diagram of information interaction in a data transmission process provided in the embodiment of the present application, the data transmission process may include:
1) the second network element 120 sends a first request message to the first network element 110 and a second request message to the third network element 130;
2) the first network element 110 is occupied by a high-priority service, and sends a suspension request to the second network element 120;
3) the second network element 120 sends a pause confirmation message to the first network element 110 and sends a pause instruction to the third network element 130, and the third network element 130 stops collecting the second data and deletes the collected second data;
4) the first network element 110 stops running the priority service and sends a restart request to the second network element 120;
5) the second network element 120 sends restart confirmation information to the first network element 110 and sends a restart instruction to the third network element 130;
6) the first network element 110 collects the first data and transmits the first data to the second network element 120, and the third network element 130 collects the second data and transmits the second data to the second network element 120.
Referring to fig. 11, for a schematic diagram of further information interaction in a data transmission process provided in an embodiment of the present application, the data transmission process may include:
1) the second network element 120 sends a first request message to the first network element 110 and a second request message to the third network element 130;
2) the first network element 110 times the occupation of the high-priority service, and sends a suspension request to the second network element 120;
3) the second network element 120 sends a pause confirmation message to the first network element 110, and sends a termination instruction to the third network element 130, where the termination instruction includes an identifier of the second data, and the third network element 130 stops collecting the second data, deletes the collected second data, and deletes the information of the second data carried in the second request message;
4) the first network element 110 stops running the priority service and sends a restart request to the second network element 120;
5) the second network element 120 sends restart confirmation information to the first network element 110, and sends a second request message to the third network element 130;
6) the first network element 110 collects the first data and transmits the first data to the second network element 120, and the third network element 130 collects the second data and transmits the second data to the second network element 120.
The second case of data acquisition failure: the first network element 110 does not have the capability to send the first data to the second network element 120, i.e. the second network element 120 cannot receive the first data.
In this embodiment of the application, after the second network element 120 sends the first request message to the first network element 110, the second network element may further start a timer, and if the first data is not received within the preset waiting duration of the first data, it indicates that the first data acquisition fails. The preset waiting time of the first data is greater than the sum of a third time for the first request message to be transmitted from the second network element 120 to the first network element 110 and a fourth time for the first data to be transmitted from the first network element 110 to the second network element 120.
The second network element 120 may suspend or terminate the related service of the first data, for example, suspend or terminate the acquisition of the second data, when it is determined that the first data collection fails. Specifically, the second network element 120 may send a pause instruction or a termination instruction to the third network element 130, so as to reduce the acquisition of invalid data and save resources of the third network element 130. After the acquisition of the second data by the third network element 130 is suspended, the acquisition of the second data is restarted after the acquisition of the first data can be performed, and the second network element 120 does not need to send a first request message to the first network element, so that the number of times of sending requests between the second network element 120 and the third network element 130 can be reduced; after the third network element 130 terminates the acquisition of the second data, the third network element 130 may end the task of acquiring the second data in the memory, and delete the second acquisition request and the acquired second data, so that resources of the third network element 130 may be saved.
After the second network element 120 does not receive the first data within the preset waiting duration of the first data, after it is determined that the first data is lost, the second network element 120 may further send a failure recovery monitoring request to the first network element 110, and after the link between the first network element 110 and the second network element 120 is recovered, the first network element 110 may receive the failure recovery monitoring request and simultaneously recover the acquisition capability of the first data, and then may send a failure recovery notification to the second network element 120 to indicate that the second network element 120 starts normal communication with the first network element 110. For example, the second network element 120 may send a first request message or a restart instruction to the first network element 110 after receiving the failure recovery notification, so that the first network element 110 collects first data according to the first request message and sends the first data to the second network element 120, and the second network element 120 may process the data after receiving the first data.
After receiving the failure recovery notification sent by the first network element 110, if the second network element 120 sends a pause instruction to the third network element 130, the second network element 120 may send a restart instruction to the third network element 130, where the restart instruction includes an identifier of second data, so that the third network element 130 starts collecting second data according to the second request message and sends the second data to the second network element 120; if the second network element 120 sends the termination instruction to the third network element 130, the second network element 120 may send the second request message to the third network element 130 again, so that the third network element 130 starts to collect the second data according to the second request message, and sends the second data to the second network element 120.
When the second data is streaming data, the acquisition of the second data is generally time-efficient, and then the third network element 130 may further delete part of the acquired second data after receiving the pause instruction or the termination instruction, and perform acquisition of the second data again after receiving the restart instruction or the second request message.
Referring to fig. 12, as another schematic diagram of information interaction in a data transmission process provided in the embodiment of the present application, taking first data lost and second data as related data of the first data as an example, the data transmission process may include:
1) the second network element 120 sends a first request message to the first network element 110 and a second request message to the third network element 130;
2) the third network element 130, which is configured to determine that the second network element 120 does not receive the first data within a preset waiting duration of the first data, determines second data related to the first data, and obtains the second data;
3) the second network element 120 sends a pause instruction to the third network element 130, the pause instruction includes an identifier of the second data, and the third network element 130 stops collecting the second data and deletes the collected second data;
4) the second network element 120 sends a fault recovery monitoring request to the first network element 110;
5) after recovering the collecting capability of the first data, the first network element 110 sends a failure recovery notification to the second network element 120;
6) the second network element 120 sends a first request message to the first network element 110, and sends a restart instruction to the third network element 130, where the restart instruction includes an identifier of the second data;
7) the first network element 110 collects the first data and transmits the first data to the second network element 120, and the third network element 130 collects the second data and transmits the second data to the second network element 120.
Referring to fig. 13, as an example of a further information interaction diagram in a data transmission process provided in an embodiment of the present application, taking first data lost and second data as related data of the first data, the data transmission process may include:
1) the second network element 120 sends a message for the first request to the first network element 110 and a message for the second request to the third network element 130;
2) the third network element 130, which is configured to determine that the second network element 120 does not receive the first data within a preset waiting duration of the first data, determines second data related to the first data, and obtains the second data;
3) the second network element 120 sends a termination instruction to the third network element 130, where the termination instruction includes an identifier of the second data, and the third network element 130 stops collecting the second data, deletes the collected second data, and deletes the information of the second data carried in the second request message;
4) the second network element 120 sends a fault recovery monitoring request to the first network element 110;
5) after recovering the first data collection capability, the first network element 110 sends a failure recovery notification to the second network element 120;
6) the second network element 120 sends a first request message to the first network element 110 and a second request message to the third network element 130;
7) the first network element 110 collects the first data and transmits the first data to the second network element 120, and the third network element 130 collects the second data and transmits the second data to the second network element 120.
It is to be understood that, in the embodiment of the present application, the first data and the second data are associated data, and therefore, if the collection of the second data fails, the second network element 120 may also send a pause instruction or a termination instruction to the first network element 110 to pause or terminate the collection of the first data, and the pause instruction or the termination instruction sent to the first network element 110 may refer to the case of sending a pause or termination instruction to the third network element 130. In addition, after the third network element 130 fails to send the second data to the second network element 120, the first network element 110 may also forward the second data, specifically, refer to the case where the third network element 130 forwards the data.
In order to better implement the above-mentioned aspects of the embodiments of the present application, the following also provides related apparatuses for implementing the above-mentioned aspects.
Referring to fig. 14, a data transmission apparatus 200 provided in this embodiment of the present application specifically corresponds to a function of a data transmission method on the first network element side. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions, and the units may be software and/or hardware. The apparatus 200 may include:
a first request message receiving unit 210, configured to receive a first request message from a second network element, where the first request message includes an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element;
a first data sending unit 220, configured to collect the first data and send the first data to the second network element;
a first data forwarding unit 230, configured to send the first data to the third network element if the reception acknowledgement information from the second network element is not obtained, where the reception acknowledgement information is used to indicate that the second network element receives the first data.
In some possible embodiments, the first data forwarding unit is further configured to:
and sending a transfer identifier to the third network element, where the transfer identifier is used to indicate to forward the first data to the second network element.
In some possible embodiments, the method further comprises:
a transfer request sending unit, configured to send a transfer request to a third network element before sending the first data to the third network element, where the transfer request is used to request to forward the first data to the second network element;
a transit confirmation information receiving unit, configured to receive transit confirmation information sent by the third network element when the third network element has the capability of forwarding the first data.
In some possible embodiments, the method further comprises:
a further information sending unit, configured to send at least one of the following information to the third network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the first data forwarding unit includes:
a retransmission unit, configured to retransmit the first data to the second network element if the reception acknowledgement information from the second network element is not acquired within a preset retransmission waiting duration of the first data;
and the first data forwarding subunit is configured to send the first data to the third network element if the number of times of retransmitting the first data reaches a preset number of times of retransmitting the first data.
In some possible embodiments, the first request message further comprises at least one of the following information: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the apparatus further comprises:
a receiving confirmation information receiving unit, configured to receive receiving confirmation information from the third network element, where the receiving confirmation information includes an identifier of the first data.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
The embodiment of the present application provides a data transmission apparatus, where a first network element receives a first request message from a second network element, where the first request message may include an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element, so that the first network element may collect the first data and send the first data to the second network element, and if the second network element receives the first data, send a reception confirmation message to the first network element and indicate that the second network element receives the first data, so that if the first network element does not obtain the reception confirmation message from the second network element, which indicates that the first data is lost in a transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. That is to say, in the embodiment of the present application, even if the data transmission device is caused by a failure of the communication link between the first network element and the second network element, the second network element may receive the first data from the first network element through the third network element, thereby providing the fault tolerance of the system and reducing the data loss.
Please refer to fig. 15, which is a diagram illustrating another data transmission apparatus 300 according to an embodiment of the present application, and specifically corresponds to a function of another data transmission method on the first network element side. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions, and the units may be software and/or hardware. The apparatus 300 may include:
a first request message receiving unit 310, configured to receive a first request message from a second network element, where the first request message may include an identifier of first data;
a suspend request sending unit 320, configured to, when the first network element does not have the capability of collecting the first data, send a suspend request to the second network element by the first network element, where the suspend request is used to request to suspend collecting the first data.
In some possible embodiments, the apparatus further comprises:
and a restart request sending unit, configured to send a restart request to the second network element if the first network element recovers the capability of acquiring the first data, so as to request to restart the acquisition of the first data.
The embodiment of the present application provides another data transmission apparatus, where a first network element receives a first request message from a second network element, where the first request message may include an identifier of first data, and when the first network element does not have a capability of collecting the first data, for example, a collection function is occupied or a fault occurs, the first network element may send a suspension request to the second network element, where the suspension request is used to request to suspend collection of the first data. In this way, the second network element can update the state of the related service of the first data in real time according to the state of the first network element, so that the cooperation capability of each network element is improved, and the resource waste is reduced.
Referring to fig. 16, a further data transmission apparatus 400 provided in the embodiment of the present application specifically corresponds to a function of a further data transmission method on the first network element side. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions, and the units may be software and/or hardware. The apparatus 400 may include:
a first request message receiving unit 410, configured to receive a first request message from a second network element, where the first request message may include an identifier of first data;
a failure recovery monitoring request receiving unit 420, configured to receive a failure recovery monitoring request from a second network element;
a failure recovery notification sending unit 430, configured to send a failure recovery notification to the second network element if the capability of acquiring the first data is recovered.
In some possible embodiments, the apparatus further comprises:
the first request message receiving unit is further configured to receive the first request message from the second network element after sending the failure recovery notification to the second network element;
and the data acquisition unit is used for acquiring the first data according to the first request message.
The embodiment of the present application provides another data transmission apparatus, where a first network element receives a first request message from a second network element, where the first request message may include an identifier of first data; a first network element receives a fault recovery monitoring request from a second network element; and if the first network element recovers the capability of acquiring the first data, sending a fault recovery notice to the second network element. After the first network element fails, a failure recovery monitoring request sent by the second network element may be received, and after the failure recovery, a failure recovery notification may be sent to the second network element, so as to recover the communication between the first network element and the second network element in time.
Referring to fig. 17, a further data transmission apparatus 500 provided in the embodiment of the present application is specifically corresponding to a function of a data transmission method on the third network element side. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions, and the units may be software and/or hardware. The apparatus 500 may comprise:
a data receiving unit 510, configured to receive first data from a first network element and a transit identifier, where the transit identifier is used to instruct to forward the first data to a second network element;
a first data sending unit 520, configured to send the first data to the second network element.
In some possible embodiments, the method further comprises:
a transit request receiving unit, configured to receive a transit request sent by a first network element before receiving first data and a transit identifier sent by the first network element, where the transit request is used to request the third network element to forward the first data for the first network element;
a transit confirmation information sending unit, configured to send transit confirmation information to the first network element when the first network element has the capability of forwarding the first data.
In some possible embodiments, the method further comprises:
a further information receiving unit, configured to receive at least one of the following information from the first network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the apparatus further comprises:
a receiving confirmation information receiving unit, configured to receive receiving confirmation information from the second network element, where the receiving confirmation information includes an identifier of the first data;
a receiving confirmation information sending unit, configured to send the receiving confirmation information to the first network element.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a data core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
The embodiment of the present application provides yet another data transmission apparatus, where a third network element receives first data from a first network element and a transit identifier, where the transit identifier is used to indicate that the first data is to be forwarded to a second network element; the third network element sends the first data to the second network element. If the first data is lost in the transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. That is to say, in the embodiment of the present application, even if the data transmission device is caused by a failure of the communication link between the first network element and the second network element, the second network element may receive the first data from the first network element through the third network element, thereby providing the fault tolerance of the system and reducing the data loss.
Referring to fig. 18, a further data transmission apparatus 600 provided in the embodiment of the present application specifically corresponds to a function of another data transmission method on the third network element side. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions, and the units may be software and/or hardware. The apparatus 600 may include:
a second request message receiving unit 610, configured to receive a second request message from a second network element, where the second request message includes an identifier of second data, and the second data is associated with the first data;
a stop instruction receiving unit 620, configured to, when the first data acquisition fails, receive, by the third network element, a pause instruction or a termination instruction from the second network element; the pause instruction is used for instructing to pause the acquisition of the second data, and the termination instruction is used for instructing to terminate the acquisition of the second data.
In some possible embodiments, the method further comprises:
a restart instruction receiving unit, configured to receive a restart instruction of the second data from the second network element after receiving a pause instruction from the second network element;
and the second data acquisition unit is used for acquiring the second data based on the second request message according to the restart instruction.
In some possible embodiments, the second request message receiving unit is further configured to receive the second request message from the second network element after receiving a termination instruction from the second network element;
the device further comprises:
and the second data acquisition unit is used for acquiring the second data according to the second request message.
The embodiment of the present application provides yet another data transmission apparatus, where a third network element receives a second request message from a second network element, where the second request message includes an identifier of second data, and the second data is associated with first data; when the first data acquisition fails, the third network element receives a pause instruction or a termination instruction from the second network element; the pause instruction is used for indicating that the second data is paused to be acquired, and the termination instruction is used for indicating that the acquisition of the second data is terminated. In the embodiment of the application, when the first data is failed to be acquired, the acquisition of the second data associated with the first data can be suspended or terminated, so that the acquisition of invalid data is reduced, and the resource utilization rate of a third network element for acquiring the second data is improved.
Referring to fig. 19, a further data transmission apparatus 700 provided in the embodiment of the present application specifically corresponds to a function of a data transmission method on the second network element side. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions, and the units may be software and/or hardware. The apparatus 700 may include:
a first request cancellation sending unit 710, configured to send a first request message to a first network element, where the first request message includes an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element;
a first data receiving unit 720, configured to receive the first data from the third network element.
In some possible embodiments, the first request message further comprises at least one of the following information: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the method further comprises:
a confirmation message sending unit, configured to send, by the second network element, reception confirmation information to the third network element, where the reception confirmation information includes an identifier of the first data.
In some possible embodiments, the method further comprises:
and the persistence processing unit is used for performing persistence processing on the first data after receiving the first data.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a data core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
The embodiment of the present application provides another data transmission apparatus, where a second network element sends a first request message to a first network element, where the first request message includes an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element; the second network element receives the first data from the third network element. In this embodiment of the present application, after the second network element sends the first request message to the first network element, the first network element may forward the first data to the second network element through the third network element, so that the third network element may receive the first data from the third network element, thereby providing the fault-tolerant capability of the system and reducing the data loss.
Referring to fig. 20, a further data transmission apparatus 800 provided in this embodiment of the present application specifically corresponds to a function of another data transmission method on the second network element side. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions, and the units may be software and/or hardware. The apparatus 800 may include:
a first request message sending unit 810, configured to send a first request message to a first network element, where the first request message includes an identifier of first data;
a second request message sending unit 820, configured to send a second request message to a third network element, where the second request message includes an identifier of second data, and the second data is associated with the first data;
a stop instruction sending unit 830, configured to send a pause instruction or a stop instruction to the third network element when the first data acquisition fails, where the pause instruction is used to instruct to pause acquiring the second data, and the stop instruction is used to instruct to stop acquiring the second data.
In some possible embodiments, the stop instruction sending unit is specifically configured to:
and sending a pause instruction or a termination instruction to the third network element when the first data is not received within the preset waiting time of the first data.
In some possible embodiments, the apparatus further comprises:
a monitoring request sending unit, configured to send a fault recovery monitoring request to the first network element;
a failure recovery notification receiving unit, configured to receive a failure recovery notification from the first network element.
In some possible embodiments, the stop instruction sending unit includes:
a pause request receiving unit, configured to receive a pause request from the first network element, where the pause request is used to request to pause acquisition of the first data;
a stop instruction sending subunit, configured to send a pause instruction or a stop instruction to the third network element.
In some possible embodiments, the method further comprises:
a first instruction sending unit, configured to send the first request message to the first network element and send a restart instruction of the second data to the third network element after sending a pause instruction to the third network element, where the restart instruction is used to instruct to acquire the second data;
and/or the presence of a gas in the gas,
a second instruction sending unit, configured to send the first request message to the first network element and send the second request message to the third network element after sending the termination instruction to the third network element.
The embodiment of the present application provides another data transmission apparatus, where a second network element sends a first request message to a first network element, where the first request message includes an identifier of first data; the second network element sends a second request message to a third network element, wherein the second request message comprises an identifier of second data, and the second data is associated with the first data; and when the first data acquisition fails, the second network element sends a pause instruction or a termination instruction to the third network element, wherein the pause instruction is used for indicating that the acquisition of the second data is paused, and the termination instruction is used for indicating that the acquisition of the second data is terminated. In this embodiment of the present application, the second network element may suspend or terminate acquisition of the second data associated with the first data after the acquisition of the first data fails, thereby reducing acquisition of invalid data and improving a resource utilization rate of a third network element that acquires the second data.
An embodiment of the present invention further provides a data transmission system, which specifically corresponds to the functions of the data transmission method described above, and the system includes: a first network element, a second network element and a third network element, as shown with reference to fig. 5.
The second network element is configured to send a first request message to the first network element, where the first request message includes an identifier of first data and an identifier of the third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element;
the first network element is configured to receive the first request message; collecting the first data and sending the first data to the second network element; if the receiving confirmation information from the second network element is not obtained, the first network element sends the first data to the third network element, and the receiving confirmation information is used for indicating that the second network element receives the first data;
the third network element is configured to receive the first data and send the first data to the second network element.
In some possible embodiments, the first network element is further configured to: and sending a transfer identifier to the third network element, where the transfer identifier is used to indicate to forward the first data to the second network element.
In some possible embodiments, before the first network element sends the first data to the third network element, the first network element is further configured to: sending a transfer request to a third network element, where the transfer request is used to request to forward the first data to the second network element;
the third network element is further configured to: and when the first data has the capability of forwarding the first data, transmitting transit confirmation information to the first network element.
In some possible embodiments, the first network element is further configured to:
sending at least one of the following information to the third network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, if the reception acknowledgement information from the second network element is not obtained, the sending, by the first network element, the first data to a third network element includes:
if the first network element does not acquire the receiving confirmation information from the second network element within the preset retransmission waiting time of the first data, retransmitting the first data to the second network element;
and if the number of times of retransmitting the first data reaches the preset number of times of retransmitting the first data, the first network element sends the first data to the third network element.
In some possible embodiments, the first request message further comprises at least one of the following information: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
In some possible embodiments, the second network element is further configured to send, to the third network element, reception confirmation information, where the reception confirmation information includes an identifier of the first data.
In some possible embodiments, the third network element is further configured to receive a reception confirmation message from the second network element, and send the reception confirmation message to the first network element.
In some possible embodiments, after receiving the first data, the second network element is further configured to: and performing persistence processing on the first data.
In some possible embodiments, the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
The embodiment of the present application provides a data transmission system, where a first network element receives a first request message from a second network element, where the first request message may include an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element, so that the first network element may collect the first data and send the first data to the second network element, and if the second network element receives the first data, send a reception confirmation message to the first network element and indicate that the second network element receives the first data, so that if the first network element does not obtain the reception confirmation message from the second network element, which indicates that the first data is lost in a transmission process, the first network element may send the first data to the third network element, and the third network element may forward the first data. That is to say, in the embodiment of the present application, even if the data transmission device is caused by a failure of the communication link between the first network element and the second network element, the second network element may receive the first data from the first network element through the third network element, thereby providing the fault tolerance of the system and reducing the data loss.
Another data transmission system provided in the embodiment of the present application specifically corresponds to the functions of the data transmission method described above, and includes: a first network element, a second network element and a third network element, as shown with reference to fig. 5.
The second network element is used for sending a first request message to the first network element, wherein the first request message comprises an identifier of the first data; sending a second request message to a third network element, wherein the second request message comprises an identifier of second data, and the second data is associated with the first data;
and when the first data acquisition fails, the second network element sends a pause instruction or a termination instruction to the third network element, wherein the pause instruction is used for indicating that the acquisition of the second data is paused, and the termination instruction is used for indicating that the acquisition of the second data is terminated.
In some possible embodiments, when the first data collection fails, the sending, by the second network element, a pause instruction or a termination instruction to the third network element includes:
and the second network element does not receive the first data within the preset waiting time of the first data, and sends a pause instruction or a termination instruction to the third network element.
In some possible embodiments, the second network element is further configured to:
sending a fault recovery monitoring request to the first network element; receiving a failure recovery notification from the first network element.
In some possible embodiments, when the first data collection fails, the sending, by the second network element, a pause instruction or a termination instruction to the third network element includes:
the second network element receives a pause request from the first network element, wherein the pause request is used for requesting to pause the acquisition of the first data; and sending a pause instruction or a termination instruction to the third network element.
In some of the possible embodiments, the first and second,
after the second network element sends the pause instruction to the third network element, the second network element is further configured to: sending the first request message to the first network element, and sending a restart instruction of the second data to the third network element, where the restart instruction is used to instruct to acquire the second data;
the third network element is further configured to: and acquiring the second data based on the second request message according to the restart instruction.
After the second network element sends the termination instruction to the third network element, the second network element is further configured to: sending the first request message to the first network element, and sending the second request message to the third network element;
the third network element is further configured to: and acquiring the second data according to the second request message.
In another data transmission system provided in the embodiment of the present application, a second network element sends a first request message to a first network element, where the first request message includes an identifier of first data; the second network element sends a second request message to a third network element, wherein the second request message comprises an identifier of second data, and the second data is associated with the first data; and when the first data acquisition fails, the second network element sends a pause instruction or a termination instruction to the third network element, wherein the pause instruction is used for indicating that the acquisition of the second data is paused, and the termination instruction is used for indicating that the acquisition of the second data is terminated. In this embodiment of the present application, the second network element may suspend or terminate acquisition of the second data associated with the first data after the acquisition of the first data fails, thereby reducing acquisition of invalid data and improving a resource utilization rate of a third network element that acquires the second data.
Next, a data transmission device in the embodiment of the present application will be described. Referring to fig. 21, the data transmission apparatus 900 includes:
a receiver 901, a transmitter 902, a processor 903 and a memory 904 (wherein the number of the processors 903 in the data transmission device 900 may be one or more, and one processor is taken as an example in fig. 20). In some embodiments of the present application, the receiver 901, the transmitter 902, the processor 903 and the memory 904 may be connected by a bus or other means, wherein the connection by the bus is exemplified in fig. 20.
The memory 904 may include both read-only memory and random-access memory, and provides instructions and data to the processor 903. A portion of the memory 904 may also include NVRAM. The memory 904 stores an operating system and operating instructions, executable modules or data structures, or a subset or an expanded set thereof, wherein the operating instructions may include various operating instructions for performing various operations. The operating system may include various system programs for implementing various basic services and for handling hardware-based tasks.
The processor 903 controls the operation of the terminal device, and the processor 903 may also be referred to as a CPU. In a specific application, the components of the device for generating messages are coupled together by a bus system, wherein the bus system may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. For clarity of illustration, the various buses are referred to in the figures as a bus system.
The method disclosed in the embodiments of the present application may be applied to the processor 903, or implemented by the processor 903. The processor 903 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 903. The processor 903 may be a general purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 904, and the processor 903 reads information in the memory 904 and performs the steps of the above method in combination with hardware thereof.
The receiver 901 may be used to receive input numeric or character information and generate signal inputs related to the relevant settings and function controls of the user plane device, the transmitter 902 may include a display device such as a display screen, and the transmitter 902 may be used to output numeric or character information through an external interface.
In the embodiment of the present application, the receiver 901 and the transmitter 902 are used to implement data transceiving. And the processor 903 is configured to implement data transceiving through the receiver 901 and the transmitter 902, and complete a data transmission process performed by the foregoing data transmission device.
The embodiment of the present application further provides a computer-readable storage medium for storing a program code, where the program code is used to execute any one implementation of the data transmission method of the foregoing embodiments.
The present application further provides a computer program product including instructions, which when run on a computer, causes the computer to execute any one of the embodiments of a data transmission method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (26)

1. A method of data transmission, the method comprising:
a first network element receives a first request message from a second network element, wherein the first request message comprises an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used for indicating the network element which forwards the first data to the second network element;
the first network element collects the first data and sends the first data to the second network element;
and if the receiving confirmation information from the second network element is not acquired, the first network element sends the first data to the third network element, and the receiving confirmation information is used for indicating that the second network element receives the first data.
2. The method of claim 1, further comprising:
and the first network element sends a transfer identifier to the third network element, wherein the transfer identifier is used for indicating to forward the first data to the second network element.
3. The method of claim 1 or 2, wherein before the first network element sends the first data to the third network element, further comprising:
the first network element sends a transfer request to a third network element, wherein the transfer request is used for requesting to forward the first data to the second network element;
and the first network element receives transit confirmation information sent by the third network element when the third network element has the capability of forwarding the first data.
4. The method of claim 2 or 3, further comprising:
the first network element sends at least one of the following information to the third network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
5. The method according to any one of claims 1 to 4, wherein the sending, by the first network element, the first data to the third network element if the reception acknowledgement information from the second network element is not obtained includes:
if the first network element does not acquire the reception confirmation information from the second network element within the preset retransmission waiting duration of the first data, retransmitting the first data to the second network element;
and if the number of times of retransmitting the first data reaches the preset number of times of retransmitting the first data, the first network element sends the first data to the third network element.
6. The method of any of claims 1-5, wherein the first request message further comprises at least one of: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
7. The method of any of claims 1-6, wherein the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
8. A method of data transmission, comprising:
a second network element sends a first request message to a first network element, wherein the first request message comprises an identifier of first data;
the second network element sends a second request message to a third network element, wherein the second request message comprises an identifier of second data, and the second data is associated with the first data;
and when the first data acquisition fails, the second network element sends a pause instruction or a termination instruction to the third network element, wherein the pause instruction is used for indicating that the acquisition of the second data is paused, and the termination instruction is used for indicating that the acquisition of the second data is terminated.
9. The method of claim 8, wherein when the first data collection fails, the second network element sends a pause instruction or a termination instruction to the third network element, comprising:
and when the second network element does not receive the first data within the preset waiting time of the first data, the second network element sends the pause instruction or the termination instruction to the third network element.
10. The method of claim 9, wherein the method further comprises:
the second network element sends a fault recovery monitoring request to the first network element;
the second network element receives a failure recovery notification from the first network element.
11. The method of claim 8, wherein when the first data collection fails, the second network element sends a pause instruction or a termination instruction to the third network element, comprising:
the second network element receives a pause request from the first network element, wherein the pause request is used for requesting to pause the acquisition of the first data;
and the second network element sends the pause instruction or the termination instruction to the third network element.
12. The method according to any one of claims 8 to 11,
after the second network element sends the pause instruction to the third network element, the method further includes:
the second network element sends a restart instruction of the second data to the third network element, wherein the restart instruction is used for indicating to collect the second data;
after the second network element sends the termination instruction to the third network element, the method further includes:
and the second network element sends the second request message to the third network element.
13. A data transmission apparatus, applied to a first network element, the apparatus comprising:
a first request message receiving unit, configured to receive a first request message from a second network element, where the first request message includes an identifier of first data and an identifier of a third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element;
a first data sending unit, configured to collect the first data and send the first data to the second network element;
a first data forwarding unit, configured to send the first data to the third network element if the reception acknowledgement information from the second network element is not obtained, where the reception acknowledgement information is used to indicate that the second network element receives the first data.
14. The apparatus of claim 13, wherein the first data forwarding unit is further configured to:
and sending a transfer identifier to the third network element, where the transfer identifier is used to indicate to forward the first data to the second network element.
15. The apparatus of claim 13 or 14, further comprising:
a transfer request sending unit, configured to send a transfer request to a third network element before sending the first data to the third network element, where the transfer request is used to request to forward the first data to the second network element;
a transit confirmation information receiving unit, configured to receive transit confirmation information sent by the third network element when the third network element has the capability of forwarding the first data.
16. The apparatus of claim 14 or 15, further comprising:
a further information sending unit, configured to send at least one of the following information to the third network element: the identifier of the first network element, the identifier of the second network element, the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
17. The apparatus of any of claims 13-16, wherein the first data forwarding unit comprises:
a retransmission unit, configured to retransmit the first data to the second network element if the reception acknowledgement information from the second network element is not obtained within a preset retransmission waiting duration of the first data;
a first data forwarding subunit, configured to send the first data to the third network element if the number of times of retransmitting the first data reaches a preset number of times of retransmitting the first data.
18. The apparatus of any one of claims 13-17, wherein the first request message further comprises at least one of: the data type of the first data, the data acquisition interval of the first data, the data acquisition duration of the first data, the transmission cycle of the first data, the preset retransmission waiting duration of the first data, and the preset retransmission times of the first data.
19. The apparatus of any one of claims 13-18, wherein the first network element and the third network element are data acquisition network elements, and the second network element is a data processing network element;
the data acquisition network element is a distributed unit, and the data processing network element is a centralized unit; or the data acquisition network element is a core network unit, and the data processing network element is a data analysis network element; or the data acquisition network element is a base station and/or a centralized unit, and the data processing network element is an operation and maintenance support system; or the data acquisition network element is a base station and/or a distributed unit, and the data processing network element is an operation and maintenance support system.
20. A data transmission apparatus, applied to a second network element, the apparatus comprising:
a first request message sending unit, configured to send a first request message to a first network element, where the first request message includes an identifier of first data;
a second request message sending unit, configured to send a second request message to a third network element, where the second request message includes an identifier of second data, and the second data is associated with the first data;
a stop instruction sending unit, configured to send a pause instruction or a stop instruction to the third network element when the first data acquisition fails, where the pause instruction is used to instruct to pause acquisition of the second data, and the stop instruction is used to instruct to stop acquisition of the second data.
21. The apparatus of claim 20, wherein the stop instruction sending unit is specifically configured to:
and when the first data is not received within the preset waiting time of the first data, sending the pause instruction or the termination instruction to the third network element.
22. The apparatus of claim 21, wherein the apparatus further comprises:
a monitoring request sending unit, configured to send a fault recovery monitoring request to the first network element;
a failure recovery notification receiving unit, configured to receive a failure recovery notification from the first network element.
23. The apparatus of claim 20, wherein the stop instruction transmitting unit comprises:
a pause request receiving unit, configured to receive a pause request from the first network element, where the pause request is used to request to pause acquisition of the first data;
a stop instruction sending subunit, configured to send the pause instruction or the termination instruction to the third network element.
24. The apparatus of any one of claims 20-23, further comprising:
a first instruction sending unit, configured to send a restart instruction of the second data to the third network element after sending a pause instruction to the third network element, where the restart instruction is used to instruct to acquire the second data;
and/or the presence of a gas in the gas,
a second instruction sending unit, configured to send the second request message to the third network element after sending the termination instruction to the third network element.
25. A data transmission system, comprising a first network element, a second network element and a third network element;
the second network element is configured to send a first request message to the first network element, where the first request message includes an identifier of first data and an identifier of the third network element, and the identifier of the third network element is used to indicate a network element that forwards the first data to the second network element;
the first network element is configured to receive the first request message; collecting the first data and sending the first data to the second network element; if the receiving confirmation information from the second network element is not obtained, the first network element sends the first data to the third network element, and the receiving confirmation information is used for indicating that the second network element receives the first data;
the third network element is configured to receive the first data and send the first data to the second network element.
26. A data transmission system, comprising a first network element, a second network element and a third network element;
the second network element is configured to send a first request message to the first network element, where the first request message includes an identifier of first data; sending a second request message to the third network element, wherein the second request message comprises an identifier of second data, and the second data is associated with the first data;
and when the first data acquisition fails, the second network element sends a pause instruction or a termination instruction to the third network element, wherein the pause instruction is used for indicating that the acquisition of the second data is paused, and the termination instruction is used for indicating that the acquisition of the second data is terminated.
CN201910394138.7A 2019-05-13 2019-05-13 Data transmission method, device and equipment Active CN111935756B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910394138.7A CN111935756B (en) 2019-05-13 2019-05-13 Data transmission method, device and equipment
PCT/CN2020/089727 WO2020228689A1 (en) 2019-05-13 2020-05-12 Data transmission method, apparatus, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910394138.7A CN111935756B (en) 2019-05-13 2019-05-13 Data transmission method, device and equipment

Publications (2)

Publication Number Publication Date
CN111935756A true CN111935756A (en) 2020-11-13
CN111935756B CN111935756B (en) 2022-08-26

Family

ID=73282797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910394138.7A Active CN111935756B (en) 2019-05-13 2019-05-13 Data transmission method, device and equipment

Country Status (2)

Country Link
CN (1) CN111935756B (en)
WO (1) WO2020228689A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615162A (en) * 2020-11-23 2022-06-10 中国移动通信有限公司研究院 Network data acquisition and reporting method and device
WO2023011630A1 (en) * 2021-08-06 2023-02-09 华为技术有限公司 Authorization verification method and apparatus
WO2023231770A1 (en) * 2022-05-31 2023-12-07 华为技术有限公司 Communication method and apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019032968A1 (en) * 2017-08-11 2019-02-14 Convida Wireless, Llc Network data analytics in a communications network
CN109600759A (en) * 2017-09-30 2019-04-09 华为技术有限公司 A kind of method and communication device that strategy is determining

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019032968A1 (en) * 2017-08-11 2019-02-14 Convida Wireless, Llc Network data analytics in a communications network
CN109600759A (en) * 2017-09-30 2019-04-09 华为技术有限公司 A kind of method and communication device that strategy is determining

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "UPF data collection", 《3GPP TSG-SA WG2 MEETING #131 S2-1901734》 *
HUAWEI,HISILICON: "Solution for Key Issue 3: Interactions with 5GC NFs/AFs for Data Collection", 《SA WG2 MEETING #127BIS S2-185280》 *
HUAWEI,HISILICON: "Update to Use Case NWDA-Assisted Traffic Handling", 《SA WG2 MEETING #125 S2-181966》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615162A (en) * 2020-11-23 2022-06-10 中国移动通信有限公司研究院 Network data acquisition and reporting method and device
WO2023011630A1 (en) * 2021-08-06 2023-02-09 华为技术有限公司 Authorization verification method and apparatus
WO2023231770A1 (en) * 2022-05-31 2023-12-07 华为技术有限公司 Communication method and apparatus

Also Published As

Publication number Publication date
CN111935756B (en) 2022-08-26
WO2020228689A1 (en) 2020-11-19

Similar Documents

Publication Publication Date Title
CN111935756B (en) Data transmission method, device and equipment
EP3742795A1 (en) Quality of service (qos) parameter processing method, network element, system, and storage medium
CN110557786B (en) Method and device for establishing radio bearer and monitoring service flow
CN110381535B (en) Transmission control method and device
CN109246770B (en) Switching method, terminal equipment and network equipment
CN109756994B (en) Method and device for recovering terminal state, base station and terminal
US20190097753A1 (en) Quality parameter transmission method, terminal, and network side device
WO2017219972A1 (en) Network element management method, device and system, control plane function entity, and storage medium
CN109996216B (en) Subscription request processing method, network entity and capability opening platform
EP3142442B1 (en) Method, device and system for controlling air interface resources
EP3051893A1 (en) Paging method, network device and communication system
US10009788B2 (en) Congestion monitoring of mobile entities
EP4096290A1 (en) Quality of service qos parameter processing method and network element, system, and storage medium
CN112543468B (en) Disaster recovery method for gateway equipment and communication equipment
CN108632869B (en) Transmission control method and device
CN105282803A (en) Communication interface and information transfer method and system based on the same
US11963034B2 (en) Communication method and apparatus
CN111800354A (en) Message processing method and device, message processing equipment and storage medium
CN113747478A (en) Communication method and device
JP2019527503A (en) Data retransmission method and apparatus
CN112312585B (en) Method for controlling access to user equipment, network system and related equipment
CN105592485A (en) Method for collecting and processing messages in real time based on SNMP
CN106465176B (en) Congestion monitoring of mobile entities
CN113597021A (en) Communication method, device and system
CN116528401B (en) Communication method, core network element, user equipment and communication system

Legal Events

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