CN112511991A - On-demand method, equipment and storage medium - Google Patents

On-demand method, equipment and storage medium Download PDF

Info

Publication number
CN112511991A
CN112511991A CN202011364815.XA CN202011364815A CN112511991A CN 112511991 A CN112511991 A CN 112511991A CN 202011364815 A CN202011364815 A CN 202011364815A CN 112511991 A CN112511991 A CN 112511991A
Authority
CN
China
Prior art keywords
tunnel
client
request
demand
server
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.)
Pending
Application number
CN202011364815.XA
Other languages
Chinese (zh)
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202011364815.XA priority Critical patent/CN112511991A/en
Publication of CN112511991A publication Critical patent/CN112511991A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/42Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Abstract

The embodiment of the application provides a video-on-demand method, video-on-demand equipment and a storage medium. In some embodiments of the application, a tunnel server and a tunnel client are added in an existing subway communication network system, the tunnel server is used for monitoring and receiving a two-layer request message sent by the tunnel client, a target communication port of the tunnel server corresponding to the two-layer request message is added to a multicast group, members of the multicast group are moved to the communication port of the tunnel server instead of an uplink port of a ground wireless access point, the on-demand client does not need to initiate an on-demand request again, and the problem of multicast interruption is solved; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client; the two-layer message of the on-demand request is a unicast message, the transmission rate is high, and no frame is lost.

Description

