CN114866854B - Video access mode dynamic allocation method, system, electronic equipment and storage medium - Google Patents

Video access mode dynamic allocation method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114866854B
CN114866854B CN202210419141.1A CN202210419141A CN114866854B CN 114866854 B CN114866854 B CN 114866854B CN 202210419141 A CN202210419141 A CN 202210419141A CN 114866854 B CN114866854 B CN 114866854B
Authority
CN
China
Prior art keywords
video
client
equipment
cloud platform
video transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210419141.1A
Other languages
Chinese (zh)
Other versions
CN114866854A (en
Inventor
王昊
康海洋
刘宗孺
姚博
李志为
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Bolian Intelligent Technology Co ltd
Original Assignee
Hangzhou Bolian Intelligent Technology 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 Hangzhou Bolian Intelligent Technology Co ltd filed Critical Hangzhou Bolian Intelligent Technology Co ltd
Priority to CN202210419141.1A priority Critical patent/CN114866854B/en
Publication of CN114866854A publication Critical patent/CN114866854A/en
Application granted granted Critical
Publication of CN114866854B publication Critical patent/CN114866854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6402Address allocation for clients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a video access mode dynamic allocation method, a system, electronic equipment and a storage medium, wherein the method comprises the following steps: adding a camera equipment distribution network under a user name according to the equipment information and the user information; acquiring a video playing request sent by a client, and respectively distributing video transmission addresses to the camera equipment and the client according to the video playing request, so that the camera equipment and the client establish a video transmission channel according to the video transmission addresses; the cloud platform acquires the video stream from the camera equipment through the video transmission channel, and forwards the video stream to the client through the video transmission channel. According to the method, a video link between the client and the camera equipment is decoupled, and a video transmission channel is established by dynamic negotiation of the cloud platform before video playing according to the condition of the equipment or the client; the invention distributes video access addresses through dynamic negotiation, can realize larger expansion space of the camera equipment, and achieves the effect of supporting multiple protocols, multiple access modes and dynamic expansion of multiple access addresses.

Description

Video access mode dynamic allocation method, system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video access technologies, and in particular, to a method, a system, an electronic device, and a storage medium for dynamically allocating a video access mode.
Background
Currently, users access video data generated by thousands of front-end camera devices through a gateway and a network, and in the prior art, data transmission channels of a client and the camera devices are generally fixed, so that a fixed access address is allocated to the client or the camera device in the process of establishing a link. Therefore, when a user views a front-end video device, the device is required to have an explicit accessible IP address, and in the process of user access, if the IP address of the end device changes, the trouble that the front-end video device cannot be accessed is caused.
Therefore, the following problems exist in the existing camera access: the access protocol is fixed, the access address is fixed, namely, video access forwarding can not be timely and effectively carried out under different network environments and different access equipment quantities; along with the service expansion, such as adding the type of camera equipment, the service expansion can not be flexibly and rapidly performed; there are access number limitations and the like using p2p technology.
Disclosure of Invention
The embodiment of the invention provides a video access mode dynamic allocation method, a video access mode dynamic allocation system, electronic equipment and a storage medium, which at least solve the problem that an accessed image pickup device in the related technology cannot expand and contract the traffic.
In a first aspect, an embodiment of the present invention provides a method for dynamically allocating a video access mode, which is applied to a cloud platform that connects a client and an image capturing device, where the method includes:
acquiring user information of the client and equipment information of the camera equipment, and adding the camera equipment distribution network to a user name according to the equipment information and the user information;
acquiring a video playing request sent by the client, and respectively distributing video transmission addresses to the camera equipment and the client according to the video playing request, so that the camera equipment and the client establish a video transmission channel according to the video transmission addresses;
the cloud platform acquires the video stream from the camera equipment through the video transmission channel, and forwards the video stream to the client through the video transmission channel, so that the storage-free playing of the video stream is realized.
Further, the video playing request includes a video playing command and device information of an image capturing device to be accessed by the client, and the video transmission address includes a device video access address and a client video access address.
Further, the cloud platform includes a client access unit and an equipment access unit, and the video transmission addresses are respectively allocated to the image capturing equipment and the client according to the video playing request, including:
the cloud platform distributes an equipment video access address in an idle state according to the equipment information, and sends the video playing command and the equipment video access address to the camera equipment through the equipment access unit;
and after the equipment video access address of the camera equipment is determined, returning a client video access address corresponding to the equipment video access address to the client.
Further, the cloud platform further includes a plurality of video access units, and the establishing a video transmission channel by the image capturing device and the client according to the video transmission address includes:
the camera equipment is connected with a corresponding video access unit according to the equipment video access address, and a first video transmission channel from the camera equipment to the cloud platform is established;
the client is connected with the same video access unit according to the video access address of the client, and a second video transmission channel from the client to the cloud platform is established;
and the cloud platform transmits the video stream of the image pickup device to the client through the first video transmission channel, the second video transmission channel and the video access unit.
Further, the cloud platform obtains a video stream from the image capturing apparatus through the video transmission channel, and forwards the video stream to the client through the video transmission channel, including:
the video access unit receives the video stream generated by the image pickup device through the first video transmission channel and forwards the video stream to the client through the second video transmission channel.
Further, the device information comprises a device ID of the image pickup device and a protocol format supported by the device ID, and the cloud platform hashes the device ID and distributes the device ID to a specific address conforming to the protocol format to form the device video access address.
In some of these embodiments, the method further comprises:
in the video playing process, when the cloud platform detects that the flow speed of the video stream is abnormal, or detects that the video transmission channel is congested, or receives a reconnection request sent by the client, the cloud platform allocates a new video transmission address to the camera equipment or the client again, so that the camera equipment or the client establishes a new video transmission channel according to the new video transmission address.
In a second aspect, an embodiment of the present invention provides a video access manner dynamic allocation system, including a cloud platform for establishing a connection relationship between a client and a camera device, where the cloud platform includes a main control unit, a client access unit, a device access unit, and a plurality of video access units, where the client is connected to the camera device through the client access unit and the device access unit;
the client access unit is connected with the client and used for carrying out data interaction with the client;
the equipment access unit is connected with the image pickup equipment and used for carrying out data interaction with the image pickup equipment;
the main control unit is used for acquiring the user information of the client and the equipment information of the camera equipment, and adding the camera equipment distribution network to a user name according to the equipment information and the user information; acquiring a video playing request sent by the client, and respectively distributing video transmission addresses to the camera equipment and the client according to the video playing request, so that the camera equipment and the client establish a video transmission channel according to the video transmission addresses;
the video access unit acquires a video stream from the image pickup device through the video transmission channel, and forwards the video stream to the client through the video transmission channel, so that the storage-free playing of the video stream is realized.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to perform the video access mode dynamic allocation method according to any one of the above embodiments.
In a third aspect, an embodiment of the present invention provides a storage medium, where a computer program is stored, where the computer program is configured to execute the video access mode dynamic allocation method according to any one of the above embodiments when the computer program is executed.
Compared with the related art, the video access mode dynamic allocation method, the system, the electronic equipment and the storage medium provided by the embodiment of the invention have the advantages that a cloud platform is added between the client and the camera equipment, the cloud platform forwards control requests and data queries between the client and the camera through the client access unit and the equipment access unit, corresponding video access addresses are distributed to the client and the camera equipment, a video forwarding channel between the client and the camera is established through the video access addresses, and video data is forwarded through the video access unit. According to the method and the system, the video link between the client and the camera equipment is decoupled, and the cloud platform dynamically negotiates to establish a video transmission channel according to the condition of the equipment or the client before video playing; the invention distributes video access addresses through dynamic negotiation, can realize larger expansion space of the camera equipment, and achieves the effect of supporting multiple protocols, multiple access modes and dynamic expansion of multiple access addresses. In addition, the video stream of the camera equipment is forwarded to the client through the video access unit, the video data do not need to be stored in a cloud platform or other storage media, the storage-free playing of the video stream is realized, and the storage resources are saved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic diagram of an overall architecture implementation of a video access mode dynamic allocation system according to an embodiment of the present invention;
fig. 2 is a flow chart of a dynamic allocation method of a video access mode according to an embodiment of the invention.
Detailed Description
The present invention will be described and illustrated with reference to the accompanying drawings and examples in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by a person of ordinary skill in the art based on the embodiments provided by the present invention without making any inventive effort, are intended to fall within the scope of the present invention. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the described embodiments of the invention can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The terms "a," "an," "the," and similar referents in the context of the invention are not to be construed as limiting the quantity, but rather as singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "connected," "coupled," and the like in connection with the present invention are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means greater than or equal to two. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., "a and/or B" may mean: a exists alone, A and B exist together, and B exists alone. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
An embodiment of the invention provides a video access mode dynamic allocation method, which is applied to a cloud platform for establishing a connection relationship between a client and camera equipment, as shown in fig. 1, wherein the cloud platform internally comprises a main control unit, a client access unit, an equipment access unit and a plurality of video access units. The client is connected with the client access unit in a wireless communication mode, so that data interaction between the client and the cloud platform is realized; the guest camera equipment is connected with the equipment access unit in a wireless communication mode, so that data interaction between the camera equipment and the cloud platform is realized; the cloud platform forwards control requests, video data and the like between the client and the camera equipment through the client access unit and the equipment access unit.
The video access mode dynamic allocation method of the invention mainly comprises a device adding configuration stage and a video playing stage, and referring to fig. 2, the specific implementation process comprises the following steps:
step S1, obtaining user information of a client and equipment information of the image pickup equipment, and adding an image pickup equipment distribution network to a user name according to the equipment information and the user information. The cloud platform acquires a distribution network adding equipment command of the client and sends the distribution network adding equipment command to the camera equipment, so that the camera equipment feeds back the equipment information after receiving the distribution network adding equipment command; and the cloud platform forwards the equipment information to the client after receiving the equipment information, so that the client binds with the camera equipment through the cloud platform and acquires the access right of the camera equipment.
In the equipment adding configuration stage, specifically, a client registers an account number in a cloud (cloud platform), then sends a network allocation equipment adding request to the cloud, the request contains equipment IDs of camera equipment to be accessed, after the cloud receives the network allocation equipment adding request, the cloud inquires equipment conditions contained in the request, ensures data interaction with the cloud, accesses the equipment to the cloud, returns information of the equipment to the client, and the client adds the equipment to a user name according to the equipment information to complete network allocation of the equipment.
After the equipment distribution network is added, the client can enter a video playing stage to request to play the video. In some embodiments, before a client opens any camera to play video, the cloud end needs to perform user permission verification, obtain and verify login information of the user, and verify whether the user has ownership of the accessed camera, that is, whether the user has permission to access the corresponding camera. If not, the cloud end does not execute actions such as sending video streams to the client; and if the permission verification is passed, the client sends a video playing request to the cloud platform.
Step S2, a video playing request sent by the client is obtained, video transmission addresses are respectively distributed to the camera equipment and the client according to the video playing request, and the camera equipment and the client establish a video transmission channel according to the video transmission addresses. In the embodiment of the invention, the video playing request comprises a video playing command and equipment information of the image pickup equipment to be accessed by the client, and the video transmission address comprises an equipment video access address and a client video access address.
In the embodiment of the invention, the client access unit and the device access unit in the cloud platform are used for forwarding data except the video stream, such as device information, play request and the like. The video transmission addresses are distributed by the cloud platform, specifically, a plurality of video access units in the cloud platform are equivalent to transfer stations of video streams, and each transfer station can transfer video data with a certain size. Therefore, before the video transmission address is allocated, the cloud platform queries each video access unit to find the video access unit which is not in use. And then the cloud platform distributes a device video access address according to the device information and the video access unit in an idle state, and sends a video playing command and the device video access address to the image pickup device to be accessed through the device access unit.
In the embodiment of the invention, the equipment information comprises the equipment ID of the camera equipment and the protocol format supported by the equipment ID, and the cloud platform distributes the equipment ID to a specific address conforming to the protocol format after carrying out hash, namely the equipment video access address of the invention. For example, the cloud platform acquires device information of an image capturing device to be accessed by the client, a protocol format supported by the image capturing device is websocket, a specific access address allocated to the websocket after hash is performed according to a device mac address (i.e. a device ID), and then a video playing command and the specific access address are sent to the image capturing device through the device access unit.
After the cloud platform determines the equipment video access address of the camera equipment, a client video access address corresponding to the equipment video access address is returned to the client, namely the equipment video access address and the client video access address correspond to the same video access unit. After the cloud platform distributes video transmission addresses to the client and the camera equipment, a video transmission channel capable of transmitting video streams can be established. Specifically, the image capturing device is connected with the corresponding video access unit according to the device video access address, and a first video transmission channel from the image capturing device to the cloud platform is established, for example, assuming that the address allocated by the cloud platform to the image capturing device is: wss xxx/xxx, the camera device establishes a link, i.e. the first video transmission channel, to the address "wss:xxx/xxx" according to a pre-agreed protocol format. The other end of the cloud platform is also connected with the same video access unit by the client according to the video access address of the client, a second video transmission channel from the client to the cloud platform is established, and the client can establish a link according to the protocol type used or the predetermined protocol type contained in the address.
And the cloud platform forwards the video stream of the camera equipment to the client through the first video transmission channel, the second video transmission channel and the video access unit.
And step S3, after the video channel is established, the cloud platform acquires the video stream from the camera equipment through the video transmission channel, and forwards the video stream to the client through the video transmission channel, so that the storage-free playing of the video stream is realized. The more specific process is: the client subscribes to the video data of the corresponding camera equipment, the video access unit receives the video stream generated by the camera equipment through the first video transmission channel, and forwards the video stream to the client through the second video transmission channel, so that the storage-free playing of the video stream is realized.
The invention realizes the dynamic allocation of the video access mode through the steps, because the video channel is established through dynamic negotiation, namely, the cloud platform can allocate corresponding video access addresses according to the protocol formats supported by the equipment, thereby being capable of being connected with the camera equipment with various protocol formats; on the other hand, the number of the camera devices which can be connected with the cloud platform can be expanded, for example, when 1000 camera devices are on line at the same time, the access address of one server can be allocated; when 10000 devices are accessed at a specific time (such as at night), more access addresses of the servers can be selected to be allocated to the newly added image pickup devices, and the newly added image pickup devices are added into the video forwarding flow, so that the new access addresses are allocated to the clients. By dynamically distributing video access addresses and dynamically establishing video transmission channels, the accessed camera equipment can linearly expand and contract along with traffic and can also support different protocol formats along with demands.
In another embodiment, the dynamic allocation method of the present invention further includes: in the video playing process, the cloud platform can detect the condition of each video transmission channel in real time. When the cloud platform detects that the flow speed of the video stream is abnormal, or detects that the video transmission channel is congested, or receives a reconnection request sent by the client, the cloud platform allocates a new video transmission address to the camera equipment or the client again, so that the camera equipment or the client establishes a new video transmission channel according to the new video transmission address.
Specifically, in the actual application process, a requirement of changing the video access address may occur, for example, a user sees video blocking at the client, at this time, the user refreshes the lower interface, the client will resend a connection request (video playing request), then the cloud platform redistributes a new video transmission address to the device end and the client, then establishes a new video transmission channel, and continues forwarding the video stream; or, setting the cloud platform to be capable of setting according to the performance of the cloud platform, for example, when the cloud platform detects that the network of the video stream forwarding channel is congested, actively issuing a control command to change the video transmission channel; or in the video playing stage, if the device or the cloud monitor that the video stream reporting network is abnormal, for example, the video stream rate from the device to the cloud is detected to be unstable, the access address of the device is optimally adjusted (namely, the video access address is replaced). In the dynamic allocation method of the invention, the cloud platform gives the client which access address, and the client can only use which address to dock the video stream.
In an embodiment of the present invention, as shown in fig. 1, a video access dynamic allocation system is further provided, where the video access dynamic allocation system includes a cloud platform for establishing a connection between a client and an image capturing device, where the cloud platform includes a master control unit, a client access unit, a device access unit, and a plurality of video access units, where the plurality of video access units includes a video access unit #1, a video access unit #2, and a video access unit … … in the figure. The client is connected with the image pickup device through the client access unit and the device access unit; the client access unit is connected with the client and used for carrying out data interaction with the client; the equipment access unit is connected with the image pickup equipment and used for carrying out data interaction with the image pickup equipment.
The main control unit is used for acquiring the user information of the client and the equipment information of the camera equipment, and adding the camera equipment distribution network to a user name according to the equipment information and the user information; and acquiring a video playing request sent by the client, and respectively distributing video transmission addresses to the camera equipment and the client according to the video playing request, so that the camera equipment and the client establish a video transmission channel according to the video transmission addresses.
The video access unit acquires a video stream from the image pickup device through the video transmission channel, and forwards the video stream to the client through the video transmission channel, so that the storage-free playing of the video stream is realized.
In the application process of the dynamic distribution system, firstly, equipment is added to a client distribution network, after the equipment and the client are in communication with a cloud platform, the cloud platform can dynamically establish a cloud video transfer channel according to equipment information of camera equipment, and video data is forwarded to the client through the video. In the embodiment of the invention, the channel can be one-time effective, and in this case, when the client sends the video playing request again, the cloud platform can inquire whether the video access address is in use on the device or not and negotiate whether a new address is in use or not; if the channel is valid for a long time, when the client side generates a video playing request again, the video stream can be acquired through the previously established channel, and the main control unit does not need to reassign the video transmission address. The cloud platform forwards commands such as a request instruction, data query and the like between the client and the camera through client access and equipment access, and establishes a video transmission channel between the client and the camera through video access. The camera equipment receives control instructions from equipment access, such as switching video transmission, dynamically establishes video access, and forwards video data through the video access.
In one embodiment of the invention, an electronic device is provided, comprising a memory, and a processor, the memory storing a computer program, the processor being configured to run the computer program to perform the video access mode dynamic allocation method according to any of the above embodiments.
In an embodiment of the present invention, there is provided a storage medium having a computer program stored therein, where the computer program is configured to perform the video access mode dynamic allocation method according to any one of the above embodiments when executed.
It should be noted that, specific examples in the dynamic allocation system of this embodiment may refer to examples described in the foregoing method embodiments and optional implementations, and this embodiment is not repeated herein.
The above-described respective modules may be functional modules or program modules, and may be implemented by software or hardware. For modules implemented in hardware, the various modules described above may be located in the same processor; or the above modules may be located in different processors in any combination.
It should be noted that, specific examples in this embodiment may refer to examples described in the foregoing embodiments and alternative implementations, and this embodiment is not repeated herein.
In addition, in combination with the video access mode dynamic allocation method in the above embodiment, the embodiment of the present invention may provide a storage medium for implementation. The storage medium has a computer program stored thereon; the computer program, when executed by a processor, implements any of the video access mode dynamic allocation methods of the above embodiments.
An embodiment of the present invention further provides an electronic device, which may be a terminal. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a video access mode dynamic allocation method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the electronic equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be understood by those skilled in the art that the technical features of the above-described embodiments may be combined in any manner, and for brevity, all of the possible combinations of the technical features of the above-described embodiments are not described, however, they should be considered as being within the scope of the description provided herein, as long as there is no contradiction between the combinations of the technical features.
The above examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (8)

1. The video access mode dynamic allocation method is applied to a cloud platform for connecting a client and camera equipment, and is characterized by comprising the following steps:
acquiring user information of the client and equipment information of the camera equipment, and adding the camera equipment distribution network to a user name according to the equipment information and the user information;
acquiring a video playing request sent by the client, and respectively distributing video transmission addresses to the camera equipment and the client according to the video playing request, so that the camera equipment and the client establish a video transmission channel according to the video transmission addresses;
the cloud platform acquires a video stream from the camera equipment through the video transmission channel and forwards the video stream to the client through the video transmission channel;
the video playing request comprises a video playing command and equipment information of the camera equipment to be accessed by the client, and the video transmission address comprises an equipment video access address and a client video access address; the cloud platform comprises a client access unit and an equipment access unit, and the video transmission addresses are respectively distributed to the camera equipment and the client according to the video playing request, and the cloud platform comprises:
the cloud platform distributes an equipment video access address in an idle state according to the equipment information, and sends the video playing command and the equipment video access address to the camera equipment through the equipment access unit;
and after the equipment video access address of the camera equipment is determined, returning a client video access address corresponding to the equipment video access address to the client.
2. The method of claim 1, wherein the cloud platform further comprises a plurality of video access units, wherein the camera device and the client establish a video transmission channel according to the video transmission address comprises:
the camera equipment is connected with a corresponding video access unit according to the equipment video access address, and a first video transmission channel from the camera equipment to the cloud platform is established;
the client is connected with the same video access unit according to the video access address of the client, and a second video transmission channel from the client to the cloud platform is established;
and the cloud platform transmits the video stream of the image pickup device to the client through the first video transmission channel, the second video transmission channel and the video access unit.
3. The method of claim 2, wherein the cloud platform obtaining a video stream from the image capturing device through the video transmission channel and forwarding the video stream to the client through the video transmission channel, comprises:
the video access unit receives the video stream generated by the image pickup device through the first video transmission channel and forwards the video stream to the client through the second video transmission channel.
4. The method according to claim 1, wherein the device information includes a device ID of the image capturing device and a protocol format supported by the device ID, and the cloud platform hashes the device ID and assigns an address conforming to the protocol format to form the device video access address.
5. The method according to claim 1, wherein the method further comprises:
in the video playing process, when the cloud platform detects that the flow speed of the video stream is abnormal, or detects that the video transmission channel is congested, or receives a reconnection request sent by the client, the cloud platform allocates a new video transmission address to the camera equipment or the client again, so that the camera equipment or the client establishes a new video transmission channel according to the new video transmission address.
6. The dynamic video access mode distribution system is characterized by comprising a cloud platform for establishing a connection relationship between a client and camera equipment, wherein the cloud platform comprises a main control unit, a client access unit, an equipment access unit and a plurality of video access units, and the client is connected with the camera equipment through the client access unit and the equipment access unit;
the client access unit is connected with the client and used for carrying out data interaction with the client;
the equipment access unit is connected with the image pickup equipment and used for carrying out data interaction with the image pickup equipment;
the main control unit is used for acquiring the user information of the client and the equipment information of the camera equipment, and adding the camera equipment distribution network to a user name according to the equipment information and the user information; acquiring a video playing request sent by the client, and respectively distributing video transmission addresses to the camera equipment and the client according to the video playing request, so that the camera equipment and the client establish a video transmission channel according to the video transmission addresses; the video playing request comprises a video playing command and equipment information of the camera equipment to be accessed by the client, and the video transmission address comprises an equipment video access address and a client video access address; the cloud platform comprises a client access unit and an equipment access unit, and the video transmission addresses are respectively distributed to the camera equipment and the client according to the video playing request, and the cloud platform comprises: the cloud platform distributes an equipment video access address in an idle state according to the equipment information, and sends the video playing command and the equipment video access address to the camera equipment through the equipment access unit; after determining the equipment video access address of the camera equipment, returning a client video access address corresponding to the equipment video access address to the client;
the video access unit acquires a video stream from the image pickup device through the video transmission channel, and forwards the video stream to the client through the video transmission channel.
7. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the video access mode dynamic allocation method of any of claims 1 to 5.
8. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the video access mode dynamic allocation method of any one of claims 1 to 5 when run.
CN202210419141.1A 2022-04-20 2022-04-20 Video access mode dynamic allocation method, system, electronic equipment and storage medium Active CN114866854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210419141.1A CN114866854B (en) 2022-04-20 2022-04-20 Video access mode dynamic allocation method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210419141.1A CN114866854B (en) 2022-04-20 2022-04-20 Video access mode dynamic allocation method, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114866854A CN114866854A (en) 2022-08-05
CN114866854B true CN114866854B (en) 2023-12-05

Family

ID=82630952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210419141.1A Active CN114866854B (en) 2022-04-20 2022-04-20 Video access mode dynamic allocation method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114866854B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460451B (en) * 2022-09-15 2024-04-26 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005509210A (en) * 2002-05-21 2005-04-07 ビクシズ システムズ インコーポレイティド Resource management and multi-channel multiplexing method and apparatus in multimedia system
CN103561291A (en) * 2013-10-31 2014-02-05 腾讯科技(武汉)有限公司 Video channel distribution management method, relevant device and communication system
CN104168457A (en) * 2014-08-18 2014-11-26 浙江宇视科技有限公司 Method and device for playing multiple media streams on demand
CN104883390A (en) * 2015-04-17 2015-09-02 浙江宇视科技有限公司 Method of accessing third-party video monitoring device and device of accessing third-party video monitoring device
KR20160056236A (en) * 2014-11-11 2016-05-19 (주)판도라티비 Method for providing on-line video platform service and System there-of
CN106488169A (en) * 2015-08-28 2017-03-08 腾讯科技(深圳)有限公司 A kind of method of data transfer, system and relevant device
CN108616759A (en) * 2016-12-09 2018-10-02 华为技术服务有限公司 A kind of video broadcasting method and relevant device
CN108737768A (en) * 2017-04-13 2018-11-02 北京视联动力国际信息技术有限公司 A kind of monitoring method and monitoring device based on monitoring system
CN109450923A (en) * 2018-11-30 2019-03-08 武汉烽火众智数字技术有限责任公司 A kind of Video transmission system and method
CN111404966A (en) * 2020-04-03 2020-07-10 广东利通科技投资有限公司 Data processing method of expressway video monitoring system
CN112468540A (en) * 2020-11-06 2021-03-09 杭州博联智能科技股份有限公司 Data distribution method, device and medium based on cloud platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7200855B2 (en) * 2001-05-24 2007-04-03 Vixs Systems, Inc. Method and apparatus of multiplexing a plurality of channels in a multimedia system
US7171485B2 (en) * 2001-10-17 2007-01-30 Velcero Broadband Applications, Llc Broadband network system configured to transport audio or video at the transport layer, and associated method
US9774914B2 (en) * 2015-08-25 2017-09-26 Wowza Media Systems, LLC Scheduling video content from multiple sources for presentation via a streaming video channel

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005509210A (en) * 2002-05-21 2005-04-07 ビクシズ システムズ インコーポレイティド Resource management and multi-channel multiplexing method and apparatus in multimedia system
CN103561291A (en) * 2013-10-31 2014-02-05 腾讯科技(武汉)有限公司 Video channel distribution management method, relevant device and communication system
CN104168457A (en) * 2014-08-18 2014-11-26 浙江宇视科技有限公司 Method and device for playing multiple media streams on demand
KR20160056236A (en) * 2014-11-11 2016-05-19 (주)판도라티비 Method for providing on-line video platform service and System there-of
CN104883390A (en) * 2015-04-17 2015-09-02 浙江宇视科技有限公司 Method of accessing third-party video monitoring device and device of accessing third-party video monitoring device
CN106488169A (en) * 2015-08-28 2017-03-08 腾讯科技(深圳)有限公司 A kind of method of data transfer, system and relevant device
CN108616759A (en) * 2016-12-09 2018-10-02 华为技术服务有限公司 A kind of video broadcasting method and relevant device
CN108737768A (en) * 2017-04-13 2018-11-02 北京视联动力国际信息技术有限公司 A kind of monitoring method and monitoring device based on monitoring system
CN109450923A (en) * 2018-11-30 2019-03-08 武汉烽火众智数字技术有限责任公司 A kind of Video transmission system and method
CN111404966A (en) * 2020-04-03 2020-07-10 广东利通科技投资有限公司 Data processing method of expressway video monitoring system
CN112468540A (en) * 2020-11-06 2021-03-09 杭州博联智能科技股份有限公司 Data distribution method, device and medium based on cloud platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
动态负载分配在网络视频会议系统中的应用;魏峥;来杨;郭广楠;;计算机应用与软件(第11期);全文 *

Also Published As

Publication number Publication date
CN114866854A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
US9621620B2 (en) Apparatus and method for providing content with a distributed architecture, and system for providing content with the said apparatus
US8756296B2 (en) Method, device and system for distributing file data
CN101156407B (en) Method for supplying content through communication network
JP2010504668A (en) Resource delivery method, system, and edge server
CN103581245A (en) Content delivery method and system of content delivery network
JPWO2007032549A1 (en) Content distribution method and system
CN101132373A (en) Method of providing qos for a flow
CN103455439B (en) Local cache device and for providing the system and method for content caching service
EP2709337B1 (en) Service data processing method, device and system
WO2014183417A1 (en) Method, device, and system for memory management
CN111327668A (en) Network management method, device, equipment and storage medium
US11064023B2 (en) Method for actively sharing available bandwidth to consumer nodes in a peer-to-peer network for delivery of video streams
CN114866854B (en) Video access mode dynamic allocation method, system, electronic equipment and storage medium
CN110019359B (en) Method, device and system for preventing cache breakdown
JP5399276B2 (en) Content distribution system and method and program
CN116233085A (en) Multi-terminal streaming media transmission method, system and streaming media server cluster
US9112934B2 (en) Apparatus and method for configuring on-demand content delivering overlay network
CN109831467B (en) Data transmission method, equipment and system
US9071569B1 (en) System, method, and computer program for content metadata and authorization exchange between content providers and service providers
CN111315037B (en) Communication link establishing method and device, computer equipment and storage medium
WO2018086575A1 (en) Method and device for controlling media resource
KR20100052025A (en) Bandwidth sharing type content providing system and method
KR101251630B1 (en) System and method for providing push service
JP2019041241A (en) Distribution system
CN115914389A (en) Cloud service control system, method and device, electronic equipment and storage medium

Legal Events

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