CN110611831A - Video transmission method and device - Google Patents

Video transmission method and device Download PDF

Info

Publication number
CN110611831A
CN110611831A CN201910974816.7A CN201910974816A CN110611831A CN 110611831 A CN110611831 A CN 110611831A CN 201910974816 A CN201910974816 A CN 201910974816A CN 110611831 A CN110611831 A CN 110611831A
Authority
CN
China
Prior art keywords
image acquisition
acquisition device
estimated
resources
mobile terminals
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.)
Granted
Application number
CN201910974816.7A
Other languages
Chinese (zh)
Other versions
CN110611831B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201910974816.7A priority Critical patent/CN110611831B/en
Publication of CN110611831A publication Critical patent/CN110611831A/en
Application granted granted Critical
Publication of CN110611831B publication Critical patent/CN110611831B/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/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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2408Monitoring of the upstream path of the transmission network, e.g. 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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25841Management of client data involving the geographical location of the client
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a video transmission method and a video transmission device, wherein the method comprises the following steps: a first image acquisition device determines target pre-estimated resources required by equipment competing transmission resources with the first image acquisition device; the first image acquisition device judges whether the target estimated resource is greater than or equal to the pre-allocated resource; under the condition that the judgment result is yes, the first image acquisition device requests a 5G slice network from a server, and video transmission is carried out through the 5G slice network configured by the server; under the condition that the judgment result is negative, the first image acquisition device gives up applying for a 5G slice network to the server, so that the problems that in the related technology, personnel gather to generate a mobile communication network bandwidth competition scene, the video transmission bandwidth is limited and the transmission is slow due to too many users can be solved, the necessary network guarantee is realized, and the uninterrupted stable transmission of data such as videos is ensured.

Description

