Media stream transmission method and apparatus based on edge device, and electronic device
Patent Information
- Application Number
- PCT/CN2024/113750
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-30
- Filing Date
- 2024-08-21
- Publication Date
- 2025-03-06
Smart Images

Figure CN2024113750_06032025_PF_FP_ABST
Abstract
Description
A media streaming transmission method, device and electronic device based on edge device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on August 30, 2023, with application number 202311110372.5 and invention name “A media streaming transmission method, device and electronic device based on edge devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of video transmission, and in particular to a media stream transmission method, apparatus and electronic device based on edge devices. Background Art
[0003] During the packaging and packing process in the logistics warehouse, a video recorder or camera will film and record the operator's actions on the workbench. After the user receives the package, if the package is damaged or other abnormalities occur during delivery, the video recording can be provided as evidence to prove that no damage was caused to the items during the packaging or loading and unloading process.
[0004] To ensure the reliability of video recording, a real-time video preview window will be provided on the operating system of the monitoring end page for operators to monitor whether the video recording is running normally. When the operator finds that the packaging operation equipment has an abnormality, he can promptly repair or replace other recordable equipment.
[0005] Because all operational processes must be continuously displayed during real-time video recording, existing solutions require recorders or cameras to connect to the public network via standard protocols. This can significantly consume network bandwidth in warehouses with large packaging volumes, requiring simultaneous recording and playback at numerous workstations. Furthermore, because video media streams are transmitted over the public network, network instability can occur, impacting monitoring effectiveness.
[0006] Summary of the Invention
[0007] In view of this, the present invention provides a media stream transmission method, apparatus and electronic device based on edge devices to solve the problem of occupies a large amount of network resources when transmitting and playing media streams over the public network.
[0008] In the first aspect, the present invention provides a media stream transmission method based on edge devices, which is applied to an edge all-in-one machine, and the method includes: the edge all-in-one machine receives a live broadcast request message sent from a site equipment management cloud module of a first network, the live broadcast request message includes a camera module identifier of a client requesting live broadcast, wherein the edge all-in-one machine is connected to the second network; the edge all-in-one machine generates media stream service information according to the camera module identifier, and the media stream service information includes: an edge live broadcast address, an IP address of the edge all-in-one machine, and a port for receiving the media stream; the edge all-in-one machine sends the media stream service information to the site equipment management cloud module, so that the site equipment management cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream according to the edge live broadcast address, IP address and port; when the target network video recorder feedbacks that the request is successful, the edge all-in-one machine receives the media stream recorded by the camera module from the target network video recorder, and transmits the media stream to the client according to the edge live broadcast address.
[0009] The first network is a public network, and the second network is a private network, such as a local area network.
[0010] Optionally, the site equipment management cloud module is an SDM cloud module, and the target network video recorder is a target NVR.
[0011] Optionally, the edge live broadcast address is a uniform resource locator URL.
[0012] In combination with the first aspect, in a possible implementation method, the edge all-in-one machine includes a site equipment management edge device and a visual network recording edge device; the edge all-in-one machine receives a live broadcast request message sent from the site equipment management cloud module, including: the site equipment management edge device receives the live broadcast request message sent by the site equipment management cloud module; the site equipment management edge device sends the live broadcast request message to the visual network recording edge device.
[0013] In combination with the first aspect, in another possible implementation method, the edge all-in-one device generates media stream service information based on the camera module identifier, including: the visual network recording edge device receives the live broadcast request message sent by the site equipment management edge device; the visual network recording edge device generates media stream service information based on the camera module identifier, the IP address of the visual network recording edge device, and the receiving video port of the visual network recording edge device; the visual network recording edge device sends the media stream service information to the site equipment management edge device.
[0014] In combination with the first aspect, in another possible implementation method, the edge all-in-one machine sends the media stream service information to the site equipment management cloud module, including: the site equipment management edge device receives the media stream service information sent by the visual network recording edge device, and forwards the media stream service information to the site equipment management cloud module.
[0015] In combination with the first aspect, in another possible implementation method, the edge all-in-one device receives the media stream recorded by the target network video recorder through the camera module, and transmits the media stream to the client according to the edge live broadcast address, including: the visual network recording edge device receives the media stream sent by the target network video recorder; when the visual network recording edge device receives the edge live broadcast address from the client, the media stream is sent to the client.
[0016] In the second aspect, the present invention provides a media stream transmission method based on edge devices, the method comprising: a site equipment management cloud module receives a live broadcast request message sent from a client of a second network, the live broadcast request message includes a camera module identifier for requesting live broadcast, and the site equipment management cloud module is located in the first network; the site equipment management cloud module sends a live broadcast request message to an edge all-in-one machine of the second network; the site equipment management cloud module receives media stream service information fed back by the edge all-in-one machine based on the live broadcast request message, the media stream service information includes: an edge live broadcast address, an IP address of the edge all-in-one machine, and a port for receiving media streams; the site equipment management cloud module sends media stream service information and a camera module identifier to a visual network recording cloud module of the first network, so that the visual network recording cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream; when receiving a message that the target network video recorder feedbacks a successful request, the site equipment management cloud module sends the edge live broadcast address to the client, so that the client obtains and plays the media stream from the edge all-in-one machine through the edge live broadcast address.
[0017] In combination with the second aspect, in a possible implementation method, before the site equipment management cloud module receives the live broadcast request message from the client, it also includes: the site equipment management cloud module receives the device information of the edge all-in-one machine, and the device information includes the device identification of the edge all-in-one machine and the identification of the second network; the site equipment management cloud module registers the device information of the edge all-in-one machine, and establishes a correspondence between the device identification of the edge all-in-one machine and the second network identification; the site equipment management cloud module sends a live broadcast request message to the edge all-in-one machine, including: the site equipment management cloud module searches for whether there is an edge all-in-one machine that has a corresponding relationship with the second network identification in at least one pre-stored correspondence; if so, sends a live broadcast request message to the edge all-in-one machine.
[0018] In combination with the second aspect, in another possible implementation method, before the site equipment management cloud module receives the live broadcast request message from the client, it also includes: the site equipment management cloud module receives registration information of at least one network video recorder and the camera module contained in each network video recorder, and the registration information is used to determine the target network video recorder and the video module for recording the media stream.
[0019] In combination with the second aspect, in another possible implementation method, the edge all-in-one machine includes a site equipment management edge device and a visual network recording edge device, and the site equipment management cloud module sends a live broadcast request message to the edge all-in-one machine of the second network, including: the site equipment management cloud module sends a live broadcast request message to the site equipment management edge device; the site equipment management cloud module receives the media stream service information fed back by the edge all-in-one machine based on the live broadcast request message, including: the site equipment management cloud module receives the media stream service information forwarded by the site equipment management edge device.
[0020] In the third aspect, the present invention provides a media stream transmission device, which includes: a first receiving unit, used to receive a live broadcast request message sent by a site equipment management cloud module from a first network, the live broadcast request message includes a camera module identifier requested by a client for live broadcast, and the device is located in a second network, and the first network and the second network are different; a generating unit, used to generate media stream service information based on the camera module identifier, the media stream service information includes: an edge live broadcast address, an IP address of an edge all-in-one machine, and a port for receiving media streams; a first sending unit, used to send the media stream service information to the site equipment management cloud module, so that the site equipment management cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream according to the edge live broadcast address, IP address and port; the first receiving unit is also used to receive the media stream recorded by the target network video recorder through the camera module when the target network video recorder feedbacks that the request is successful; the first sending unit is also used to transmit the media stream to the client according to the edge live broadcast address.
[0021] In a fourth aspect, the present invention provides another media stream transmission device, which includes: a second receiving unit, used to receive a live broadcast request message sent from a client of a second network, the live broadcast request message including a camera module identifier requesting live broadcast; a second sending unit, used to send a live broadcast request message to an edge all-in-one machine of the second network; the second receiving unit, also used to receive media stream service information fed back by the edge all-in-one machine based on the live broadcast request message, the media stream service information including: an edge live broadcast address, an IP address of the edge all-in-one machine, and a port for receiving media streams; the second sending unit, also used to send media stream service information and a camera module identifier to a visual network recording cloud module of the first network, so that the visual network recording cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream; the second sending unit, also used to send the edge live broadcast address to the client when the second receiving unit receives a message that the request is successful from the target network video recorder, so that the client obtains and plays the media stream from the edge all-in-one machine through the edge live broadcast address.
[0022] In the fifth aspect, the present invention also provides a media stream transmission system, which includes: a site equipment management cloud module, a visual network recording cloud module, a client, an edge all-in-one machine, and at least one network video recorder; wherein, the site equipment management cloud module and the visual network recording cloud module are located in a first network; the client, the edge all-in-one machine and at least one network video recorder are located in a second network, wherein the first network is a public network and the second network is a private network.
[0023] The site equipment management cloud module is used to receive a live broadcast request message from the client and send the live broadcast request message to the edge all-in-one machine, where the live broadcast request message includes the camera module identifier for requesting live broadcast; the edge all-in-one machine is used to receive the live broadcast request message, generate media stream service information based on the camera module identifier, and send the media stream service information to the site equipment management cloud module, where the media stream service information includes: edge live broadcast address, IP address of the edge all-in-one machine, and port for receiving media stream; the site equipment management cloud module is used to receive media stream service information and send media stream service information and camera module identifier to the visual network recording cloud module; the visual network recording cloud module is used to receive media stream service information and camera module identifier, and request to obtain media stream from the target network video recorder corresponding to the camera module identifier, where the target network video recorder is one of at least one network video recorder; the edge all-in-one machine is used to receive the media stream recorded by the target network video recorder through the camera module; the site equipment management cloud module is used to send the edge live broadcast address to the client; the client is used to obtain and play the media stream from the edge all-in-one machine through the edge live broadcast address.
[0024] In a sixth aspect, the present invention provides an electronic device comprising: a memory and a processor, the memory and the processor being communicatively connected, computer instructions being stored in the memory, and the processor executing the edge device-based media stream transmission method described in the first aspect, the second aspect, or any corresponding implementation thereof by executing the computer instructions.
[0025] In addition, the present invention provides a computer-readable storage medium having computer instructions stored thereon, and the computer instructions are used to enable a computer to execute the edge device-based media streaming transmission method described in the above-mentioned first aspect, second aspect or any corresponding implementation thereof.
[0026] The media stream transmission method, apparatus, and equipment provided in this embodiment deploy the edge device on an edge all-in-one machine in the second network (local area network), and establish a long connection with at least one cloud module in the first network, such as the site equipment management cloud module and the visual network recording cloud module. When the client needs to request edge live broadcast in the second network, the media stream recorded by the camera module is received through the edge all-in-one machine. The edge all-in-one machine receives the media stream data from the network video recorder, and transcodes and provides a local area network edge live broadcast address for the client to use. The media stream data is transmitted through the local area network, thereby saving bandwidth resources of the public network first network and improving the stability and smoothness of video playback. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] FIG1 is a schematic diagram of a scenario of a media streaming live broadcast system provided by an embodiment of the present invention;
[0029] FIG2 is a signaling flow chart of a media stream transmission method based on an edge device provided in an embodiment of the present invention;
[0030] 3 is a signaling flow chart of another edge device-based media stream transmission method provided in an embodiment of the present invention;
[0031] FIG4 is a structural block diagram of a media stream transmission device provided by an embodiment of the present invention;
[0032] FIG5 is a structural block diagram of another media stream transmission device provided by an embodiment of the present invention;
[0033] FIG6 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0034] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.
[0035] The technical solution provided by the embodiment of the present invention is applied to a media stream live broadcast system, or a media stream system for live broadcasting of logistics packaging process.
[0036] As shown in Figure 1, the system includes: a station device management (SDM) cloud module, an AIoTVideo cloud module, at least one client, an SDM edge device, an AIoTVideo edge device, at least one network video recorder (NVR), and at least one camera module, such as a camera.
[0037] Among them, AIoT is AI+IoT, that is, the integration of artificial intelligence technology and the Internet of Things in practical applications. The AIoTVideo visual network recording cloud module refers to an AIoT cloud device with video recording function; similarly, the AIoTVideo visual network recording edge device refers to an AIoT edge device with video recording function.
[0038] In addition, the SDM cloud module (SDM_Cloud) and / or the AIoTVideo cloud module can be a network device, such as a server or server cluster, or a gateway, etc., which is not limited in this embodiment.
[0039] The at least one NVR includes NVR1, NVR2, .... Each NVR uses one or more channels to connect to different camera modules. For example, NVR1 uses channel 1 to connect to camera module 1 and uses channel 2 to connect to camera module 2. Similarly, NVR2 uses channel 3 to connect to camera module 3 and uses channel 4 to connect to camera module 4, and so on.
[0040] The camera module includes but is not limited to a camera, and may also be other devices with photo taking / recording functions.
[0041] The functions of each module are as follows:
[0042] The SDM cloud module is responsible for managing the metadata of video devices and providing an entry point for business systems to use video devices, such as: viewing video device status, viewing real-time video, viewing recordings, downloading recordings, etc.
[0043] The SDM edge device (SDM_Edge), also known as the edge gateway, is responsible for communicating with the AIoTVideo edge device and reporting its information to the cloud for scheduling by the AIoTVideo cloud module.
[0044] The AIoTVideo cloud module (AIoTVideo_Cloud) is responsible for connecting to the video recorder device, managing the device status, and interacting with control commands.
[0045] The AIoTVideo edge device (AIoTVideo_Edge) is responsible for receiving the stream push and transcoding from the edge-side video recorder.
[0046] The network video recorder (NVR) is responsible for connecting to camera devices, storing recordings, and connecting to the cloud to provide video preview and playback.
[0047] Furthermore, the above-mentioned devices are wirelessly connected. Specifically, the SDM cloud module and the AIoTVideo cloud module communicate using HTTP (Hyper Text Transfer Protocol); at least one NVR and the AIoTVideo cloud module communicate using Socket protocol; at least one NVR and the AIoTVideo edge device communicate using Socket protocol; the SDM edge device and the SDM cloud module communicate using Socket protocol; the SDM edge device and the AIoTVideo edge device communicate using HTTP protocol.
[0048] Optionally, the SDM edge device and the AIoTVideo edge device are separated into two devices, or they can be integrated into the same device. In this case, the SDM edge device and the AIoTVideo edge device are two functional modules integrated into one device, which can be called an "edge all-in-one machine".
[0049] Typically, NVRs use the GB28181 protocol (GB28181 is a national standard for video surveillance) to establish a connection with a cloud signaling service. To play real-time video, the NVR transmits video data to the cloud via the public network, and users then retrieve the corresponding video media stream data from the cloud. However, when there are a large number of workstations and a large amount of video media streams to play, this can consume a significant amount of public network bandwidth, potentially leading to network congestion, transmission delays, and unstable real-time video playback.
[0050] In order to solve the above-mentioned technical problems, the technical solution provided in the embodiment of the present application provides a media streaming transmission method based on edge devices. The method pre-divides the various devices mentioned above into two networks, namely a first network and a second network, wherein the first network includes: an SDM cloud module and an AIoTVideo cloud module. The second network includes: an SDM edge device, an AIoTVideo edge device, at least one NVR, and at least one camera module. In addition, the first network and the second network may also include other more or fewer modules / devices, which are not limited in this embodiment.
[0051] In addition, at least one client can be set in the first network or in the second network. For example, the first client (client1) is located in the first network and the second client (client2) is located in the second network. This embodiment does not limit this, but this embodiment takes the client located in the second network as an example.
[0052] Optionally, the first network may be referred to as a public network, or outside the warehouse, and the second network may be referred to as a private network, such as a local area network, or inside the warehouse.
[0053] In this embodiment, by setting up SDM edge devices and SDM edge streaming services (AIoTVideo cloud module) in the warehouse, when playing real-time videos in the warehouse, the media stream data is transmitted through the private network with the help of SDM edge devices. When on the public network, the video is pulled through the public network with the help of cloud live broadcast, thereby saving public network bandwidth resources.
[0054] Example 1
[0055] 2 , a method for transmitting media streams based on edge devices is provided in this embodiment. The method includes the following steps:
[0056] Step 100: In the preparation phase, each NVR sends registration information to the AIoTVideo cloud module to register at least one NVR in the cloud network.
[0057] One implementation method is that each NVR registers the camera module information using the GB28181 protocol on the AIoTVideo cloud module. Further, specifically including:
[0058] The NVR sends channel information to the AIoTVideo cloud module. The channel information includes a channel identifier and a national standard ID. The channel refers to the communication link between each camera module and the NVR it is connected to. The channel representation can be an IPC (Internet Protocol Camera) camera, which is a network protocol-based camera also known as a webcam or network surveillance camera. It uses a network connection (such as Ethernet) to transmit video and audio data and communicate with other devices over the network.
[0059] In addition, the national standard ID is used to identify each channel, such as national standard ID 1 and national standard ID 2. Optionally, the national standard ID can be a string consisting of numbers, letters, and symbols.
[0060] The preparation phase also includes: after receiving the channel information, the AIoTVideo cloud module generates video device information and sends the video device information to the SDM cloud module. After receiving the video device information, the SDM cloud module saves the video device metadata, i.e., the video device information.
[0061] Video device information includes at least one parent-child relationship. For example, if NVR1 is connected to two camera modules, the corresponding device identifiers are IPC1 and IPC2, so a parent-child relationship is established: NVR1-IPC1&IPC2. Similarly, each other NVR and its connected camera module IPC can be established and this information can be stored in the SDM cloud module.
[0062] The method provided in this embodiment is described in detail below.
[0063] As shown in FIG2 , the media stream transmission method includes:
[0064] Step 101: The client sends an edge live broadcast request message to the SDM cloud module via a designated channel; correspondingly, the SDM cloud module receives the live broadcast request message from the client.
[0065] The live broadcast request message includes the camera module identifier for the live broadcast request. For example, the camera module identifier is IPC1 or channel 1, indicating a request to obtain the live media stream from IPC1, or a request to obtain the live media stream of IPC1 connected to channel 1.
[0066] The client is a client located in the second network. The client can be a terminal device, including but not limited to various personal computers (PCs), laptops, smart phones, tablet computers, etc.
[0067] Step 102: The SDM cloud module sends the live broadcast request message to the edge device to request at least one NVR to obtain the media stream.
[0068] Step 103: After receiving the live broadcast request message sent by the SDM cloud module, the edge all-in-one device generates media stream service information according to the camera module identifier.
[0069] The media stream service information includes the edge live broadcast URL (Uniform Resource Locator), the IP address of the edge device, and the port (port number) used by the edge device to receive the media stream. The IP address of the edge device and the port (port number) used to receive the media stream can be pre-set and stored on the edge device for use when generating the media stream service information.
[0070] Step 104: The edge all-in-one machine sends the media stream service information to the SDM cloud module.
[0071] Correspondingly, the SDM cloud module receives the media stream service information fed back by the edge all-in-one machine, and the media stream service information includes: edge live broadcast address URL, IP address and port of the edge all-in-one machine and other contents.
[0072] Step 105: The SDM cloud module sends the media stream service information and the camera module identifier to the AIoTVideo cloud module. The media stream service information is obtained in step 104, and the camera module identifier is obtained in step 101.
[0073] Step 106: The AIoTVideo cloud module receives the media stream service information and the camera module identifier, and requests the target NVR corresponding to the camera module identifier to obtain the media stream based on this information.
[0074] Specifically, the AIoTVideo cloud module determines the target NVR based on the camera module identifier, and then sends an invite request to the target NVR to request the media stream from the target NVR. The invite request includes the IP address of the edge device and the port on which the edge device receives the video / media stream.
[0075] Furthermore, one implementation of the AIoTVideo cloud module determining the target NVR is that the AIoTVideo cloud module searches for an NVR associated with the current IPC1 based on the camera module identifier, such as at least one pre-stored parent-child relationship (the video device information stored in the aforementioned preparation phase) for IPC1, and uses this NVR as the target NVR. In this example, assuming that IPC1 is associated with NVR1, i.e., a parent-child relationship exists, the target NVR is NVR1.
[0076] Step 107: When IPC1 is turned on, it captures the surrounding environment, records and generates a media stream, and pushes the media stream to the edge all-in-one device through the target NVR.
[0077] Correspondingly, the edge all-in-one device receives and stores the media stream pushed by the target NVR in real time.
[0078] Step 108: The target NVR returns a response to the AIoTVideo cloud module based on the invite request in step 106. The response may indicate a successful request or an unsuccessful request.
[0079] Correspondingly, the AIoTVideo cloud module receives the response and makes a judgment. If the AIoTVideo cloud module receives a message indicating that the request is successful, such as receiving a response, it means that the invitation is successful, and step 109 is executed.
[0080] If the AIoTVideo cloud module does not receive a response, it means that the request is unsuccessful, the request fails, and the process ends. Furthermore, whether the request is successful can be indicated and determined by the fields or identification codes in the response.
[0081] Step 109: The AIoTVideo cloud module sends the message indicating the successful request in step 108 (i.e., the response) to the SDM cloud module.
[0082] Step 110: After receiving the successful request message, the SDM cloud module sends the edge live broadcast address URL to the client. Optionally, the URL is also called the edge live broadcast address URL.
[0083] Step 111: After receiving the edge live broadcast address URL, the client requests the edge all-in-one machine to obtain the media stream through the edge live broadcast address URL.
[0084] Step 112: The edge appliance sends the media stream received in step 107 to the client according to the URL.
[0085] The client receives the media stream and uses the client's playback software to play the media stream in real time, thereby achieving live broadcast of the media stream on the client.
[0086] The method provided in this embodiment deploys the edge device on an edge all-in-one machine in the second network (local area network), establishes a long connection with at least one cloud module in the first network, such as the SDM cloud module and the AIoTVideo cloud module. When the client needs to request edge live broadcast in the local area network, the media stream recorded by the camera module is received through the edge all-in-one machine, and the edge all-in-one machine receives the media stream data of the network video recorder NVR, and transcodes and provides the local area network stream edge live broadcast address URL for the client to use. The media stream data is transmitted through the local area network, thereby saving public network bandwidth resources and improving the stability and smoothness of video playback.
[0087] Example 2
[0088] This embodiment is based on the aforementioned embodiment 1, and splits the edge all-in-one device into: SDM site equipment management edge device and AIoTVideo visual network recording edge device, and further introduces the media stream transmission method process of the aforementioned embodiment 1.
[0089] 3 , which is a signaling flow chart of a media stream transmission method based on an edge device provided in this embodiment.
[0090] First, in the preparation stage, step 100 also includes:
[0091] Step 100 - 1 : The SDM edge device registers device information with the SDM cloud module. The device information includes: the device identifier and the warehouse identifier of the SDM edge device.
[0092] Specifically, the device identifier of the SDM edge device can be the device name, model or device ID, etc.; the in-warehouse identifier can be the identifier of the second network (local area network), IP address, etc.; in this embodiment, it is assumed that the in-warehouse identifier is identifier 1.
[0093] Step 100-2: After receiving the registered device information, the SDM cloud module establishes a correspondence between the device identifier of the SDM edge device and the warehouse identifier, for example, a first correspondence between the device identifier ID1 and the second network IP address (ie, identifier 1).
[0094] It should be understood that a correspondence between the device identifications of other edge devices and the intranet may also be established, such as a second or third correspondence.
[0095] Step 101: The client sends a live broadcast request message to the SDM cloud module through a designated channel, which is the same as step 101 in embodiment 1.
[0096] After receiving the live broadcast request message, the SDM cloud module uses the database to query whether the SDM edge device is deployed and configured in the current warehouse (second network). If so, step 102-1 is executed. If not, the SDM edge device is not deployed, edge live broadcast is not supported, and the process ends.
[0097] The query process specifically includes: the SDM cloud module searches for a first correspondence in at least one pre-stored correspondence (established by steps 100-1 and 100-2) based on warehouse (second network) identifier 1. The first correspondence is a correspondence between identifier 1 and the device identifier of the SDM edge device. If the first correspondence exists, it is determined that the SDM edge device is deployed. If not, the SDM edge device is not deployed.
[0098] Step 102-1: If it is determined that an SDM edge device is deployed in the warehouse, the SDM cloud module sends the live broadcast request message to the SDM edge device. The request message includes: a camera module identifier, which is used to indicate that the client wants to call the live media stream data of a certain IPC.
[0099] Step 102-2, the SDM edge device sends the live broadcast request message to the AIoTVideo edge device and sends a request to create an edge stream (including the camera module identifier). At this time, the AIoTVideo edge device is ready to receive the media stream.
[0100] Step 103-1: After receiving the request to create a pull stream, the AIoTVideo edge device generates streaming service information according to the camera module identifier, the IP address of the AIoTVideo edge device, and the port of the AIoTVideo edge device for receiving videos.
[0101] Among them, the streaming media service information includes: edge live broadcast address URL, AIoTVideo edge device IP address and the port (port number), etc.
[0102] Step 103-2: The AIoTVideo edge device sends the streaming service information to the SDM edge device.
[0103] Step 104: After receiving the streaming service information, the SDM edge device forwards the streaming service information to the SDM cloud module.
[0104] After receiving the streaming service information, the SDM cloud module sends the streaming service information and the camera module identifier to the AIoTVideo cloud module to invite the AIoTVideo cloud module to pull the stream at the edge. After receiving the streaming service information, the AIoTVideo cloud module determines the target NVR based on the camera module identifier and sends an invite request to the target NVR. The invite request includes the IP address of the AIoTVideo edge device and the above-mentioned video port. The AIoTVideo edge device also receives the media stream sent by the target NVR, and when receiving the edge live broadcast address URL from the client, it sends the media stream to the client.
[0105] The specific implementation process is the same as step 105 to step 112 in the first embodiment. Please refer to the description of the first embodiment above, and will not be repeated in this embodiment.
[0106] In this embodiment, the functions of the edge all-in-one device are divided into two functional modules: SDM edge device and AIoTVideo edge device. Among them, the SDM edge device (or SDM edge gateway) is responsible for communicating with the AIoTVideo edge device and reporting its information to the cloud for scheduling by the AIoTVideo cloud module. The AIoTVideo edge device is responsible for receiving the edge-side video recorder NVR push stream and transcoding. An edge gateway is provided and privately deployed at the user's site. The system can be configured to use edge live broadcast in a designated warehouse. When a live broadcast is requested on site, the edge gateway receives the media stream data of the video recorder and transcodes it to provide a LAN pull stream address for the user to use. The video data is transmitted through the LAN, saving public network bandwidth and improving the stability and smoothness of video playback.
[0107] In some embodiments, the invention further provides a media streaming device for implementing the methods described in the above embodiments. Details already described are omitted for clarity. As used below, the term "unit" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0108] As shown in FIG4 , this embodiment provides a media stream transmission device, which includes: a first receiving unit 410 , a generating unit 420 and a first sending unit 430 ; the device is used to implement part or all of the functions of the aforementioned edge all-in-one machine.
[0109] Among them, the first receiving unit 410 is used to receive a live broadcast request message sent from the site equipment management cloud module of the first network, and the live broadcast request message includes the camera module identifier requested by the client for live broadcast.
[0110] The generating unit 420 is configured to generate media stream service information according to the camera module identifier. The media stream service information includes: an edge live broadcast address, an IP address of an edge all-in-one device, and a port for receiving media streams.
[0111] The first sending unit 430 is configured to send the media stream service information to the site equipment management cloud module, so that the site equipment management cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream based on the edge live broadcast address, IP address, and port. The target network video recorder and the camera module identifier are both located on the second network.
[0112] The first receiving unit 410 is further configured to receive a media stream recorded by the camera module from the target network video recorder when the target network video recorder returns a successful response to the request.
[0113] The first sending unit 430 is further configured to transmit the media stream to the client according to the edge live broadcast address.
[0114] Optionally, in a specific embodiment, the above-mentioned edge integrated machine includes: a site equipment management edge device and a visual network recording edge device.
[0115] The first receiving unit 410 is specifically configured to receive a live broadcast request message sent by the site equipment management cloud module.
[0116] The first sending unit 430 is further configured to send the live broadcast request message to the visual network recording edge device.
[0117] Optionally, in another specific implementation, the first receiving unit 410 is further configured to receive the live broadcast request message sent by the site equipment management edge device.
[0118] The generation unit 420 is further configured to generate the media stream service information according to the camera module identifier, the IP address of the visual network recording edge device, and the receiving video port of the visual network recording edge device.
[0119] The first sending unit 430 is further configured to send the media stream service information to the site device management edge device.
[0120] Optionally, in another specific implementation, the first receiving unit 410 is further configured to receive the media stream service information sent by the visual network recording edge device.
[0121] The first sending unit 430 is further configured to forward the media stream service information to the site equipment management cloud module.
[0122] Optionally, in another specific implementation, the first receiving unit 410 is further configured to receive the media stream sent by the target network video recorder.
[0123] The first sending unit 430 is further configured to send the media stream to the client when the first receiving unit 410 receives the edge live broadcast address from the client.
[0124] In addition, in another embodiment, as shown in Figure 5, the present invention also provides another media stream transmission device, which includes: a second receiving unit 510, a second sending unit 520. In addition, the device may also include other units and modules, such as a storage unit, a processing unit, etc., which is not limited in this embodiment.
[0125] The second receiving unit 510 is configured to receive a live broadcast request message sent from a client on the second network, where the live broadcast request message includes an identifier of a camera module requesting live broadcast.
[0126] The second sending unit 520 is configured to send a live broadcast request message to the edge machine of the second network.
[0127] The second receiving unit 510 is further configured to receive media stream service information fed back by the edge appliance according to the live broadcast request message. The media stream service information includes: edge live broadcast address, IP address of the edge appliance, and port for receiving media stream.
[0128] The second sending unit 520 is further used to send media stream service information and camera module identification to the visual network recording cloud module of the first network, so that the visual network recording cloud module requests the target network video recorder corresponding to the camera module identification to obtain the media stream.
[0129] The second sending unit 520 is further configured to send an edge live broadcast address to the client when the second receiving unit 510 receives a message indicating that the target network video recorder has successfully fed back the request, so that the client can obtain and play the media stream from the edge all-in-one device through the edge live broadcast address.
[0130] Optionally, in a specific implementation, the second receiving unit 510 is further configured to receive device information of the edge machine, where the device information includes a device identifier of the edge machine and an identifier of the second network.
[0131] The above-mentioned device also includes a processing unit, which is not shown in Figure 5. The processing unit is used to register the device information of the edge machine and establish a correspondence between the device identification of the edge machine and the second network identification.
[0132] The processing unit is further configured to search at least one pre-stored correspondence to determine whether there is an edge machine corresponding to the second network identifier; if so, send a live broadcast request message to the edge machine via the second sending unit 520 .
[0133] Optionally, in another specific embodiment, the second receiving unit 510 is further used to receive registration information of at least one network video recorder of the second network and the camera module contained in each of the network video recorders, and the registration information is used to determine the target network video recorder and the video module for recording the media stream.
[0134] Optionally, in another specific implementation, the edge all-in-one device includes: a site equipment management edge device and a visual network recording edge device.
[0135] The second sending unit 520 is further configured to send the live broadcast request message to the site equipment management edge device.
[0136] The second receiving unit 510 is configured to receive the media stream service information forwarded by the site equipment management edge device.
[0137] The media stream transmission device in the above embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0138] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0139] In addition, this embodiment further provides a media stream live broadcast system, which includes the media stream transmission device shown in Figure 4 or Figure 5, and is used to execute the media stream transmission method described in the above-mentioned embodiment 1 and embodiment 2.
[0140] The system includes a first network and a second network composed of different devices. The devices and connection relationships included in the first network and the second network are shown in FIG1 .
[0141] Specifically, the site equipment management cloud module is used to receive a live broadcast request message from a client of the second network and send the live broadcast request message to the edge all-in-one machine of the second network. The live broadcast request message includes an identifier of a camera module requesting live broadcast.
[0142] The edge all-in-one machine is used to receive the live broadcast request message, generate media stream service information according to the camera module identifier, and send the media stream service information to the site equipment management cloud module, wherein the media stream service information includes: edge live broadcast address, IP address of the edge all-in-one machine, and port for receiving media stream.
[0143] The site equipment management cloud module is used to receive the media stream service information and send the media stream service information and the camera module identifier to the visual network recording cloud module.
[0144] The visual network recording cloud module is used to receive the media stream service information and the camera module identifier, and request the target network video recorder corresponding to the camera module identifier to obtain the media stream, and the target network video recorder is one of at least one network video recorder.
[0145] The edge all-in-one machine is used to receive the media stream recorded by the target network video recorder through the camera module.
[0146] The site equipment management cloud module is used to send the edge live broadcast address to the client.
[0147] The client is used to obtain and play the media stream from the edge all-in-one device through the edge live broadcast address.
[0148] Optionally, in a possible implementation of this embodiment, if the edge all-in-one device includes two devices: a site equipment management edge device and a visual network recording edge device, the functions of the above-mentioned edge all-in-one device specifically include:
[0149] The site equipment management edge device is used to receive the live broadcast request message sent by the site equipment management cloud module, and send the live broadcast request message to the visual network recording edge device.
[0150] The visual network recording edge device is used to receive the live broadcast request message sent by the site equipment management edge device, generate the media stream service information according to the camera module identifier, the IP address of the visual network recording edge device, and the receiving video port of the visual network recording edge device in the live broadcast request message; and send the media stream service information to the site equipment management edge device.
[0151] Optionally, in another possible implementation of this embodiment, the above-mentioned site equipment management edge device is also used to receive the media stream service information sent by the visual network recording edge device, and forward the media stream service information to the site equipment management cloud module.
[0152] Correspondingly, the site equipment management cloud module receives the media stream service information sent from the site equipment management edge device.
[0153] Optionally, in another possible implementation of this embodiment, the functions of the above-mentioned edge all-in-one machine specifically also include: a visual network recording edge device, used to receive the media stream sent by the target network video recorder; the client, also used to send the edge live broadcast address to the visual network recording edge device; the visual network recording edge device, also used to send the media stream to the client when receiving the edge live broadcast address from the client.
[0154] Optionally, in another possible implementation of this embodiment, the above-mentioned site equipment management cloud module is further used to receive device information of the edge all-in-one machine before receiving the live broadcast request message sent by the client, and the device information includes: the device identification of the edge all-in-one machine and the identification of the second network.
[0155] The site equipment management cloud module is specifically used to register the device information of the edge all-in-one machine and establish a corresponding relationship between the device identification of the edge all-in-one machine and the second network identification.
[0156] When the client sends a live broadcast request message to the site equipment management cloud module, the site equipment management cloud module is also used to search whether there is an edge all-in-one machine that has a corresponding relationship with the second network identifier in at least one pre-stored correspondence; if so, it is determined that the edge device, that is, the edge all-in-one machine, is pre-deployed, and a live broadcast request message is sent to the edge all-in-one machine.
[0157] Optionally, in another possible implementation of this embodiment, the site equipment management cloud module is further used to receive registration information of at least one network video recorder and the camera module contained in each network video recorder before receiving the live broadcast request message sent from the client, and determine the target network video recorder and the video module for recording the media stream based on these registration information.
[0158] Optionally, in another possible implementation of this embodiment, if the edge all-in-one machine includes a site equipment management edge device and a visual network recording edge device, the functions of the above-mentioned edge all-in-one machine specifically include: the site equipment management cloud module is also used to send the live broadcast request message to the site equipment management edge device; the site equipment management edge device is also used to receive the live broadcast request message and forward it to the visual network recording edge device; the visual network recording edge device is used to receive the live broadcast request message, and generate the media stream service information according to the live broadcast request message, and send the media stream service information to the site equipment management edge device; the site equipment management edge device is also used to receive and forward the media stream service information to the site equipment management cloud module, and correspondingly, the site equipment management cloud module is also used to receive the media stream service information forwarded by the site equipment management edge device.
[0159] In the embodiment of this system, the data / information interaction between each device and each module, as well as the intermediate data processing process can be referred to the embodiment description of Figures 2 and 3 above, and will not be repeated here in this embodiment.
[0160] The system provided in this embodiment utilizes the edge all-in-one machine in the second network to obtain and store media stream data for use by clients in the second network, and transmits the media stream data through the local area network, thereby saving public network bandwidth and improving the stability and smoothness of video playback.
[0161] In addition, an embodiment of the present invention further provides an electronic device having the media stream transmission device shown in FIG. 4 or FIG. 5 .
[0162] Please refer to Figure 6, which is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention. The electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface).
[0163] In some alternative embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple storages if desired. Similarly, multiple electronic devices can be connected, with each device providing a portion of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). FIG6 shows a single processor 10 as an example.
[0164] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.
[0165] The memory 20 stores instructions that can be executed by at least one processor 10, so as to enable the at least one processor 10 to implement the media stream transmission method shown in the above embodiment.
[0166] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created based on the use of an electronic device presented by a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0167] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0168] The electronic device also includes an input device and an output device (not shown in Figure 6). The input device and the output device can be connected via a bus or other means. Further, the input device can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.
[0169] The electronic device further includes a communication interface 30 for the electronic device to communicate with other devices or a communication network.
[0170] It should be understood that the electronic device can also be any one of the aforementioned SDM cloud module, AIoTVideo cloud module, client, SDM edge device, and AIoTVideo edge device, and this embodiment is not limited to this.
[0171] An embodiment of the present invention also provides a computer-readable storage medium, and the above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded on a storage medium, or downloaded via a network and originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware.
[0172] The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, among others. Furthermore, the storage medium may include a combination of the aforementioned types of memory. It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a storage component capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the media streaming transmission method for the edge device described in the above embodiment is implemented.
[0173] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A media stream transmission method based on an edge device, the method comprising: The edge integrated machine receives a live broadcast request message sent from a site equipment management cloud module of a first network, wherein the live broadcast request message includes a camera module identifier of a client of a second network requesting live broadcast, and the edge integrated machine is connected to the second network; The edge integrated machine generates media stream service information according to the camera module identifier, where the media stream service information includes: an edge live broadcast address, an IP address of the edge integrated machine, and a port for receiving the media stream; The edge integrated machine sends the media stream service information to the site equipment management cloud module, so that the site equipment management cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream according to the edge live broadcast address, the IP address and the port; When the target network video recorder feedback request is successful, the edge integrated machine receives the media stream recorded by the camera module from the target network video recorder, and transmits the media stream to the client according to the edge live broadcast address.
2. The method according to claim 1, wherein the edge integrated device includes a site equipment management edge device and a visual network recording edge device; The edge integrated machine receives a live broadcast request message sent by a site equipment management cloud module of the first network, including: The site equipment management edge device receives a live broadcast request message sent by the site equipment management cloud module; The site equipment management edge device sends the live broadcast request message to the visual network recording edge device.
3. The method according to claim 2, wherein the edge integrated machine generates media stream service information according to the camera module identifier, comprising: The visual network recording edge device receives the live broadcast request message sent by the site equipment management edge device; The visual network recording edge device generates the media stream service information according to the camera module identifier, the IP address of the visual network recording edge device, and the receiving video port of the visual network recording edge device; The visual network recording edge device sends the media stream service information to the site equipment management Edge devices.
4. The method according to claim 3, wherein the edge integrated machine sends the media stream service information to the site equipment management cloud module, comprising: The site equipment management edge device receives the media stream service information sent by the visual network recording edge device, and forwards the media stream service information to the site equipment management cloud module.
5. The method according to claim 4, wherein the edge integrated machine receives the media stream recorded by the camera module from the target network video recorder, and transmits the media stream to the client according to the edge live broadcast address, comprising: The visual network recording edge device receives the media stream sent by the target network video recorder; When the visual network recording edge device receives the edge live broadcast address from the client, it sends the media stream to the client.
6. A media stream transmission method based on an edge device, the method comprising: The station equipment management cloud module receives a live broadcast request message sent from a client of the second network, wherein the live broadcast request message includes a camera module identifier for requesting live broadcast, and the station equipment management cloud module is located in the first network; The site equipment management cloud module sends the live broadcast request message to the edge integrated machine of the second network; The site equipment management cloud module receives the media stream service information fed back by the edge integrated machine according to the live broadcast request message, wherein the media stream service information includes: an edge live broadcast address, an IP address of the edge integrated machine, and a port for receiving the media stream; The site equipment management cloud module sends the media stream service information and the camera module identifier to the visual network recording cloud module of the first network, so that the visual network recording cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream; When receiving a message indicating that the target network video recorder has fed back a successful request, the site equipment management cloud module sends the edge live broadcast address to the client, so that the client can obtain and play the media stream from the edge integrated device through the edge live broadcast address.
7. The method according to claim 6, further comprising: The site equipment management cloud module receives equipment information of the edge machine, where the equipment information includes an equipment identifier of the edge machine and an identifier of the second network; The station equipment management cloud module registers the equipment information of the edge integrated machine and establishes a correspondence between the device identifier of the edge all-in-one machine and the second network identifier; The station equipment management cloud module sends the live broadcast request message to the edge integrated machine, including: The site equipment management cloud module searches at least one pre-stored correspondence to determine whether there is an edge integrated machine that has a correspondence with the second network identifier; If so, the live broadcast request message is sent to the edge integrated machine.
8. The method according to claim 6, further comprising: The site equipment management cloud module receives registration information of at least one network video recorder of the second network and a camera module included in each of the network video recorders, and the registration information is used to determine the target network video recorder and the video module for recording the media stream.
9. The method according to any one of claims 6 to 8, wherein the edge integrated device comprises a site equipment management edge device and a visual network recording edge device, The site equipment management cloud module sends the live broadcast request message to the edge integrated machine of the second network, including: The site equipment management cloud module sends the live broadcast request message to the site equipment management edge device; The site equipment management cloud module receives the media stream service information fed back by the edge integrated machine according to the live broadcast request message, including: the site equipment management cloud module receives the media stream service information forwarded by the site equipment management edge device.
10. A media stream transmission device, the device comprising: A first receiving unit is used to receive a live broadcast request message sent from a site equipment management cloud module of a first network, wherein the live broadcast request message includes a camera module identifier of a client of a second network requesting live broadcast, and the device is connected to the second network; A generating unit, configured to generate media stream service information according to the camera module identifier, wherein the media stream service information includes: an edge live broadcast address, an IP address of an edge all-in-one device, and a port for receiving a media stream; A first sending unit is used to send the media stream service information to the site equipment management cloud module, so that the site equipment management cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream according to the edge live broadcast address, the IP address and the port; The first receiving unit is further configured to receive a media stream recorded by the camera module from the target network video recorder when the target network video recorder feedbacks a request success; The first sending unit is further configured to transmit the media stream to the edge live broadcast address according to the edge live broadcast address. Describing the client.
11. A media stream transmission device, the device comprising: A second receiving unit is used to receive a live broadcast request message sent from a client of a second network, wherein the live broadcast request message includes a camera module identifier for requesting live broadcast; A second sending unit, configured to send the live broadcast request message to the edge integrated machine of the second network; The second receiving unit is further used to receive the media stream service information fed back by the edge integrated machine according to the live broadcast request message, wherein the media stream service information includes: an edge live broadcast address, an IP address of the edge integrated machine, and a port for receiving the media stream; The second sending unit is further used to send the media stream service information and the camera module identifier to the visual network recording cloud module of the first network, so that the visual network recording cloud module requests the target network video recorder corresponding to the camera module identifier to obtain the media stream; The second sending unit is also used to send the edge live broadcast address to the client when the second receiving unit receives a message that the target network video recorder feedbacks a successful request, so that the client obtains and plays the media stream from the edge integrated machine through the edge live broadcast address.
12. A media streaming transmission system, the system comprising: A site equipment management cloud module, a visual network recording cloud module, a client, an edge integrated machine, and at least one network video recorder; wherein the site equipment management cloud module and the visual network recording cloud module are located in a first network; the client, the edge integrated machine, and the at least one network video recorder are located in a second network; The site equipment management cloud module is used to receive a live broadcast request message from the client and send the live broadcast request message to the edge integrated machine, wherein the live broadcast request message includes a camera module identifier for requesting live broadcast; The edge integrated machine is used to receive the live broadcast request message, generate media stream service information according to the camera module identifier, and send the media stream service information to the site equipment management cloud module, wherein the media stream service information includes: an edge live broadcast address, an IP address of the edge integrated machine, and a port for receiving the media stream; The site equipment management cloud module is used to receive the media stream service information and send the media stream service information and the camera module identifier to the visual network recording cloud module; The visual network recording cloud module is used to receive the media stream service information and the camera module identifier, and request to obtain the media stream from the target network video recorder corresponding to the camera module identifier, wherein the target network video recorder is one of the at least one network video recorder; The edge integrated machine is used to receive the media stream recorded by the target network video recorder through the camera module; The site equipment management cloud module is used to send the edge live broadcast address to the client; The client is used to obtain and play the media stream from the edge integrated machine through the edge live broadcast address.
13. An electronic device, comprising a memory and a processor, wherein the memory and the processor are connected; The memory stores computer instructions; The processor executes the edge device-based media streaming transmission method according to any one of claims 1 to 5 or claims 6 to 9 by executing the computer instructions.
14. A computer-readable storage medium having computer instructions stored thereon, The computer instructions are used to enable a computer to execute the edge device-based media streaming transmission method according to any one of claims 1 to 5 or claims 6 to 9.
Citation Information
Patent Citations
An edge device-based media streaming method, device and electronic device
CN119545030B
Video direct broadcast system aiming at internet cafe environment and based on three-layer server architecture
CN106534916A
Live video service system and method
CN111711826A
Video live broadcast method and device, edge equipment of CDN network and user terminal
CN112584231A
Multimedia access system, method and device, terminal and medium
CN113037855A