On-demand method, equipment and storage medium
Technical Field
The present application relates to the field of wireless WLAN technologies, and in particular, to a method, device, and storage medium for on-demand broadcasting.
Background
The PIS (Present Information System, passenger Information System) is widely used in subways. The system provides an information interaction platform for workers in subway operation, management, maintenance and other departments, and is an important transmission means for information release of rail transit information resource sharing, production management, office management and the like. The system displays the designated information to the designated crowd at the designated time through the control of the control center and the station.
At present, in the multicast message transmission process of a passenger information system, the problems of easy frame loss, low multicast message transmission efficiency, multicast interruption caused by frequent switching of multicast on-demand member ports and the like exist.
Disclosure of Invention
Aspects of the present application provide an on-demand method, device, and storage medium, which are used to improve the transmission efficiency of multicast packets in a subway communication network system, and solve the problems of multicast packet loss and multicast interruption.
The embodiment of the application provides a subway communication network system, including ordering client and ground server, still include: a tunnel client, a tunnel server;
the tunnel client is used for monitoring a request message sent by the request client, generating a request message of a two-layer request according to the request message, sending the request message of the two-layer request to the tunnel server, receiving a target multicast stream returned by the tunnel server, and providing the target multicast stream to the request client so that the request client can play the target multicast stream;
the tunnel server is used for monitoring a request two-layer message sent by the tunnel client, adding a target communication port of the tunnel server corresponding to the request two-layer message to a multicast group, requesting a target multicast stream from the ground server, and sending the target multicast stream to the tunnel client so that the tunnel client can provide the target multicast stream to the request client, wherein the request two-layer message is a two-layer message formed by the tunnel client according to the monitored request message of the request client, and the tunnel server sends the multicast stream to a communication port in the multicast group;
and the ground server is used for providing the target multicast stream to the tunnel server.
The embodiment of the present application further provides an on-demand method, which is applicable to a tunnel server in a subway communication network system, and the method includes:
monitoring a two-layer message of a request for requesting the program, which is sent by a tunnel client, wherein the two-layer message of the request for requesting the program is formed by the tunnel client according to the monitored request message of the request for requesting the program;
adding a target communication port of a tunnel service end corresponding to the two-layer message of the on-demand request to a multicast group, wherein the tunnel service end sends a multicast stream to a communication port in the multicast group;
determining a target multicast stream requested by the on-demand client according to the on-demand request two-layer message;
and sending the target multicast stream to a tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to an on-demand client.
The embodiment of the application further provides an on-demand method, which is suitable for a tunnel client in a subway communication network system, and the method comprises the following steps:
monitoring a request message of a request client;
generating a two-layer request message according to the request message;
sending the two-layer request message to a tunnel server, so that the tunnel server returns a target multicast stream requested by the on-demand client according to the two-layer request message;
and receiving a target multicast stream returned by the tunnel server, and providing the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
The embodiment of the present application further provides a tunnel server, including: a memory and a processor;
the memory for storing a computer program;
the processor is configured to execute the computer program to implement the steps of the on-demand method.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, which, when executed by one or more processors, causes the one or more processors to perform the steps of the above-mentioned on-demand method.
An embodiment of the present application further provides a tunnel client, including: a memory and a processor;
the memory for storing a computer program;
the processor is configured to execute the computer program to implement the steps of the on-demand method.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, which, when executed by one or more processors, causes the one or more processors to perform the steps of the above-mentioned on-demand method.
In some embodiments of the present application, a tunnel server and a tunnel client are added in an existing subway communication network system, the tunnel server monitors and receives a two-layer message of a request for broadcasting sent by the tunnel client, and adds a target communication port of the tunnel server corresponding to the two-layer message of the request for broadcasting to a multicast group, and moves members of the multicast group to a communication port of the tunnel server instead of an uplink port of a ground wireless access point, wherein although the uplink port of the ground wireless access point continuously changes along with the movement of a train, the communication port of the tunnel server does not change, and the request for broadcasting does not need to be re-initiated by the request for broadcasting, so that the problem of multicast interruption is solved; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client; the two-layer message of the on-demand request is a unicast message, the transmission rate is high, and no frame is lost.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of the overall structure of a conventional subway communication network system;
fig. 2a is a schematic structural diagram of a subway communication network system according to an exemplary embodiment of the present application;
FIG. 2b is a diagram illustrating a multicast on-demand uplink provided in an exemplary embodiment of the present application;
fig. 2c is a schematic diagram of multicast downlink according to an exemplary embodiment of the present application;
fig. 2d is a schematic diagram of a train traveling multicast stream transmission according to an exemplary embodiment of the present application;
FIG. 3a is a schematic flow chart of a video-on-demand method according to an embodiment of the present application;
FIG. 3b is a schematic flow chart of a video-on-demand method according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating an on-demand method according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a tunnel server according to an exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of a tunnel client according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the 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.
Fig. 1 is a schematic view of an overall structure of a conventional subway communication network system. As shown in fig. 1, an operation and maintenance person puts information on an in-train display screen of a subway train through a PIS system, and usually puts the information in a multicast mode. After receiving the request of the PIS on-demand client, the ground PIS server transmits the multicast message to the on-demand client on the vehicle-mounted subsystem through the subway communication network system, and displays the picture or the alarm information on the corresponding display screen. The current demand mode has the following problems:
1, the multicast message is easy to lose frames.
Due to the particularity of the multicast message, the multicast message is wirelessly transmitted through the 802.11 protocol, and an Ack confirmation mechanism is not provided, so that message retransmission cannot be performed on a protocol layer if frame loss occurs. Namely: in a wireless environment, once frame loss occurs in multicast, a multicast message is lost.
2, the multicast message rate is low.
The multicast message is sent to all on-demand members in the multicast group, and the destination address of the multicast message is a multicast address. Therefore, in the 802.11 implementation, multicast messages cannot be transmitted in an aggregation manner. Namely: in a wireless environment, multicast messages can only be transmitted using non-aggregated messages. In the 802.11 protocol, the highest rate of non-aggregated messages is 54 mbps.
And 3, the multicast member ports are frequently switched, and the multicast on-demand member ports need to be frequently updated, so that the multicast is interrupted.
The subway train continuously moves on the subway track, and correspondingly, the vehicle-mounted wireless AP can be continuously switched between the Access points (wireless Access points) beside the ground track. Therefore, the multicast on-demand member port also needs to perform corresponding switching to get through the multicast stream. Under normal conditions, the PIS on-demand client cannot sense the roaming switching event of the vehicle-mounted wireless equipment and cannot actively initiate on-demand again. When the vehicle-mounted wireless AP roams to a new ground wireless AP, and the uplink port of the new ground wireless AP does not join in the multicast group, the superior device cannot forward the multicast stream to the port, thereby causing multicast interruption.
In some embodiments of the present application, a tunnel server and a tunnel client are added in an existing subway communication network system, the tunnel server monitors and receives a two-layer on-demand request message sent by the tunnel client, and adds a target communication port of the tunnel server corresponding to the two-layer on-demand request message to a multicast group, and moves members of the multicast group to a communication port of the tunnel server instead of an uplink port of a ground wireless access point, where although the uplink port of the ground wireless access point changes continuously as a train moves, the communication port of the tunnel server does not change, and the on-demand client does not need to initiate an on-demand request again, thereby solving the problem of multicast interruption; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client; the two-layer message of the on-demand request is a unicast message, the transmission rate is high, and no frame is lost.
It should be noted that, in the foregoing embodiment, the communication port of the tunnel server does not change, and when the tunnel server sends the multicast stream to the tunnel client, the port sent by the tunnel server to the tunnel client is unchanged (that is, the exit of the multicast stream is unchanged), and is all on the virtual tunnel between the ground and the train. Actually, for the tunnel server, the outlet of the multicast downlink traffic is on the communication port corresponding to the tunnel client; for the tunnel client, the outlet of the multicast upstream traffic is on the communication port of the tunnel server. In the communication process between the train and the ground, all the messages are communicated in a virtual tunnel (hereinafter referred to as a tunnel communication link) between a tunnel service end and a tunnel client, and the multicast messages are encapsulated in the tunnel.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 2a is a schematic structural diagram of a subway communication network system according to an exemplary embodiment of the present application. As shown in fig. 2a, the subway communication network system includes a PIS on-demand client (hereinafter referred to as on-demand client), a ground PIS server (ground server), a tunnel client and a tunnel server.
Further, as shown in fig. 2a, the subway communication network according to the embodiment of the present application further includes a vehicle-mounted switch, a vehicle-mounted wireless AP (hereinafter referred to as a vehicle-mounted wireless access point), a ground switch, and a plurality of ground wireless APs (hereinafter referred to as ground wireless access points) disposed beside the track. The subway communication network establishes a wireless communication network through the vehicle-mounted switch, the vehicle-mounted wireless access point, the ground wireless access point arranged beside the train track and the ground switch.
In this embodiment, a tunnel client and a tunnel server are additionally deployed in a subway communication network system. The tunnel client communicates with the on-demand client and the vehicle-mounted wireless access point, and the on-demand client and the tunnel client are located in the same two-layer network and share the same network segment. And the tunnel client is used for monitoring the on-demand request of the on-demand client and can establish a tunnel communication link with the tunnel server. The tunnel server can acquire the multicast stream from the ground server, has the multicast IGMP Snooping function and can forward the multicast stream to a specific multicast group member; the tunnel server has the following functions:
firstly, a tunnel establishment request of the tunnel client is monitored and received, and a tunnel communication link between the tunnel server and the tunnel client is established (the tunnel communication link is shown by a dotted line in fig. 2 a).
And secondly, starting a multicast monitoring function, monitoring the multicast requests of all communication ports of the tunnel server, and adding the corresponding communication ports to the multicast group.
And thirdly, the multicast stream can be acquired from the ground server and forwarded to the corresponding multicast member port, but the multicast stream is not forwarded by the non-multicast member port.
As shown in fig. 2a, in the embodiment of the present application, the on-demand client initiates an on-demand request message to the ground server in response to an on-demand operation of a user. The type of the podcast client is not limited in the embodiment of the application, and the podcast client can be a computer device or a handheld device, and the implementation forms of the podcast client can be various, for example, the podcast client can be a personal computer, a smart phone, a tablet computer, a smart screen, and the like.
As shown in fig. 2a, in this embodiment, the tunnel client is a device installed on a train and configured to monitor a request message of the request client, generate a two-layer request message according to the request message, send the two-layer request message to the tunnel server, receive a target multicast stream returned by the tunnel server, and provide the target multicast stream to the request client for the request client to play the target multicast stream. The tunnel client is not limited in type, and can be a computer device or a handheld device, and the implementation form of the tunnel client can be various, for example, the tunnel client can be a personal computer, a smart phone, a tablet computer, a smart screen, and the like. In another system embodiment, the tunneling client may be installed on an onboard wireless access point.
As shown in fig. 2a, in the embodiment of the present application, the tunnel service end is installed on the ground, for example, in the AC controller installed on the ground, or may be a device independent from the AC controller. The tunnel server is used for monitoring the two-layer request message sent by the tunnel client, adding a target communication port of the tunnel server corresponding to the two-layer request message to the multicast group, requesting a target multicast stream from the ground server, and sending the target multicast stream to the tunnel client so that the tunnel client can provide the target multicast stream to the on-demand client, wherein the two-layer request message is a two-layer message formed by the tunnel client according to the monitored on-demand request message of the on-demand client, and the tunnel server sends the multicast stream to a communication port in the multicast group. In this embodiment, the specific form of the tunnel server is not limited, and the server may be a server. For example, the server may be a conventional server, a cloud host, a virtual center, or the like. The server mainly comprises a processor, a hard disk, a memory, a system bus and the like, and a general computer architecture type.
As shown in fig. 2a, in the embodiment of the present application, the ground server is configured to provide data support for the system and provide the multicast stream to the tunnel server. In this embodiment, the specific form of the ground server is not limited, and for example, the server may be a conventional server, a cloud host, a virtual center, or other server devices. The server mainly comprises a processor, a hard disk, a memory, a system bus and the like, and a general computer architecture type.
As shown in fig. 2a, the vehicle-mounted switch is in communication connection with the on-demand client, the tunnel client and the vehicle-mounted wireless access point; the ground switch is in communication link with the tunnel server, the ground server and the ground wireless access point; and the vehicle-mounted wireless access point is in roaming connection with the ground wireless access point beside the track in the process of the train advancing so as to establish a communication network between the on-demand client and the ground server.
Fig. 2b is a schematic diagram of a multicast-on-demand uplink according to an exemplary embodiment of the present application. As shown in fig. 2b, the on-demand client initiates an on-demand request message to the ground server in response to an on-demand operation sent by the user. The tunnel client starts a monitoring function, and if the on-demand request message of the on-demand client is monitored; generating a two-layer request message according to the request message; and the tunnel client sends the two-layer message of the on-demand request to the tunnel server. The tunnel client receives a request message for requesting the video on demand sent by the vehicle-mounted switch, adds a header in the request message for requesting the video on demand to generate a two-layer message for requesting the video on demand, and optionally adds an IP address of a tunnel server in the request message for requesting the video on demand as a target address to generate the two-layer message for requesting the video on demand; and the tunnel client sends the two-layer request message to the tunnel client through a tunnel communication link between the tunnel server and the tunnel client.
In the above embodiment, before sending the on-demand request two-layer packet to the tunnel server, the tunnel client needs to establish a tunnel communication link between the tunnel server and the tunnel client, and optionally, the tunnel communication link is a Generic Routing Encapsulation (GRE) tunnel communication link. One way to implement is that a tunnel client sends a tunnel establishment request to a tunnel server, and the tunnel server receives the tunnel establishment request of the tunnel client; and the tunnel server establishes a tunnel communication link between the tunnel server and the tunnel client according to the tunnel establishment request. And the tunnel client sends the on-demand request two-layer message to the tunnel server through the tunnel communication link, so that the tunnel server determines the target multicast stream requested by the on-demand client according to the on-demand request two-layer message.
As shown in fig. 2b, the tunnel communication link is composed of a vehicle-mounted switch, a vehicle-mounted wireless access point, a ground wireless access point which is in roaming access with the vehicle-mounted wireless access point, and a communication link between the ground switches. In the process of train advancing, the vehicle-mounted wireless access point is in roaming connection with the ground wireless access point beside the track so as to establish a communication network between the on-demand client and the ground server.
In this embodiment, a tunnel server monitors and receives a two-layer request message sent by a client, where the two-layer request message is a two-layer message formed by the tunnel client according to the monitored request message of the on-demand client; the tunnel server adds a target communication port of the tunnel server corresponding to the two-layer message of the on-demand request to a multicast group, wherein the tunnel server sends a multicast stream to a communication port in the multicast group; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; and sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client. It should be noted that, the target communication port of the tunnel service end corresponding to the on-demand request two-layer message is a port from which the tunnel service end receives the on-demand request two-layer message.
In the above embodiment, the tunnel server determines the target multicast stream requested by the on-demand client according to the on-demand request two-layer message, which includes but is not limited to the following determination modes:
in the first determination mode, the tunnel server sends a multicast stream request to the ground server according to the two-layer message of the on-demand request, so that the ground server returns a target multicast stream according to the multicast stream request; and receiving the target multicast stream returned by the ground server. In the method, after receiving the two-layer message of the on-demand request, the tunnel server sends a multicast stream request to the ground server, and the ground server determines a target multicast stream corresponding to the multicast stream identifier according to the multicast stream identifier carried in the multicast stream request and returns the target multicast stream to the tunnel server; and the tunnel server sends the target multicast stream to the tunnel client through the target communication port.
And in the second determination mode, the tunnel server determines a target multicast stream corresponding to the two-layer message request of the on-demand request from the existing multicast streams sent by the ground server. In the method, a tunnel server acquires a multicast stream from a ground server in advance and stores the multicast stream into a storage unit of the tunnel server, and after receiving a two-layer message of a request for requesting, the tunnel server determines a target multicast stream corresponding to the multicast stream identifier, wherein the multicast stream identifier is carried in a multicast stream request; and the tunnel server sends the target multicast stream to the tunnel client through the target communication port.
Fig. 2c is a schematic diagram of multicast downlink according to an exemplary embodiment of the present application. As shown in fig. 2c, the tunnel server sends the target multicast stream to the tunnel client through the target communication port. And the target multicast flow is sent to the vehicle-mounted wireless access point through the ground wireless access point in the current tunnel communication link and is sent to the tunnel client through the vehicle-mounted switch.
In the above embodiment, the tunnel server encapsulates the target multicast stream and then transmits the encapsulated target multicast stream, and the tunnel client receives the encapsulated target multicast stream and decapsulates the encapsulated target multicast stream to obtain the target multicast stream; and the tunnel server provides the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
The target multicast stream returns to the on-demand client through the vehicular switch, and the on-demand client can cache or play the target multicast stream.
It can be seen from the above that the two-layer message of the on-demand request sent by the tunnel client is a unicast message, and the destination address thereof is a common unicast address; the request message sent by the existing request client is a multicast message, and the target address of the multicast message is a multicast address. Because the multicast message is transmitted in the tunnel in the transmission process, and the message transmitted by the train-ground wireless system is a unicast message packaged by the tunnel, if packet loss occurs at the communication port of the tunnel server, the message is retransmitted at the communication port of the tunnel server, so that the problem that the multicast message is easy to lose frames in a wireless transmission environment is solved. Because the message is encapsulated into a common unicast tunnel message in the transmission process, the message can be transmitted at a high rate, so that the transmission bandwidth between vehicles and the ground is improved, and the problem that the highest rate of the multicast message in wireless direct transmission is only 54mbps is solved. It should be noted that the on-demand request two-layer message is a unicast message, the IP address of the on-demand request two-layer message is the IP address of the tunnel service end, and the MAC address is the MAC address of the tunnel service end; the destination address of the multicast message is a multicast address.
Fig. 2d is a schematic diagram of a train traveling multicast stream transmission according to an exemplary embodiment of the present application. As shown in fig. 2d, the vehicle-mounted wireless access point roams into the ground wireless access point 2 from the ground wireless access point 1, and the physical port of the ground wireless access point uplink is changing. However, because the multicast on-demand port is on the communication port of the ground tunnel service end, logically, the multicast on-demand member port is not changed all the time, so even though the vehicle-mounted equipment on the train continuously moves, the on-demand client does not need to initiate an on-demand request, and the problem of multicast message loss caused by roaming of the vehicle-mounted equipment is avoided.
Referring to fig. 2d, during the traveling of the train, the vehicle-mounted wireless access point continuously overflows into the ground wireless access point, for example, the communication connection between the vehicle-mounted wireless access point and the ground wireless access point is realized through mesh or wireless bridging technology. The tunnel communication link is a virtual point-to-point communication link between the tunnel client and the tunnel server, and the multicast on-demand port is on the communication port of the ground tunnel server and does not change with the change of the physical links of the vehicle-mounted wireless access point and the ground wireless access point, so that the multicast on-demand member port does not change all the time logically.
In the system embodiment, a tunnel server and a tunnel client are added in the existing subway communication network system, the tunnel server is used for monitoring and receiving a two-layer request message sent by the tunnel client, a target communication port of the tunnel server corresponding to the two-layer request message is added to a multicast group, members of the multicast group are moved to the communication port of the tunnel server instead of an uplink port of a ground wireless access point, the on-demand client does not need to initiate an on-demand request again, and the problem of multicast interruption is solved; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client; the two-layer message of the on-demand request is a unicast message, the transmission rate is high, and no frame is lost.
In addition to the above-mentioned subway communication network system, some embodiments of the present application also provide a video-on-demand method, which can be implemented depending on the above-mentioned subway communication network system, but is not limited to the subway communication network system provided in the above-mentioned embodiments.
From the perspective of the tunnel server, fig. 3a is a schematic flow chart of an on-demand method provided in the embodiment of the present application. As shown in fig. 3a, the method comprises:
s311: monitoring a two-layer message of a request for requesting the program, which is sent by a tunnel client, wherein the two-layer message of the request for requesting the program is formed by the tunnel client according to the monitored request message of the request for requesting the program;
s312: adding a target communication port of a tunnel service end corresponding to the two-layer message of the on-demand request to a multicast group, wherein the tunnel service end sends a multicast stream to a communication port in the multicast group;
s313: determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message;
s314: and sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client.
From the perspective of the tunnel client, fig. 3b is a schematic flow chart of the on-demand method provided in the embodiment of the present application. As shown in fig. 3b, the method comprises:
s321: monitoring a request message of a request client;
s322: generating a two-layer request message according to the request message;
s323: sending the two-layer request message to a tunnel server, so that the tunnel server returns a target multicast stream requested by the on-demand client according to the two-layer request message;
s324: and receiving the target multicast stream returned by the tunnel server, and providing the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
In this embodiment, a tunnel client and a tunnel server are additionally deployed in a subway communication network system. The tunnel client communicates with the on-demand client and the vehicle-mounted wireless access point, and the on-demand client and the tunnel client are located in the same two-layer network and share the same network segment. And the tunnel client is used for monitoring the on-demand request of the on-demand client and can establish a tunnel communication link with the tunnel server. The tunnel server can acquire the multicast stream from the ground server, has the multicast IGMP Snooping function and can forward the multicast stream to a specific multicast group member; the tunnel server has the following functions:
firstly, a tunnel establishment request of the tunnel client is monitored and received, and a tunnel communication link between the tunnel server and the tunnel client is established (the tunnel communication link is shown by a dotted line in fig. 2 a).
And secondly, starting a multicast monitoring function, monitoring the multicast requests of all communication ports of the tunnel server, and adding the corresponding communication ports to the multicast group.
And thirdly, the multicast stream can be acquired from the ground server and forwarded to the corresponding multicast member port, but the multicast stream is not forwarded by the non-multicast member port.
In the embodiment of the application, the on-demand client responds to the on-demand operation of the user and initiates an on-demand request message to the ground server. The type of the podcast client is not limited in the embodiment of the application, and the podcast client can be a computer device or a handheld device, and the implementation forms of the podcast client can be various, for example, the podcast client can be a personal computer, a smart phone, a tablet computer, a smart screen, and the like.
In the embodiment of the application, the tunnel client is configured to monitor a request message of the request client, generate a two-layer request message according to the request message, send the two-layer request message to the tunnel server, receive a target multicast stream returned by the tunnel server, and provide the target multicast stream to the request client so that the request client can play the target multicast stream. The tunnel client is not limited in type, and can be a computer device or a handheld device, and the implementation form of the tunnel client can be various, for example, the tunnel client can be a personal computer, a smart phone, a tablet computer, a smart screen, and the like.
In the embodiment of the application, the tunnel server is configured to monitor a two-layer request message sent by a tunnel client, add a target communication port of the tunnel server corresponding to the two-layer request message to a multicast group, and send a target multicast stream requested by the on-demand client to the tunnel client, so that the tunnel client provides the target multicast stream to the on-demand client, where the two-layer request message is a two-layer message formed by the tunnel client according to the monitored on-demand request message of the on-demand client, and the tunnel server sends the multicast stream to a communication port in the multicast group. In this embodiment, the specific form of the server is not limited, and the server may be a server. For example, the server may be a conventional server, a cloud host, a virtual center, or the like. The server mainly comprises a processor, a hard disk, a memory, a system bus and the like, and a general computer architecture type.
In the embodiment of the application, the ground server is used for providing data support for the system and providing the multicast stream to the tunnel server. In this embodiment, the specific form of the server is not limited, and for example, the server may be a conventional server, a cloud host, a virtual center, or other server devices. The server mainly comprises a processor, a hard disk, a memory, a system bus and the like, and a general computer architecture type.
The vehicle-mounted switch is in communication connection with the on-demand client, the tunnel client and the vehicle-mounted wireless access point; the ground switch is in communication link with the tunnel server, the ground server and the ground wireless access point; and the vehicle-mounted wireless access point is in roaming connection with the ground wireless access point beside the track in the process of the train advancing so as to establish a communication network between the on-demand client and the ground server.
The on-demand client responds to the on-demand operation sent by the user and sends an on-demand request message to the ground server. The tunnel client starts a monitoring function, and if the on-demand request message of the on-demand client is monitored; generating a two-layer request message according to the request message; and the tunnel client sends the two-layer message of the on-demand request to the tunnel server. The tunnel client receives a request message for requesting the video on demand sent by the vehicle-mounted switch, adds a header in the request message for requesting the video on demand to generate a two-layer message for requesting the video on demand, and optionally adds an IP address of a tunnel server in the request message for requesting the video on demand as a destination address to generate the two-layer message for requesting the video on demand; and the tunnel client sends the two-layer request message to the tunnel client through a tunnel communication link between the tunnel server and the tunnel client.
In the above embodiment, before sending the on-demand request two-layer packet to the tunnel server, the tunnel client needs to establish a tunnel communication link between the tunnel server and the tunnel client. One way to implement is that a tunnel client sends a tunnel establishment request to a tunnel server, and the tunnel server receives the tunnel establishment request of the tunnel client; and the tunnel server establishes a tunnel communication link between the tunnel server and the tunnel client according to the tunnel establishment request. And the tunnel client sends the on-demand request two-layer message to the tunnel server through the tunnel communication link, so that the tunnel server determines the target multicast stream requested by the on-demand client according to the on-demand request two-layer message.
The tunnel communication link comprises a vehicle-mounted switch, a vehicle-mounted wireless access point, a ground wireless access point which is in roaming access with the vehicle-mounted wireless access point, and a ground switch. In the process of train advancing, the vehicle-mounted wireless access point is in roaming connection with the ground wireless access point beside the track so as to establish a communication network between the on-demand client and the ground server.
In this embodiment, a tunnel server monitors and receives a two-layer request message sent by a client, where the two-layer request message is a two-layer message formed by the tunnel client according to the monitored request message of the on-demand client; the tunnel server adds a target communication port of the tunnel server corresponding to the two-layer message of the on-demand request to a multicast group, wherein the tunnel server sends a multicast stream to a communication port in the multicast group; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; and sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client.
In the above embodiment, the tunnel server determines the target multicast stream requested by the on-demand client according to the on-demand request two-layer message, which includes but is not limited to the following determination modes:
in the first determination mode, the tunnel server sends a multicast stream request to the ground server according to the two-layer message of the on-demand request, so that the ground server returns a target multicast stream according to the multicast stream request; and receiving the target multicast stream returned by the ground server. In the method, after receiving the two-layer message of the on-demand request, the tunnel server sends a multicast stream request to the ground server, and the ground server determines a target multicast stream corresponding to the multicast stream identifier according to the multicast stream identifier carried in the multicast stream request and returns the target multicast stream to the tunnel server; and the tunnel server sends the target multicast stream to the tunnel client through the target communication port.
And in the second determination mode, the tunnel server determines a target multicast stream corresponding to the two-layer message request of the on-demand request from the existing multicast streams sent by the ground server. In the method, a tunnel server acquires a multicast stream from a ground server in advance and stores the multicast stream into a storage unit of the tunnel server, and after receiving a two-layer message of a request for requesting, the tunnel server determines a target multicast stream corresponding to the multicast stream identifier, wherein the multicast stream identifier is carried in a multicast stream request; and the tunnel server sends the target multicast stream to the tunnel client through the target communication port.
And the tunnel server sends the target multicast stream to the tunnel client through the target communication port. And the target multicast flow is sent to the vehicle-mounted wireless access point through the ground wireless access point in the current tunnel communication link and is sent to the tunnel client through the vehicle-mounted switch.
In the above embodiment, the tunnel server encapsulates the target multicast stream and then transmits the encapsulated target multicast stream, and the tunnel client receives the encapsulated target multicast stream and decapsulates the encapsulated target multicast stream to obtain the target multicast stream; and the tunnel server provides the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
The target multicast stream returns to the on-demand client through the vehicular switch, and the on-demand client can cache or play the target multicast stream.
It can be seen from the above that the two-layer message of the on-demand request sent by the tunnel client is a unicast message, and the destination address thereof is a common unicast address; the request message sent by the existing request client is a multicast message, and the target address of the multicast message is a multicast address. Because the multicast message is transmitted in the tunnel in the transmission process, and the message transmitted by the train-ground wireless system is a unicast message packaged by the tunnel, if packet loss occurs at the communication port of the tunnel server, the message is retransmitted at the communication port of the tunnel server, so that the problem that the multicast message is easy to lose frames in a wireless transmission environment is solved. Because the message is encapsulated into a common unicast tunnel message in the transmission process, the message can be transmitted at a high rate, so that the transmission bandwidth between vehicles and the ground is improved, and the problem that the highest rate of the multicast message in wireless direct transmission is only 54mbps is solved.
The vehicle-mounted wireless access point overflows into the ground wireless access point 2 from the ground wireless access point 1, and the physical port of the ground wireless access point is continuously changed. However, because the multicast on-demand port is on the communication port of the ground tunnel service end, logically, the multicast on-demand member port is not changed all the time, so even though the vehicle-mounted equipment on the train continuously moves, the on-demand client does not need to initiate an on-demand request, and the problem of multicast message loss caused by roaming of the vehicle-mounted equipment is avoided.
Based on the description of the foregoing embodiments, fig. 4 is a flowchart illustrating a video-on-demand method according to an exemplary embodiment of the present application. As shown in fig. 4, the on-demand method includes:
s401: a tunnel client monitors and receives a request message of a request client;
s402: the tunnel client generates a two-layer request message according to the request message;
s403: the tunnel client sends the two-layer message of the on-demand request to a tunnel server;
s404: the tunnel server monitors and receives a two-layer message of the on-demand request sent by the tunnel client;
s405: the tunnel server adds a target communication port of the tunnel server corresponding to the two-layer message of the on-demand request to the multicast group;
s406: the tunnel server requests a target multicast stream from the ground server according to the two-layer message of the on-demand request;
s407: the tunnel server side sends the target multicast stream to the tunnel client side through the target communication port;
s408: and the tunnel client provides the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
The execution steps in this embodiment can refer to the descriptions of the foregoing embodiments, and are not described herein again.
It should be noted that the execution subjects of the steps of the methods provided in the above embodiments may be the same device, or different devices may be used as the execution subjects of the methods. For example, the execution subjects of steps 401 to 403 may be device a; for another example, the execution subject of steps 401 and 402 may be device a, and the execution subject of step 403 may be device B; and so on.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 401, 402, etc., are merely used to distinguish various operations, and the sequence numbers themselves do not represent any execution order. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
In the embodiment of the method, a tunnel server and a tunnel client are added in the existing subway communication network system, the tunnel server is used for monitoring and receiving a two-layer request message sent by the tunnel client, a target communication port of the tunnel server corresponding to the two-layer request message is added to a multicast group, members of the multicast group are moved to the communication port of the tunnel server instead of an uplink port of a ground wireless access point, the on-demand client does not need to initiate the on-demand request again, and the problem of multicast interruption is solved; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client; the two-layer message of the on-demand request is a unicast message, the transmission rate is high, and no frame is lost.
Fig. 5 is a schematic structural diagram of a tunnel server according to an exemplary embodiment of the present application. As shown in fig. 5, the tunnel server includes: a memory 501 and a processor 502. In addition, the tunnel server includes necessary components such as a power component 503 and a communication component 504.
The memory 501 is used for storing computer programs and can be configured to store other various data to support operations on the tunnel server. Examples of such data include instructions for any application or method operating on the tunnel server.
The memory 501, which may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A communication component 504 for data transmission with other devices.
The processor 502, which may execute computer instructions stored in the memory 501, is configured to: monitoring a two-layer message of a request for requesting the program, which is sent by a tunnel client, wherein the two-layer message of the request for requesting the program is formed by the tunnel client according to the monitored request message of the request for requesting the program; adding a target communication port of a tunnel service end corresponding to the two-layer message of the on-demand request to a multicast group, wherein the tunnel service end sends a multicast stream to a communication port in the multicast group; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; and sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client.
Optionally, when determining the target multicast stream requested by the on-demand client according to the on-demand request two-layer message, the processor 502 is specifically configured to: according to the two-layer message of the on-demand request, sending a multicast stream request to the ground server so that the ground server returns a target multicast stream according to the multicast stream request; receiving a target multicast stream returned by the ground server; or, determining a target multicast stream corresponding to the two-layer message request of the on-demand request from the existing multicast streams sent by the ground server.
Optionally, before receiving the on-demand request two-layer message sent by the tunnel client, the processor 502 may further be configured to: receiving a tunnel establishment request of a tunnel client; and establishing a tunnel communication link between the tunnel server and the tunnel client according to the tunnel establishment request.
Correspondingly, the embodiment of the application also provides a computer readable storage medium storing the computer program. The computer-readable storage medium stores a computer program, and the computer program, when executed by one or more processors, causes the one or more processors to perform the steps in the method embodiment of fig. 2 b.
Fig. 6 is a schematic structural diagram of a tunnel client according to an exemplary embodiment of the present application. As shown in fig. 6, the tunnel client includes: a memory 601 and a processor 602. In addition, the tunnel client further comprises necessary components such as a power component 603, a communication component 604, and the like.
The memory 601 is used for storing computer programs and may be configured to store other various data to support operations on the tunnel client. Examples of such data include instructions for any application or method operating on the tunnel client.
The memory 601, which may be implemented by any type of volatile or non-volatile memory device or combination thereof, may include, for example, Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A communication component 604 for data transmission with other devices.
Processor 602, which may execute computer instructions stored in memory 601, to: monitoring a request message of a request client; generating a two-layer request message according to the request message; sending the two-layer request message to a tunnel server, so that the tunnel server returns a target multicast stream requested by the on-demand client according to the two-layer request message; and receiving the target multicast stream returned by the tunnel server, and providing the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
Optionally, when the processor 602 generates the on-demand request two-layer message according to the on-demand request message, it is specifically configured to: and adding the IP address of the tunnel service end as a destination address in the on-demand request message to generate an on-demand request two-layer message.
Optionally, before sending the on-demand request two-layer message to the tunnel server, the processor 602 may further be configured to: sending a tunnel establishment request to a tunnel server for establishing a tunnel communication link between the tunnel server and a tunnel client; and sending the two-layer request message to a tunnel server through a tunnel communication link, so that the tunnel server determines the target multicast stream requested by the on-demand client according to the two-layer request message.
Optionally, when receiving the target multicast stream returned by the tunnel server and providing the target multicast stream to the on-demand client, the processor 602 is specifically configured to: receiving an encapsulated target multicast stream returned by a tunnel server; decapsulating the encapsulated target multicast stream to obtain a target multicast stream; and providing the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
Correspondingly, the embodiment of the application also provides a computer readable storage medium storing the computer program. The computer-readable storage medium stores a computer program, and the computer program, when executed by one or more processors, causes the one or more processors to perform the steps in the method embodiment of fig. 3 b.
The communication components of fig. 5 and 6 described above are configured to facilitate wired or wireless communication between the device in which the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as a WiFi, a 2G, 3G, 4G/LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
The power supply components of fig. 5 and 6 described above provide power to the various components of the device in which the power supply components are located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
In addition, the tunnel client and the tunnel server in the embodiment of the present application may further include a display and an audio component.
The display includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
An audio component configurable to output and/or input an audio signal. For example, the audio component includes a Microphone (MIC) configured to receive an external audio signal when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals.
In the above device embodiment, a tunnel server and a tunnel client are added in the existing subway communication network system, the tunnel server is used to monitor and receive a two-layer request message sent by the tunnel client, a target communication port of the tunnel server corresponding to the two-layer request message is added to a multicast group, members of the multicast group are moved to the communication port of the tunnel server instead of an uplink port of a ground wireless access point, the on-demand client does not need to initiate an on-demand request again, and the problem of multicast interruption is solved; determining a target multicast stream requested by an on-demand client according to the on-demand request two-layer message; sending the target multicast stream to the tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to the on-demand client; the two-layer message of the on-demand request is a unicast message, the transmission rate is high, and no frame is lost.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (15)