Video transmission method and device
Technical Field
The invention relates to the field of communication, in particular to a video transmission method and a video transmission device.
Background
In mobile communication, the situation that the transmission bandwidth of a terminal is reduced due to personnel gathering (the number of terminals such as mobile phones is increased) frequently occurs, and the network use experience is seriously influenced. Especially in critical business development, such results are completely unacceptable. The reason is as follows: the increase of the number of the terminals leads to the aggravation of transmission competition, and each terminal contends for the transmission bandwidth of the base station, which leads to the reduction of experience of each user.
For the places where people may gather, in order to ensure reliable transmission, a scheme of wired transmission is generally adopted, or non-public wireless frequency band transmission (such as 60Ghz wireless transmission) is adopted.
Wired transmission: the closed network cable transmission avoids bandwidth reduction caused by competition with wireless equipment in the space;
non-public wireless frequency band transmission: by adopting bridge equipment, the video output by the camera is transmitted to the bridge through wires and then transmitted to a remote place through 60GHZ wireless, the interference of a 60Ghz frequency band is less, and the transmission is relatively stable.
Aiming at the problems that in the related technology, a mobile communication network bandwidth competition scene is generated due to the gathering of people, the video transmission bandwidth is limited and the transmission is slow due to the fact that too many users exist, no solution is provided.
Disclosure of Invention
The embodiment of the invention provides a video transmission method and a video transmission device, which are used for at least solving the problems that in the related technology, the bandwidth competition scene of a mobile communication network is generated due to the gathering of personnel, and the video transmission bandwidth is limited and the transmission is slow due to the excessive users.
According to an embodiment of the present invention, there is provided a video transmission method including:
a first image acquisition device determines target pre-estimated resources required by equipment competing transmission resources with the first image acquisition device;
the first image acquisition device judges whether the target estimated resource is greater than or equal to a pre-allocated resource;
under the condition that the judgment result is yes, the first image acquisition device requests a 5G slice network from a server, and video transmission is carried out through the 5G slice network configured by the server;
and if the judgment result is negative, the first image acquisition device gives up applying for a 5G slicing network to the server.
Optionally, the determining, by the first image capturing device, a target pre-estimated resource required by a device competing with the first image capturing device for a resource includes:
the first image acquisition device determines a first pre-estimated resource required by a mobile terminal, wherein the target pre-estimated resource is the first pre-estimated resource, and the equipment comprises the mobile terminal; or
The first image acquisition device determines a second pre-estimated resource required by a mobile terminal and a second image acquisition device which is located in the same area as the first image acquisition device, wherein the target pre-estimated resource is the second pre-estimated resource, and the equipment comprises the mobile terminal and the second image acquisition device.
Optionally, the determining, by the first image acquisition device, the first pre-estimated resource required by the mobile terminal includes:
the first image acquisition device acquires the number of detected Media Access Control (MAC) addresses, wherein the MAC addresses are carried in detection packets sent to a router;
the first image acquisition device determines the number of the mobile terminals according to the number of the detected MAC addresses;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the determining, by the first image acquisition device, the first pre-estimated resource required by the mobile terminal includes:
the first image acquisition device acquires the number of human faces for carrying out human face recognition on the acquired images;
the first image acquisition device determines the number of the human faces as the number of the mobile terminals;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the determining, by the first image acquisition device, second pre-estimated resources required by the mobile terminal and the second image acquisition device located in the same area as the first image acquisition device includes:
the first image acquisition device determines a first pre-estimated resource required by the mobile terminal;
the first image acquisition device determines a third pre-estimated resource required by the second image acquisition device;
and the first image acquisition device determines the sum of the first pre-estimated resource and the third pre-estimated resource as the second pre-estimated resource.
Optionally, the determining, by the first image acquisition device, the first pre-estimated resource required by the mobile terminal includes:
the first image acquisition device acquires the number of detected Media Access Control (MAC) addresses and the number of MAC addresses detected by the second image acquisition device;
the first image acquisition device summarizes the number of the detected MAC addresses and the number of the detected MAC addresses of the second image acquisition device to obtain the total number of the MAC addresses;
the first image acquisition device determines the total number of the MAC addresses as the number of the mobile terminals;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the determining, by the first image acquisition device, the first pre-estimated resource required by the mobile terminal includes:
the first image acquisition device acquires the number of human faces for carrying out human face recognition on the acquired images and the number of human faces for carrying out human face recognition on the acquired images by the second image acquisition device;
the first image acquisition device collects the number of faces for carrying out face recognition on the acquired images and the number of faces for carrying out face recognition on the acquired images by the second image acquisition device to obtain the total number of the faces;
the first image acquisition device determines the total number of the faces as the number of the mobile terminals;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the determining, by the first image capturing device, a third pre-estimated resource required by the second image capturing device includes:
the first image acquisition device acquires the number of the second image acquisition devices;
and the first image acquisition device determines the third pre-estimated resource required by the second image acquisition device according to the product of the number of the second image acquisition devices and the preset resource required by the image acquisition devices.
According to another embodiment of the present invention, there is also provided a video transmission apparatus applied to an image capturing apparatus, including:
the determining module is used for determining target pre-estimated resources required by equipment competing transmission resources with the first image acquisition device;
the judging module is used for judging whether the target estimated resources are more than or equal to the pre-allocated resources;
the request module is used for requesting a 5G slicing network from a server by the first image acquisition device under the condition that the judgment result is yes, and carrying out video transmission through the 5G slicing network configured by the server;
and the transmission module is used for giving up the application of the first image acquisition device for the 5G slicing network to the server under the condition that the judgment result is negative.
Optionally, the determining module includes:
the first determining submodule is used for determining first pre-estimated resources required by a mobile terminal, wherein the target pre-estimated resources are the first pre-estimated resources, and the equipment comprises the mobile terminal; or
The second determining submodule is used for determining a second pre-estimated resource required by the mobile terminal and a second image acquisition device which is located in the same area as the first image acquisition device, wherein the target pre-estimated resource is the second pre-estimated resource, and the equipment comprises the mobile terminal and the second image acquisition device.
Optionally, the first determining sub-module includes:
a first obtaining unit, configured to obtain the number of detected MAC addresses, where the MAC addresses are carried in a detection packet sent to a router;
a first determining unit configured to determine the number of the mobile terminals according to the detected number of the MAC addresses;
and the second determining unit is used for determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the first determining sub-module includes:
the second acquisition unit is used for acquiring the number of human faces for carrying out human face recognition on the acquired images;
a third determining unit, configured to determine the number of faces as the number of the mobile terminals;
and the fourth determining unit is used for determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the second determining sub-module includes:
a fifth determining unit, configured to determine a first pre-estimated resource required by the mobile terminal;
a sixth determining unit, configured to determine a third pre-estimated resource required by the second image acquisition device;
a seventh determining unit, configured to determine a sum of the first pre-estimated resource and the third pre-estimated resource as the second pre-estimated resource.
Optionally, the fifth determining unit is further configured to
Acquiring the number of the detected media access control MAC addresses and the number of the MAC addresses detected by the second image acquisition device;
summarizing the number of the detected MAC addresses and the number of the MAC addresses detected by the second image acquisition device to obtain the total number of the MAC addresses;
determining the total number of the MAC addresses as the number of the mobile terminals;
and determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the fifth determining unit is further configured to
Acquiring the number of human faces for carrying out human face recognition on the acquired images and the number of human faces for carrying out human face recognition on the acquired images by the second image acquisition device;
summarizing the number of faces for carrying out face recognition on the collected images and the number of faces for carrying out face recognition on the collected images by the second image collecting device to obtain the total number of the faces;
determining the total number of the faces as the number of the mobile terminals;
and determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the second determining sub-module includes:
the third acquisition unit is used for acquiring the number of the second image acquisition devices;
and the eighth determining unit is used for determining the third pre-estimated resource required by the second image acquisition device according to the product of the number of the second image acquisition devices and the preset resource required by the image acquisition devices.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, a first image acquisition device determines the target pre-estimated resource required by equipment competing transmission resources with the first image acquisition device; the first image acquisition device judges whether the target estimated resource is greater than or equal to a pre-allocated resource; under the condition that the judgment result is yes, the first image acquisition device requests a 5G slice network from a server, and video transmission is carried out through the 5G slice network configured by the server; under the condition that the judgment result is negative, the first image acquisition device gives up applying for a 5G slice network to the server, so that the problems that in the related technology, personnel gather to generate a mobile communication network bandwidth competition scene, the video transmission bandwidth is limited and the transmission is slow due to too many users can be solved, the necessary network guarantee is realized, and the uninterrupted stable transmission of data such as videos is ensured.
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 application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of a video transmission method according to an embodiment of the present invention;
fig. 2 is a flow chart of a video transmission method according to an embodiment of the present invention;
FIG. 3 is a flow diagram of a slice network based video transmission according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a non-standalone networking architecture, according to an embodiment of the invention;
fig. 5 is a block diagram of a video transmission apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of a video transmission apparatus according to a preferred embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking a mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a video transmission method according to an embodiment of the present invention, and as shown in fig. 1, the mobile terminal 10 may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, and optionally, the mobile terminal may further include a transmission device 106 for communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to the message receiving method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a video transmission method operating in the mobile terminal or the network architecture is provided, and fig. 2 is a flowchart of a video transmission method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, a first image acquisition device determines target pre-estimated resources required by equipment competing transmission resources with the first image acquisition device;
step S204, the first image acquisition device judges whether the target estimated resource is greater than or equal to the pre-allocated resource;
step S206, under the condition that the judgment result is yes, the first image acquisition device requests a 5G slice network from a server, and video transmission is carried out through the 5G slice network configured by the server;
and step S208, under the condition that the judgment result is negative, the first image acquisition device gives up applying for a 5G slice network to the server, and video transmission is carried out through a 4G network.
Specifically, when the 5G network slice application is not satisfied, the server is not applied for a 5G slice network, and video transmission may be performed through a previous network, where the previous network may be 3G, 4G, 5G, or the like, and if the 5G network and the 5G network are poor, video transmission may be performed through the 4G network.
Through the steps S202 to S208, the first image capturing device determines the target estimated resources required by the device competing for the transmission resources with the first image capturing device; judging whether the target estimated resources are larger than or equal to pre-allocated resources or not; if the judgment result is yes, requesting a 5G slice network from a server, and carrying out video transmission through the 5G slice network configured by the server; and under the condition that the judgment result is negative, the application for the 5G slice network is abandoned, so that the problems of limited video transmission bandwidth and slow transmission caused by excessive users in a mobile communication network bandwidth competition scene generated by personnel gathering in the related technology can be solved, necessary network guarantee is realized, and uninterrupted and stable transmission of data such as videos is ensured.
In an embodiment of the present invention, the step S202 may specifically include:
s2021, determining a first pre-estimated resource required by a mobile terminal, wherein the target pre-estimated resource is the first pre-estimated resource, and the device comprises the mobile terminal; or
S2022, determining a second pre-estimated resource required by the mobile terminal and a second image acquisition device located in the same area as the first image acquisition device, wherein the target pre-estimated resource is the second pre-estimated resource, and the device comprises the mobile terminal and the second image acquisition device.
In an optional embodiment, the step S2021 may specifically include:
the first image acquisition device acquires the number of detected Media Access Control (MAC) addresses, wherein the MAC addresses are carried in detection packets sent to a router;
the first image acquisition device determines the number of the mobile terminals according to the number of the detected MAC addresses;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
In another optional embodiment, the step S2021 may further include:
the first image acquisition device acquires the number of human faces for carrying out human face recognition on the acquired images;
the first image acquisition device determines the number of the human faces as the number of the mobile terminals;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
For example, if the number of the mobile terminals is 600, the preset uplink bandwidth of the resource required by the mobile terminal is 500K, and the downlink bandwidth is 500K, the first estimated resource is the uplink bandwidth 600 × 500/1024 of about 293M. At this time, the obtained target pre-estimated resources are uplink 293M and downlink 293M, and if the pre-allocated resources are uplink 300M and downlink 300M, the target pre-estimated resources are smaller than the pre-allocated resources, which indicates that the video can be directly transmitted through the 4G network.
Optionally, the step S2022 may specifically include:
s11, the first image acquisition device determines a first pre-estimated resource required by the mobile terminal;
in an optional embodiment, the first image capturing device may determine the number of the mobile terminals according to the detected MAC addresses, and then determine the first estimated resources required by the mobile terminals according to the number of the mobile terminals, which may specifically include: the method comprises the steps that a first image acquisition device acquires the number of detected MAC addresses and the number of detected MAC addresses of a second image acquisition device; summarizing the number of the detected MAC addresses and the number of the MAC addresses detected by the second image acquisition device to obtain the total number of the MAC addresses, namely the total number of the MAC addresses is the sum of the MAC addresses and the MAC addresses; determining the total number of the MAC addresses as the number of the mobile terminals; and determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
In another optional embodiment, the first image acquisition device may further determine the number of the mobile terminals according to the face recognition, and then determine the first pre-estimated resources required by the mobile terminals according to the number of the mobile terminals, which may specifically include:
the method comprises the steps that a first image acquisition device acquires the number of human faces for carrying out human face recognition on an acquired image and the number of human faces for carrying out human face recognition on the acquired image by a second image acquisition device; summarizing the number of faces for carrying out face recognition on the collected images and the number of faces for carrying out face recognition on the collected images by the second image collecting device to obtain the total number of the faces, namely the total number of the faces is the sum of the two numbers; determining the total number of the faces as the number of the mobile terminals; and determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
For example, if the number of the mobile terminals is 600, the preset uplink bandwidth of the resource required by the mobile terminal is 500K, and the downlink bandwidth is 500K, the first estimated resource is the uplink bandwidth 600 × 500/1024.
S12, the first image acquisition device determines a third pre-estimated resource required by the second image acquisition device; further, the first image acquisition device acquires the number of the second image acquisition devices, and specifically, since the first image acquisition device and the second image acquisition devices are registered in the server in advance, the server marks the image acquisition devices in the same area, and the first image acquisition device can request the number of the second image acquisition devices in the same area from the server; and determining the third pre-estimated resource required by the second image acquisition device according to the product of the number of the second image acquisition devices and the preset resource required by the image acquisition devices, for example, the preset resource required by the image acquisition devices is an uplink 2M bandwidth and a downlink 2M bandwidth, and if the number of the acquired first image acquisition devices is 10, the third pre-estimated resource is an uplink bandwidth 20M and a downlink bandwidth 20M.
S13, the first image capturing device determines the sum of the first pre-estimated resource and the third pre-estimated resource as the second pre-estimated resource, that is, the second pre-estimated resource is the first pre-estimated resource + the third pre-estimated resource, the second pre-estimated resource is the uplink bandwidth 600 × 500/1024+20 about 293M, the downlink bandwidth 600 × 500/1024+20 about 293M, and the obtained target pre-estimated resources are the uplink 313M and the downlink 313M. If the pre-allocated resources are uplink 300M and downlink 300M, it can be determined that the target pre-estimated resources are greater than the pre-allocated resources, and at this time, the first image acquisition device needs to apply for a 5G slice network, and transmit video data through the 5G slice network.
The following describes an embodiment of the present invention by taking the first image capturing device as the 5G camera a and the second image capturing devices as a plurality of 5G cameras as examples.
The embodiment of the invention adopts the large bandwidth transmission characteristic of the 5G network, and provides each terminal with a higher network bandwidth than 3G/4G, so that on the premise that the network is changed into 5G, when more people gather, the bandwidth of the 5G terminal is still reduced, and the services such as monitoring of key points and the like cannot be guaranteed. The 5G network has a network slicing function, and can divide resource slices for a specific terminal individually to provide fixed transmission bandwidth for the specific terminal, but this will bring cost improvement, and the slicing function does not play its role in most scenes with small competition. And network guarantee is realized when necessary so as to realize uninterrupted stable transmission of data such as videos and the like. Fig. 3 is a flowchart of video transmission based on a slice network according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
step S301, completing deployment of the 5G camera A and completing registration on the server; the deployment of other 5G cameras is completed, and the registration is completed on the server;
step S302, a server runs an algorithm to identify a plurality of 5G cameras in the same area as the 5G camera A and adds same area marks;
the homologous regions refer to: it will compete with the 5G camera a for the spatial range of the mobile communication network.
Step S303, operating a camera with a WIFI MAC address detection function in the same region; the MAC address detection means that the mobile phone intermittently sends a detection packet before being connected to the router, and the detection packet has an MAC address and is detected by a camera with a WIFIMAC address detection function.
Alternatively, the camera with the face recognition function in the same area may be operated, or may be another device capable of detecting the number of people, for example, a radar capable of detecting the number of people.
Step S304, collecting MAC address acquisition information of each camera in the same area, and counting the total number of different MAC addresses, wherein the number represents the number of devices competing with the 5G camera A for the mobile communication network; or summarizing the recognized faces of the cameras in the same area, and counting the sum of the number of different faces, wherein the number represents the number of devices competing with the 5G camera _ A for the mobile communication network;
fig. 4 is a schematic diagram of a non-independent networking architecture according to an embodiment of the present invention, as shown in fig. 4, under a current non-independent Networking (NSA) architecture, a 4G/5G common core network, 4G and 5G mobile phones may compete with each other for a network;
under the future independent networking (SA) architecture, the 4G/5G core networks are independent from each other, and the 4G network is to be replanted. The number of MAC addresses detected can characterize a handset that is competing for 5G.
In the present case, a person basically uses one mobile phone (i.e. the mobile terminal described above), so the number of detected faces can represent the number of mobile phones with 5G competition.
Step S305: judging whether the total number of the MAC addresses/the total number of different faces exceeds a preset threshold value, if so, executing a step S306, otherwise, returning to the step S304;
step S306: when any one exceeds a preset threshold value, the 5G camera A applies for starting 5G transmission network slice guarantee;
step S307, repeatedly judging whether the preset threshold value is exceeded or not at certain time intervals, if so, executing step S308, otherwise, executing step S309;
s308, keeping the 5G slice network application;
and 309, canceling the 5G slicing network application.
According to the embodiment of the invention, a 5G network is adopted for transmission, so that the problem of insufficient transmission bandwidth of the current 4G network is solved, and a 5G slice technology is adopted for transmission bandwidth guarantee on the basis of 5G transmission; on the basis of 5G slice guarantee, a mode of integrating WIFI MAC address acquisition and face recognition is adopted to dynamically judge competition conditions in the environment, network slices are started if necessary, full utilization of public network resources is guaranteed, and use cost is reduced.
Example 2
An embodiment of the present invention further provides a video transmission device applied to an image capturing device, and fig. 5 is a block diagram of the video transmission device according to the embodiment of the present invention, as shown in fig. 5, including:
a determining module 52, configured to determine a target pre-estimated resource required by a device competing for transmission resources with the first image capturing apparatus;
a judging module 54, configured to judge whether the target pre-estimated resource is greater than or equal to a pre-allocated resource;
a request module 56, configured to, if the determination result is yes, request a 5G slice network from a server by the first image capture device, and perform video transmission through the 5G slice network configured by the server;
and a transmission module 58, configured to, if the determination result is negative, the first image capturing device abandons the application for the 5G slice network from the server.
Fig. 6 is a block diagram of a video transmission apparatus according to a preferred embodiment of the present invention, and as shown in fig. 6, the determination module 52 includes:
a first determining submodule 62, configured to determine a first pre-estimated resource required by a mobile terminal, where the target pre-estimated resource is the first pre-estimated resource, and the device includes the mobile terminal; or
A second determining submodule 64, configured to determine a second pre-estimated resource required by the mobile terminal and the second image capturing device located in the same area as the first image capturing device, where the target pre-estimated resource is the second pre-estimated resource, and the apparatus includes the mobile terminal and the second image capturing device.
Optionally, the first determining submodule 62 includes:
a first obtaining unit, configured to obtain the number of detected MAC addresses, where the MAC addresses are carried in a detection packet sent to a router;
a first determining unit configured to determine the number of the mobile terminals according to the detected number of the MAC addresses;
and the second determining unit is used for determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the first determining submodule 62 includes:
the second acquisition unit is used for acquiring the number of human faces for carrying out human face recognition on the acquired images;
a third determining unit, configured to determine the number of faces as the number of the mobile terminals;
and the fourth determining unit is used for determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the second determining submodule 64 includes:
a fifth determining unit, configured to determine a first pre-estimated resource required by the mobile terminal;
a sixth determining unit, configured to determine a third pre-estimated resource required by the second image acquisition device;
a seventh determining unit, configured to determine a sum of the first pre-estimated resource and the third pre-estimated resource as the second pre-estimated resource.
Optionally, the fifth determining unit is further configured to
Acquiring the number of the detected media access control MAC addresses and the number of the MAC addresses detected by the second image acquisition device;
summarizing the number of the detected MAC addresses and the number of the MAC addresses detected by the second image acquisition device to obtain the total number of the MAC addresses;
determining the total number of the MAC addresses as the number of the mobile terminals;
and determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the fifth determining unit is further configured to
Acquiring the number of human faces for carrying out human face recognition on the acquired images and the number of human faces for carrying out human face recognition on the acquired images by the second image acquisition device;
summarizing the number of faces for carrying out face recognition on the collected images and the number of faces for carrying out face recognition on the collected images by the second image collecting device to obtain the total number of the faces;
determining the total number of the faces as the number of the mobile terminals;
and determining the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
Optionally, the second determining sub-module includes:
the third acquisition unit is used for acquiring the number of the second image acquisition devices in the same area;
and the eighth determining unit is used for determining the second pre-estimated resource required by the second image acquisition device according to the product of the number of the second image acquisition devices and the preset resource required by the image acquisition devices.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, determining target pre-estimated resources required by equipment competing transmission resources with the first image acquisition device;
s2, judging whether the target estimated resource is larger than or equal to the pre-allocated resource;
s3, when the judgment result is yes, the first image acquisition device requests a 5G slice network from a server, and video transmission is carried out through the 5G slice network configured by the server;
and S4, if the judgment result is negative, the first image acquisition device abandons the application for the 5G slicing network to the server.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 4
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining target pre-estimated resources required by equipment competing transmission resources with the first image acquisition device;
s2, judging whether the target estimated resource is larger than or equal to the pre-allocated resource;
s3, when the judgment result is yes, the first image acquisition device requests a 5G slice network from a server, and video transmission is carried out through the 5G slice network configured by the server;
and S4, if the judgment result is negative, the first image acquisition device abandons the application for the 5G slicing network to the server.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A video transmission method, comprising:
a first image acquisition device determines target pre-estimated resources required by equipment competing transmission resources with the first image acquisition device;
the first image acquisition device judges whether the target estimated resource is greater than or equal to a pre-allocated resource;
under the condition that the judgment result is yes, the first image acquisition device requests a 5G slice network from a server, and video transmission is carried out through the 5G slice network configured by the server;
and if the judgment result is negative, the first image acquisition device gives up applying for a 5G slicing network to the server.
2. The method of claim 1, wherein the determining, by the first image capture device, the target pre-estimated resources required by the equipment competing with the first image capture device for resources comprises:
the first image acquisition device determines a first pre-estimated resource required by a mobile terminal, wherein the target pre-estimated resource is the first pre-estimated resource, and the equipment comprises the mobile terminal; or
The first image acquisition device determines a second pre-estimated resource required by a mobile terminal and a second image acquisition device which is located in the same area as the first image acquisition device, wherein the target pre-estimated resource is the second pre-estimated resource, and the equipment comprises the mobile terminal and the second image acquisition device.
3. The method according to claim 2, wherein the determining, by the first image capturing device, the first pre-estimated resources required by the mobile terminal comprises:
the first image acquisition device acquires the number of detected Media Access Control (MAC) addresses, wherein the MAC addresses are carried in detection packets sent to a router;
the first image acquisition device determines the number of the mobile terminals according to the number of the detected MAC addresses;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
4. The method according to claim 2, wherein the determining, by the first image capturing device, the first pre-estimated resources required by the mobile terminal comprises:
the first image acquisition device acquires the number of human faces for carrying out human face recognition on the acquired images;
the first image acquisition device determines the number of the human faces as the number of the mobile terminals;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
5. The method of claim 2, wherein the determining, by the first image capturing device, the second pre-estimated resources required by the mobile terminal and the second image capturing device located in the same area as the first image capturing device comprises:
the first image acquisition device determines a first pre-estimated resource required by the mobile terminal;
the first image acquisition device determines a third pre-estimated resource required by the second image acquisition device;
and the first image acquisition device determines the sum of the first pre-estimated resource and the third pre-estimated resource as the second pre-estimated resource.
6. The method according to claim 5, wherein the determining, by the first image capturing device, the first pre-estimated resources required by the mobile terminal comprises:
the first image acquisition device acquires the number of detected Media Access Control (MAC) addresses and the number of MAC addresses detected by the second image acquisition device;
the first image acquisition device summarizes the number of the detected MAC addresses and the number of the detected MAC addresses of the second image acquisition device to obtain the total number of the MAC addresses;
the first image acquisition device determines the total number of the MAC addresses as the number of the mobile terminals;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
7. The method according to claim 5, wherein the determining, by the first image capturing device, the first pre-estimated resources required by the mobile terminal comprises:
the first image acquisition device acquires the number of human faces for carrying out human face recognition on the acquired images and the number of human faces for carrying out human face recognition on the acquired images by the second image acquisition device;
the first image acquisition device collects the number of faces for carrying out face recognition on the acquired images and the number of faces for carrying out face recognition on the acquired images by the second image acquisition device to obtain the total number of the faces;
the first image acquisition device determines the total number of the faces as the number of the mobile terminals;
and the first image acquisition device determines the product of the number of the mobile terminals and the preset resources required by the mobile terminals as the first pre-estimated resources.
8. The method of any of claims 5 to 7, wherein the determining, by the first image acquisition device, a third pre-estimated resource required by the second image acquisition device comprises:
the first image acquisition device acquires the number of the second image acquisition devices;
and the first image acquisition device determines the third pre-estimated resource required by the second image acquisition device according to the product of the number of the second image acquisition devices and the preset resource required by the image acquisition devices.
9. A video transmission device is applied to an image acquisition device and comprises:
the determining module is used for determining target pre-estimated resources required by equipment competing transmission resources with the first image acquisition device;
the judging module is used for judging whether the target estimated resources are more than or equal to the pre-allocated resources;
the request module is used for requesting a 5G slicing network from a server by the first image acquisition device under the condition that the judgment result is yes, and carrying out video transmission through the 5G slicing network configured by the server;
and the transmission module is used for giving up the application of the first image acquisition device for the 5G slicing network to the server under the condition that the judgment result is negative.
10. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 8 when executed.
11. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 8.
CN201910974816.7A 2019-10-14 2019-10-14 Video transmission method and device Active CN110611831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910974816.7A CN110611831B (en) 2019-10-14 2019-10-14 Video transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910974816.7A CN110611831B (en) 2019-10-14 2019-10-14 Video transmission method and device

