CN109429215B - Data transmission method, related device and computer readable storage medium - Google Patents
Data transmission method, related device and computer readable storage medium Download PDFInfo
- Publication number
- CN109429215B CN109429215B CN201710537109.2A CN201710537109A CN109429215B CN 109429215 B CN109429215 B CN 109429215B CN 201710537109 A CN201710537109 A CN 201710537109A CN 109429215 B CN109429215 B CN 109429215B
- Authority
- CN
- China
- Prior art keywords
- target
- session
- sending end
- receiving end
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer And Data Communications (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a data transmission method, related equipment and a computer readable storage medium, and relates to the technical field of communication. The data transmission method comprises the following steps: the sending end selects a target receiving end according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information, wherein the load balancing rule is a message transmission mode; establishing a session link between the sending end and the target receiving end, and storing the information of the session link in a local cache of the sending end; and the sending end sends the target message belonging to the target session type to the target receiving end through the session link. The embodiment of the invention can improve the transmission speed of the message between the sending end and the target receiving end.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method, a related device, and a computer-readable storage medium.
Background
With the development of mobile communication technology, the fifth Generation (5th-Generation, 5G) mobile communication technology has also been greatly developed. Among them, the Radio Access Network (RAN) architecture of the 5G technology is mainly implemented by a Centralized Unit (CU) and a Distributed Unit (DU). In the prior art, when data is transmitted between a CU and a DU, both the CU and the DU can be used as a sender and a receiver of a message. Each time a CU and a DU send or receive a message, the CU and the DU access the database, which results in a reduction in the speed of transmitting the message.
Disclosure of Invention
Embodiments of the present invention provide a data transmission method, a related device, and a computer-readable storage medium, which solve the problem of slow transmission speed of messages between a CU and a DU.
In order to achieve the above object, an embodiment of the present invention provides a data transmission method, including:
the sending end selects a target receiving end according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information, wherein the load balancing rule is a message transmission mode;
establishing a session link between the sending end and the target receiving end, and storing the information of the session link in a local cache of the sending end;
and the sending end sends the target message belonging to the target session type to the target receiving end through the session link.
An embodiment of the present invention further provides a data transmission device, including:
the system comprises a selection module, a target receiving end and a sending end, wherein the selection module is used for the sending end to select the target receiving end according to a target session type included in pre-configured publish-subscribe capability and a load balancing rule included in pre-configured session information, and the load balancing rule is a message transmission mode;
the establishing module is used for establishing a session link between the sending end and the target receiving end and storing the information of the session link in a local cache of the sending end;
a first sending module, configured to send, by the sending end, a target message belonging to the target session type to the target receiving end through the session link.
The embodiment of the present invention further provides a communication device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the data transmission method when executing the program.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the data transmission method described above.
One of the above technical solutions has the following advantages or beneficial effects:
in the embodiment of the invention, the sending end selects the target receiving end according to the target session type included in the pre-configured publish-subscribe capability and the load balancing rule included in the pre-configured session information, then establishes the session link with the target receiving end, and finally sends the target message to the target receiving end through the session link. Through the steps, when the sending end and the target receiving end send the messages, the number of times of interaction with the database server is reduced, and the transmission speed of the messages between the sending end and the target receiving end is improved, namely the transmission speed of the messages between the CU and the DU is improved.
Drawings
Fig. 1 is a diagram of a network structure according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another data transmission method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of another data transmission method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another communication device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a network structure diagram, and the embodiment of the present invention may be applied to transmission of messages between CUs and DUs.
In fig. 1, a CU may be a sending end, and a DU may be a receiving end, and according to an architecture scheme between the CU and the DU, it can be known that:
the DUs may contain physical layer functions related to scheduling, link adaptation, power control, interference coordination, retransmission, modulation coding, etc. of the access network. The part has high requirements on timing and processing real-time performance and large calculation amount, and the processing specification and energy efficiency of the current hardware accelerator are far higher than those of a general processor, so that the part still needs to be realized by adopting special hardware and is deployed in a site close to a service.
A CU may include Radio Resource Management (RRM), Radio Resource Control (RRC), Radio Link Control (RLC), or Self-Organized Network (SON), etc. The method is characterized by involving the processing of switching, cell selection and reselection, encryption completion protection, multi-connection convergence and the like, wherein the real-time requirement of the part of functions is low, the time delay can be as long as tens of milliseconds, the method is suitable for being placed in a CU for centralized deployment, and the technologies of Network Function Virtualization (NFV), Software Defined Networking (SDN) and the like are applied to carry out processing based on a general processor.
A Core Network (CN) may be connected to the CUs.
As shown in fig. 2, a flow diagram of a data transmission method provided in an embodiment of the present invention includes:
step S201, the sending end selects a target receiving end according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information.
The load balancing rule may refer to a transfer manner of a message between a sending end and a target receiving end, and specifically may include a point-to-point transfer manner or a broadcast transfer manner. The point-to-point transmission mode is that one sending end corresponds to one receiving end, namely, the sending end corresponds to one receiving end in a one-to-one correspondence relationship; the broadcast transmission mode is that one sending end corresponds to a plurality of receiving ends, and the sending end corresponds to the receiving ends in a one-to-many correspondence relationship. The receiving end is selected by determining which transfer method is specific. For example, if the transmission mode is point-to-point, a unique target receiving end is selected; if the broadcast delivery method is adopted, a plurality of target receiving ends can be selected.
The pre-configured publish-subscribe capability and the pre-configured session information can be stored in a local cache of the sending end, and the local cache of the sending end can also store a logical address from the sending end to the target receiving end in addition to the publish-subscribe capability and the session information.
Optionally, when the sending end is a DU, the receiving end is a CU; or the sending end is CU, and the receiving end is DU. That is, the data transmission method provided in the embodiment of the present invention may be applied to message transmission between a CU and a DU, where the CU may send a message to the DU, and the DU may also send a message to the CU. The specific transmission method is not limited herein.
Step S202, a session link is established between the sending end and the target receiving end, and the information of the session link is stored in a local cache of the sending end.
The information of the session link may include an identifier of the session link or a load of the session link. When the sending end needs to send the message, the identification of the session link can be directly searched, so that the session link can be searched, and the session link is further selected to send the message. Meanwhile, whether the message can be sent through the session link can be judged according to whether the size of the memory of the message exceeds the load of the session link, and if the memory of the message does not exceed the load of the session link, the message can be sent through the session link.
Step S203, the sending end sends the target message belonging to the target session type to the target receiving end through the session link.
The target message belongs to the message of the target session type, and the sending end sends the target message to the target receiving end through the session link without sending other messages which do not belong to the target session type.
In the embodiment of the invention, the sending end selects the target receiving end according to the target session type included in the pre-configured publish-subscribe capability and the load balancing rule included in the pre-configured session information, then establishes the session link with the target receiving end, and finally sends the target message to the target receiving end through the session link. Through the steps, when the sending end and the target receiving end send the messages, the number of times of interaction with the database server is reduced, and the transmission speed of the messages between the sending end and the target receiving end is improved, namely the transmission speed of the messages between the CU and the DU is improved.
As shown in fig. 3, an embodiment of the present invention provides another data transmission method, including:
step S301, the sending end obtains the publish-subscribe capability and the session information from a database server.
The publishing subscription capability and the session information are configured when the database server is powered on for the sending end and the receiving end. When the sending end and the receiving end are powered on, the interaction with the database server does not affect the message receiving and sending efficiency.
It should be noted that step S301 is optional.
In the embodiment, the database server configures and issues the subscription capability and the session information for the sending end and the receiving end when being powered on, so that the time for the sending end and the receiving end to interact with the database server respectively after the successful power-on in the prior art is saved, and the message sending rate is not influenced.
Optionally, step S302 may further include:
the sending end issues a target message;
the sending end inquires a target session type to which the target message belongs according to the target message;
and when the target session type is inquired, the sending end acquires the target session type.
The publish-subscribe capability may further include a publish message list, a subscribe message list, or a message name. And the sending end issues the name of the target message, and queries the type of the target session to which the target message belongs according to the name of the target message, so as to obtain the type of the target session to which the target message belongs, thereby enabling the subsequent steps to select the target receiving end according to the type of the target session.
The sending end issues the name of the target message, and may also query whether the target message exists in both the issued message list and the subscribed message list according to the name of the target message, if both exist, the target session type may be queried and acquired according to the target message, if there is no issued message list or no subscribed message list, the target session type may not be queried and acquired according to the target message, and the name of the target message needs to be replaced by the name of the target message existing in both the issued message list and the subscribed message list, so that the sending end may query and acquire the target session type, and then the sending end selects the target receiving end according to the target session type.
In this embodiment, the sending end issues the target message, and queries and obtains the target session type to which the target message belongs according to the target message, so that the subsequent sending end can conveniently select the target receiving end according to the target session type.
Step S302, the sending end selects a target receiving end according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information.
The session information may further include a session scope or a session name, and the session scope refers to whether the message is transmitted inside the CU or the DU or between the CU and the DU. It should be apparent that, in the embodiment of the present invention, the session scope refers to a case where messages are transferred between CUs and DUs. Of course, optionally, before step S302, it may be determined whether both parties of message delivery are a CU and a DU according to the session scope, and if so, the data transmission method provided in the embodiment of the present invention may be applied when data is transmitted between the CU and the DU.
The session name corresponding to the target session type is selected, and when the sending end selects the receiving end, the target receiving end which subscribes to the session name can be selected.
Step S303, a session link is established between the sending end and the target receiving end, and the information of the session link is stored in a local cache of the sending end.
Optionally, before step S304, the method may further include:
and the sending end sends a request for measuring the load to the target receiving end.
And the sending end receives the measurement load sent by the target receiving end.
And when the measured load is smaller than a load threshold value which is cached at the sending end locally in advance, the sending end sends a target message which belongs to the target session type to the target receiving end through the session link.
The local cache of the sending end may further include a load threshold of the target receiving end, and the sending end sends the target message to the target receiving end by determining that the measured load of the target receiving end is smaller than the load threshold, where it needs to be noted that a specific numerical value of the load threshold is not limited herein.
In this embodiment, the sending end sends the target message to the target receiving end only after determining that the measurement load of the target receiving end is smaller than the load threshold value, and through the above steps, the target receiving end can avoid the phenomenon that the receiving efficiency of the target receiving end is affected because the number of messages to be received is too large.
Step S304, the sending end sends the target message belonging to the target session type to the target receiving end through the session link.
The publish-subscribe capability may further include a priority of message scheduling. The priority of message scheduling is that a terminal level message is prior to a cell level message, the cell level message is prior to a media surface message, that is, if a plurality of target messages all belonging to a target session type need to be sent, the levels of the target messages can be judged, the target messages belonging to the terminal level are sent preferentially, the target messages belonging to the cell level are sent secondly, and the target messages belonging to the media surface are sent finally.
In this embodiment, various optional embodiments are provided, and the various optional embodiments may be used alone or in combination to achieve the purpose of increasing the transmission speed of the message between the sending end and the target receiving end.
As shown in fig. 4, an embodiment of the present invention provides a data transmission method, which may include:
step S401, a session link is established between the target receiving end and the transmitting end.
Step S402, the target receiving end receives the target message sent by the sending end through the session link.
Optionally, before step S402, the method may further include:
the target receiving end acquires publish-subscribe capability and session information from a database server, wherein the publish-subscribe capability and the session information are configured by the database server when the transmitting end and the target receiving end are powered on, the publish-subscribe capability comprises a target session type, and the session information also comprises a target session instance;
in the embodiment, the database server configures the publishing subscription capability and the session information for the target receiving end and the transmitting end when being powered on, so that the time for the transmitting end and the receiving end to interact with the database server respectively after the successful power-on in the prior art is saved, and the message transmitting rate is not influenced.
Optionally, step S402 may include:
and the target receiving end establishes a session link with the transmitting end according to the target session type and the target session example.
In this embodiment, through the above steps, the target receiving end and the sending end may also respectively reduce the number of times of interaction with the database server, and the transmission speed of the message between the sending end and the target receiving end is increased.
As shown in fig. 5, an embodiment of the present invention provides a data transmission apparatus 500, which may include:
a selecting module 501, configured to select, by a sending end, a target receiving end according to a target session type included in a pre-configured publish-subscribe capability and a load balancing rule included in pre-configured session information, where the load balancing rule is a message propagation manner;
an establishing module 502, configured to establish a session link between the sending end and the target receiving end, and store information of the session link in a local cache of the sending end;
a first sending module 503, configured to send, by the sending end, a target message belonging to the target session type to the target receiving end through the session link.
Optionally, as shown in fig. 6, the data transmission apparatus 500 may further include:
a first obtaining module 504, configured to obtain, by the sender, the publish-subscribe capability and the session information from a database server, where the publish-subscribe capability and the session information are configured by the database server when the sender and the target receiver are powered on.
Optionally, as shown in fig. 7, the data transmission apparatus 500 may further include:
a publishing module 505, configured to publish, by the sending end, a target message;
a query module 506, configured to query, by the sending end, a target session type to which the target message belongs according to the target message;
a second obtaining module 507, configured to, when the target session type is queried, obtain, by the sending end, the target session type.
Optionally, as shown in fig. 8, the data transmission apparatus 500 may further include:
a second sending module 508, configured to send, by the sending end, a request for measuring a load to the target receiving end;
a receiving module 509, configured to receive, by the sending end, the measurement load sent by the target receiving end;
a first sending module 503, configured to, when the measured load is smaller than a load threshold value pre-cached locally at the sending end, send, by the sending end, a target message belonging to the target session type to the target receiving end through the session link.
Wherein, it should be noted that, if the sending end is DU, the receiving end is CU; or the sending end is CU, and the receiving end is DU. The specific types of the sending end and the receiving end are not limited herein.
It should be noted that, in the embodiment of the present invention, the data transmission apparatus 500 in the embodiment may implement the steps in the embodiment of the data transmission method shown in fig. 2 to fig. 3 in the embodiment of the present invention, and achieve the same beneficial effects, which are not described herein again.
As shown in fig. 9, an embodiment of the present invention further provides a data transmission apparatus 900, including:
an establishing module 901, configured to establish a session link between a target receiving end and a sending end;
a receiving module 902, configured to receive, by the target receiving end, a target message sent by the sending end through the session link.
Optionally, as shown in fig. 10, the data transmission apparatus 900 may further include:
an obtaining module 903, configured to obtain, by the target receiving end, publish-subscribe capability and session information from a database server, where the publish-subscribe capability and the session information are configured by the database server when the transmitting end and the target receiving end are powered on, the publish-subscribe capability includes a target session type, and the session information also includes a target session instance;
it should be noted that, in this embodiment, the receiving module 902 is configured to establish, by the target receiving end, a session link with the sending end according to the target session type and the target session instance.
It should be noted that, in the embodiment of the present invention, the data transmission apparatus 900 in the embodiment of the present invention may implement the steps in the embodiment of the data transmission method shown in fig. 4 in the embodiment of the present invention, and achieve the same beneficial effects, which are not described herein again.
As shown in fig. 11, fig. 11 is a schematic structural diagram of a communication device according to an embodiment of the present invention, and details of the data transmission method according to the embodiments shown in fig. 2 to fig. 3 can also be implemented to achieve the same effect. As shown in fig. 11, the communication device 1100 includes: a processor 1101, a transceiver 1102, a memory 1103, a user interface 1104, and a bus interface, wherein:
a processor 1101 for reading the program in the memory 1103 and executing the following processes:
the sending end selects a target receiving end according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information, wherein the load balancing rule is a message transmission mode;
establishing a session link between the sending end and the target receiving end, and storing the information of the session link in a local cache of the sending end;
and the sending end sends the target message belonging to the target session type to the target receiving end through the session link.
Wherein the transceiver 1102 is configured to receive and transmit data under the control of the processor 1101, and the transceiver 1102 includes at least two antenna ports.
In fig. 11, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 1101, and various circuits, represented by memory 1103, linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1102 may be a plurality of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. For different user devices, the user interface 1104 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 1101 is responsible for managing the bus architecture and general processing, and the memory 1103 may store data used by the processor 1101 in performing operations.
Optionally, before the sending end selects the target receiving end according to the target session type included in the pre-configured publish-subscribe capability and the load balancing rule included in the pre-configured session information, the method further includes the following steps:
the sending end obtains the publish-subscribe capability and the session information from a database server, wherein the publish-subscribe capability and the session information are configured by the database server when the sending end and the target receiving end are powered on.
Optionally, before the sending end selects the target receiving end according to the target session type included in the pre-configured publish-subscribe capability and the load balancing rule included in the pre-configured session information, the method further includes the following steps:
the sending end issues a target message;
the sending end inquires a target session type to which the target message belongs according to the target message;
and when the target session type is inquired, the sending end acquires the target session type.
Optionally, before the sending end sends the target message belonging to the target session type to the target receiving end through the session link, the method further includes the following steps:
the sending end sends a request for measuring the load to the target receiving end;
the sending end receives the measurement load sent by the target receiving end;
and when the measured load is smaller than a load threshold value which is cached at the sending end locally in advance, the sending end sends a target message which belongs to the target session type to the target receiving end through the session link.
It should be noted that, in the embodiment of the present invention, the communication device 1100 in this embodiment may implement the steps in the data transmission method embodiments shown in fig. 2 to fig. 3 in the embodiment of the present invention, and achieve the same beneficial effects, which are not described herein again.
As shown in fig. 12, fig. 12 is a schematic structural diagram of another communication device according to an embodiment of the present invention, and details of the data transmission method according to the embodiment shown in fig. 4 can also be implemented to achieve the same effect. As shown in fig. 12, the communication apparatus 1200 includes: a processor 1201, a transceiver 1202, a memory 1203, a user interface 1204 and a bus interface, wherein:
wherein, when the sending end is DU, the receiving end is CU; or when the sending end is a CU, the receiving end is a DU.
The processor 1201 is used for reading the program in the memory 1203 and executing the following processes:
a session link is established between a target receiving end and a transmitting end;
and the target receiving end receives the target message sent by the sending end through the session link.
Wherein the transceiver 1202 is configured to receive and transmit data under control of the processor 1201, and the transceiver 1202 includes at least two antenna ports.
In fig. 12, the bus architecture may include any number of interconnected buses and bridges, with various circuits linking one or more processors, represented by the processor 1201, and memory, represented by the memory 1203. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1202 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The user interface 1204 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 1201 is responsible for managing a bus architecture and general processing, and the memory 1203 may store data used by the processor 1201 in performing operations.
Optionally, before the session link is established between the target receiving end and the transmitting end, the method further includes the following steps:
the target receiving end acquires publish-subscribe capability and session information from a database server, wherein the publish-subscribe capability and the session information are configured by the database server when the transmitting end and the target receiving end are powered on, the publish-subscribe capability comprises a target session type, and the session information also comprises a target session instance;
the establishment of the session link between the target receiving end and the transmitting end comprises the following steps:
and the target receiving end establishes a session link with the transmitting end according to the target session type and the target session example.
It should be noted that, in the embodiment of the present invention, the communication device 1200 in the embodiment may implement the steps in the embodiment of the data transmission method shown in fig. 4 in the embodiment of the present invention, and achieve the same beneficial effects, which are not described herein again.
The present embodiment also provides a computer readable storage medium, and those skilled in the art will understand that all or part of the steps of the method in the embodiments shown in fig. 2-3 can be implemented by hardware associated with program instructions, and the program can be stored in a computer readable medium, and when executed, the program includes the following steps:
the sending end selects a target receiving end according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information, wherein the load balancing rule is a message transmission mode;
establishing a session link between the sending end and the target receiving end, and storing the information of the session link in a local cache of the sending end;
and the sending end sends the target message belonging to the target session type to the target receiving end through the session link.
Optionally, when the program is executed, before the sender selects the target receiver according to the target session type included in the pre-configured publish-subscribe capability and the load balancing rule included in the pre-configured session information, the method further includes the following steps:
the sending end obtains the publish-subscribe capability and the session information from a database server, wherein the publish-subscribe capability and the session information are configured by the database server when the sending end and the target receiving end are powered on.
Optionally, when the program is executed, before the sender selects the target receiver according to the target session type included in the pre-configured publish-subscribe capability and the load balancing rule included in the pre-configured session information, the method further includes the following steps:
the sending end issues a target message;
the sending end inquires a target session type to which the target message belongs according to the target message;
and when the target session type is inquired, the sending end acquires the target session type.
Optionally, when the program is executed, before the sending end sends the target message belonging to the target session type to the target receiving end through the session link, the method further includes the following steps:
the sending end sends a request for measuring the load to the target receiving end;
the sending end receives the measurement load sent by the target receiving end;
and when the measured load is smaller than a load threshold value which is cached at the sending end locally in advance, the sending end sends a target message which belongs to the target session type to the target receiving end through the session link.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The present embodiment also provides a computer readable storage medium, and those skilled in the art will understand that all or part of the steps of the method of the embodiment shown in fig. 4 can be implemented by hardware associated with program instructions, where the program may be stored in a computer readable medium, and when executed, the program includes the following steps:
a session link is established between a target receiving end and a transmitting end;
and the target receiving end receives the target message sent by the sending end through the session link.
Optionally, before the session link is established between the target receiving end and the transmitting end when the program is executed, the method further includes the following steps:
the target receiving end acquires publish-subscribe capability and session information from a database server, wherein the publish-subscribe capability and the session information are configured by the database server when the transmitting end and the target receiving end are powered on, the publish-subscribe capability comprises a target session type, and the session information also comprises a target session instance;
the establishment of the session link between the target receiving end and the transmitting end comprises the following steps:
and the target receiving end establishes a session link with the transmitting end according to the target session type and the target session example.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A method of data transmission, comprising:
the sending end selects a target receiving end according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information, wherein the load balancing rule is a transfer mode of a message between the sending end and the target receiving end, and the transfer mode comprises a point-to-point transfer mode or a broadcast transfer mode;
establishing a session link between the sending end and the target receiving end, and storing the information of the session link in a local cache of the sending end;
and the sending end sends the target message belonging to the target session type to the target receiving end through the session link.
2. The method according to claim 1, wherein before the sender selects a target receiver according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information, the method further comprises:
the sending end obtains the publish-subscribe capability and the session information from a database server, wherein the publish-subscribe capability and the session information are configured by the database server when the sending end and the target receiving end are powered on.
3. The method according to claim 1, wherein before the sender selects a target receiver according to a target session type included in the pre-configured publish-subscribe capability and a load balancing rule included in the pre-configured session information, the method further comprises:
the sending end issues a target message;
the sending end inquires a target session type to which the target message belongs according to the target message;
and when the target session type is inquired, the sending end acquires the target session type.
4. The method according to any of claims 1-3, wherein before the sender sends the target message belonging to the target session type to the target receiver over the session link, the method further comprises:
the sending end sends a request for measuring the load to the target receiving end;
the sending end receives the measurement load sent by the target receiving end;
and when the measured load is smaller than a load threshold value which is cached at the sending end locally in advance, the sending end sends a target message which belongs to the target session type to the target receiving end through the session link.
5. A data transmission apparatus, comprising:
a selecting module, configured to select, by a sending end, a target receiving end according to a target session type included in a pre-configured publish-subscribe capability and a load balancing rule included in pre-configured session information, where the load balancing rule is a transfer mode of a message between the sending end and the target receiving end, and includes a point-to-point transfer mode or a broadcast transfer mode;
the establishing module is used for establishing a session link between the sending end and the target receiving end and storing the information of the session link in a local cache of the sending end;
a first sending module, configured to send, by the sending end, a target message belonging to the target session type to the target receiving end through the session link.
6. The data transmission apparatus according to claim 5, wherein the data transmission apparatus further comprises:
a first obtaining module, configured to obtain, by the sending end, the publish-subscribe capability and the session information from a database server, where the publish-subscribe capability and the session information are configured by the database server when the sending end and the target receiving end are powered on.
7. The data transmission apparatus according to claim 5, wherein the data transmission apparatus further comprises:
the issuing module is used for issuing the target message by the sending end;
the query module is used for the sending end to query the target session type to which the target message belongs according to the target message;
and the second obtaining module is used for obtaining the target session type by the sending end when the target session type is inquired.
8. The data transmission apparatus according to any one of claims 5 to 7, characterized in that the data transmission apparatus further comprises:
a second sending module, configured to send a request for measuring a load to the target receiving end by the sending end;
a receiving module, configured to receive, by the sending end, the measurement load sent by the target receiving end;
and the first sending module is configured to, when the measured load is smaller than a load threshold value cached locally at the sending end in advance, send, by the sending end, a target message belonging to the target session type to the target receiving end through the session link.
9. A communication device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the data transmission method according to any of claims 1-4 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data transmission method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710537109.2A CN109429215B (en) | 2017-07-04 | 2017-07-04 | Data transmission method, related device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710537109.2A CN109429215B (en) | 2017-07-04 | 2017-07-04 | Data transmission method, related device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109429215A CN109429215A (en) | 2019-03-05 |
CN109429215B true CN109429215B (en) | 2021-07-06 |
Family
ID=65497657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710537109.2A Active CN109429215B (en) | 2017-07-04 | 2017-07-04 | Data transmission method, related device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109429215B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110389912A (en) * | 2019-07-22 | 2019-10-29 | 北京天融信网络安全技术有限公司 | A kind of information processing method and information processing unit |
CN115277647A (en) * | 2022-08-03 | 2022-11-01 | 康键信息技术(深圳)有限公司 | Method and device for processing real-time session message, storage medium and terminal |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1718012A1 (en) * | 2005-04-27 | 2006-11-02 | Canon Kabushiki Kaisha | Communication apparatus, communication system, and method for setting communication parameters of the communication apparatus |
CN101159569A (en) * | 2007-10-26 | 2008-04-09 | 华为技术有限公司 | Method of issuing user service capability and present server and communication service system |
CN101895468A (en) * | 2010-07-09 | 2010-11-24 | 中兴通讯股份有限公司 | Terminal equipment, core network server, service converging system and method |
CN102209313A (en) * | 2010-03-29 | 2011-10-05 | 华为技术有限公司 | Presence information subscribing method and system, resource list server and presence server |
CN103281327A (en) * | 2013-06-06 | 2013-09-04 | 百度在线网络技术(北京)有限公司 | Method, system and cloud server for multi-device safe logging |
CN103457748A (en) * | 2013-08-20 | 2013-12-18 | 北京华胜天成科技股份有限公司 | Data transmission method, system and device |
CN103634172A (en) * | 2012-08-29 | 2014-03-12 | 中国移动通信集团公司 | Method, device and system for processing multi-terminal cooperation information |
WO2014166366A1 (en) * | 2013-04-09 | 2014-10-16 | 中兴通讯股份有限公司 | Method and device for performing capability negotiation in a long term evolution cluster network |
CN104219336A (en) * | 2014-09-03 | 2014-12-17 | 深圳市腾讯计算机系统有限公司 | Method, device and system for implementing data connection |
CN105208599A (en) * | 2015-08-27 | 2015-12-30 | 北京邮电大学 | Method of load balancing between cellular network and wireless local area network |
CN105409287A (en) * | 2013-08-06 | 2016-03-16 | 松下电器(美国)知识产权公司 | Wireless communication method for D2D communication and UE |
CN106162730A (en) * | 2016-07-12 | 2016-11-23 | 上海华为技术有限公司 | A kind of method of communication, equipment and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594555B (en) * | 2011-01-17 | 2015-04-29 | 华为技术有限公司 | Security protection method for data, entity on network side and communication terminal |
CN104010382B (en) * | 2013-02-25 | 2019-02-01 | 中兴通讯股份有限公司 | Data transmission method, apparatus and system |
-
2017
- 2017-07-04 CN CN201710537109.2A patent/CN109429215B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1718012A1 (en) * | 2005-04-27 | 2006-11-02 | Canon Kabushiki Kaisha | Communication apparatus, communication system, and method for setting communication parameters of the communication apparatus |
CN101159569A (en) * | 2007-10-26 | 2008-04-09 | 华为技术有限公司 | Method of issuing user service capability and present server and communication service system |
CN102209313A (en) * | 2010-03-29 | 2011-10-05 | 华为技术有限公司 | Presence information subscribing method and system, resource list server and presence server |
CN101895468A (en) * | 2010-07-09 | 2010-11-24 | 中兴通讯股份有限公司 | Terminal equipment, core network server, service converging system and method |
CN103634172A (en) * | 2012-08-29 | 2014-03-12 | 中国移动通信集团公司 | Method, device and system for processing multi-terminal cooperation information |
WO2014166366A1 (en) * | 2013-04-09 | 2014-10-16 | 中兴通讯股份有限公司 | Method and device for performing capability negotiation in a long term evolution cluster network |
CN103281327A (en) * | 2013-06-06 | 2013-09-04 | 百度在线网络技术(北京)有限公司 | Method, system and cloud server for multi-device safe logging |
CN105409287A (en) * | 2013-08-06 | 2016-03-16 | 松下电器(美国)知识产权公司 | Wireless communication method for D2D communication and UE |
CN103457748A (en) * | 2013-08-20 | 2013-12-18 | 北京华胜天成科技股份有限公司 | Data transmission method, system and device |
CN104219336A (en) * | 2014-09-03 | 2014-12-17 | 深圳市腾讯计算机系统有限公司 | Method, device and system for implementing data connection |
CN105208599A (en) * | 2015-08-27 | 2015-12-30 | 北京邮电大学 | Method of load balancing between cellular network and wireless local area network |
CN106162730A (en) * | 2016-07-12 | 2016-11-23 | 上海华为技术有限公司 | A kind of method of communication, equipment and system |
Non-Patent Citations (7)
Title |
---|
Discussion on the function split between CU and DU;ZTE Corporation;《3GPP TSG RAN WG2 #93bis R2-162624》;20160401;全文 * |
Radio Access Architecture and Interfaces.《3GPP TR 38.801 V0.6.1》.2016, * |
RAN WG2.3rd Generation Partnership Project * |
Study on New Radio Access Technology * |
Technical Specification Group Radio Access Network * |
基于发布/订阅的通用数据交互接口模型;陈广伟,等;《华中科技大学学报(自然科学版)》;20121215(第S1期);全文 * |
无线接入网架构探讨;刘亮,陈卓,金巴,等;《移动通信》;20160817;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109429215A (en) | 2019-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3993347A1 (en) | Method and device for application migration | |
CN108513290A (en) | A kind of selection method and device of network slice | |
US11251981B2 (en) | Communication method and apparatus | |
CN108235376B (en) | User plane anchor point selection method and device | |
CN109168171B (en) | Configuration information acquisition method, device, equipment and system | |
EP4258581A2 (en) | Direct link transmission method and terminal | |
JP2020506629A (en) | Routing method and apparatus | |
US20220286877A1 (en) | Redundant session establishment method and apparatus, radio bearer establishment method and apparatus, and nodes, terminal, and medium | |
WO2019011076A1 (en) | Data processing method, apparatus, device, and computer-readable storage medium | |
CN109526039B (en) | Method and equipment for sending system information | |
CN109429215B (en) | Data transmission method, related device and computer readable storage medium | |
CN112202833A (en) | CDN system, request processing method and scheduling server | |
US11564157B2 (en) | Data transmission method, apparatus and device and computer-readable storage medium | |
CN113259874B (en) | Message processing method, electronic device and storage medium | |
CN114557063B (en) | Method for controlling connection time of terminal and AMF node for executing the method | |
US20160316395A1 (en) | Service query method, apparatus and system, and station | |
CN110856213B (en) | Method and device for switching data transmission modes, storage medium and electronic equipment | |
CN102571963A (en) | Content delivery method, device and access network equipment | |
WO2022042483A1 (en) | Information processing method and apparatus, server and internet-of-vehicles terminals | |
CN110012535B (en) | Tracking area update period determination method, user equipment and network side equipment | |
CN110324857B (en) | Method and device for processing service quality data stream | |
CN111510263A (en) | Remapping method, terminal and network side equipment | |
CN105635998B (en) | A kind of data uploading method, device and terminal | |
CN112153687B (en) | Cache information reporting method, receiving method, terminal and network side equipment | |
CN113973268B (en) | Data receiving method, data sending method, resource updating method, device and equipment |
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 |