1. A subway communication network system comprises an on-demand client and a ground server, and is characterized by further comprising: a tunnel client, a tunnel server;
the tunnel client is used for monitoring a request message sent by the request client, generating a request message of a two-layer request according to the request message, sending the request message of the two-layer request to the tunnel server, receiving a target multicast stream returned by the tunnel server, and providing the target multicast stream to the request client so that the request client can play the target multicast stream;
the tunnel server is used for monitoring a request two-layer message sent by the tunnel client, adding a target communication port of the tunnel server corresponding to the request two-layer message to a multicast group, requesting a target multicast stream from the ground server, and sending the target multicast stream to the tunnel client so that the tunnel client can provide the target multicast stream to the request client, wherein the request two-layer message is a two-layer message formed by the tunnel client according to the monitored request message of the request client, and the tunnel server sends the multicast stream to a communication port in the multicast group;
and the ground server is used for providing the target multicast stream to the tunnel server.
2. A subway communication network system as claimed in claim 1, further comprising a vehicle-mounted switch, a vehicle-mounted wireless access point, a ground wireless access point installed beside a train track, and a ground switch;
the vehicle-mounted switch is in communication connection with the on-demand client, the tunnel client and the vehicle-mounted wireless access point;
the ground switch is in communication link with the tunnel server, the ground server and the ground wireless access point;
and the vehicle-mounted wireless access point is in roaming connection with the ground wireless access point beside the track in the process of train advancing so as to establish a communication network between the on-demand client and the ground server.
3. A subway communication network system as claimed in claim 1 or 2, wherein said tunnel service end is further configured to: receiving a tunnel establishment request of a tunnel client, and establishing a tunnel communication link between a tunnel server and the tunnel client according to the tunnel establishment request.
4. A subway communication network system as claimed in claim 1 or 2, wherein said tunnel client is further configured to: sending a tunnel establishment request to a tunnel server for establishing a tunnel communication link between the tunnel server and a tunnel client; and sending the on-demand request two-layer message to a tunnel server through a tunnel communication link, so that the tunnel server determines the target multicast stream requested by the on-demand client according to the on-demand request two-layer message.
5. An on-demand method is suitable for a tunnel server side in a subway communication network system, and is characterized by comprising the following steps:
monitoring a two-layer message of a request for requesting the program, which is sent by a tunnel client, wherein the two-layer message of the request for requesting the program is formed by the tunnel client according to the monitored request message of the request for requesting the program;
adding a target communication port of a tunnel service end corresponding to the two-layer message of the on-demand request to a multicast group, wherein the tunnel service end sends a multicast stream to a communication port in the multicast group;
determining a target multicast stream requested by the on-demand client according to the on-demand request two-layer message;
and sending the target multicast stream to a tunnel client through the target communication port so that the tunnel client can provide the target multicast stream to an on-demand client.
6. The method according to claim 5, wherein determining the target multicast stream requested by the on-demand client according to the on-demand request two-layer message comprises:
according to the two-layer message of the on-demand request, sending a multicast stream request to a ground server so that the ground server returns a target multicast stream according to the multicast stream request; receiving a target multicast stream returned by the ground server;
alternatively, the first and second electrodes may be,
and determining a target multicast stream corresponding to the two-layer message request of the on-demand request from the existing multicast streams sent by the ground server.
7. The method of claim 5, wherein before receiving the on-demand request layer two message sent by the tunnel client, the method further comprises:
receiving a tunnel establishment request of a tunnel client;
and establishing a tunnel communication link between the tunnel server and the tunnel client according to the tunnel establishment request.
8. An on-demand method is suitable for a tunnel client in a subway communication network system, and is characterized by comprising the following steps:
monitoring a request message of a request client;
generating a two-layer request message according to the request message;
sending the two-layer request message to a tunnel server, so that the tunnel server returns a target multicast stream requested by the on-demand client according to the two-layer request message;
and receiving a target multicast stream returned by the tunnel server, and providing the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
9. The method according to claim 8, wherein generating a two-layer message for a request on demand according to the request on demand message comprises:
and adding the IP address of the tunnel service end as a destination address in the on-demand request message to generate the on-demand request two-layer message.
10. The method of claim 8, wherein before sending the on-demand request two-layer message to a tunnel server, the method further comprises:
sending a tunnel establishment request to a tunnel server for establishing a tunnel communication link between the tunnel server and a tunnel client;
and sending the on-demand request two-layer message to a tunnel server through a tunnel communication link, so that the tunnel server determines the target multicast stream requested by the on-demand client according to the on-demand request two-layer message.
11. The method of claim 8, wherein receiving the target multicast stream returned by the tunnel server and providing the target multicast stream to the on-demand client comprises:
receiving an encapsulated target multicast stream returned by a tunnel server;
decapsulating the encapsulated target multicast stream to obtain the target multicast stream;
and providing the target multicast stream to the on-demand client so that the on-demand client can play the target multicast stream.
12. A tunnel server, comprising: a memory and a processor;
the memory for storing a computer program;
the processor for executing the computer program for implementing the steps of the on-demand method of any of claims 5-7.
13. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by one or more processors, causes the one or more processors to perform the steps of the on-demand method of any one of claims 5-7.
14. A tunnel client, comprising: a memory and a processor;
the memory for storing a computer program;
the processor for executing the computer program for implementing the steps of the on-demand method of any of claims 8-11.
15. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by one or more processors, causes the one or more processors to perform the steps of the on-demand method of any one of claims 8-11.
CN202011364815.XA 2020-11-27 2020-11-27 On-demand method, equipment and storage medium Pending CN112511991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011364815.XA CN112511991A (en) 2020-11-27 2020-11-27 On-demand method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011364815.XA CN112511991A (en) 2020-11-27 2020-11-27 On-demand method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112511991A true CN112511991A (en) 2021-03-16