Publications (2)

Publication Number Publication Date
CN110611831A true CN110611831A (en) 2019-12-24
CN110611831B CN110611831B (en) 2022-02-08

Family

ID=68894500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910974816.7A Active CN110611831B (en) 2019-10-14 2019-10-14 Video transmission method and device

Country Status (1)

Country Link
CN (1) CN110611831B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111160283A (en) * 2019-12-31 2020-05-15 浙江宇视科技有限公司 Data access method, device, equipment and medium
CN112218028A (en) * 2020-11-04 2021-01-12 浙江大华技术股份有限公司 Event processing method and device, storage medium and electronic device
WO2022057635A1 (en) * 2020-09-17 2022-03-24 Kyndryl, Inc. Prepaid digital delivery package

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005094100A1 (en) * 2004-03-29 2005-10-06 Utstarcom Telecom Co., Ltd. A method of regulating resource and guiding service in the multi-mode radio network
CN101610539A (en) * 2008-05-23 2009-12-23 财团法人工业技术研究院 Portable terminal quantity survey (surveying) method and response method, base station, Storage Media
WO2012078236A1 (en) * 2010-12-09 2012-06-14 Cygnus Broadband Systems and methods for prioritization of data for intelligent discard in a communication network
US20120311093A1 (en) * 2011-06-06 2012-12-06 Comcast Cable Communications, Llc Dynamic management of audiovisual and data communications
CN104410870A (en) * 2014-10-28 2015-03-11 清华大学 Method for distributing bandwidth resource of streaming media application with optimized energy consumption
CN105721341A (en) * 2016-01-28 2016-06-29 苏黎 Router network resource allocating method and router
WO2017007264A1 (en) * 2015-07-07 2017-01-12 Samsung Electronics Co., Ltd. Method and apparatus for providing video service in communication system
CN108366022A (en) * 2018-01-10 2018-08-03 浙江大华技术股份有限公司 A kind of method and device of bandwidth allocation
CN108834157A (en) * 2018-04-27 2018-11-16 努比亚技术有限公司 Internet wide band distribution, mobile terminal and computer readable storage medium
CN109218855A (en) * 2017-06-30 2019-01-15 中国电信股份有限公司 Bandwidth allocation methods, device and optical network system for OLT slice
CN109600579A (en) * 2018-10-29 2019-04-09 歌尔股份有限公司 Video wireless transmission method, apparatus, system and equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005094100A1 (en) * 2004-03-29 2005-10-06 Utstarcom Telecom Co., Ltd. A method of regulating resource and guiding service in the multi-mode radio network
CN101610539A (en) * 2008-05-23 2009-12-23 财团法人工业技术研究院 Portable terminal quantity survey (surveying) method and response method, base station, Storage Media
WO2012078236A1 (en) * 2010-12-09 2012-06-14 Cygnus Broadband Systems and methods for prioritization of data for intelligent discard in a communication network
US20120311093A1 (en) * 2011-06-06 2012-12-06 Comcast Cable Communications, Llc Dynamic management of audiovisual and data communications
CN104410870A (en) * 2014-10-28 2015-03-11 清华大学 Method for distributing bandwidth resource of streaming media application with optimized energy consumption
WO2017007264A1 (en) * 2015-07-07 2017-01-12 Samsung Electronics Co., Ltd. Method and apparatus for providing video service in communication system
CN105721341A (en) * 2016-01-28 2016-06-29 苏黎 Router network resource allocating method and router
CN109218855A (en) * 2017-06-30 2019-01-15 中国电信股份有限公司 Bandwidth allocation methods, device and optical network system for OLT slice
CN108366022A (en) * 2018-01-10 2018-08-03 浙江大华技术股份有限公司 A kind of method and device of bandwidth allocation
CN108834157A (en) * 2018-04-27 2018-11-16 努比亚技术有限公司 Internet wide band distribution, mobile terminal and computer readable storage medium
CN109600579A (en) * 2018-10-29 2019-04-09 歌尔股份有限公司 Video wireless transmission method, apparatus, system and equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111160283A (en) * 2019-12-31 2020-05-15 浙江宇视科技有限公司 Data access method, device, equipment and medium
CN111160283B (en) * 2019-12-31 2023-09-01 浙江宇视科技有限公司 Data access method, device, equipment and medium
WO2022057635A1 (en) * 2020-09-17 2022-03-24 Kyndryl, Inc. Prepaid digital delivery package
US11363453B2 (en) 2020-09-17 2022-06-14 Kyndryl, Inc. Prepaid digital delivery service
CN112218028A (en) * 2020-11-04 2021-01-12 浙江大华技术股份有限公司 Event processing method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN110611831B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN110611831B (en) Video transmission method and device
CN108199786B (en) Method and device for adjusting transmission power
CN109152095B (en) Wireless network connection method for terminal
EP2850879A1 (en) Method and apparatus for network traffic offloading
CN110267343B (en) Paging management method, network data analysis function and network side equipment
CN113364682B (en) Data transmission method and device, storage medium and electronic device
CN105794258B (en) Congestion notification method, relevant device and system
CN112738538B (en) Live broadcasting room on-hook behavior detection method and device, electronic equipment and computer readable storage medium
US20150254301A1 (en) Method, Terminal And System For Transmitting File Between Multiple Terminals
EP4175333A1 (en) Information collection method and apparatus, storage medium, and electronic apparatus
CN108200660B (en) Data transmission method and device
US9591562B2 (en) Provisioning access point bandwidth based on predetermined events
CN103918320A (en) Systems and methods for management of background application events
CN108184008A (en) A kind of terminal Communication Performance Evaluation method and apparatus
US20230344740A1 (en) Sla performance prediction method and related apparatus, and device
CN111263113B (en) Data packet sending method and device and data packet processing method and device
CN108200604B (en) Data transmission method and device
US9887857B2 (en) Method for scheduling management operation on devices in a home network
CN111050356A (en) Data transmission processing method and device, storage medium and electronic device
CN113645707B (en) Network resource allocation method, device, system, computer equipment and storage medium
CN117014827A (en) Method, device and system for determining target user
WO2016179945A1 (en) Terminal network access method, terminal and network access device
US10721138B2 (en) Providing differentiated QoS by dynamically segregating voice and video clients into different BSSIDs
CN108156653B (en) Data transmission method and device
CN108293024B (en) Service data transmission method and device

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