CN110868306B - Information processing method, device, terminal equipment, server and storage medium - Google Patents

Information processing method, device, terminal equipment, server and storage medium Download PDF

Info

Publication number
CN110868306B
CN110868306B CN201810985333.2A CN201810985333A CN110868306B CN 110868306 B CN110868306 B CN 110868306B CN 201810985333 A CN201810985333 A CN 201810985333A CN 110868306 B CN110868306 B CN 110868306B
Authority
CN
China
Prior art keywords
server
rtcp
terminal equipment
group
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810985333.2A
Other languages
Chinese (zh)
Other versions
CN110868306A (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.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN201810985333.2A priority Critical patent/CN110868306B/en
Publication of CN110868306A publication Critical patent/CN110868306A/en
Application granted granted Critical
Publication of CN110868306B publication Critical patent/CN110868306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides an information processing method, an information processing device, terminal equipment, a server and a storage medium, wherein the method comprises the steps that the terminal equipment determines an RTCP port corresponding to a group where the terminal equipment is located, and sends an RTCP message to the RTCP port on the server; the RTCP message comprises equipment index information and RTCP data, so that the server performs service processing corresponding to the terminal equipment on the RTCP data according to the equipment index information. The invention can improve the concurrency of the server.

Description

Information processing method, device, terminal equipment, server and storage medium
Technical Field
Embodiments of the present invention relate to communications technologies, and in particular, to an information processing method and apparatus, a terminal device, a server, and a storage medium.
Background
In a transmission scenario of multimedia data, a server may typically concurrently transmit with multiple terminal devices at the same time.
Currently, when a server performs concurrent transmission with multiple terminal devices, each terminal device on the server may have two ports, where one port is used as a real time Transport Protocol (RTP) port for transmitting multimedia data of the terminal device, and the other port is used as a RTCP port for transmitting Control information of the terminal device through RTCP messages.
However, the number of ports on the server is limited, which limits the number of end devices that the server can support concurrent transmissions.
Disclosure of Invention
The embodiment of the invention provides an information processing method, an information processing device, terminal equipment, a server and a storage medium, and aims to increase the number of concurrent transmission terminal equipment supported by the server.
The embodiment of the invention provides an information transmission method, which comprises the following steps:
the method comprises the steps that terminal equipment determines a real-time transport control protocol (RTCP) port corresponding to a group where the terminal equipment is located; the group comprises a plurality of terminal devices;
the terminal equipment sends an RTCP message to the RTCP port on the server; the RTCP packet includes: the terminal equipment indexes information in the group and RTCP data; and the RTCP message is used for enabling the server to carry out service processing corresponding to the terminal equipment on the RTCP data according to the equipment index information.
Optionally, the determining, by the terminal device, a real-time transport control protocol RTCP port corresponding to a group in which the terminal device is located includes:
the terminal equipment receives the information of the RTCP port sent by the server;
and the terminal equipment determines the RTCP port according to the information of the RTCP port.
Optionally, the method further includes:
and the terminal equipment receives the equipment index information sent by the server.
Optionally, the device index information is located in a synchronization source SSRC domain in the RTCP message; alternatively, the first and second electrodes may be,
and if the RTCP message is a source end description SDES message, the equipment index information is positioned in a description domain of the SDES message.
Optionally, before the terminal device receives the device index information sent by the server, the method further includes:
the terminal equipment sends an access request to the server; the access request is used for enabling the server to determine an idle group and adding the terminal equipment into the idle group; the number of terminal devices connected with the server in the idle group is smaller than a preset value;
the device index information is the device index information of the terminal device in the idle group, which is allocated to the terminal device by the server.
Optionally, the method further includes:
the terminal equipment sends an exit request to the server; the exit request includes: the device index information; and the quitting request is used for enabling the server to delete the equipment index information and updating the number of the terminal equipment connected with the server in the group.
Optionally, the method further includes:
the terminal equipment receives an exit response sent by the server;
and the terminal equipment is disconnected with the server.
An embodiment of the present invention may further provide an information transmission method, including:
the server receives an RTCP message sent by the terminal equipment by adopting a real-time transport control protocol (RTCP) port corresponding to a group where the terminal equipment is located; the RTCP packet includes: the terminal equipment indexes information in the group and RTCP data; the group comprises a plurality of terminal devices;
and the server performs service processing corresponding to the terminal equipment on the RTCP data according to the equipment index information.
Optionally, before the server receives a real-time transport control protocol RTCP packet sent by the terminal device, the method further includes:
and the server sends the information of the RTCP port to the terminal equipment, wherein the information of the RTCP port is used for ensuring the terminal equipment to determine the RTCP port.
Optionally, the method further includes:
and the server sends the equipment index information to the server.
Optionally, the device index information is located in a synchronization source SSRC domain in the RTCP message; alternatively, the first and second electrodes may be,
and if the RTCP message is a source end description SDES message, the equipment index information is positioned in a description domain of the SDES message.
Optionally, before the server sends the device index information to the server, the method further includes:
the server receives an access request sent by the terminal equipment;
the server determines a group, the number of terminal equipment connected with the server of which is less than a preset value, as an idle group according to the access request, and adds the terminal equipment to the idle group;
and the server determines an RTCP port corresponding to the idle group and distributes the RTCP port to the terminal equipment, wherein the terminal equipment indexes the equipment in the idle group.
Optionally, the method further includes:
the server receives an exit request sent by the terminal equipment; the exit request includes: the device index information;
and the server deletes the equipment index information according to the quit request and updates the number of the terminal equipment connected with the server in the group.
Optionally, the method further includes:
and the server sends a quit response to the terminal equipment, wherein the quit response is used for disconnecting the terminal equipment from the server.
Optionally, the method further includes:
and the server adopts the RTCP port to send the RTCP message to other terminal equipment in the group.
An embodiment of the present invention may further provide an information processing apparatus, including:
the processing module is used for determining a real-time transport control protocol (RTCP) port corresponding to the group where the terminal equipment is located; the group where the terminal equipment is located comprises a plurality of terminal equipment;
the sending module is used for sending the RTCP message to an RTCP port corresponding to the group of the terminal equipment on the server; the RTCP packet includes: the terminal equipment indexes information in the group and RTCP data; and the RTCP message is used for enabling the server to carry out service processing corresponding to the terminal equipment on the RTCP data according to the equipment index information.
An embodiment of the present invention may further provide an information processing apparatus, including:
the receiving module is used for receiving the RTCP message sent by the terminal equipment by adopting a real-time transport control protocol (RTCP) port corresponding to the group where the terminal equipment is located; the RTCP packet includes: the terminal equipment indexes information in the group and RTCP data;
and the processing module is used for carrying out service processing corresponding to the terminal equipment on the RTCP data according to the equipment index information.
An embodiment of the present invention may further provide a terminal device, including: a memory and a processor; the memory is connected with the processor;
the memory to store program instructions;
the processor is configured to implement the information transmission method executed by any one of the terminal devices when the program instructions are executed.
An embodiment of the present invention may further provide a server, including: a memory and a processor; the memory is connected with the processor;
the memory to store program instructions;
the processor is used for realizing the information transmission method executed by any server when the program instructions are executed.
An embodiment of the present invention may further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the information transmission method executed by any one of the terminal devices.
An embodiment of the present invention may also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement an information transmission method executed by any server.
The information processing method, apparatus, terminal device, server and storage medium provided in the embodiments of the present application may determine, by the terminal device, an RTCP port corresponding to a group in which the terminal device is located, where the group includes a plurality of terminal devices, and send an RTCP packet to the RTCP port on the server, where the RTCP packet includes: the RTCP message can enable the server to perform service processing corresponding to the terminal device on the RTCP data according to the device index information. In the information transmission method, a plurality of terminal devices in the group of the terminal device can correspond to one RTCP port, so that the number of the ports for transmitting RTCP messages on the server is reduced, and the number of the ports for transmitting RTP messages is increased, thereby effectively increasing the number of the terminal devices which are supported by the server and are transmitted concurrently, and improving the concurrency of the server.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a transmission network according to an embodiment of the present invention;
fig. 2 is a first flowchart of an information transmission method according to an embodiment of the present invention;
fig. 3 is a second flowchart of an information transmission method according to an embodiment of the present application;
fig. 4 is a third flowchart of an information transmission method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information transmission apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another information transmission apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items. Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
For a better understanding of the present invention, before describing the present invention, an explanation will first be given of one applicable scenario of the present invention.
The information transmission method, the terminal device and the network device provided by the following embodiments of the present invention are applicable to a transmission network of multimedia data. Fig. 1 is a schematic structural diagram of a transmission network according to an embodiment of the present invention. As shown in fig. 1, the transmission network may include: a server 11 and a plurality of terminal devices 12. The server 11 can concurrently transmit with a plurality of terminal devices 12 at the same time. The server 11 may have an RTP port for each terminal device 12 to transmit an RTP packet corresponding to each terminal device, where the RTP packet may include multimedia data, such as audio data, of each terminal device. The server 11 may have one RTCP port for a plurality of terminal apparatuses 12 located in the same group, and the one RTCP port may be used to transmit RTCP messages of the plurality of terminal apparatuses 12, that is, the RTCP messages of the plurality of terminal apparatuses 12 may all be transmitted through the one RTCP port, where the RTCP message of each terminal apparatus 12 may include: control information of the terminal device. The plurality of terminal devices 12 in the same group transmit the respective RTCP messages through the same RTCP port, so that multiplexing of the RTCP port is realized, the number of ports is reduced, and RTP messages between the terminal devices and the server can be transmitted, thereby improving concurrency of the server.
For example, if the number of the terminal devices 12 is 4, the server 11 may use 4 ports to transmit RTP packets with 4 terminal devices 12, and use one port to transmit RTCP packets with the terminal devices 12, so that 3 ports may be saved, the server 12 may also transmit RTP packets with another 3 terminal devices, and the concurrency of the server is improved.
Assuming that the server 11 has 65535 ports, the server 11 can support 32767 ports at most for the concurrent transmission of multimedia data by using the existing scheme.
However, with the solution of the embodiments of the present invention described below, if the server 11 has M available ports and each group can have N terminal devices, the number X of the groups of the terminal devices 12 supported by the server 11 is equal to M/N groups, and each group of the terminal devices 12 has one RTCP port, then the server 11 can have M-X ports to transmit RTP packets. Assuming that the server 11 has 65535 ports and N is 500, the number X of groups supported by the server 11 may be 130, so that 65535 and 65340 ports may be used to transmit RTP packets, and since each terminal device 11 may have one port to transmit RTP packets, the server 11 may support 65340 terminal devices 12 to perform concurrent transmission of multimedia data. Under the condition that the number of the ports of the server 11 is constant, the number of the terminal devices 12 which the server 11 supports concurrent transmission can be greatly increased by adopting the scheme provided by each embodiment of the application.
The following describes an information transmission method provided by an embodiment of the present invention with reference to a plurality of examples. Fig. 2 is a first flowchart of an information transmission method according to an embodiment of the present invention. The information transmission method may be interactively performed by any one of the terminal devices 12 and the server 11 shown in fig. 1 described above. As shown in fig. 2, the information transmission method may include the following:
s201, the terminal equipment determines an RTCP port corresponding to a group where the terminal equipment is located, wherein the group comprises a plurality of terminal equipment.
The group where the terminal equipment is located and the RTCP port corresponding to the group can be determined for the server and indicated to the terminal equipment. Since the RTCP port is the RTCP port corresponding to the group, a plurality of terminal devices in the group can all correspond to the RTCP port.
S202, the terminal equipment sends an RTCP message to the RTCP port on the server, wherein the RTCP message comprises: device index information of the terminal device in the group, and RTCP data.
The RTCP message may be an RTCP message corresponding to the terminal device, and the RTCP data included in the RTCP message is control information of the terminal device. In the RTCP message, the device index information may be used to enable the server to determine the terminal device.
In addition, the terminal device may send the RTCP packet corresponding to the terminal device to the RTCP port on the server, and other terminal devices in the group may also send the RTCP packet of the other terminal devices to the RTCP port on the server.
S203, the server receives the RTCP message sent by the terminal equipment by adopting the RTCP port.
And S204, the server performs service processing corresponding to the terminal equipment on the RTCP data according to the equipment index information.
The server can analyze the RTCP message to obtain the device index information of the terminal device in the group and the RTCP data included in the RTCP message when receiving the RTCP message.
The server may determine the service processing corresponding to the terminal device according to the device index information and the preset device index and service processing corresponding relationship, and then perform the service processing corresponding to the terminal device on the RTCP data. For example, the server may determine the processing network element corresponding to the terminal device in the server according to the device index information and a preset correspondence between the device index and the processing network element, and transmit the RTCP data to the processing network element corresponding to the terminal device, where the RTCP data is processed by the processing network element corresponding to the terminal device. The processing network element may also be referred to as a traffic processing module.
The information transmission method provided by the embodiment of the invention can determine the RTCP port corresponding to the group where the terminal equipment is located through the terminal equipment, the group comprises a plurality of terminal equipment, and sends the RTCP message to the RTCP port on the server, and the RTCP message comprises: the RTCP message can enable the server to perform service processing corresponding to the terminal device on the RTCP data according to the device index information. In the information transmission method, a plurality of terminal devices in the group of the terminal devices can correspond to one RTCP port, so that the number of the ports for transmitting RTCP messages on the server is reduced, and the number of the ports for transmitting RTP messages is increased, thereby effectively increasing the number of the concurrent transmission terminal devices supported by the server.
On the basis of the information transmission method shown above, an embodiment of the present invention may further provide an information transmission method. Fig. 3 is a second flowchart of an information transmission method according to an embodiment of the present application. As shown in fig. 3, before the terminal device determines the RTCP port corresponding to the group where the terminal device is located in S201, the method may further include:
s301, the server sends the information of the RTCP port to the terminal equipment.
The server may send the information of the RTCP port to the terminal device after determining the RTCP port corresponding to the group according to the group in which the terminal device is located. The group in which the terminal device is located may be determined by the server, for example. For example, the server may first determine a group, add the terminal device to the group, and then determine the RTCP port corresponding to the group.
S302, the terminal equipment receives the RTCP port information sent by the server.
The determining, by the terminal device in S201, the RTCP port corresponding to the group where the terminal device is located may include:
s303, the terminal equipment determines the RTCP port according to the information of the RTCP port.
Optionally, the method may further include:
s304, the server sends the equipment index information to the terminal equipment.
S305, the terminal equipment receives the equipment index information sent by the server.
It should be noted that S301 and S304 may be executed simultaneously or sequentially, and the embodiment of the present invention is not limited to this. S302 and S305 may be executed simultaneously or sequentially, which is not limited in this embodiment of the present invention.
Optionally, in the method, before the server sends the device index information to the terminal device in S304, the method further includes:
s301a, the terminal device sends an access request to the server.
The terminal equipment establishes connection with the server under the condition that multimedia data can be transmitted, and sends the access request to the server under the condition that the connection with the server is established.
S301b, the server receives the access request sent by the terminal device.
S301c, the server determines the group with the number of the terminal devices connected with the server smaller than the preset value as an idle group according to the access request, and adds the terminal device to the idle group.
After receiving the access request, the server may perform group search, that is, determine that a group in which the number of terminal devices connected to the server is smaller than a preset value is an idle group, and if the idle group includes at least one group, the server may add the terminal device to any one of the groups.
If the server does not find the free group, the server can send a notification message to the terminal device to notify the terminal device that the multimedia data transmission cannot be performed.
S301d, the server determines the RTCP port corresponding to the idle group, and allocates the device index information of the terminal device in the idle group to the terminal device.
Since the server adds the terminal device to the idle group, the RTCP port corresponding to the idle group is the RTCP port corresponding to the group in which the terminal device is located.
The device index information is unique identification information, such as number information, of the terminal device in the idle group.
The server determines the allocation for the terminal device, and the device index information of the terminal device in the idle group can make the server distinguish the RTCP messages sent by different terminal devices in the idle group through the RTCP port corresponding to the idle group, and then perform corresponding service processing.
The server may send the RTCP port information and the device index information to the terminal device to inform the terminal device when determining the RTCP port corresponding to the idle group and allocating the device index information to the terminal device.
That is to say, the group where the terminal device is located, the RTCP port corresponding to the group, and the device index information of the terminal device in the group may be determined by the server when the terminal device accesses the group. The server determines a group, an RTCP port corresponding to the group and equipment index information of the terminal equipment in the group for the terminal equipment, so that the server can more effectively control multimedia transmission, the utilization rate of the port is improved, and the concurrent transmission of multimedia data by the terminal equipment as many as possible is supported.
Optionally, the device index information may be located in a Synchronization Source (SSRC) field in the RTCP message; or, if the RTCP packet is a Source Description (SDES) packet, the device index information may be located in a Description field of the SDES packet.
That is to say, in an implementation manner, when the terminal device obtains the device index information of the terminal device in the group, the terminal device may carry the device index information in an SSRC domain of an RTCP message, and send the RTCP message carrying the device index information to the RTCP port of the server.
Optionally, an embodiment of the present invention may further provide an information transmission method. The information transmission method can be exemplified in a scene where the terminal device exits the group. Fig. 4 is a third flowchart of an information transmission method according to an embodiment of the present application. As shown in fig. 4, the method may further include:
s401, the terminal equipment sends an exit request to a server; the exit request includes: the device index information.
The terminal device may send the quit request to the server when the multimedia service is ended or the connection time exceeds a preset time.
S402, the server receives the quit request sent by the terminal equipment.
S403, the server deletes the equipment index information and updates the number of the terminal equipment connected with the server in the group.
The server can search the equipment index information of the terminal equipment in the index list of the group after receiving the quitting request, and can send error prompt information to the terminal equipment if the equipment index information cannot be searched; if the device index information is found, the device index information may be deleted, and the number of the terminal devices connected to the server in the group may be updated, for example, the number may be reduced by one.
Optionally, the method may further include:
s404, the server sends an exit response to the terminal equipment.
S405, the terminal equipment receives the quit response sent by the server.
S406, the terminal device disconnects from the server.
The terminal device may disconnect the connection with the server upon receiving the exit response.
The information transmission method provided by the embodiment of the invention can also enable the terminal equipment to exit the group and disconnect the server, so as to avoid the occupation of the server by the terminal equipment, vacate resources for other terminal equipment and improve the concurrency efficiency of the server.
The embodiment of the invention also provides an information transmission device. The information transmission device can be integrated in a terminal device in a hardware and/or software mode, and executes any one of the information transmission methods executed by the terminal device. Fig. 5 is a schematic structural diagram of an information transmission apparatus according to an embodiment of the present invention. As shown in fig. 5, the information transmission device 50 may include:
a processing module 51, configured to determine an RTCP port corresponding to a group in which the terminal device is located; the group where the terminal equipment is located comprises a plurality of terminal equipment;
a sending module 52, configured to send an RTCP packet to an RTCP port corresponding to a group in which the terminal device is located on the server; the RTCP packet includes: the equipment index information of the terminal equipment in the group and RTCP data; and the RTCP message is used for enabling the server to perform service processing corresponding to the terminal equipment on the RTCP data according to the equipment index information.
Optionally, the information transmission device 50 may further include:
and the receiving module is used for receiving the information of the RTCP port sent by the server.
The processing module 51 is specifically configured to determine the RTCP port according to the information of the RTCP port.
Optionally, the receiving module is further configured to receive the device index information sent by the server.
Optionally, the device index information is located in the SSRC field in the RTCP message; alternatively, the first and second electrodes may be,
if the RTCP message is an SDES message, the equipment index information is located in the description domain of the SDES message.
Optionally, the sending module 52 is further configured to send an access request to the server; the access request is used for enabling the server to determine an idle group and adding the terminal equipment into the idle group; the number of the terminal devices connected with the server in the idle group is smaller than a preset value.
The device index information is the device index information of the terminal device in the idle group allocated by the server to the terminal device.
Optionally, the sending module 52 is further configured to send an exit request to the server; the exit request includes: the device index information; the exit request is used for enabling the server to delete the equipment index information and updating the number of the terminal equipment connected with the server in the group.
Optionally, the receiving module is further configured to receive an exit response sent by the server.
The information transmission device 50 may further include:
and the connection module is used for disconnecting the connection with the server.
The information transmission method provided in the embodiment of the present invention may be implemented by any of the above information transmission methods executed by the terminal device, and specific implementation processes and beneficial effects thereof are described above and are not described herein again.
The embodiment of the invention also provides an information transmission method. The information transmission device can be integrated in a server in a hardware and/or software mode, and executes any one of the information transmission methods executed by the server. Fig. 6 is a schematic structural diagram of another information transmission apparatus according to an embodiment of the present invention. As shown in fig. 6, the information transmission device 60 may include:
the receiving module 61 is configured to receive an RTCP message sent by a terminal device through an RTCP port corresponding to a group in which the terminal device is located; the RTCP packet includes: device index information of the terminal device in the group, and RTCP data.
And a processing module 62, configured to perform service processing corresponding to the terminal device on the RTCP data according to the device index information.
Optionally, the information transmission device 60 may further include:
and the sending module is used for sending the information of the RTCP port to the terminal equipment, and the information of the RTCP port is used for ensuring the terminal equipment to determine the RTCP port.
Optionally, the sending module is further configured to send the device index information to the server.
Optionally, the device index information is located in the SSRC field in the RTCP message; alternatively, the first and second electrodes may be,
if the RTCP message is an SDES message, the equipment index information is located in the description domain of the SDES message.
Optionally, the receiving module 61 is further configured to receive an access request sent by the terminal device.
The processing module 62 is further configured to determine, according to the access request, that the group in which the number of the terminal devices connected to the server is smaller than the preset value is an idle group, and add the terminal device to the idle group; and determining an RTCP port corresponding to the idle group, and allocating the equipment index information of the terminal equipment in the idle group to the terminal equipment.
Optionally, the receiving module 61 is further configured to receive an exit request sent by the terminal device; the exit request includes: the device index information;
the processing module 62 is further configured to delete the device index information according to the quit request, and update the number of the terminal devices connected to the server in the group.
Optionally, the information transmission device 60 further includes:
and the sending module is used for sending a quit response to the terminal equipment, and the quit response is used for disconnecting the terminal equipment from the server.
Optionally, the information transmission device 60 further includes:
and the sending module is used for sending the RTCP message to other terminal equipment in the group by adopting the RTCP port.
The information transmission method provided in the embodiment of the present invention may be implemented by any of the above information transmission methods implemented by the server, and specific implementation processes and beneficial effects thereof are described above, and are not described herein again.
The embodiment of the invention also provides the terminal equipment. Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 7, the terminal device 70 may include a memory 71 and a processor 72; the memory 71 is connected to the processor 72.
A memory 71 for storing program instructions.
A processor 72, configured to implement the information transmission method executed by any of the above-mentioned terminal devices when the program instructions are executed.
Embodiments of the present application may also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by the processor 72, implements the information transmission method executed by any one of the above-mentioned terminal devices.
The terminal device and the computer-readable storage medium provided in the embodiments of the present application may execute the information transmission method executed by the terminal device provided in any of the embodiments described above, and specific implementation processes and beneficial effects thereof are referred to above and are not described herein again.
The embodiment of the invention also provides a server. Fig. 8 is a schematic structural diagram of a terminal server according to an embodiment of the present invention. As shown in fig. 8, server 80 may include a memory 81 and a processor 82; the memory 81 is connected to the processor 82.
A memory 81 for storing program instructions;
the processor 82 is configured to, when the program instructions are executed, implement the information transmission method performed by the server provided in any of the above-described embodiments.
Embodiments of the present application may also provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by the processor 82, implements the information transmission method executed by any one of the servers.
The server and the computer-readable storage medium provided in the embodiments of the present application may execute the information transmission method executed by the server provided in any one of the embodiments, and specific implementation processes and beneficial effects thereof are described above and are not described herein again.
Finally, it should be noted that: 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 or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (21)

1. An information transmission method, comprising:
the method comprises the steps that terminal equipment determines a real-time transport control protocol (RTCP) port corresponding to a group where the terminal equipment is located; the group comprises a plurality of terminal devices;
the terminal equipment sends an RTCP message to the RTCP port on the server; the RTCP packet includes: the terminal equipment indexes information in the group and RTCP data; and the RTCP message is used for enabling the server to determine the terminal equipment according to the equipment index information, and then processing the service corresponding to the terminal equipment according to the RTCP data.
2. The method according to claim 1, wherein the determining, by the terminal device, the real-time transport control protocol RTCP port corresponding to the group in which the terminal device is located includes:
the terminal equipment receives the information of the RTCP port sent by the server;
and the terminal equipment determines the RTCP port according to the information of the RTCP port.
3. The method of claim 2, further comprising:
and the terminal equipment receives the equipment index information sent by the server.
4. The method of claim 1, wherein the device index information is located in a synchronization source SSRC field in the RTCP message; alternatively, the first and second electrodes may be,
and if the RTCP message is a source end description SDES message, the equipment index information is positioned in a description domain of the SDES message.
5. The method according to claim 3, wherein before the terminal device receives the device index information sent by the server, the method further comprises:
the terminal equipment sends an access request to the server; the access request is used for enabling the server to determine an idle group and adding the terminal equipment into the idle group; the number of terminal devices connected with the server in the idle group is smaller than a preset value;
the device index information is the device index information of the terminal device in the idle group, which is allocated to the terminal device by the server.
6. The method according to any one of claims 1-5, further comprising:
the terminal equipment sends an exit request to the server; the exit request includes: the device index information; and the quitting request is used for enabling the server to delete the equipment index information and updating the number of the terminal equipment connected with the server in the group.
7. The method of claim 6, further comprising:
the terminal equipment receives an exit response sent by the server;
and the terminal equipment is disconnected with the server.
8. An information transmission method, comprising:
the server receives an RTCP message sent by the terminal equipment by adopting a real-time transport control protocol (RTCP) port corresponding to a group where the terminal equipment is located; the RTCP packet includes: the terminal equipment indexes information in the group and RTCP data; the group comprises a plurality of terminal devices;
and the server determines the terminal equipment according to the equipment index information and then processes the service corresponding to the terminal equipment according to the RTCP data.
9. The method according to claim 8, wherein before the server receives a real-time transport control protocol RTCP packet sent by a terminal device, the method further comprises:
and the server sends the information of the RTCP port to the terminal equipment, wherein the information of the RTCP port is used for ensuring the terminal equipment to determine the RTCP port.
10. The method of claim 9, further comprising:
and the server sends the equipment index information to the terminal equipment.
11. The method of claim 8, wherein the device index information is located in a synchronization source SSRC field in the RTCP message; alternatively, the first and second electrodes may be,
and if the RTCP message is a source end description SDES message, the equipment index information is positioned in a description domain of the SDES message.
12. The method of claim 10, wherein before the server sends the device index information to the terminal device, the method further comprises:
the server receives an access request sent by the terminal equipment;
the server determines a group, the number of terminal equipment connected with the server of which is less than a preset value, as an idle group according to the access request, and adds the terminal equipment to the idle group;
and the server determines an RTCP port corresponding to the idle group and distributes the RTCP port to the terminal equipment, wherein the terminal equipment indexes the equipment in the idle group.
13. The method of claim 10, further comprising:
the server receives an exit request sent by the terminal equipment; the exit request includes: the device index information;
and the server deletes the equipment index information according to the quit request and updates the number of the terminal equipment connected with the server in the group.
14. The method of claim 13, further comprising:
and the server sends a quit response to the terminal equipment, wherein the quit response is used for disconnecting the terminal equipment from the server.
15. The method according to any one of claims 8-14, further comprising:
and the server adopts the RTCP port to send the RTCP message to other terminal equipment in the group.
16. An information processing apparatus characterized by comprising:
the processing module is used for determining a real-time transport control protocol (RTCP) port corresponding to a group where the terminal equipment is located; the group where the terminal equipment is located comprises a plurality of terminal equipment;
the sending module is used for sending the RTCP message to an RTCP port corresponding to the group of the terminal equipment on the server; the RTCP packet includes: the terminal equipment indexes information in the group and RTCP data; and the RTCP message is used for enabling the server to determine the terminal equipment according to the equipment index information, and then processing the service corresponding to the terminal equipment according to the RTCP data.
17. An information processing apparatus characterized by comprising:
the receiving module is used for receiving the RTCP message sent by the terminal equipment by adopting a real-time transport control protocol (RTCP) port corresponding to the group where the terminal equipment is located; the RTCP packet includes: the terminal equipment indexes information in the group and RTCP data;
and the processing module is used for determining the terminal equipment according to the equipment index information and then processing the service corresponding to the terminal equipment according to the RTCP data.
18. A terminal device, comprising: a memory and a processor; the memory is connected with the processor;
the memory to store program instructions;
the processor, when the program instructions are executed, is configured to implement the information transmission method of any one of claims 1 to 7.
19. A server, comprising: a memory and a processor; the memory is connected with the processor;
the memory to store program instructions;
the processor, when the program instructions are executed, is configured to implement the information transmission method of any one of claims 8 to 15.
20. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the information transmission method according to any one of claims 1 to 7.
21. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the information transmission method according to any one of claims 8 to 15.
CN201810985333.2A 2018-08-28 2018-08-28 Information processing method, device, terminal equipment, server and storage medium Active CN110868306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810985333.2A CN110868306B (en) 2018-08-28 2018-08-28 Information processing method, device, terminal equipment, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810985333.2A CN110868306B (en) 2018-08-28 2018-08-28 Information processing method, device, terminal equipment, server and storage medium

Publications (2)

Publication Number Publication Date
CN110868306A CN110868306A (en) 2020-03-06
CN110868306B true CN110868306B (en) 2021-09-21

Family

ID=69651282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810985333.2A Active CN110868306B (en) 2018-08-28 2018-08-28 Information processing method, device, terminal equipment, server and storage medium

Country Status (1)

Country Link
CN (1) CN110868306B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100013889A (en) * 2008-08-01 2010-02-10 주식회사 엘지데이콤 Mapping method of rtp and rtcp, access point and natpt system of thereof
WO2011079965A1 (en) * 2010-01-04 2011-07-07 Telefonaktiebolaget L M Ericsson (Publ) Method and node in an internet protocol television (iptv) network
CN102394877A (en) * 2011-09-13 2012-03-28 华为技术有限公司 Method, server and system for establishing PTT (post, telegraphs and telephones) cluster call
CN103945333A (en) * 2013-01-17 2014-07-23 中国普天信息产业股份有限公司 Group call service data transmission method
CN104683312A (en) * 2013-11-27 2015-06-03 华为技术有限公司 Method and device for negotiating media multiplexing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100013889A (en) * 2008-08-01 2010-02-10 주식회사 엘지데이콤 Mapping method of rtp and rtcp, access point and natpt system of thereof
WO2011079965A1 (en) * 2010-01-04 2011-07-07 Telefonaktiebolaget L M Ericsson (Publ) Method and node in an internet protocol television (iptv) network
CN102394877A (en) * 2011-09-13 2012-03-28 华为技术有限公司 Method, server and system for establishing PTT (post, telegraphs and telephones) cluster call
CN103945333A (en) * 2013-01-17 2014-07-23 中国普天信息产业股份有限公司 Group call service data transmission method
CN104683312A (en) * 2013-11-27 2015-06-03 华为技术有限公司 Method and device for negotiating media multiplexing

Also Published As

Publication number Publication date
CN110868306A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN113596191B (en) Data processing method, network element equipment and readable storage medium
CN108848530B (en) Method and device for acquiring network resources and scheduling server
CN113014528B (en) Message processing method, processing unit and virtual private network server
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
US11924255B2 (en) Data transmission method and apparatus, server, storage medium, and program product
CN113572864B (en) Data processing method, network element equipment and readable storage medium
US9350606B2 (en) System and method for assigning server to terminal and efficiently delivering messages to the terminal
CN105656978A (en) Resource sharing method and device
CN112333690B (en) Data transmission method, device, storage medium, terminal and network access point equipment
CN101510872B (en) Remote customer dialing authentication service client terminal, server and transmission/acceptance method
CN110868306B (en) Information processing method, device, terminal equipment, server and storage medium
CN106535112B (en) Method, device and system for realizing terminal access
CN109831467B (en) Data transmission method, equipment and system
CN106209926B (en) A kind of data-updating method and equipment
CN114158093B (en) Communication method, network element, communication system and storage medium
KR101251630B1 (en) System and method for providing push service
CN112752300B (en) Method and device for realizing local distribution
CN111835770B (en) Data processing method, device, server and storage medium
CN110474781B (en) Method and device for forwarding multicast data
CN104901783B (en) Data transmission method and server system
CN108370372A (en) A kind of transmission method of data packet, network side equipment and user equipment
KR101082786B1 (en) System and Method for Allocation of Contents using Proxy Server
US20130124688A1 (en) Wireless network system and content provision method using the same
CN113411266B (en) Cloud data transmission method and system based on isolation device, terminal and storage medium
CN113301104B (en) Data processing system and method

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