Family

ID=74967239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011364815.XA Pending CN112511991A (en) 2020-11-27 2020-11-27 On-demand method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112511991A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006103389A1 (en) * 2005-03-31 2006-10-05 Matsushita Electric Industrial Co. Ltd. Tunnelling of multicast data
CN101155053A (en) * 2006-09-25 2008-04-02 华为技术有限公司 Method and system for implementing multicast broadcasting service
CN102137431A (en) * 2010-01-21 2011-07-27 杭州华三通信技术有限公司 Method, system and device for WLAN (Wireless Local Area Network) multicasting transmission
WO2017054576A1 (en) * 2015-09-30 2017-04-06 中兴通讯股份有限公司 Unicast tunnel building method, apparatus and system
CN107094117A (en) * 2016-02-18 2017-08-25 大唐移动通信设备有限公司 Subway PIS business multi-cast system and method based on LTE

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006103389A1 (en) * 2005-03-31 2006-10-05 Matsushita Electric Industrial Co. Ltd. Tunnelling of multicast data
CN101155053A (en) * 2006-09-25 2008-04-02 华为技术有限公司 Method and system for implementing multicast broadcasting service
CN102137431A (en) * 2010-01-21 2011-07-27 杭州华三通信技术有限公司 Method, system and device for WLAN (Wireless Local Area Network) multicasting transmission
WO2017054576A1 (en) * 2015-09-30 2017-04-06 中兴通讯股份有限公司 Unicast tunnel building method, apparatus and system
CN107094117A (en) * 2016-02-18 2017-08-25 大唐移动通信设备有限公司 Subway PIS business multi-cast system and method based on LTE

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
俞成龙: "基于隧道的车地高速组播实现", 《科学技术创新》 *

Similar Documents

Publication Publication Date Title
US10631144B2 (en) Method and device for charging traffic data flow of user equipment
US20170272365A1 (en) Method and appratus for controlling network traffic
US10471895B2 (en) Video transmission for road safety applications
WO2017076056A1 (en) Service forwarding method and apparatus
CN104427567B (en) Realize the mobile method and system of IP, access point apparatus, Radio Access Controller
US20200287965A1 (en) Device to device grouping of personal communication nodes
WO2017028679A1 (en) Data receiving, sending and relay method, device and communication system
Jeong et al. A hybrid V2X system for safety-critical applications in VANET
US10939409B2 (en) Data transmission method and device, user equipment, and base station
US20190253880A1 (en) Interception method and apparatus based on local breakout
JP2018532336A (en) Method and apparatus for establishing backhaul link
EP2996424B1 (en) Time slot state update method and device
EP3107351B1 (en) Data forwarding control method, controller and access point
KR20190065929A (en) Method and apparatus for transmitting data in system
Saputro et al. Drone-assisted multi-purpose roadside units for intelligent transportation systems
CN106341848B (en) Switching method and device
US10701613B2 (en) Path switching method and apparatus based on user text information
CN112511991A (en) On-demand method, equipment and storage medium
EP3843333A1 (en) Communication method and apparatus
CN106341813B (en) Information sending and receiving method and device
EP3624490A1 (en) Network access method of terminal, and method and apparatus for mobility support and data delivery
US10069948B2 (en) Method, apparatus, and system for acquiring media service parameter indication
JP6672460B2 (en) Paging in group communication systems
CN110505254A (en) A kind of communication means, system and the terminal of platooning's traveling
JP2007036432A (en) Mobile communications system

Legal Events

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