WO2020135306A1 - Method for controlling camera, control device, network apparatus and camera - Google Patents

Method for controlling camera, control device, network apparatus and camera Download PDF

Info

Publication number
WO2020135306A1
WO2020135306A1 PCT/CN2019/127297 CN2019127297W WO2020135306A1 WO 2020135306 A1 WO2020135306 A1 WO 2020135306A1 CN 2019127297 W CN2019127297 W CN 2019127297W WO 2020135306 A1 WO2020135306 A1 WO 2020135306A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
rate
cameras
control device
total
Prior art date
Application number
PCT/CN2019/127297
Other languages
French (fr)
Chinese (zh)
Inventor
褚万恒
赵微
刘冠群
姚凯斌
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020135306A1 publication Critical patent/WO2020135306A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/26Resource reservation

Definitions

  • the present application relates to the field of remote control, and more specifically to a method, a control device, a network device, and a camera for controlling a camera.
  • the automotive industry will undergo earth-shaking changes in the future, gradually evolving from traditional manned driving to unmanned intelligent driving.
  • the safety guarantee and operation monitoring of intelligent driving have become one of the necessary functions.
  • the main method is to equip the driver and the safety officer in the car.
  • the driver and the safety officer in the car temporarily take over and intervene, and the autonomous car will be parked nearby or away from the fault location.
  • wireless communication technologies such as fourth generation (4G) or fifth generation (5G), etc.
  • 4G fourth generation
  • 5G fifth generation
  • Remote driving is a driving method different from local driving. It mainly refers to a driving method that separates the driver from the vehicle through a new generation of wireless communication network. Remote driving directly drives and controls the vehicle through the wireless communication network. When a problem or broken link occurs in any part of the system, the vehicle loses control and an accident occurs, causing irreparable impact. Therefore, remote driving has very high requirements for the reliability of data transmission.
  • the remote driving system usually consists of the following parts: remote driving information collection system, remote management system (also called centralized operation management system), remote driving simulation suite, etc.
  • the information collection system is mainly composed of cameras covering the car body 360 degrees, cameras facing the passengers in the car and other equipment.
  • the current multi-cameras are connected to the wireless communication system, and the video parameters are set based on the minimum configuration, and then the multi-channel video is averagely output.
  • the video resolution decreases or the transmission is interrupted, resulting in the lack of guarantee for critical video data and making the business reliable. Sex is very low.
  • the present application provides a method, a control device, a network device, and a camera for controlling a camera, which can improve the reliability of wireless communication return of multi-camera video data.
  • the present application provides a method for controlling a camera.
  • the control device determines the resolutions of the plurality of cameras under the control device and delivers the resolutions to the cameras according to the total uplink rate obtainable by the plurality of cameras sent by the network device and the priorities of the plurality of cameras. Since different resolutions correspond to different upstream rates, the control device determines that the resolution of the camera is equivalent to assigning the upstream rate to the camera. For cameras with high priority, a larger upstream rate can be assigned, and for cameras with a lower priority, a smaller upstream rate can be assigned, so as to ensure the correct transmission of key video data, thereby improving the reliability of wireless communication of multi-camera video data. Sex.
  • the method further includes: the control device acquiring the i-th camera Security information, and send the security information to the network device, where the security information is used to indicate whether the i-th camera requests uplink rate guarantee and the guaranteed uplink rate.
  • control device receives the guarantee information from the camera and sends the guarantee information to the network device, so that the network device can reserve appropriate resources for the camera applying for the upstream rate guarantee, so that the video message of the camera can be correctly transmitted To remote management system, which can improve the reliability of wireless communication of multi-camera video data.
  • the guarantee information further includes the priority of the i-th camera.
  • the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
  • the control device determines the to-be-used of each of the M cameras according to the first uplink total rate and the priority of each of the M cameras Before the resolution, the method further includes: the control device receives an operation instruction from a remote management system; the control device determines the priority of each of the M cameras according to the operation instruction; the configuration The instruction also includes the priority of the i-th camera.
  • the control device determines the priority of multiple cameras according to the operation instructions for the vehicle sent by the remote management system, which can make the resource allocation of the network equipment better adapt to the different driving modes of the vehicle and ensure the reliability of the business.
  • the method before the control apparatus receives the first total uplink rate, the method further includes: the control apparatus sends request information to the network device, where the request information is used to request The first uplink total rate.
  • the control device increases the resolution of all or part of the cameras according to the priority of each camera. In this way, the remote management system can obtain higher-definition video, which is helpful for the remote driver to make judgments and issue operation instructions.
  • the control device when the resources of the network device are relatively tight, the control device reduces the resolution of all or part of the cameras according to the priority of each camera. This can ensure the transmission of key video data and improve the reliability of the business.
  • the present application provides a method for controlling a camera.
  • the method includes: a network device sends a first total uplink rate to a terminal device, where the first total uplink rate is M cameras under the terminal device
  • the available total upstream rate, M is an integer greater than or equal to 2
  • the network device receives video packets from the M cameras; the network device according to the guarantee information, Send at least part of the video message to the remote management system.
  • the network device sends the first total uplink rate to the terminal device, so that the terminal device can determine the terminal device according to the total uplink rate available from the multiple cameras sent by the network device and the priority of the multiple cameras
  • the resolutions of multiple cameras are sent to the cameras. Since different resolutions correspond to different upstream rates, the terminal device determines that the resolution of the camera is equivalent to allocating the upstream rate to the camera. In this way, a higher upstream rate can be assigned to a camera with a higher priority, and a lower upstream rate The camera can be assigned a smaller upstream rate.
  • the network device receives the guarantee information sent by the terminal device, and the network device can guarantee the transmission of the video message of the camera applying for the upstream rate guarantee. Therefore, the above technical solution can improve the reliability of wireless communication of multi-camera video data.
  • the security information further includes the priority of the i-th camera; the network device sends the at least part of the video message to a remote management system according to the security information, including :
  • the guarantee parameter instructs the i-th camera to request an upstream rate guarantee
  • the network device sends the remote control system the request according to the upstream rate requested by the i-th camera and the priority of the i-th camera At least part of the video message.
  • the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
  • the method further includes: the network device receives request information sent by the terminal device, where the request information is used to request the first uplink total rate.
  • the method further includes: the network device sending a second total uplink rate to the terminal device.
  • the present application provides a method for controlling a camera, the method comprising: the camera receives a configuration instruction sent by a control device, the configuration instruction is used to indicate a resolution to be used by the camera; the camera will distinguish The rate is configured to the resolution to be used; the camera sends guarantee information to the network device, and the guarantee information is used to indicate whether the camera requests upstream rate guarantee and the guaranteed upstream rate.
  • the camera adds the guarantee information in the video message and sends it to the network device, so that the network device can reserve appropriate resources for the camera applying for the upstream rate guarantee, so that the video message of the camera is correctly transmitted. Therefore, the above technical solution can improve the reliability of wireless communication of multi-camera video data.
  • the security information further includes the priority of the camera.
  • the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
  • the present application provides a control device, the device includes: a receiving module configured to receive a first total uplink rate sent by a network device, the first total uplink rate being M cameras under the control device.
  • the obtained total upstream rate, M is an integer greater than or equal to 2;
  • the processing module is used to determine each of the M cameras according to the first upstream total rate and the priority of each of the M cameras Resolutions of the cameras to be used;
  • the control device determines the resolutions of the plurality of cameras under the control device and delivers the resolutions to the cameras according to the total uplink rate obtainable by the plurality of cameras sent by the network device and the priorities of the plurality of cameras. Since different resolutions correspond to different upstream rates, the control device determines that the resolution of the camera is equivalent to assigning the upstream rate to the camera. For cameras with high priority, a larger upstream rate can be assigned, and for cameras with a lower priority, a smaller upstream rate can be assigned, so as to ensure the correct transmission of key video data, thereby improving the reliability of wireless communication of multi-camera video data. Sex.
  • the processing module is further configured to: after the control device issues the i-th configuration instruction to the i-th camera among the M cameras, obtain the guarantee of the i-th camera Information; the sending module is also used to send the guarantee information to the network device, and the guarantee information is used to indicate whether the i-th camera requests an upstream rate guarantee and a guaranteed upstream rate.
  • control device receives the guarantee information from the camera and sends the guarantee information to the network device, so that the network device can reserve appropriate resources for the camera applying for the upstream rate guarantee, so that the video message of the camera can be correctly transmitted To remote management system, which can improve the reliability of wireless communication of multi-camera video data.
  • the guarantee information further includes the priority of the i-th camera.
  • the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
  • the receiving module is further configured to: in the control device, determine the M cameras according to the first total uplink rate and the priority of each camera among the M cameras Before the resolution of each camera in the camera, to receive an operation instruction from the remote management system; the processing module is also used to determine the priority of each of the M cameras according to the operation instruction;
  • the configuration instruction also includes the priority of the i-th camera.
  • the control device determines the priority of multiple cameras according to the operation instructions for the vehicle sent by the remote management system, which can make the resource allocation of the network equipment better adapt to the different driving modes of the vehicle and ensure the reliability of the business.
  • the sending module is further configured to: before the control device receives the first total uplink rate, send request information to the network device, where the request information is used to request the The first upstream total rate.
  • the receiving module is further configured to: receive a second total uplink rate, the second total uplink rate is a total uplink rate obtainable by the M cameras under the control device;
  • the processing module is also used to compare the second total uplink rate with the second total rate, the second total rate being the sum of the standard rate values corresponding to the current resolution of each of the M cameras;
  • the second total uplink rate is greater than the second total rate, and the number of consecutive times when the second total uplink rate is greater than the second total rate reaches a preset number of times, according to each of the M cameras Priority order, increase the resolution of K cameras among the M cameras, so that the M cameras occupy the entire rate of the second uplink total rate or the resolution of the M cameras reaches the highest Resolution, where K is a positive integer less than or equal to M;
  • the processing module is also used to issue a jth configuration instruction to the jth camera among the K cameras, and the jth configuration instruction is used to indicate The resolution to be used of the j th camera, where
  • the control device increases the resolution of all or part of the cameras according to the priority of each camera. In this way, the remote management system can obtain higher-definition video, which is helpful for the remote driver to make judgments and issue operation instructions.
  • the receiving module is further configured to: receive a second total uplink rate, the second total uplink rate is a total uplink rate obtainable by the M cameras under the control device;
  • the processing module is further configured to compare the second total uplink rate with a third total rate, where the third total rate is the sum of the lower limit rate values corresponding to the current resolution of each of the M cameras;
  • the second total uplink rate is less than the third total rate, according to the priority order of each of the M cameras, the resolution of the Q cameras in the M cameras is reduced, so that The total upstream rate corresponding to the M cameras is less than or equal to the third total rate, where Q is a positive integer less than or equal to M;
  • the processing module is further configured to send the jth camera among the Q cameras
  • the control device when the resources of the network device are relatively tight, the control device reduces the resolution of all or part of the cameras according to the priority of each camera. This can ensure the transmission of key video data and improve the reliability of the business.
  • the present application provides a network device, the network device includes: a sending module, configured to send a first total uplink rate to a terminal device, the first total uplink rate being M cameras under the terminal device
  • the obtained total upstream rate, M is an integer greater than or equal to 2
  • the receiving module is also used to receive video packets from the M cameras
  • the sending module also It is used to send at least part of the video message to the remote management system according to the security information.
  • the network device sends the first total uplink rate to the terminal device, so that the terminal device can determine the terminal device according to the total uplink rate available from the multiple cameras sent by the network device and the priority of the multiple cameras
  • the resolutions of multiple cameras are sent to the cameras. Since different resolutions correspond to different upstream rates, the terminal device determines that the resolution of the camera is equivalent to allocating the upstream rate to the camera. In this way, a higher upstream rate can be assigned to a camera with a higher priority, and a lower upstream rate The camera can be assigned a smaller upstream rate.
  • the network device receives the guarantee information sent by the terminal device, and the network device can guarantee the transmission of the video message of the camera applying for the upstream rate guarantee. Therefore, the above technical solution can improve the reliability of wireless communication of multi-camera video data.
  • the guarantee information further includes the priority of the i-th camera; the sending module is specifically configured to, when the guarantee parameter indicates that the i-th camera requests an upstream rate guarantee, according to The upstream rate requested by the i-th camera and the priority of the i-th camera send the at least part of the video message to the remote management system.
  • the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
  • the receiving module is further configured to: receive request information sent by the terminal device, and the request information is used to request the first total uplink rate.
  • the sending module is further configured to send the second total uplink rate to the terminal device.
  • the present application provides a camera, the camera including: a processing module for receiving a configuration instruction sent by a control device, the configuration instruction for indicating a resolution to be used by the camera; the processing module, further It is used to configure the resolution to the resolution to be used; the sending module is used to send guarantee information to the network device, and the guarantee information is used to indicate whether the camera requests the upstream rate guarantee and the guaranteed upstream rate.
  • the camera adds the guarantee information in the video message and sends it to the network device, so that the network device can reserve appropriate resources for the camera applying for the upstream rate guarantee, so that the video message of the camera is correctly transmitted. Therefore, the above technical solution can improve the reliability of wireless communication of multi-camera video data.
  • the security information further includes the priority of the camera.
  • the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
  • the present application provides a control device, including a processor, a transceiver, and a memory, for performing the method described in the first aspect or any implementation manner of the first aspect.
  • the present application provides a network device.
  • the network device includes a processor, a transceiver, and a memory, and is configured to execute the method described in the second aspect or any implementation manner of the second aspect.
  • the present application provides a camera.
  • the camera includes a processor, a transceiver, and a memory, and is configured to perform the method described in the third aspect or any implementation manner of the third aspect.
  • the present application provides a chip.
  • the control device includes a processor, a transceiver, and a memory, and is configured to execute the method described in the first aspect or any implementation manner of the first aspect.
  • the present application provides a chip.
  • the network device includes a processor, a transceiver, and a memory, and is configured to execute the method described in the second aspect or any implementation manner of the second aspect.
  • the present application provides a chip.
  • the camera includes a processor, a transceiver, and a memory, and is used to execute the method described in the third aspect or any implementation manner of the third aspect.
  • the present application provides a computer-readable storage medium, including instructions that, when run on a control device, cause the control device to perform the method described in the first aspect or any implementation manner of the first aspect.
  • the present application provides a computer-readable storage medium, including instructions that, when run on a network device, cause the network device to perform the method described in the second aspect or any implementation manner of the second aspect.
  • the present application provides a computer-readable storage medium, including instructions that, when run on a camera, cause the camera to perform the method described in the third aspect or any implementation manner of the third aspect.
  • the present application provides a computer program product that, when run on a control device, causes the control device to execute the method described in the first aspect or any implementation manner of the first aspect.
  • the present application provides a computer program product that, when run on a network device, causes the network device to perform the method described in the second aspect or any implementation manner of the second aspect.
  • the present application provides a computer program product that, when run on a camera, causes the camera to perform the method described in the third aspect or any implementation manner of the third aspect.
  • the present application provides a camera management system, the system including the control device described in the fourth aspect or any implementation manner of the fourth aspect, and the fifth aspect or any implementation manner of the fifth aspect.
  • Figure 1 is a schematic diagram of the layout of the vehicle video information collection system.
  • FIG. 2 is a schematic diagram of a scenario where the method of the embodiment of the present application can be applied.
  • Figure 3 is a schematic diagram of different camera port configurations.
  • FIG. 4 is a schematic flowchart of a method for controlling a camera according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a first uplink total rate query initiated by a control device.
  • FIG. 6 is a schematic flowchart of the network device determining the first uplink total rate and the uplink rate guarantee.
  • FIG. 7 is a schematic diagram of grouping calibration of each camera under typical operation instructions.
  • FIG. 8 is a schematic flowchart of the control device dynamically and optimally adjusting the resolution of the camera.
  • FIG. 9 is an example of the priority order of camera resolution ascending and descending.
  • FIG. 10 is a schematic flowchart of the optimization of the dynamic reduction of the control device.
  • FIG. 11 is a schematic flowchart of camera resolution optimization.
  • 12 is a schematic flowchart of camera service guarantee.
  • FIG. 13 is a schematic diagram of the overall flow of a remote driving business according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a control device according to an embodiment of the present application.
  • 15 is a schematic structural diagram of a network device according to an embodiment of the present application.
  • 16 is a schematic structural diagram of a camera according to an embodiment of the present application.
  • 17 is a schematic structural diagram of a control device provided by another embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of a network device provided by another embodiment of the present application.
  • 19 is a schematic structural diagram of a camera provided by another embodiment of the present application.
  • This application can be applied to various remote control scenarios, as long as multiple information collection devices in this scenario need to report the collected data to the management system through a network device. For example, remote driving, robot remote control, etc.
  • the network device in the embodiment of the present application may be a device for communicating with a terminal device, and the network device may be a global system for mobile (GSM) system or code division multiple access (CDMA)
  • the base station (base transceiver) (BTS) in the system can also be the base station (NodeB, NB) in the wideband code division multiple access (WCDMA) system or the evolved base station (evolved) in the LTE system NodeB, eNB or eNodeB), or a wireless controller in a cloud radio access network (CRAN) scenario
  • the network device may be a relay station, an access point, and a network device in a future 5G network or Network devices in a public land mobile communication network (PLMN) that will evolve in the future are not limited in the embodiments of the present application.
  • PLMN public land mobile communication network
  • Remote driving is a driving method different from local driving. It mainly refers to a driving method that separates the driver from the vehicle through a new generation of wireless communication network.
  • the remote driving system usually consists of the following parts: remote driving information collection system, remote management system (also called centralized operation management system), remote driving simulation suite, etc.
  • the information collection system is mainly composed of a camera covering the 360-degree body of the car, a camera facing the passengers in the car, and other devices. All the cameras of the car body are connected to the network through the on-board control device.
  • the vehicle body for example, about 1-3 cameras facing the front, 1 left and right camera, and 1 rearview camera
  • 1 camera facing the passenger in the car At present, all cameras use high-definition cameras.
  • the upstream rate needs to meet 30Mbps or more, and the end-to-end delay needs to be ⁇ 100ms, which requires relatively high network performance and resource consumption.
  • the current multi-cameras are connected to the wireless communication system, and the video parameters are set based on the minimum configuration, and then the multi-channel video is averagely output.
  • the video resolution decreases or the transmission is interrupted, resulting in the lack of guarantee for critical video data and making the business reliable. Sex is very low. Therefore, how to improve the reliability of multi-camera video data wireless communication backhaul in remote driving and other application scenarios has become an urgent problem to be solved.
  • the present application provides a method, a control device, a network device, and a camera for controlling a camera, which can improve the reliability of wireless communication return of multi-camera video data.
  • FIG. 2 is a schematic diagram of a scenario where the method of the embodiment of the present application can be applied.
  • the wireless communication system supports air interface status prediction and issuance, service identification, and network assurance; vehicle-mounted control devices implement control task initiation, network status acquisition, multi-camera priority group calibration according to business operation instructions, camera resolution adjustment, and start-up proprietary Service upstream rate guarantee; camera realizes information collection and perception, and dynamically adjusts and optimizes according to network status; remote management system realizes camera information collection and presentation and business operation instruction is issued.
  • FIG. 3 is a schematic diagram of different camera port configurations.
  • This application is based on the real-time network status of the wireless communication system and the business operation instructions issued by the remote management system.
  • the vehicle-mounted control device completes the group calibration of multiple cameras, and sets the camera parameters based on the network status. At the same time, it starts the uplink rate of cameras with different priorities.
  • Proprietary guarantee and dynamic adjustment realize the coordination and guarantee of remote operation business network, improve the reliability of proprietary business, and reduce the limitation of business application due to the limitation of network resources.
  • FIG. 4 is a schematic flowchart of a method for controlling a camera according to an embodiment of the present application.
  • the method shown in FIG. 4 includes at least part of the following content.
  • the network device sends a first total uplink rate to the terminal device, and the terminal device receives the first total uplink rate.
  • the first total uplink rate is the total uplink rate available to the M cameras under the terminal device, M It is an integer greater than or equal to 2.
  • the network device sends the first total uplink rate to the control device of the terminal device.
  • control device determines the resolution to be used for each of the M cameras according to the first total uplink rate and the priority of each of the M cameras.
  • the control device issues an i-th configuration command to the i-th camera among the M cameras, the i-th camera receives the i-th configuration command, and the i-th configuration command is used to instruct the i-th configuration command
  • the i-th camera configures the resolution to the resolution to be used.
  • the control device obtains the security information of the i-th camera, where the security information is used to indicate whether the i-th camera requests uplink rate guarantee and the requested uplink rate.
  • control device receives the security information sent by the i-th camera.
  • control device obtains the internally stored security information of the i-th camera.
  • the terminal device sends the security information to the network device, and the network device receives the security information sent by the terminal device.
  • control device of the terminal device sends the security information to the network device.
  • control device may not execute 450, but the camera directly sends the security information to the network device.
  • the network device sends the i-th camera video message to the remote management system based on the security information.
  • control device may be formed by improving the existing vehicle-mounted control device, or may be a newly added control device that is independently installed on the vehicle.
  • the embodiment of the present application does not specifically limit the type of the camera, as long as the camera can modify the resolution according to the instruction of the control device.
  • the embodiment of the present application does not specifically limit the type of network device, as long as the network device supports sending the first total uplink rate and sending video packets according to the received guarantee information.
  • the control device determines the resolutions of the plurality of cameras under the control device and delivers the resolutions to the cameras according to the total uplink rate obtainable by the plurality of cameras sent by the network device and the priorities of the plurality of cameras. Since different resolutions correspond to different upstream rates, the control device determines that the resolution of the camera is equivalent to assigning the upstream rate to the camera. For cameras with high priority, a larger upstream rate can be assigned, and for cameras with a lower priority, a smaller upstream rate can be assigned, so as to ensure the correct transmission of key video data, thereby improving the reliability of wireless communication of multi-camera video data. Sex.
  • the network device determines the first total uplink rate before the network device sends the first total uplink rate to the control apparatus.
  • the network device estimates the first uplink total rate according to its own bandwidth resource usage (for example, the first uplink total rate may be the difference between the total bandwidth resource of the network device and the used bandwidth resource).
  • the network device may periodically determine the first total uplink rate and send it to the control device.
  • control apparatus may send request information to the network device, where the request information is used to request the first total uplink rate; after receiving the request information, the network device determines the first total uplink rate.
  • control apparatus may periodically send request information to the network device.
  • the request information may be sent through a separate message.
  • the request information may be carried in the video message sent by the control device to the network device.
  • the request information may be carried in an option field of a transmission control protocol (transmission control protocol (TCP) message or an internet protocol (IP) message.
  • TCP transmission control protocol
  • IP internet protocol
  • Table 1 shows the format of the option field.
  • Type (kind, 1 byte) Length (length, 1 byte) Format (type, 1 byte) meaning 253 3 1 First uplink total rate query request
  • FIG. 5 is a schematic flowchart of a first uplink total rate query initiated by a control device.
  • control device initiates a first uplink total rate query process to start.
  • the control device determines whether the network cooperative multi-camera optimization feature is turned on (this feature can be used as an option for value-added services in the future, and the difference protection is performed according to whether the end user purchases the value-added service). If the feature is turned on, go to 503; if the feature is not turned on, go to 506.
  • the network cooperative multi-camera optimization feature switch may be of an enumerated type.
  • the value is [On, Off], where On is the network cooperative multi-camera optimization feature turned on, and Off is the network cooperative multi-camera optimization feature turned off.
  • the default is Off, and this feature can be turned on as needed (for example, based on whether the user purchases it).
  • control device when the network cooperative multi-camera optimization feature is turned on, the control device triggers a remote driving request, sends an uplink message, and executes 504 after completion.
  • control device determines whether it is necessary to insert a query for the first uplink total rate request, and if necessary, execute 505, otherwise execute 506.
  • the uplink message needs to carry a request to query the first uplink total rate.
  • the remote driving service there are two optional ways to query the first uplink total rate. The first is to carry the query request in each uplink message, and the second is to confirm the downlink message (acknowledge, ACK) The query request is carried in the return packet.
  • the control device inserts a corresponding option (option) in the header of the upstream packet to start the first uplink total rate query request, and the specific option setting mode is shown in Table 1.
  • control device initiates the first uplink total rate query process to end.
  • the network device After the network device receives the uplink message sent by the control device, according to the option field in the uplink message, the functions of network status query, first uplink total rate delivery, and uplink rate guarantee are activated accordingly.
  • 6 is a schematic flowchart of the network device determining the first uplink total rate and the uplink rate guarantee.
  • the network device starts the process.
  • the control device of the vehicle determines that the user turns on the network cooperative multi-camera optimization feature
  • the network device determines whether the received message is an upstream message sent by the control device or a remote management system. Downstream message sent. If the packet received by the network device is an uplink packet, go to 603; otherwise, go to 608.
  • the network device parses the option field of the upstream packet, and after completion, executes 604.
  • the network device determines whether the uplink message carries request information. If the uplink message carries the request information, perform 605; otherwise, perform 606.
  • the network device estimates the first total uplink rate of the user according to the bandwidth resource usage, and executes 610 after completion.
  • the network device determines whether the upstream message carries the guarantee information. If the upstream message carries the security information, go to 607, otherwise go to 610.
  • the network device starts packet guarantee according to the priority indicated by the guarantee information carried in the upstream message and the upstream rate requesting guarantee, and after completion 610 is performed.
  • the network device sends video packets from the camera to the remote management system based on the security information.
  • the network device reserves resources for the camera based on the guarantee information.
  • the guarantee information indicates that the camera requests the upstream rate guarantee
  • the requested upstream rate is the standard rate at the current resolution
  • the network device reserves for the camera the same size as the requested upstream rate Resources.
  • the security information indicates that the camera requests the uplink rate guarantee
  • the network device reserves resources for the camera according to the camera priority.
  • the network device determines which video packets to send based on the security information. For example, when network equipment resources are tight, after the network equipment guarantees the transmission of video packets from cameras with high priority, some or even all of the video packets from cameras with lower priority may be discarded and not sent to the remote management system. .
  • the guarantee information can be sent through a separate message.
  • the guarantee information may be carried in the video message sent by the control device to the network device.
  • the guarantee information may be carried in the option field of the TCP message or the IP message.
  • Table 2 shows the format of the option field.
  • the reserved bits can take the value 0000.
  • the priority of the camera in the security information may be the priority group of the camera. For example, divide all cameras into 3 groups, the first group (group1, G1) has the highest priority and is set to 1; the second group (group2, G2) has the second highest priority and is set to 2; the third group (group3, G3 ) The lowest priority is set to 3; when the value is 0, it means that there is no grouping and the lowest priority.
  • the security information carries the corresponding group number, it means that the security priority of the camera is the priority corresponding to the group number.
  • the security information carries the priority of the camera.
  • the network device determines whether the user has requested the first total uplink rate. If the user has requested the first total uplink rate, perform 609; otherwise, perform 610.
  • the network device inserts the first total upstream rate queried by the user in the option field of the downstream packet, and executes 610 after completion.
  • the first uplink total rate may be carried in the option field of the TCP message or the IP message.
  • Table 3 shows the format of the option field.
  • the control device After receiving the first total uplink rate sent by the network equipment and the operation command issued by the remote management system, the control device will perform the camera group calibration and parameter optimization settings, and start the business guarantee, polling rise, polling fall, etc. operating.
  • the control device determines the to-be-used of each of the M cameras according to the first total rate of uplink and the priority of each of the M cameras Resolution.
  • M cameras may have different priorities, or some cameras may have the same priority, and cameras with the same priority may be used as a group.
  • the control device before the control device determines the resolution to be used for each of the M cameras according to the first uplink total rate and the priority of each of the M cameras, the control device receives the remote management system According to the operation instruction, and determine the priority of each camera among the M cameras.
  • the control device may determine the group of each camera in the M cameras according to the operation instruction, and then determine the priority of each camera, where each group corresponds to a different priority, and cameras in the same group have Same priority.
  • the operation instruction sent by the remote management system may directly indicate the priority of each camera among the M cameras.
  • the operation instruction sent by the remote management system may also only indicate the business operation of the vehicle, and then the control device determines the priority of each camera according to the business operation of the vehicle.
  • 7 is a schematic diagram of grouping calibration of each camera under typical operation instructions. The control device may determine the priority grouping or priority of the cameras according to the typical operation instructions shown in FIG. 7 and the grouping of the cameras.
  • FIG. 8 is a schematic flowchart of the control device dynamically and optimally adjusting the resolution of the camera.
  • control device starts the process of dynamically optimizing and adjusting the camera resolution.
  • control device receives the downlink message, parses the option field of the downlink message, and executes 803 after completion.
  • control device determines whether the downlink packet includes the first uplink total rate. If the downlink packet contains the first total uplink rate, perform 804; otherwise, perform 818.
  • control device determines whether the camera needs to be group-calibrated according to the first uplink total rate provided by the network device and the operation command issued by the remote management system.
  • the remote management system does not issue specific operation instructions, and all cameras do not distinguish priority; if the downlink message is a specific operation instruction issued by the remote management system, the control device groups the cameras according to the specific operation instruction Calibration, the specific group calibration method is shown in Figure 7, and 805 is executed after completion.
  • the average uplink rate of the camera is calculated according to the calculation rule, and the average uplink rate of the camera is compared with the minimum rate of service start trigger. If the upstream rate of each camera is greater than the minimum rate for service start triggering, perform 806; otherwise, perform 817.
  • the control device evenly distributes the first uplink total rate to each camera, and the calculation rule is as follows.
  • Avg_Rate_Camera is the average upstream rate of the camera, the unit is Mbps; Rate_User is the first upstream total rate, the unit is Mbps; ⁇ is the redundancy coefficient, which can be set, the value range is 0.01-10.00, the step size is 0.01, and the default is 1; N is the number of cameras, and the unit is one.
  • 120Kbps- ⁇ 1 is the lowest rate of service start trigger; ⁇ 1 is the lower limit of the rate jitter under the condition of medium code rate of 192*144 camera resolution.
  • Table 4 is the standard rate table of the camera.
  • the lower limit of the rate jitter is the difference between the standard value of the medium bit rate and the standard value of the low bit rate under the condition of the same resolution, that is, the lower limit of the jitter is 60Kbps under the resolution of 192*144.
  • the parameter value of the medium code rate is the standard rate value of the corresponding resolution
  • the parameter value of the low code rate is the lower limit rate value of the corresponding resolution
  • embodiments of the present application may also use other code rate rate values as the standard rate value of the corresponding resolution, or may use other code rate rate values as the lower limit rate value of the corresponding resolution, which is not specifically limited in the embodiment of the present application .
  • the control device determines whether the camera group calibration is completed. When the connection is established for the first time, the control device does not perform group calibration of the camera; when the control device receives a specific operation instruction of the remote management system, the control device performs the group calibration of the camera according to the specific operation instruction. If the control device completes the packet calibration, execute 807; otherwise, execute 815.
  • control device determines whether there is a change in the camera packet calibration and the previous packet calibration. If the specific operation instruction sent by the remote management system changes, the packet calibration changes, execute 808; if the specific operation instruction sent by the remote management system does not change, the packet calibration does not change, execute 813.
  • control device initializes the resolution of each camera after group calibration, the initial resolution is set to 192*144, the initial rate is 120Kbps, and after the setting is completed, 809 is executed.
  • the control device calculates the remaining rate based on the sum of the first uplink total rate and the initial rate of each camera, and polls the cameras of the first and second groups to increase the remaining rate until the remaining rate is allocated
  • the rate or camera resolution reaches the highest resolution (for example, the highest resolution is set to 1920 ⁇ 1080, and the code rate is 4Mbps).
  • the resolutions of the cameras in the first group and the second group are determined as the parameter values to be subsequently delivered to the cameras, and after completion, 810 is executed.
  • the resolutions of the cameras of the first group and the second group are determined.
  • the standard value for determining the resolution of the same camera is a medium code rate value, and the lower limit value is a low code rate value.
  • the remaining rate poll is assigned to the cameras of the third group until there is no available rate or the camera reaches the highest resolution.
  • the resolution of the third group is determined as the parameter value to be subsequently issued to the camera, and after completion, 816 is performed.
  • the control device determines whether the first total upstream rate for consecutive W times is greater than or equal to the second total rate. If the condition is met, go to 813; otherwise go to 818.
  • the second total rate is the sum of the standard rate values corresponding to the current resolution of each camera among the M cameras.
  • the second total rate is the total uplink rate of the actual transmission of video packets by the M cameras.
  • control device determines whether all cameras have reached the highest resolution. If not, go to step 814; otherwise go to step 818.
  • the standard value of the resolution of the same camera is a medium rate rate value
  • the lower limit value is a low rate rate value
  • control device issues a configuration instruction to the camera according to the camera parameter value and priority determined in the previous steps, and executes 818.
  • the remote driving function when the average available rate of the camera is lower than the service start trigger minimum rate (for example, 120Kbps- ⁇ 1), the remote driving function is not started; if it is currently started, the remote driving service is stopped, and after completion 818 is executed.
  • the service start trigger minimum rate for example, 120Kbps- ⁇ 1
  • control device dynamically optimizes and adjusts the camera resolution process.
  • the network device sends a second total uplink rate to the control device, where the second total uplink rate is the total uplink rate available to the M cameras under the control device.
  • the control device polls the camera resolution according to the total uplink rate and the second uplink total rate of the actual video packets currently transmitted by the camera.
  • the method and process of the second total uplink rate determined by the network device may refer to the first total uplink rate, which will not be repeated here.
  • the control device compares the second total uplink rate with the second total rate, which is the sum of the standard rate values corresponding to the current resolution of each camera in the M cameras.
  • the control device increases the resolution of the K cameras among the M cameras according to the priority order of each of the M cameras, so that the M cameras occupy the first
  • the total rate of the two uplink total rates or the resolution of the M cameras reach the highest resolution, where K is a positive integer less than or equal to M.
  • the control device considers that the network resources are sufficient at this time, so the resolution of some cameras is increased. In order to make full use of network resources.
  • the control device compares the second total uplink rate with the second total rate, where the second total rate is the sum of the standard rate values corresponding to the current resolution of each camera in the M cameras.
  • the control device increases the resolution of the K cameras in the M cameras according to the priority order of each of the M cameras, so that the M cameras occupy the entire rate of the second uplink total rate or the resolution of the M cameras The rate reaches the highest resolution, where K is a positive integer less than or equal to M.
  • the control device performs group calibration of the cameras according to the operation instruction of the remote management system, and calculates the initial resolution of each camera according to the second uplink total rate.
  • the initial resolution of all cameras is 192*144, and the rate is 120Kbps.
  • the remaining rate is grouped and upgraded according to the priority order of the resolution.
  • the G3 group is polled and upgraded, and finally the resolution of each camera is output.
  • the second total uplink rate is greater than or equal to the second total rate for W consecutive times, continue to poll for upgrades, and only upgrade one camera at a time (stable principle of slow rise and fast fall).
  • W is the preset number of times, which represents the threshold times of camera upgrade, the unit is times, the value range is 1-100, the step is 1, and the default is 2.
  • BR_Gxi is the standard rate value of the i-th camera in the x group. If the group of cameras does not exist, it is represented by 0, and there is no rate, and so on.
  • FIG. 9 is an example of the priority order of camera resolution ascending and descending. It should be understood that the priority order shown in FIG. 9 is only exemplary, and the priority order of the camera resolution increasing or decreasing may also be any other possible priority order in the embodiment of the present application. The embodiment of the present application does not Be limited.
  • the second total rate is the total uplink rate of the actual transmission of video packets by the M cameras.
  • the second total rate may be determined by the control device.
  • control device When the available upstream rate of the network equipment declines, and the current camera transmission rate cannot be guaranteed, the control device will perform optimizations such as packet grade reduction.
  • the control device compares the second total uplink rate with a third total rate, which is the sum of the lower limit rate values corresponding to the current resolution of each camera in the current M cameras.
  • the control device reduces the resolution of the Q cameras among the M cameras according to the priority order of each of the M cameras, so that the M cameras correspond to The total upstream rate is less than or equal to the third total rate, where Q is a positive integer less than or equal to M.
  • the control device considers that the network resources are tight at this time, and therefore reduces the resolution of some cameras , In order to ensure the correct transmission of video packets of key cameras.
  • control device compares the second total uplink rate with a third total rate, where the third total rate is the sum of the lower limit rate values corresponding to the current resolution of each camera in the current M cameras.
  • the control device reduces the resolution of the Q cameras among the M cameras according to the priority order of each of the M cameras, so that the total upstream rate corresponding to the M cameras is less than or equal to the third total rate, where Q is Positive integer less than or equal to M.
  • the control device compares the total uplink rate of the actual video packets transmitted by the M cameras with the third total rate.
  • the control device reduces the resolution of the Q cameras of the M cameras according to the priority order of each of the M cameras, So that the total upstream rate corresponding to the M cameras is less than or equal to the third total rate, where Q is a positive integer less than or equal to M.
  • the control device considers that the network resources are tight at this time, so it reduces some cameras Resolution in order to ensure the correct transmission of video packets from key cameras.
  • the control device compares the total uplink rate of the actual video packets transmitted by the M cameras with the third total rate.
  • the total uplink rate of the actual transmission of video packets by M cameras is less than the third total rate, and the total number of consecutive times when the actual uplink rate of the video packets transmitted by M cameras is less than the third total rate reaches the preset number of times or the actual transmission of M cameras
  • the control device reduces the resolution of the Q cameras among the M cameras according to the priority order of each of the M cameras, So that the total upstream rate corresponding to the M cameras is less than or equal to the third total rate, where Q is a positive integer less than or equal to M.
  • control device may also first determine the resolution of the first camera based on the first uplink total rate and the priority of each camera, and then further determine based on the relationship between the first uplink total rate and the second total rate and the third total rate Whether the operation of downgrade or upgrade is required is not specifically limited in the embodiments of the present application.
  • FIG. 10 is a schematic flowchart of the optimization of the dynamic reduction of the control device.
  • the optimization process such as dynamic reduction of the control device begins.
  • the control device determines whether the sum of the uplink rates of the actual video packets transmitted by the cameras in the time T is less than the third total rate. If it is less then 1003 is executed; otherwise 1005 is executed.
  • control device segments (G3 group and non-G3 group) according to the priority order of resolution downgrading until the first uplink rate satisfying the actual transmission of video packets is greater than or equal to the downgrading
  • the control device segments (G3 group and non-G3 group) according to the priority order of resolution downgrading until the first uplink rate satisfying the actual transmission of video packets is greater than or equal to the downgrading
  • the sum of the lower limit rate value corresponding to each camera resolution 1004 is executed after completion.
  • the sum of the upstream rate of the actual transmission of video packets by each camera in T time is the sum of the lower limit rate value corresponding to the current resolution of each camera in the M cameras, that is:
  • Rate_Camera_Gxi is the uplink rate of the actual transmission video packet of the i-th camera of the x group; T is the resolution length and other judgment time parameters, the unit is ms, the value range is 1 to 60000, the default is 500; ⁇ is each For the difference between the standard rate value and the lower limit rate value corresponding to the camera resolution, see Table 4 above.
  • Sampling timer t unit ms, default 100ms, when the sum of the uplink rate of the actual transmitted video packet is greater than or equal to the sum of the lower limit rate value corresponding to the current resolution of each camera, T and t restart.
  • control device updates the camera resolution parameter, and sends it to each camera to execute 1005.
  • the optimization process such as the dynamic reduction of the control device ends.
  • the control device After determining the resolution of each of the M cameras, the control device sends configuration instructions to the cameras, and the cameras reconfigure the resolution according to the configuration instructions. It should be understood that when the resolution of only some cameras changes, the control device may send configuration commands to all cameras, and then the camera determines whether the resolution has changed, and then the camera configures the resolution according to the judgment result; or by the control The device determines whether the resolution of the camera has changed, and sends a configuration command to the camera whose resolution has changed.
  • the above configuration instruction may further include the priority of the camera. It should be understood that the control device may also separately send a configuration command to indicate the priority of all or part of the M cameras.
  • the camera configures the resolution according to the resolution to be used indicated by the configuration instruction sent by the control device, and encodes the video using the reconfigured resolution.
  • FIG. 11 is a schematic flowchart of camera resolution optimization.
  • the camera resolution optimization process begins.
  • the camera determines whether a resolution update request issued by the control device is received. If received, go to 1103; otherwise, go to 1104.
  • the camera updates the resolution according to the resolution issued by the control device, and executes 1104 after the update is completed.
  • the camera sends guarantee information to the control device, where the guarantee information is used to indicate whether the camera requests upstream rate guarantee and the requested upstream rate.
  • the guarantee information instructs the camera to request the upstream rate guarantee
  • the network device only guarantees the upstream rate of the camera; when the guarantee information only says that the camera does not request the upstream rate guarantee, regardless of whether the upstream rate requested by the camera is large or small, priority High or low, the network equipment will not guarantee its upstream rate.
  • the uplink rate requested by each camera to be guaranteed may be the preset uplink rate (for example, the preset uplink rate is the highest resolution standard rate (for example, 4Mbps), and the entire guarantee process applies);
  • the security information should also carry the priority of the camera, so that the network device can guarantee the upstream rate of each camera according to the priority. If the camera is not grouped, it is inserted according to the lowest priority, if it is grouped, it is inserted according to the actual priority (the entire guarantee Process applies). In this way, when the resources of the network equipment are tight, the video clarity and correct transmission of the key cameras can be guaranteed; when the network equipment resources are sufficient, each camera can upload the video with the highest resolution, which is beneficial to make full use of the network resources.
  • the uplink rate requested by each camera to be guaranteed may be the standard rate value at the current resolution, which can better adapt to changes in resources of network devices and improve the reliability of video packet transmission.
  • the guarantee information can be sent through a separate message.
  • the guarantee information may be carried in the video message sent to the network device.
  • the guarantee information may be carried in the option field of the TCP message or the IP message.
  • Table 2 shows the format of the option field.
  • the reserved bits can take the value 0000.
  • 12 is a schematic flowchart of camera service guarantee.
  • the camera starts the preparation work before encoding, obtains the latest resolution and priority issued from the control device, and executes 1203 after completion.
  • the camera judges whether the resolution and priority are legal. If it is legal, go to 1204; if the resolution or priority is empty, go to 1205.
  • the camera encodes the output video according to the resolution, and after completion, executes 1206.
  • the camera sends a video message to the network device.
  • the camera may directly send the video message to the network device, or the camera may send the video message to the control device, and then the control device sends the video message to the network device, which is not specifically limited in the embodiments of the present application.
  • FIG. 13 is a schematic diagram of the overall flow of a remote driving business according to an embodiment of the present application.
  • the vehicle's video information is collected and processed by the vehicle's control device and wireless communication network transmission to realize the real-time presentation of the remote driving side, and the remote control of the vehicle is completed by the operation of the remote driver.
  • the camera parameters can be dynamically adjusted based on the network real-time available rate.
  • the reliability of the service is significantly improved, which is conducive to the rapid scale application of such services;
  • the control unit performs targeted grouping and management of multiple cameras according to different operation commands, makes finer management of multiple videos, rationally and efficiently uses wireless transmission resources, and improves the economics of services.
  • the embodiments of the present application directly utilize the existing public network resources, which is easier to deploy and implement.
  • control device 1400 includes a receiving module 1401, a sending module 1402, and a processing module 1403.
  • the receiving module 1401 is configured to receive a first total uplink rate sent by a network device, where the first total uplink rate is a total uplink rate obtainable by M cameras under the control device, and M is an integer greater than or equal to 2.
  • the processing module 1403 is configured to determine the resolution to be used for each of the M cameras according to the first total uplink rate and the priority of each of the M cameras.
  • the receiving module 1401 may be implemented by a receiver.
  • the processing module 1403 may be implemented by a processor.
  • the network device 1500 includes a receiving module 1501 and a sending module 1502.
  • the sending module 1502 is configured to send a first uplink total rate to the terminal device, where the first uplink total rate is a total uplink rate available to the M cameras under the terminal device, and M is an integer greater than or equal to 2.
  • the receiving module 1501 is also used to receive video packets from the M cameras.
  • the sending module 1502 is further configured to send at least part of the video message to the remote management system according to the security information.
  • the receiving module 1501 may be implemented by a receiver.
  • the sending module 1502 may be implemented by a sender.
  • the receiving module 1501 and the sending module 1502 reference may be made to the relevant description of the method shown in FIG. 4, which will not be repeated here.
  • the camera 1600 includes a sending module 1602 and a processing module 1603.
  • the processing module 1603 is configured to receive a configuration instruction sent by the control device, where the configuration instruction is used to indicate the resolution to be used by the camera.
  • the processing module 1603 is further configured to configure the resolution to the resolution to be used.
  • the sending module 1602 is configured to send guarantee information to the network device, where the guarantee information is used to indicate whether the camera requests upstream rate guarantee and the guaranteed upstream rate.
  • the sending module 1602 may be implemented by a sender.
  • the processing module 1603 may be implemented by a processor.
  • control device 1700 is a schematic structural diagram of a control device provided by another embodiment of the present application. As shown in FIG. 17, the control device 1700 includes a transceiver 1701, a processor 1702, and a memory 1703.
  • the memory may also be referred to as a storage medium or storage device.
  • the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in the embodiments of the present application.
  • the transceiver 1701, the processor 1702, and the memory 1703 communicate with each other through an internal connection path, and transfer control and/or data signals
  • the transceiver 1701 is configured to receive a first uplink total rate sent by a network device, where the first uplink total rate is a total uplink rate obtainable by M cameras under the control device, and M is greater than or equal to 2. Integer.
  • the processor 1702 is configured to determine a resolution to be used for each of the M cameras according to the first total uplink rate and the priority of each of the M cameras.
  • control device 1700 The specific working process and beneficial effects of the control device 1700 can be referred to the description in the embodiment shown in FIG. 4.
  • the network device 1800 is a schematic structural diagram of a network device provided by another embodiment of the present application. As shown in FIG. 18, the network device 1800 includes a transceiver 1801, a processor 1802, and a memory 1803.
  • the memory may also be referred to as a storage medium or storage device.
  • the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in the embodiments of the present application.
  • the transceiver 1801, the processor 1802, and the memory 1803 communicate with each other through an internal connection path, and transfer control and/or data signals.
  • control device 1800 The specific working process and beneficial effects of the control device 1800 can be referred to the description in the embodiment shown in FIG. 4.
  • the camera 1900 includes a transceiver 1901, a processor 1902, and a memory 1903.
  • the memory may also be referred to as a storage medium or storage device.
  • the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in the embodiments of the present application.
  • the transceiver 1901, the processor 1902, and the memory 1903 communicate with each other through an internal connection path, and transfer control and/or data signals.
  • the processor 1903 is configured to receive a configuration instruction sent by the control device, where the configuration instruction is used to indicate the resolution to be used by the camera; and also to configure the resolution to the resolution to be used.
  • the transceiver 1901 is used to send guarantee information to a network device, where the guarantee information is used to indicate whether the camera requests an upstream rate guarantee and a guaranteed upstream rate.
  • control device 1900 The specific working process and beneficial effects of the control device 1900 can be referred to the description in the embodiment shown in FIG. 4.
  • the transceiver described in the embodiments of the present application may also be referred to as a transceiver unit, a transceiver, a transceiver device, and the like.
  • the processor may also be called a processing unit, a processing board, a processing module, a processing device, and the like.
  • the device used to implement the receiving function in the transceiver may be regarded as a receiving unit
  • the device used to implement the transmitting function in the transceiver may be regarded as a transmitting unit, that is, the transceiver includes a receiving unit and a transmitting unit.
  • the receiving unit may sometimes be referred to as a receiver, receiver, or receiving circuit.
  • the sending unit may sometimes be called a transmitter, a transmitter, or a transmitting circuit.
  • the memories described in the embodiments of the present application are used to store computer instructions and parameters required for the operation of the processor.
  • the processor described in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software.
  • the processors described in the embodiments of the present application may be general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), and field programmable gate arrays. , FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGA field programmable gate arrays
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application may be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor.
  • Software modules may be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc.
  • Storage media The storage medium is located in the memory, and the processor reads the instructions in the memory and combines the hardware to complete the steps of the above method.
  • An embodiment of the present application further provides a camera management system.
  • the system includes a control device shown in FIG. 14, a network device shown in FIG. 15, and at least two cameras shown in FIG. 16.
  • the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute the implementation process of the embodiments of this application Any limitation.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available medium integrated servers, data centers, and the like.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital video disc (DVD)), or semiconductor media (eg, solid state disk (SSD)), etc. .
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
  • the foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present application provides a method for controlling camera, a control device, a network apparatus and a camera. In the solution provided by the present application, the control device determines, according to the total uplink rate obtainable by a plurality of cameras and the priorities of the plurality of cameras sent by the network apparatus, the resolutions of the plurality of cameras under the control device and delivers them to the cameras. The control device receives the security information from the cameras and sends the security information to the network apparatus. In this way, the network apparatus can reserve appropriate resources for the camera applying for the uplink rate guarantee, so that the video packets of the camera are correctly transmitted. Therefore, the above technical solution can improve the reliability of multi-camera video data wireless communication backhaul.

Description

用于控制摄像头的方法、控制装置、网络设备及摄像头Method, control device, network equipment and camera for controlling camera
本申请要求于2018年12月29日提交中国专利局、申请号为201811634908.2、申请名称为“用于控制摄像头的方法、控制装置、网络设备及摄像头”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application filed on December 29, 2018 in the Chinese Patent Office, with the application number 201811634908.2 and the application name "Method, Control Device, Network Equipment, and Camera for Controlling the Camera", all of its content Incorporated by reference in this application.
技术领域Technical field
本申请涉及远程控制领域,并且更具体地涉及用于控制摄像头的方法、控制装置、网络设备及摄像头。The present application relates to the field of remote control, and more specifically to a method, a control device, a network device, and a camera for controlling a camera.
背景技术Background technique
伴随人工智能、大数据、无线通信技术等技术的发展,汽车行业未来将发生翻天覆地的变化,逐渐从传统有人驾驶演进到无人智能驾驶。在这些新技术的探索、研究、规模测试和商用过程中,对智能驾驶的安全保障、运营监控等成为必配的功能之一。当前主要采用车内配备司机和安全员的方式,当自动驾驶汽车出现故障或者紧急情况下,车内司机和安全员进行临时接管和干预,将自动驾驶汽车就近停车或驶离故障位置。随着技术验证逐渐成熟以及商用运营需要,未来将借助无线通信技术(例如第四代(fourth generation,4G)或第五代(fifth generation,5G)等),通过远程监控和远程驾驶来取代传统车内的司机和安全员。因此,针对智能驾驶场景,远程监控和驾驶将成为自动驾驶汽车的必配。With the development of artificial intelligence, big data, wireless communication technology and other technologies, the automotive industry will undergo earth-shaking changes in the future, gradually evolving from traditional manned driving to unmanned intelligent driving. In the process of exploration, research, scale testing and commercialization of these new technologies, the safety guarantee and operation monitoring of intelligent driving have become one of the necessary functions. At present, the main method is to equip the driver and the safety officer in the car. When the self-driving car breaks down or in an emergency, the driver and the safety officer in the car temporarily take over and intervene, and the autonomous car will be parked nearby or away from the fault location. As technology verification gradually matures and commercial operation needs, in the future, wireless communication technologies (such as fourth generation (4G) or fifth generation (5G), etc.) will be used to replace traditional monitoring and remote driving The driver and safety officer in the car. Therefore, for intelligent driving scenarios, remote monitoring and driving will become a must for autonomous vehicles.
远程驾驶是一种有别于本地驾驶的驾驶方式,主要指通过新一代无线通信网络,将驾驶员与车辆分离的一种驾驶方式。远程驾驶通过无线通信网络,对车辆直接进行驾驶和控制,当系统中任何一个环节出现问题或断链,导致车辆失去控制发生事故,造成不可挽回的影响。因此远程驾驶对数据传输的可靠性要求非常高。Remote driving is a driving method different from local driving. It mainly refers to a driving method that separates the driver from the vehicle through a new generation of wireless communication network. Remote driving directly drives and controls the vehicle through the wireless communication network. When a problem or broken link occurs in any part of the system, the vehicle loses control and an accident occurs, causing irreparable impact. Therefore, remote driving has very high requirements for the reliability of data transmission.
远程驾驶系统通常由如下几部分组成:远程驾驶信息采集系统、远程管理系统(又称集中运营管理系统)、远程驾驶模拟套件等组成。其中,信息采集系统主要由覆盖车体360度的摄像头、面向车内乘客的摄像头等设备组成。The remote driving system usually consists of the following parts: remote driving information collection system, remote management system (also called centralized operation management system), remote driving simulation suite, etc. Among them, the information collection system is mainly composed of cameras covering the car body 360 degrees, cameras facing the passengers in the car and other equipment.
当前多摄像头接入无线通信系统,基于最低配置进行视频参数设置,然后进行多路视频平均输出,当网络资源不能保证时,视频清晰度下降或者传输中断,导致关键视频数据缺乏保障,使得业务可靠性很低。The current multi-cameras are connected to the wireless communication system, and the video parameters are set based on the minimum configuration, and then the multi-channel video is averagely output. When the network resources cannot be guaranteed, the video resolution decreases or the transmission is interrupted, resulting in the lack of guarantee for critical video data and making the business reliable. Sex is very low.
因此,如何提高远程驾驶等应用场景下多摄像头视频数据无线通信回传的可靠性成为亟需解决的问题。Therefore, how to improve the reliability of multi-camera video data wireless communication backhaul in remote driving and other application scenarios has become an urgent problem to be solved.
发明内容Summary of the invention
本申请提供用于控制摄像头的方法、控制装置、网络设备及摄像头,可以提高多摄像头视频数据无线通信回传的可靠性。The present application provides a method, a control device, a network device, and a camera for controlling a camera, which can improve the reliability of wireless communication return of multi-camera video data.
第一方面,本申请提供了一种用于控制摄像头的方法,该方法包括:控制装置接收网 络设备发送的第一上行总速率,所述第一上行总速率为所述控制装置下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;所述控制装置根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率;所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令,所述第i配置指令用于指示所述第i摄像头的所述待使用的分辨率,其中i=1,2…,M。In a first aspect, the present application provides a method for controlling a camera. The method includes: a control device receives a first total uplink rate sent by a network device, where the first total uplink rate is M under the control device The total uplink rate obtainable by the camera, M is an integer greater than or equal to 2; the control device determines the M cameras based on the first uplink total rate and the priority of each camera of the M cameras The resolution to be used for each camera; the control device issues an i-th configuration instruction to the i-th camera among the M cameras, and the i-th configuration instruction is used to indicate the i-th camera The resolution used, where i = 1, 2, ..., M.
在上述技术方案中,控制装置根据网络设备发送的多个摄像头可获得的总上行速率和多个摄像头的优先级,确定控制装置下的多个摄像头的分辨率并下发给摄像头。由于不同的分辨率会对应不同的上行速率,因此控制装置确定摄像头的分辨率相当于为摄像头分配上行速率。对于优先级高的摄像头可以分配较大的上行速率,对于优先级较低的摄像头可以分配较小的上行速率,这样保障关键视频数据的正确传输,从而提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, the control device determines the resolutions of the plurality of cameras under the control device and delivers the resolutions to the cameras according to the total uplink rate obtainable by the plurality of cameras sent by the network device and the priorities of the plurality of cameras. Since different resolutions correspond to different upstream rates, the control device determines that the resolution of the camera is equivalent to assigning the upstream rate to the camera. For cameras with high priority, a larger upstream rate can be assigned, and for cameras with a lower priority, a smaller upstream rate can be assigned, so as to ensure the correct transmission of key video data, thereby improving the reliability of wireless communication of multi-camera video data. Sex.
在一种可能的实现方式中,在所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令之后,所述方法还包括:所述控制装置获取所述第i个摄像头的保障信息,并将所述保障信息发送给所述网络设备,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率。In a possible implementation manner, after the control device issues the i-th configuration instruction to the i-th camera among the M cameras, the method further includes: the control device acquiring the i-th camera Security information, and send the security information to the network device, where the security information is used to indicate whether the i-th camera requests uplink rate guarantee and the guaranteed uplink rate.
在上述技术方案中,控制装置接收来自摄像头的保障信息并将保障信息发送给网络设备,这样网络设备可以根据为申请上行速率保障的摄像头预留合适的资源,使得摄像头的视频报文可以正确传输到远程管理系统,从而能够提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, the control device receives the guarantee information from the camera and sends the guarantee information to the network device, so that the network device can reserve appropriate resources for the camera applying for the upstream rate guarantee, so that the video message of the camera can be correctly transmitted To remote management system, which can improve the reliability of wireless communication of multi-camera video data.
在一种可能的实现方式中,所述保障信息还包括所述第i摄像头的优先级。In a possible implementation manner, the guarantee information further includes the priority of the i-th camera.
在上述技术方案中,由于在保障信息中携带了摄像头的优先级,网络设备根据摄像头的优先级为摄像头预留资源。这样在网络设备的资源较少时,可以优先满足优先级高的摄像头的视频传输,保障关键视频数据的传输。In the above technical solution, since the priority of the camera is carried in the security information, the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
在一种可能的实现方式中,在所述控制装置根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率之前,所述方法还包括:所述控制装置接收来自远程管理系统的操作指令;所述控制装置根据所述操作指令,确定所述M个摄像头中每个摄像头的优先级;所述配置指令还包括所述第i摄像头的优先级。In a possible implementation manner, the control device determines the to-be-used of each of the M cameras according to the first uplink total rate and the priority of each of the M cameras Before the resolution, the method further includes: the control device receives an operation instruction from a remote management system; the control device determines the priority of each of the M cameras according to the operation instruction; the configuration The instruction also includes the priority of the i-th camera.
以远程驾驶为例,车辆在不同行驶方式下,远程管理系统必需的视频数据不同,例如,车辆前进时,前摄像头比较重要,左右摄像头次之,后摄像头再次;车辆后退时,后摄像头就会比较重要,左右摄像头次之,前摄像头再次。这样控制装置根据远程管理系统发送的对车辆的操作指令,确定多个摄像头的优先级,可以使得网络设备的资源分配更好地适应车辆的不同行驶方式,保障业务的可靠性。Taking remote driving as an example, when the vehicle is in different driving modes, the video data required by the remote management system is different. For example, when the vehicle is moving forward, the front camera is more important, the left and right cameras are second, and the rear camera is again; when the vehicle is retreating, the rear camera will be More important, the left and right cameras are next, and the front camera is again. In this way, the control device determines the priority of multiple cameras according to the operation instructions for the vehicle sent by the remote management system, which can make the resource allocation of the network equipment better adapt to the different driving modes of the vehicle and ensure the reliability of the business.
在一种可能的实现方式中,在所述控制装置接收所述第一上行总速率之前,所述方法还包括:所述控制装置向所述网络设备发送请求信息,所述请求信息用于请求所述第一上行总速率。In a possible implementation manner, before the control apparatus receives the first total uplink rate, the method further includes: the control apparatus sends request information to the network device, where the request information is used to request The first uplink total rate.
在一种可能的实现方式中,所述方法还包括:所述控制装置接收第二上行总速率,所述第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率;所述控制装置将所述第二上行总速率和第二总速率进行比较,所述第二总速率为所述M个摄像头中每 个摄像头当前分辨率对应的标准限速率值之和;当所述第二上行总速率大于所述第二总速率,且所述第二上行总速率大于所述第二总速率的连续次数达到预设次数时,所述控制装置按照所述M个摄像头中的每个摄像头的优先级顺序,升高所述M个摄像头中K个摄像头的分辨率,以使得所述M个摄像头占用所述第二上行总速率的全部速率或者所述M个摄像头的分辨率均达到最高分辨率,其中K为小于或者等于M的正整数;所述控制装置向所述K个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,K。In a possible implementation manner, the method further includes: the control device receives a second total uplink rate, and the second total uplink rate is a total uplink rate available to the M cameras under the control device; The control device compares the second total uplink rate with a second total rate, the second total rate being the sum of standard limit rate values corresponding to the current resolution of each of the M cameras; When the second total uplink rate is greater than the second total rate, and the number of consecutive times when the second total uplink rate is greater than the second total rate reaches a preset number of times, the control device performs The priority order of each camera increases the resolution of K cameras among the M cameras, so that the M cameras occupy the entire rate of the second uplink total rate or the resolution of the M cameras All reach the highest resolution, where K is a positive integer less than or equal to M; the control device issues a jth configuration instruction to the jth camera among the K cameras, and the jth configuration instruction is used to indicate the The resolution of the jth camera to be used, where j=1, 2...K.
在上述技术方案中,控制装置在网络设备的资源比较充裕的情况下,根据各个摄像头的优先级调高全部或部分摄像头的分辨率。这样远程管理系统可以获得清晰度更高的视频,有利于远程驾驶人员的进行判断并下发操作指令。In the above technical solution, when the resources of the network device are relatively abundant, the control device increases the resolution of all or part of the cameras according to the priority of each camera. In this way, the remote management system can obtain higher-definition video, which is helpful for the remote driver to make judgments and issue operation instructions.
在一种可能的实现方式中,所述方法还包括:所述控制装置接收第二上行总速率,所述第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率;所述控制装置将所述第二上行总速率和第三总速率进行比较,所述第三总速率为当前所述M个摄像头中每个摄像头当前分辨率对应的下限速率值之和;当所述第二上行总速率小于所述第三总速率时,所述控制装置按照所述M个摄像头中的每个摄像头的优先级顺序,降低所述M个摄像头中Q个摄像头的分辨率,以使得所述M个摄像头对应的的总上行速率小于或者等于所述第三总速率,其中Q为小于或者等于M的正整数;所述控制装置向所述Q个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,Q。In a possible implementation manner, the method further includes: the control device receives a second total uplink rate, and the second total uplink rate is a total uplink rate available to the M cameras under the control device; The control device compares the second total uplink rate with a third total rate, where the third total rate is the sum of the lower limit rate values corresponding to the current resolution of each of the M cameras; When the second total uplink rate is less than the third total rate, the control device reduces the resolution of the Q cameras of the M cameras according to the priority order of each of the M cameras, to Making the total upstream rate corresponding to the M cameras be less than or equal to the third total rate, where Q is a positive integer less than or equal to M; the control device delivers the jth camera among the Q cameras A jth configuration instruction, which is used to indicate the resolution to be used of the jth camera, where j=1, 2..., Q.
在上述技术方案中,控制装置在网络设备的资源比较紧张的情况下,根据各个摄像头的优先级降低全部或部分摄像头的分辨率。这样可以保障关键视频数据的传输,提高业务的可靠性。In the above technical solution, when the resources of the network device are relatively tight, the control device reduces the resolution of all or part of the cameras according to the priority of each camera. This can ensure the transmission of key video data and improve the reliability of the business.
第二方面,本申请提供了一种用于控制摄像头的方法,该方法包括:网络设备向终端设备发送第一上行总速率,所述第一上行总速率为所述终端设备下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;所述网络设备接收所述终端设备发送的所述M个摄像头中第i摄像头的保障信息,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率,其中i=1,2…,M;所述网络设备接收来自所述M个摄像头的视频报文;所述网络设备根据所述保障信息,向远程管理系统发送至少部分所述视频报文。In a second aspect, the present application provides a method for controlling a camera. The method includes: a network device sends a first total uplink rate to a terminal device, where the first total uplink rate is M cameras under the terminal device The available total upstream rate, M is an integer greater than or equal to 2; the network device receives the security information of the i-th camera among the M cameras sent by the terminal device, and the security information is used to indicate the Whether the i camera requests upstream rate guarantee and the requested upstream rate, where i=1, 2, ..., M; the network device receives video packets from the M cameras; the network device according to the guarantee information, Send at least part of the video message to the remote management system.
在上述技术方案中,首先,网络设备向终端设备发送第一上行总速率,使得终端设备可以根据网络设备发送的多个摄像头可获得的总上行速率和多个摄像头的优先级,确定终端设备下的多个摄像头的分辨率并下发给摄像头。由于不同的分辨率会对应不同的上行速率,因此终端设备确定摄像头的分辨率相当于为摄像头分配上行速率,这样,对于优先级高的摄像头可以分配较大的上行速率,对于优先级较低的摄像头可以分配较小的上行速率。其次,网络设备接收终端设备发送的保障信息,网络设备可以保障申请上行速率保障的摄像头的视频报文传输。因此上述技术方案能够提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, first, the network device sends the first total uplink rate to the terminal device, so that the terminal device can determine the terminal device according to the total uplink rate available from the multiple cameras sent by the network device and the priority of the multiple cameras The resolutions of multiple cameras are sent to the cameras. Since different resolutions correspond to different upstream rates, the terminal device determines that the resolution of the camera is equivalent to allocating the upstream rate to the camera. In this way, a higher upstream rate can be assigned to a camera with a higher priority, and a lower upstream rate The camera can be assigned a smaller upstream rate. Secondly, the network device receives the guarantee information sent by the terminal device, and the network device can guarantee the transmission of the video message of the camera applying for the upstream rate guarantee. Therefore, the above technical solution can improve the reliability of wireless communication of multi-camera video data.
在一种可能的实现方式中,所述保障信息还包括所述第i摄像头的优先级;所述网络设备根据所述保障信息,向远程管理系统发送所述至少部分所述视频报文,包括:当所述 保障参数指示所述第i摄像头请求上行速率保障时,所述网络设备根据所述第i摄像头请求保障的上行速率和所述第i摄像头的优先级,向远程管理系统发送所述至少部分所述视频报文。In a possible implementation manner, the security information further includes the priority of the i-th camera; the network device sends the at least part of the video message to a remote management system according to the security information, including : When the guarantee parameter instructs the i-th camera to request an upstream rate guarantee, the network device sends the remote control system the request according to the upstream rate requested by the i-th camera and the priority of the i-th camera At least part of the video message.
在上述技术方案中,由于在保障信息中携带了摄像头的优先级,网络设备根据摄像头的优先级为摄像头预留资源。这样在网络设备的资源较少时,可以优先满足优先级高的摄像头的视频传输,保障关键视频数据的传输。In the above technical solution, since the priority of the camera is carried in the security information, the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
在一种可能的实现方式中,所述方法还包括:所述网络设备接收所述终端设备发送的请求信息,所述请求信息用于请求所述第一上行总速率。In a possible implementation manner, the method further includes: the network device receives request information sent by the terminal device, where the request information is used to request the first uplink total rate.
在一种可能的实现方式中,所述方法还包括:所述网络设备向所述终端设备发送第二上行总速率。In a possible implementation manner, the method further includes: the network device sending a second total uplink rate to the terminal device.
第三方面,本申请提供一种用于控制摄像头的方法,该方法包括:摄像头接收控制设备发送的配置指令,所述配置指令用于指示所述摄像头待使用的分辨率;所述摄像头将分辨率配置成所述待使用的分辨率;所述摄像头向网络设备发送保障信息,所述保障信息用于指示所述摄像头是否请求上行速率保障以及请求保障的上行速率。In a third aspect, the present application provides a method for controlling a camera, the method comprising: the camera receives a configuration instruction sent by a control device, the configuration instruction is used to indicate a resolution to be used by the camera; the camera will distinguish The rate is configured to the resolution to be used; the camera sends guarantee information to the network device, and the guarantee information is used to indicate whether the camera requests upstream rate guarantee and the guaranteed upstream rate.
上述技术方案中,摄像头在视频报文中增加保障信息并发送给网络设备,这样网络设备可以根据为申请上行速率保障的摄像头预留合适的资源,使得摄像头的视频报文正确传输。因此上述技术方案能够提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, the camera adds the guarantee information in the video message and sends it to the network device, so that the network device can reserve appropriate resources for the camera applying for the upstream rate guarantee, so that the video message of the camera is correctly transmitted. Therefore, the above technical solution can improve the reliability of wireless communication of multi-camera video data.
在一种可能的实现方式中,所述保障信息还包括所述摄像头的优先级。In a possible implementation, the security information further includes the priority of the camera.
在上述技术方案中,由于在保障信息中携带了摄像头的优先级,网络设备根据摄像头的优先级为摄像头预留资源。这样在网络设备的资源较少时,可以优先满足优先级高的摄像头的视频传输,保障关键视频数据的传输。In the above technical solution, since the priority of the camera is carried in the security information, the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
第四方面,本申请提供一种控制装置,该装置包括:接收模块,用于接收网络设备发送的第一上行总速率,所述第一上行总速率为所述控制装置下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;处理模块,用于根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率;所述处理模块,还用于所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令,所述第i配置指令用于指示所述第i摄像头的所述待使用的分辨率,其中i=1,2…,M。According to a fourth aspect, the present application provides a control device, the device includes: a receiving module configured to receive a first total uplink rate sent by a network device, the first total uplink rate being M cameras under the control device. The obtained total upstream rate, M is an integer greater than or equal to 2; the processing module is used to determine each of the M cameras according to the first upstream total rate and the priority of each of the M cameras Resolutions of the cameras to be used; the processing module is also used by the control device to issue an i-th configuration instruction to the i-th camera among the M cameras, and the i-th configuration instruction is used to instruct the The resolution to be used of the i-th camera, where i=1, 2..., M.
在上述技术方案中,控制装置根据网络设备发送的多个摄像头可获得的总上行速率和多个摄像头的优先级,确定控制装置下的多个摄像头的分辨率并下发给摄像头。由于不同的分辨率会对应不同的上行速率,因此控制装置确定摄像头的分辨率相当于为摄像头分配上行速率。对于优先级高的摄像头可以分配较大的上行速率,对于优先级较低的摄像头可以分配较小的上行速率,这样保障关键视频数据的正确传输,从而提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, the control device determines the resolutions of the plurality of cameras under the control device and delivers the resolutions to the cameras according to the total uplink rate obtainable by the plurality of cameras sent by the network device and the priorities of the plurality of cameras. Since different resolutions correspond to different upstream rates, the control device determines that the resolution of the camera is equivalent to assigning the upstream rate to the camera. For cameras with high priority, a larger upstream rate can be assigned, and for cameras with a lower priority, a smaller upstream rate can be assigned, so as to ensure the correct transmission of key video data, thereby improving the reliability of wireless communication of multi-camera video data. Sex.
在一种可能的实现方式中,所述处理模块还用于:在所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令之后,获取所述第i个摄像头的保障信息;所述发送模块,还用于将所述保障信息发送给所述网络设备,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率。In a possible implementation manner, the processing module is further configured to: after the control device issues the i-th configuration instruction to the i-th camera among the M cameras, obtain the guarantee of the i-th camera Information; the sending module is also used to send the guarantee information to the network device, and the guarantee information is used to indicate whether the i-th camera requests an upstream rate guarantee and a guaranteed upstream rate.
在上述技术方案中,控制装置接收来自摄像头的保障信息并将保障信息发送给网络设 备,这样网络设备可以根据为申请上行速率保障的摄像头预留合适的资源,使得摄像头的视频报文可以正确传输到远程管理系统,从而能够提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, the control device receives the guarantee information from the camera and sends the guarantee information to the network device, so that the network device can reserve appropriate resources for the camera applying for the upstream rate guarantee, so that the video message of the camera can be correctly transmitted To remote management system, which can improve the reliability of wireless communication of multi-camera video data.
在一种可能的实现方式中,所述保障信息还包括所述第i摄像头的优先级。In a possible implementation manner, the guarantee information further includes the priority of the i-th camera.
在上述技术方案中,由于在保障信息中携带了摄像头的优先级,网络设备根据摄像头的优先级为摄像头预留资源。这样在网络设备的资源较少时,可以优先满足优先级高的摄像头的视频传输,保障关键视频数据的传输。In the above technical solution, since the priority of the camera is carried in the security information, the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
在一种可能的实现方式中,所述接收模块还用于:在所述控制装置根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率之前,接收来自远程管理系统的操作指令;所述处理模块,还用于根据所述操作指令,确定所述M个摄像头中每个摄像头的优先级;所述配置指令还包括所述第i摄像头的优先级。In a possible implementation manner, the receiving module is further configured to: in the control device, determine the M cameras according to the first total uplink rate and the priority of each camera among the M cameras Before the resolution of each camera in the camera, to receive an operation instruction from the remote management system; the processing module is also used to determine the priority of each of the M cameras according to the operation instruction; The configuration instruction also includes the priority of the i-th camera.
以远程驾驶为例,车辆在不同行驶方式下,远程管理系统必需的视频数据不同,例如,车辆前进时,前摄像头比较重要,左右摄像头次之,后摄像头再次;车辆后退时,后摄像头就会比较重要,左右摄像头次之,前摄像头再次。这样控制装置根据远程管理系统发送的对车辆的操作指令,确定多个摄像头的优先级,可以使得网络设备的资源分配更好地适应车辆的不同行驶方式,保障业务的可靠性。Taking remote driving as an example, when the vehicle is in different driving modes, the video data required by the remote management system is different. For example, when the vehicle is moving forward, the front camera is more important, the left and right cameras are second, and the rear camera is again; when the vehicle is retreating, the rear camera will be More important, the left and right cameras are next, and the front camera is again. In this way, the control device determines the priority of multiple cameras according to the operation instructions for the vehicle sent by the remote management system, which can make the resource allocation of the network equipment better adapt to the different driving modes of the vehicle and ensure the reliability of the business.
在一种可能的实现方式中,所述发送模块还用于:在所述控制装置接收所述第一上行总速率之前,向所述网络设备发送请求信息,所述请求信息用于请求所述第一上行总速率。In a possible implementation manner, the sending module is further configured to: before the control device receives the first total uplink rate, send request information to the network device, where the request information is used to request the The first upstream total rate.
在一种可能的实现方式中,所述接收模块还用于:接收第二上行总速率,所述第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率;所述处理模块,还用于将所述第二上行总速率和第二总速率进行比较,所述第二总速率为所述M个摄像头中每个摄像头当前分辨率对应的标准速率值之和;当所述第二上行总速率大于所述第二总速率,且所述第二上行总速率大于所述第二总速率的连续次数达到预设次数时,按照所述M个摄像头中的每个摄像头的优先级顺序,升高所述M个摄像头中K个摄像头的分辨率,以使得所述M个摄像头占用所述第二上行总速率的全部速率或者所述M个摄像头的分辨率均达到最高分辨率,其中K为小于或者等于M的正整数;所述处理模块,还用于向所述K个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,K。In a possible implementation manner, the receiving module is further configured to: receive a second total uplink rate, the second total uplink rate is a total uplink rate obtainable by the M cameras under the control device; The processing module is also used to compare the second total uplink rate with the second total rate, the second total rate being the sum of the standard rate values corresponding to the current resolution of each of the M cameras; When the second total uplink rate is greater than the second total rate, and the number of consecutive times when the second total uplink rate is greater than the second total rate reaches a preset number of times, according to each of the M cameras Priority order, increase the resolution of K cameras among the M cameras, so that the M cameras occupy the entire rate of the second uplink total rate or the resolution of the M cameras reaches the highest Resolution, where K is a positive integer less than or equal to M; the processing module is also used to issue a jth configuration instruction to the jth camera among the K cameras, and the jth configuration instruction is used to indicate The resolution to be used of the j th camera, where j=1, 2,..., K.
在上述技术方案中,控制装置在网络设备的资源比较充裕的情况下,根据各个摄像头的优先级调高全部或部分摄像头的分辨率。这样远程管理系统可以获得清晰度更高的视频,有利于远程驾驶人员的进行判断并下发操作指令。In the above technical solution, when the resources of the network device are relatively abundant, the control device increases the resolution of all or part of the cameras according to the priority of each camera. In this way, the remote management system can obtain higher-definition video, which is helpful for the remote driver to make judgments and issue operation instructions.
在一种可能的实现方式中,所述接收模块还用于:接收第二上行总速率,所述第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率;所述处理模块,还用于将所述第二上行总速率和第三总速率进行比较,所述第三总速率为当前所述M个摄像头中每个摄像头当前分辨率对应的下限速率值之和;当所述第二上行总速率小于所述第三总速率时,按照所述M个摄像头中的每个摄像头的优先级顺序,降低所述M个摄像头中Q个摄像头的分辨率,以使得所述M个摄像头对应的的总上行速率小于或者等于所述第三总速率,其中Q为小于或者等于M的正整数;所述处理模块,还用于向所述Q个摄像头 中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,Q。In a possible implementation manner, the receiving module is further configured to: receive a second total uplink rate, the second total uplink rate is a total uplink rate obtainable by the M cameras under the control device; The processing module is further configured to compare the second total uplink rate with a third total rate, where the third total rate is the sum of the lower limit rate values corresponding to the current resolution of each of the M cameras; When the second total uplink rate is less than the third total rate, according to the priority order of each of the M cameras, the resolution of the Q cameras in the M cameras is reduced, so that The total upstream rate corresponding to the M cameras is less than or equal to the third total rate, where Q is a positive integer less than or equal to M; and the processing module is further configured to send the jth camera among the Q cameras The jth configuration instruction is issued, and the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2, ..., Q.
在上述技术方案中,控制装置在网络设备的资源比较紧张的情况下,根据各个摄像头的优先级降低全部或部分摄像头的分辨率。这样可以保障关键视频数据的传输,提高业务的可靠性。In the above technical solution, when the resources of the network device are relatively tight, the control device reduces the resolution of all or part of the cameras according to the priority of each camera. This can ensure the transmission of key video data and improve the reliability of the business.
第五方面,本申请提供一种网络设备,该网络设备包括:发送模块,用于向终端设备发送第一上行总速率,所述第一上行总速率为所述终端设备下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;接收模块,用于接收所述终端设备发送的所述M个摄像头中第i摄像头的保障信息,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率,其中i=1,2…,M;所述接收模块,还用于接收来自所述M个摄像头的视频报文;所述发送模块,还用于根据所述保障信息,向远程管理系统发送至少部分所述视频报文。According to a fifth aspect, the present application provides a network device, the network device includes: a sending module, configured to send a first total uplink rate to a terminal device, the first total uplink rate being M cameras under the terminal device The obtained total upstream rate, M is an integer greater than or equal to 2; the receiving module is used to receive the security information of the i-th camera among the M cameras sent by the terminal device, and the security information is used to indicate the Whether the i camera requests the upstream rate guarantee and the requested upstream rate, where i=1, 2, ..., M; the receiving module is also used to receive video packets from the M cameras; the sending module also It is used to send at least part of the video message to the remote management system according to the security information.
在上述技术方案中,首先,网络设备向终端设备发送第一上行总速率,使得终端设备可以根据网络设备发送的多个摄像头可获得的总上行速率和多个摄像头的优先级,确定终端设备下的多个摄像头的分辨率并下发给摄像头。由于不同的分辨率会对应不同的上行速率,因此终端设备确定摄像头的分辨率相当于为摄像头分配上行速率,这样,对于优先级高的摄像头可以分配较大的上行速率,对于优先级较低的摄像头可以分配较小的上行速率。其次,网络设备接收终端设备发送的保障信息,网络设备可以保障申请上行速率保障的摄像头的视频报文传输。因此上述技术方案能够提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, first, the network device sends the first total uplink rate to the terminal device, so that the terminal device can determine the terminal device according to the total uplink rate available from the multiple cameras sent by the network device and the priority of the multiple cameras The resolutions of multiple cameras are sent to the cameras. Since different resolutions correspond to different upstream rates, the terminal device determines that the resolution of the camera is equivalent to allocating the upstream rate to the camera. In this way, a higher upstream rate can be assigned to a camera with a higher priority, and a lower upstream rate The camera can be assigned a smaller upstream rate. Secondly, the network device receives the guarantee information sent by the terminal device, and the network device can guarantee the transmission of the video message of the camera applying for the upstream rate guarantee. Therefore, the above technical solution can improve the reliability of wireless communication of multi-camera video data.
在一种可能的实现方式中,所述保障信息还包括所述第i摄像头的优先级;所述发送模块,具体用于当所述保障参数指示所述第i摄像头请求上行速率保障时,根据所述第i摄像头请求保障的上行速率和所述第i摄像头的优先级,向所述远程管理系统发送所述至少部分所述视频报文。In a possible implementation manner, the guarantee information further includes the priority of the i-th camera; the sending module is specifically configured to, when the guarantee parameter indicates that the i-th camera requests an upstream rate guarantee, according to The upstream rate requested by the i-th camera and the priority of the i-th camera send the at least part of the video message to the remote management system.
在上述技术方案中,由于在保障信息中携带了摄像头的优先级,网络设备根据摄像头的优先级为摄像头预留资源。这样在网络设备的资源较少时,可以优先满足优先级高的摄像头的视频传输,保障关键视频数据的传输。In the above technical solution, since the priority of the camera is carried in the security information, the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
在一种可能的实现方式中,所述接收模块还用于:接收所述终端设备发送的请求信息,所述请求信息用于请求所述第一上行总速率。In a possible implementation manner, the receiving module is further configured to: receive request information sent by the terminal device, and the request information is used to request the first total uplink rate.
在一种可能的实现方式中,所述发送模块还用于:向所述终端设备发送第二上行总速率。In a possible implementation manner, the sending module is further configured to send the second total uplink rate to the terminal device.
第六方面,本申请提供一种摄像头,该摄像头包括:处理模块,用于接收控制设备发送的配置指令,所述配置指令用于指示所述摄像头待使用的分辨率;所述处理模块,还用于将分辨率配置成所述待使用的分辨率;发送模块,用于向网络设备发送保障信息,所述保障信息用于指示所述摄像头是否请求上行速率保障以及请求保障的上行速率。In a sixth aspect, the present application provides a camera, the camera including: a processing module for receiving a configuration instruction sent by a control device, the configuration instruction for indicating a resolution to be used by the camera; the processing module, further It is used to configure the resolution to the resolution to be used; the sending module is used to send guarantee information to the network device, and the guarantee information is used to indicate whether the camera requests the upstream rate guarantee and the guaranteed upstream rate.
上述技术方案中,摄像头在视频报文中增加保障信息并发送给网络设备,这样网络设备可以根据为申请上行速率保障的摄像头预留合适的资源,使得摄像头的视频报文正确传输。因此上述技术方案能够提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, the camera adds the guarantee information in the video message and sends it to the network device, so that the network device can reserve appropriate resources for the camera applying for the upstream rate guarantee, so that the video message of the camera is correctly transmitted. Therefore, the above technical solution can improve the reliability of wireless communication of multi-camera video data.
在一种可能的实现方式中,所述保障信息还包括所述摄像头的优先级。In a possible implementation, the security information further includes the priority of the camera.
在上述技术方案中,由于在保障信息中携带了摄像头的优先级,网络设备根据摄像头的优先级为摄像头预留资源。这样在网络设备的资源较少时,可以优先满足优先级高的摄像头的视频传输,保障关键视频数据的传输。In the above technical solution, since the priority of the camera is carried in the security information, the network device reserves resources for the camera according to the priority of the camera. In this way, when the resources of the network device are low, the video transmission of the camera with a high priority can be preferentially met to ensure the transmission of critical video data.
第七方面,本申请提供一种控制装置,该控制装置包括处理器、收发器和存储器,用于执行第一方面或第一方面任意一种实现方式所述的方法。In a seventh aspect, the present application provides a control device, including a processor, a transceiver, and a memory, for performing the method described in the first aspect or any implementation manner of the first aspect.
第八方面,本申请提供一种网络设备,该网络设备包括处理器、收发器和存储器,用于执行第二方面或第二方面任意一种实现方式所述的方法。In an eighth aspect, the present application provides a network device. The network device includes a processor, a transceiver, and a memory, and is configured to execute the method described in the second aspect or any implementation manner of the second aspect.
第九方面,本申请提供一种摄像头,该摄像头包括处理器、收发器和存储器,用于执行第三方面或第三方面任意一种实现方式所述的方法。In a ninth aspect, the present application provides a camera. The camera includes a processor, a transceiver, and a memory, and is configured to perform the method described in the third aspect or any implementation manner of the third aspect.
第十方面,本申请提供一种芯片,该控制装置包括处理器、收发器和存储器,用于执行第一方面或第一方面任意一种实现方式所述的方法。In a tenth aspect, the present application provides a chip. The control device includes a processor, a transceiver, and a memory, and is configured to execute the method described in the first aspect or any implementation manner of the first aspect.
第十一方面,本申请提供一种芯片,该网络设备包括处理器、收发器和存储器,用于执行第二方面或第二方面任意一种实现方式所述的方法。In an eleventh aspect, the present application provides a chip. The network device includes a processor, a transceiver, and a memory, and is configured to execute the method described in the second aspect or any implementation manner of the second aspect.
第十二方面,本申请提供一种芯片,该摄像头包括处理器、收发器和存储器,用于执行第三方面或第三方面任意一种实现方式所述的方法。In a twelfth aspect, the present application provides a chip. The camera includes a processor, a transceiver, and a memory, and is used to execute the method described in the third aspect or any implementation manner of the third aspect.
第十三方面,本申请提供了一种计算机可读存储介质,包括指令,当其在控制装置上运行时,使得控制装置执行第一方面或第一方面任意一种实现方式所述的方法。In a thirteenth aspect, the present application provides a computer-readable storage medium, including instructions that, when run on a control device, cause the control device to perform the method described in the first aspect or any implementation manner of the first aspect.
第十四方面,本申请提供了一种计算机可读存储介质,包括指令,当其在网络设备上运行时,使得网络设备执行第二方面或第二方面任意一种实现方式所述的方法。In a fourteenth aspect, the present application provides a computer-readable storage medium, including instructions that, when run on a network device, cause the network device to perform the method described in the second aspect or any implementation manner of the second aspect.
第十五方面,本申请提供了一种计算机可读存储介质,包括指令,当其在摄像头上运行时,使得摄像头执行第三方面或第三方面任意一种实现方式所述的方法。In a fifteenth aspect, the present application provides a computer-readable storage medium, including instructions that, when run on a camera, cause the camera to perform the method described in the third aspect or any implementation manner of the third aspect.
第十六方面,本申请提供了一种计算机程序产品,当其在控制装置上运行时,使得控制装置执行第一方面或第一方面任意一种实现方式所述的方法。In a sixteenth aspect, the present application provides a computer program product that, when run on a control device, causes the control device to execute the method described in the first aspect or any implementation manner of the first aspect.
第十七方面,本申请提供了一种计算机程序产品,当其在网络设备上运行时,使得网络设备执行第二方面或第二方面任意一种实现方式所述的方法。In a seventeenth aspect, the present application provides a computer program product that, when run on a network device, causes the network device to perform the method described in the second aspect or any implementation manner of the second aspect.
第十八方面,本申请提供了一种计算机程序产品,当其在摄像头上运行时,使得摄像头执行第三方面或第三方面任意一种实现方式所述的方法。In an eighteenth aspect, the present application provides a computer program product that, when run on a camera, causes the camera to perform the method described in the third aspect or any implementation manner of the third aspect.
第十九方面,本申请提供了一种摄像头管理系统,所述系统包括第四方面或第四方面任意一种实现方式所述的控制装置、第五方面或第五方面任意一种实现方式所述的网络设备以及至少两个第六方面或第六方面任意一种实现方式所述的摄像头。In a nineteenth aspect, the present application provides a camera management system, the system including the control device described in the fourth aspect or any implementation manner of the fourth aspect, and the fifth aspect or any implementation manner of the fifth aspect. The above-mentioned network device and at least two cameras according to the sixth aspect or any implementation manner of the sixth aspect.
附图说明BRIEF DESCRIPTION
图1是车辆视频信息采集系统布置示意图。Figure 1 is a schematic diagram of the layout of the vehicle video information collection system.
图2是可以应用本申请实施例的方法的场景的示意图。FIG. 2 is a schematic diagram of a scenario where the method of the embodiment of the present application can be applied.
图3是不同摄像头端口配置的示意图。Figure 3 is a schematic diagram of different camera port configurations.
图4是本申请实施例的控制摄像头的方法的示意性流程图。4 is a schematic flowchart of a method for controlling a camera according to an embodiment of the present application.
图5是控制装置发起第一上行总速率查询的示意性流程图。FIG. 5 is a schematic flowchart of a first uplink total rate query initiated by a control device.
图6是网络设备确定第一上行总速率和上行速率保障的示意性流程图。6 is a schematic flowchart of the network device determining the first uplink total rate and the uplink rate guarantee.
图7是典型操作指令下各摄像头的分组标定的示意图。7 is a schematic diagram of grouping calibration of each camera under typical operation instructions.
图8是控制装置动态优化调整摄像头分辨率的示意性流程图。8 is a schematic flowchart of the control device dynamically and optimally adjusting the resolution of the camera.
图9是摄像头分辨率升等和降等的优先级顺序示例。FIG. 9 is an example of the priority order of camera resolution ascending and descending.
图10是控制装置动态降等优化的示意性流程图。FIG. 10 is a schematic flowchart of the optimization of the dynamic reduction of the control device.
图11是摄像头分辨率优化的示意性流程图。FIG. 11 is a schematic flowchart of camera resolution optimization.
图12是摄像头业务保障的示意性流程图。12 is a schematic flowchart of camera service guarantee.
图13是本申请实施例的远程驾驶业务的整体流程的示意图。FIG. 13 is a schematic diagram of the overall flow of a remote driving business according to an embodiment of the present application.
图14是根据本申请实施例的控制装置的示意性结构图。14 is a schematic structural diagram of a control device according to an embodiment of the present application.
图15是根据本申请实施例的网络设备的示意性结构图。15 is a schematic structural diagram of a network device according to an embodiment of the present application.
图16是根据本申请实施例的摄像头的示意性结构图。16 is a schematic structural diagram of a camera according to an embodiment of the present application.
图17是本申请另一实施例提供的控制装置的示意性结构图。17 is a schematic structural diagram of a control device provided by another embodiment of the present application.
图18是本申请另一实施例提供的网络设备的示意性结构图。18 is a schematic structural diagram of a network device provided by another embodiment of the present application.
图19是本申请另一实施例提供的摄像头的示意性结构图。19 is a schematic structural diagram of a camera provided by another embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the drawings.
本申请可以应用于各种远程控制的场景,只要该场景下多个信息采集装置需要通过网络设备将采集到的数据上报给管理系统即可。例如远程驾驶、机器人远程控制等。This application can be applied to various remote control scenarios, as long as multiple information collection devices in this scenario need to report the collected data to the management system through a network device. For example, remote driving, robot remote control, etc.
本申请实施例中的网络设备可以是用于与终端设备通信的设备,该网络设备可以是全球移动通信(global system for mobile communications,GSM)系统或码分多址(code division multiple access,CDMA)中的基站(base transceiver station,BTS),也可以是宽带码分多址(wideband code division multiple access,WCDMA)系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(evolved NodeB,eNB或eNodeB),还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、接入点及未来5G网络中的网络设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的网络设备等,本申请实施例并不限定。The network device in the embodiment of the present application may be a device for communicating with a terminal device, and the network device may be a global system for mobile (GSM) system or code division multiple access (CDMA) The base station (base transceiver) (BTS) in the system can also be the base station (NodeB, NB) in the wideband code division multiple access (WCDMA) system or the evolved base station (evolved) in the LTE system NodeB, eNB or eNodeB), or a wireless controller in a cloud radio access network (CRAN) scenario, or the network device may be a relay station, an access point, and a network device in a future 5G network or Network devices in a public land mobile communication network (PLMN) that will evolve in the future are not limited in the embodiments of the present application.
下面以远程驾驶为例,对本申请实施例的方案进行描述。The following uses remote driving as an example to describe the solution of the embodiment of the present application.
远程驾驶,顾名思义是一种有别于本地驾驶的驾驶方式,主要指通过新一代无线通信网络,将驾驶员与车辆分离的一种驾驶方式。远程驾驶系统通常由如下几部分组成:远程驾驶信息采集系统、远程管理系统(又称集中运营管理系统)、远程驾驶模拟套件等组成。其中,如图1所示,信息采集系统主要由覆盖车体360度的摄像头、面向车内乘客的摄像头等设备组成,所有车体的摄像头通过车载控制装置实现网络连接。例如,包括覆盖车体的摄像头4-6个(例如,面向前方的摄像头约1-3个,左右摄像头各1个,后视摄像头1个)和面向车内乘客的摄像头1个。目前摄像头均采用高清摄像头,按照最低配置5个摄像头计算,上行速率需满足30Mbps以上,端到端时延需<100ms,对网络性能、资源占用要求比较高。Remote driving, as the name suggests, is a driving method different from local driving. It mainly refers to a driving method that separates the driver from the vehicle through a new generation of wireless communication network. The remote driving system usually consists of the following parts: remote driving information collection system, remote management system (also called centralized operation management system), remote driving simulation suite, etc. Among them, as shown in FIG. 1, the information collection system is mainly composed of a camera covering the 360-degree body of the car, a camera facing the passengers in the car, and other devices. All the cameras of the car body are connected to the network through the on-board control device. For example, there are 4-6 cameras covering the vehicle body (for example, about 1-3 cameras facing the front, 1 left and right camera, and 1 rearview camera) and 1 camera facing the passenger in the car. At present, all cameras use high-definition cameras. According to the minimum configuration of 5 cameras, the upstream rate needs to meet 30Mbps or more, and the end-to-end delay needs to be <100ms, which requires relatively high network performance and resource consumption.
同时远程驾驶由于通过无线通信网络,对车辆直接进行驾驶和控制,因此对该系统端到端的可靠性要求非常高,因为当该系统任何一个环节出现问题或断链,都可能导致某一个操作命令无法直接下达到车端,导致车辆失去控制发生事故,造成不可挽回的影响。而在端到端可靠性方面,除了远程驾驶设备、车端控制等环节的可靠性外,无线通信网络的 可靠性也将是非常重要的一个环节,只有在网络传输时有针对性的协同保障,才能确保可靠性满足安全要求。At the same time, remote driving directly drives and controls the vehicle through the wireless communication network, so the end-to-end reliability of the system is very high, because any problem or broken link in the system may cause an operation command Unable to directly reach the end of the vehicle, causing the vehicle to lose control and cause an accident, causing irreparable impact. In terms of end-to-end reliability, in addition to the reliability of remote driving equipment and vehicle-end control, the reliability of wireless communication networks will also be a very important link, and only targeted coordination guarantees during network transmission To ensure that reliability meets safety requirements.
当前多摄像头接入无线通信系统,基于最低配置进行视频参数设置,然后进行多路视频平均输出,当网络资源不能保证时,视频清晰度下降或者传输中断,导致关键视频数据缺乏保障,使得业务可靠性很低。因此,如何提高远程驾驶等应用场景下多摄像头视频数据无线通信回传的可靠性成为亟需解决的问题。The current multi-cameras are connected to the wireless communication system, and the video parameters are set based on the minimum configuration, and then the multi-channel video is averagely output. When the network resources cannot be guaranteed, the video resolution decreases or the transmission is interrupted, resulting in the lack of guarantee for critical video data and making the business reliable. Sex is very low. Therefore, how to improve the reliability of multi-camera video data wireless communication backhaul in remote driving and other application scenarios has become an urgent problem to be solved.
本申请提供用于控制摄像头的方法、控制装置、网络设备及摄像头,可以提高多摄像头视频数据无线通信回传的可靠性。The present application provides a method, a control device, a network device, and a camera for controlling a camera, which can improve the reliability of wireless communication return of multi-camera video data.
图2是可以应用本申请实施例的方法的场景的示意图。其中,无线通信系统支持空口状态预测下发和业务识别、网络保障;车载控制装置实现控制任务发起、网络状态获取、根据业务操作指令进行多摄像头优先级分组标定和摄像头分辨率调整、启动专有业务上行速率保障;摄像头实现信息采集和感知,根据网络状态动态调整优化;远程管理系统实现摄像头信息采集呈现和业务操作指令下发。FIG. 2 is a schematic diagram of a scenario where the method of the embodiment of the present application can be applied. Among them, the wireless communication system supports air interface status prediction and issuance, service identification, and network assurance; vehicle-mounted control devices implement control task initiation, network status acquisition, multi-camera priority group calibration according to business operation instructions, camera resolution adjustment, and start-up proprietary Service upstream rate guarantee; camera realizes information collection and perception, and dynamically adjusts and optimizes according to network status; remote management system realizes camera information collection and presentation and business operation instruction is issued.
在远程驾驶业务触发之前,需要将车辆上的摄像头与车载控制装置的连接端口提前做好映射和配置,以便为后续摄像头进行优先级配置和上行速率保障奠定基础。图3是不同摄像头端口配置的示意图。Before the remote driving service is triggered, it is necessary to map and configure the connection port of the camera on the vehicle and the vehicle control device in advance, so as to lay the foundation for the priority configuration and upstream rate guarantee of the subsequent camera. Figure 3 is a schematic diagram of different camera port configurations.
本申请基于无线通信系统的网络实时状态和远程管理系统下发的业务操作指令,车载控制装置完成多摄像头的分组标定,并基于网络状态实现摄像头参数设置,同时启动不同优先级摄像头的上行速率的专有保障和动态调整,实现远程操作类业务网络协同和保障,提高专有业务的可靠性,降低因网络资源受限导致的业务应用受限。This application is based on the real-time network status of the wireless communication system and the business operation instructions issued by the remote management system. The vehicle-mounted control device completes the group calibration of multiple cameras, and sets the camera parameters based on the network status. At the same time, it starts the uplink rate of cameras with different priorities. Proprietary guarantee and dynamic adjustment, realize the coordination and guarantee of remote operation business network, improve the reliability of proprietary business, and reduce the limitation of business application due to the limitation of network resources.
图4是本申请实施例的控制摄像头的方法的示意性流程图。图4所示的方法包括以下内容的至少部分内容。4 is a schematic flowchart of a method for controlling a camera according to an embodiment of the present application. The method shown in FIG. 4 includes at least part of the following content.
在410中,网络设备向终端设备发送第一上行总速率,该终端设备接收该第一上行总速率,该第一上行总速率为该终端设备下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数。In 410, the network device sends a first total uplink rate to the terminal device, and the terminal device receives the first total uplink rate. The first total uplink rate is the total uplink rate available to the M cameras under the terminal device, M It is an integer greater than or equal to 2.
可选地,网络设备向终端设备的控制装置发送第一上行总速率。Optionally, the network device sends the first total uplink rate to the control device of the terminal device.
在420中,控制装置根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率。In 420, the control device determines the resolution to be used for each of the M cameras according to the first total uplink rate and the priority of each of the M cameras.
在430中,该控制装置向所述M个摄像头中的第i摄像头下发第i配置指令,该第i摄像头接收所述第i配置指令,所述第i配置指令用于指示所述第i摄像头的所述待使用的分辨率,其中i=1,2…,M。In 430, the control device issues an i-th configuration command to the i-th camera among the M cameras, the i-th camera receives the i-th configuration command, and the i-th configuration command is used to instruct the i-th configuration command The resolution of the camera to be used, where i=1, 2..., M.
在440中,该第i摄像头将分辨率配置成该待使用的分辨率。In 440, the i-th camera configures the resolution to the resolution to be used.
在450中,控制装置获取第i摄像头的保障信息,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率。In 450, the control device obtains the security information of the i-th camera, where the security information is used to indicate whether the i-th camera requests uplink rate guarantee and the requested uplink rate.
可选地,控制装置接收第i摄像头发送的保障信息。Optionally, the control device receives the security information sent by the i-th camera.
可选地,控制装置获取内部存储的第i摄像头的保障信息。Optionally, the control device obtains the internally stored security information of the i-th camera.
在460中,该终端设备将该保障信息发送给该网络设备,该网络设备接收该终端设备发送的该保障信息。In 460, the terminal device sends the security information to the network device, and the network device receives the security information sent by the terminal device.
可选地,由终端设备的控制装置将该保障信息发送给该网络设备。Optionally, the control device of the terminal device sends the security information to the network device.
可选地,控制装置可以不执行450,而是由摄像头直接将保障信息发送给网络设备。Optionally, the control device may not execute 450, but the camera directly sends the security information to the network device.
在470中,该网络设备根据该保障信息,向远程管理系统发送第i摄像头视频报文。In 470, the network device sends the i-th camera video message to the remote management system based on the security information.
本申请实施例对控制装置的形式不做具体限定。例如,控制装置可以是对现有车载控制装置的改进而形成的,也可以是新增加的独立设置于车辆上的控制装置等。The embodiment of the present application does not specifically limit the form of the control device. For example, the control device may be formed by improving the existing vehicle-mounted control device, or may be a newly added control device that is independently installed on the vehicle.
本申请实施例对摄像头的类型不作具体限定,只要摄像头可以根据控制装置的指令修改分辨率即可。The embodiment of the present application does not specifically limit the type of the camera, as long as the camera can modify the resolution according to the instruction of the control device.
本申请实施例对网络设备的类型不做具体限定,只要网络设备支持发送第一上行总速率和根据接收到的保障信息发送视频报文即可。The embodiment of the present application does not specifically limit the type of network device, as long as the network device supports sending the first total uplink rate and sending video packets according to the received guarantee information.
在上述技术方案中,控制装置根据网络设备发送的多个摄像头可获得的总上行速率和多个摄像头的优先级,确定控制装置下的多个摄像头的分辨率并下发给摄像头。由于不同的分辨率会对应不同的上行速率,因此控制装置确定摄像头的分辨率相当于为摄像头分配上行速率。对于优先级高的摄像头可以分配较大的上行速率,对于优先级较低的摄像头可以分配较小的上行速率,这样保障关键视频数据的正确传输,从而提高多摄像头视频数据无线通信回传的可靠性。In the above technical solution, the control device determines the resolutions of the plurality of cameras under the control device and delivers the resolutions to the cameras according to the total uplink rate obtainable by the plurality of cameras sent by the network device and the priorities of the plurality of cameras. Since different resolutions correspond to different upstream rates, the control device determines that the resolution of the camera is equivalent to assigning the upstream rate to the camera. For cameras with high priority, a larger upstream rate can be assigned, and for cameras with a lower priority, a smaller upstream rate can be assigned, so as to ensure the correct transmission of key video data, thereby improving the reliability of wireless communication of multi-camera video data. Sex.
在一些实施例中,在网络设备向控制装置发送第一上行总速率之前,网络设备确定第一上行总速率。可选地,网络设备根据自身带宽资源使用情况,预估得到第一上行总速率(例如,第一上行总速率可以是网络设备总带宽资源与已使用带宽资源的差值)。In some embodiments, before the network device sends the first total uplink rate to the control apparatus, the network device determines the first total uplink rate. Optionally, the network device estimates the first uplink total rate according to its own bandwidth resource usage (for example, the first uplink total rate may be the difference between the total bandwidth resource of the network device and the used bandwidth resource).
可选地,网络设备可以周期性的确定第一上行总速率并发送给控制装置。Optionally, the network device may periodically determine the first total uplink rate and send it to the control device.
可选地,控制装置可以向网络设备发送请求信息,该请求信息用于请求第一上行总速率;网络设备在接收到请求信息之后,确定第一上行总速率。可选地,控制装置可以周期性的向网络设备发送请求信息。Optionally, the control apparatus may send request information to the network device, where the request information is used to request the first total uplink rate; after receiving the request information, the network device determines the first total uplink rate. Optionally, the control apparatus may periodically send request information to the network device.
可选地,请求信息可以通过单独的消息发送。Alternatively, the request information may be sent through a separate message.
可选地,请求信息可以携带在控制装置向网络设备发送的视频报文中。Optionally, the request information may be carried in the video message sent by the control device to the network device.
例如,请求信息可以携带在传输控制协议(transmission control protocol,TCP)报文或互联网协议(internet protocol,IP)报文的选项字段中。以TCP报文为例表1示出了选项字段的格式。For example, the request information may be carried in an option field of a transmission control protocol (transmission control protocol (TCP) message or an internet protocol (IP) message. Taking the TCP message as an example, Table 1 shows the format of the option field.
表1Table 1
类型(kind,1字节)Type (kind, 1 byte) 长度(length,1字节)Length (length, 1 byte) 格式(type,1字节)Format (type, 1 byte) 含义meaning
253253 33 11 第一上行总速率查询请求First uplink total rate query request
具体地,在远程驾驶任务启动时,由车辆上的控制装置判断是否启动第一上行总速率查询请求,并进行相应的选项设置。图5是控制装置发起第一上行总速率查询的示意性流程图。Specifically, when the remote driving task is started, the control device on the vehicle determines whether to start the first uplink total rate query request, and makes corresponding option settings. FIG. 5 is a schematic flowchart of a first uplink total rate query initiated by a control device.
在501中,控制装置发起第一上行总速率查询流程开始。In 501, the control device initiates a first uplink total rate query process to start.
在502中,控制装置判断是否开启了网络协同多摄像头优化特性(该特性未来可作为增值服务可选项,根据最终用户是否购买该增值服务进行差异保障)。如果开启了该特性,则执行503;如果没有开启该特性,则执行506。In 502, the control device determines whether the network cooperative multi-camera optimization feature is turned on (this feature can be used as an option for value-added services in the future, and the difference protection is performed according to whether the end user purchases the value-added service). If the feature is turned on, go to 503; if the feature is not turned on, go to 506.
可选地,网络协同多摄像头优化特性开关可以是枚举类型。例如,取值为【On,Off】,其中On为网络协同多摄像头优化特性开启,Off为网络协同多摄像头优化特性关闭。默认为Off,可以根据需求开启该特性(例如根据用户是否购买)。Alternatively, the network cooperative multi-camera optimization feature switch may be of an enumerated type. For example, the value is [On, Off], where On is the network cooperative multi-camera optimization feature turned on, and Off is the network cooperative multi-camera optimization feature turned off. The default is Off, and this feature can be turned on as needed (for example, based on whether the user purchases it).
在503中,在开启网络协同多摄像头优化特性时,控制装置触发远程驾驶请求,发送上行报文,完成后执行504。In 503, when the network cooperative multi-camera optimization feature is turned on, the control device triggers a remote driving request, sends an uplink message, and executes 504 after completion.
在504中,根据不同的命令,控制装置判断是否需要插入查询第一上行总速率请求,如果需要执行505,否则执行506。In 504, according to different commands, the control device determines whether it is necessary to insert a query for the first uplink total rate request, and if necessary, execute 505, otherwise execute 506.
插入查询第一上行总速率请求场景有很多。例如,首次启动远程驾驶业务时,上行报文需携带查询第一上行总速率请求。又例如,远程驾驶业务启动后有两种可选方式进行第一上行总速率查询,第一种是在每次上行报文中携带查询请求,第二种在针对下行报文的确认(acknowledge,ACK)回包中携带查询请求。There are many scenarios for inserting a query for the first uplink total rate request. For example, when the remote driving service is started for the first time, the uplink message needs to carry a request to query the first uplink total rate. For another example, after the remote driving service is started, there are two optional ways to query the first uplink total rate. The first is to carry the query request in each uplink message, and the second is to confirm the downlink message (acknowledge, ACK) The query request is carried in the return packet.
在505中,当需要启动第一上行总速率查询时,控制装置在上行报文包头插入相应的选项(option),启动第一上行总速率查询请求,具体选项设置方式如表1所示。In 505, when the first uplink total rate query needs to be started, the control device inserts a corresponding option (option) in the header of the upstream packet to start the first uplink total rate query request, and the specific option setting mode is shown in Table 1.
在506中,控制装置发起第一上行总速率查询流程结束。In 506, the control device initiates the first uplink total rate query process to end.
应理解,为了保证第一上行总速率的可靠性,上述各周期通常取值很小。It should be understood that, in order to ensure the reliability of the first uplink total rate, the above-mentioned periods generally take very small values.
在网络设备接收到控制装置发送的上行报文后,根据上行报文中的选项字段,相应地启动网络状态查询、第一上行总速率下发、上行速率保障等功能。图6是网络设备确定第一上行总速率和上行速率保障的示意性流程图。After the network device receives the uplink message sent by the control device, according to the option field in the uplink message, the functions of network status query, first uplink total rate delivery, and uplink rate guarantee are activated accordingly. 6 is a schematic flowchart of the network device determining the first uplink total rate and the uplink rate guarantee.
在601中,网络设备开始流程。In 601, the network device starts the process.
在602中,在车辆的控制装置确定该用户开启网络协同多摄像头优化特性时,网络设备接收到报文后,判断接收到的报文是由控制装置发出的上行报文还是由远程管理系统下发的下行报文。如果网络设备接收到的报文是上行报文,则执行603;否者执行608。In 602, when the control device of the vehicle determines that the user turns on the network cooperative multi-camera optimization feature, after the network device receives the message, it determines whether the received message is an upstream message sent by the control device or a remote management system. Downstream message sent. If the packet received by the network device is an uplink packet, go to 603; otherwise, go to 608.
在603中,网络设备解析上行报文的选项字段,完成后执行604。In 603, the network device parses the option field of the upstream packet, and after completion, executes 604.
在604中,网络设备判断上行报文是否携带请求信息。如果上行报文中携带请求信息则执行605;否则执行606。In 604, the network device determines whether the uplink message carries request information. If the uplink message carries the request information, perform 605; otherwise, perform 606.
在605中,网络设备根据带宽资源使用情况,预估该用户的第一上行总速率,完成后执行610。In 605, the network device estimates the first total uplink rate of the user according to the bandwidth resource usage, and executes 610 after completion.
在606中,网络设备判断上行报文是否携带保障信息。如果上行报文中携带保障信息则执行607,否则执行610。In 606, the network device determines whether the upstream message carries the guarantee information. If the upstream message carries the security information, go to 607, otherwise go to 610.
在607中,网络设备按照上行报文中携带的保障信息指示的优先级和请求保障的上行速率启动分组保障,完成后执行610。In 607, the network device starts packet guarantee according to the priority indicated by the guarantee information carried in the upstream message and the upstream rate requesting guarantee, and after completion 610 is performed.
网络设备根据保障信息,向远程管理系统发送来自摄像头的视频报文。The network device sends video packets from the camera to the remote management system based on the security information.
在一种实施例中,网络设备根据保障信息为摄像头预留资源。可选地,在保障信息指示该摄像头请求上行速率保障的情况下,当请求保障的上行速率为当前分辨率下的标准速率时,网络设备为该摄像头预留与请求保障的上行速率同等大小的资源。可选地,在保障信息指示该摄像头请求上行速率保障的情况下,当请求保障的上行速率为预设上行速率时,网络设备根据摄像头优先级为该摄像头预留资源。In one embodiment, the network device reserves resources for the camera based on the guarantee information. Optionally, when the guarantee information indicates that the camera requests the upstream rate guarantee, when the requested upstream rate is the standard rate at the current resolution, the network device reserves for the camera the same size as the requested upstream rate Resources. Optionally, when the security information indicates that the camera requests the uplink rate guarantee, when the uplink rate requested to be guaranteed is the preset uplink rate, the network device reserves resources for the camera according to the camera priority.
在另一种实施例中,网络设备根据保障信息确定发送哪些视频报文。例如,当网络设备资源紧张时,网络设备在保证优先级高的摄像头的视频报文的传输后,优先级较低的摄像头的视频报文可能有部分甚至全部被丢弃,不向远程管理系统发送。In another embodiment, the network device determines which video packets to send based on the security information. For example, when network equipment resources are tight, after the network equipment guarantees the transmission of video packets from cameras with high priority, some or even all of the video packets from cameras with lower priority may be discarded and not sent to the remote management system. .
可选地,保障信息可以通过单独的消息发送。Alternatively, the guarantee information can be sent through a separate message.
可选地,保障信息可以携带在控制装置向网络设备发送的视频报文中。Optionally, the guarantee information may be carried in the video message sent by the control device to the network device.
例如,保障信息可以携带在TCP报文或IP报文的选项字段中。以TCP报文为例表2示出了选项字段的格式。其中保留位可以取值为0000。For example, the guarantee information may be carried in the option field of the TCP message or the IP message. Taking the TCP message as an example, Table 2 shows the format of the option field. The reserved bits can take the value 0000.
表2Table 2
Figure PCTCN2019127297-appb-000001
Figure PCTCN2019127297-appb-000001
可选地,保障信息中的摄像头的优先级可以是摄像头的优先级分组。例如,将全部摄像头划分为3组,第一组(group1,G1)优先级最高,设置为1;第二组(group2,G2)优先级次之,设置为2;第三组(group3,G3)优先级最低,设置为3;当取值为0,表示未进行分组,优先级最低。当保障信息中携带相应的组号时,即表示该摄像头的保障优先级为该组号对应的优先级。Alternatively, the priority of the camera in the security information may be the priority group of the camera. For example, divide all cameras into 3 groups, the first group (group1, G1) has the highest priority and is set to 1; the second group (group2, G2) has the second highest priority and is set to 2; the third group (group3, G3 ) The lowest priority is set to 3; when the value is 0, it means that there is no grouping and the lowest priority. When the security information carries the corresponding group number, it means that the security priority of the camera is the priority corresponding to the group number.
可选地,如果想进一步将优先级细化,可以按每个摄像头设置优先级,最多15级。那么保障信息则携带摄像头的优先级。Optionally, if you want to further refine the priority, you can set the priority for each camera, up to 15 levels. Then the security information carries the priority of the camera.
在608中,网络设备判断该用户是否请求过第一上行总速率。如果该用户请求过第一上行总速率则执行609;否则执行610。In 608, the network device determines whether the user has requested the first total uplink rate. If the user has requested the first total uplink rate, perform 609; otherwise, perform 610.
在609中,网络设备在下行报文的选项字段中插入前一次该用户查询的第一上行总速率,完成后执行610。In 609, the network device inserts the first total upstream rate queried by the user in the option field of the downstream packet, and executes 610 after completion.
可选地,第一上行总速率可以携带在TCP报文或IP报文的选项字段中。以TCP报文为例表3示出了选项字段的格式。Optionally, the first uplink total rate may be carried in the option field of the TCP message or the IP message. Taking the TCP message as an example, Table 3 shows the format of the option field.
表3table 3
Figure PCTCN2019127297-appb-000002
Figure PCTCN2019127297-appb-000002
在610中,流程结束。In 610, the process ends.
控制装置接收到网络设备发送的第一上行总速率和远程管理系统下发的操作指令后,将进行摄像头的分组标定和参数优化设置,并启动业务的保障、轮询升、轮询降等等操作。After receiving the first total uplink rate sent by the network equipment and the operation command issued by the remote management system, the control device will perform the camera group calibration and parameter optimization settings, and start the business guarantee, polling rise, polling fall, etc. operating.
在一些实施例中,接收到网络设备发送的第一上行总速率之后,控制装置根据第一上行总速率和M个摄像头中每个摄像头的优先级,确定M个摄像头中每个摄像头的待使用的分辨率。其中M个摄像头可以具有不同的优先级,也可以部分摄像头具有相同的优先级,优先级相同的摄像头可以作为一组。In some embodiments, after receiving the first total uplink rate sent by the network device, the control device determines the to-be-used of each of the M cameras according to the first total rate of uplink and the priority of each of the M cameras Resolution. Among them, M cameras may have different priorities, or some cameras may have the same priority, and cameras with the same priority may be used as a group.
在一些实施例中,在控制装置根据第一上行总速率和M个摄像头中每个摄像头的优先级,确定M个摄像头中每个摄像头的待使用的分辨率之前,控制装置接收来自远程管理系统的操作指令,并根据操作指令,确定M个摄像头中每个摄像头的优先级。可选地,控制装置可以根据操作指令确定M个摄像头中每个摄像头的组别,进而确定每个摄像头 的优先级,其中每个组别对应不同的优先级,处于同一个组别的摄像头具有相同的优先级。In some embodiments, before the control device determines the resolution to be used for each of the M cameras according to the first uplink total rate and the priority of each of the M cameras, the control device receives the remote management system According to the operation instruction, and determine the priority of each camera among the M cameras. Optionally, the control device may determine the group of each camera in the M cameras according to the operation instruction, and then determine the priority of each camera, where each group corresponds to a different priority, and cameras in the same group have Same priority.
可选地,远程管理系统发送的操作指令可以直接指示M个摄像头中每个摄像头的优先级。Optionally, the operation instruction sent by the remote management system may directly indicate the priority of each camera among the M cameras.
可选地,远程管理系统发送的操作指令也可以仅指示车辆的业务操作,再由控制装置根据该车辆的业务操作确定每个摄像头的优先级。图7是典型操作指令下各摄像头的分组标定的示意图。控制装置可以根据图7所示的典型操作指令和摄像头的分组,确定摄像头的优先级分组或优先级。Optionally, the operation instruction sent by the remote management system may also only indicate the business operation of the vehicle, and then the control device determines the priority of each camera according to the business operation of the vehicle. 7 is a schematic diagram of grouping calibration of each camera under typical operation instructions. The control device may determine the priority grouping or priority of the cameras according to the typical operation instructions shown in FIG. 7 and the grouping of the cameras.
图8是控制装置动态优化调整摄像头分辨率的示意性流程图。8 is a schematic flowchart of the control device dynamically and optimally adjusting the resolution of the camera.
在801中,控制装置开始动态优化调整摄像头分辨率流程。In 801, the control device starts the process of dynamically optimizing and adjusting the camera resolution.
在802中,控制装置接收下行报文,解析下行报文的选项字段,完成后执行803。In 802, the control device receives the downlink message, parses the option field of the downlink message, and executes 803 after completion.
在803中,控制装置判断下行报文是否包含第一上行总速率。如果下行报文包含第一上行总速率则执行804;否则执行818。In 803, the control device determines whether the downlink packet includes the first uplink total rate. If the downlink packet contains the first total uplink rate, perform 804; otherwise, perform 818.
在804中,控制装置根据网络设备提供的第一上行总速率,以及远程管理系统下发的操作指令,判断是否需要对摄像头进行分组标定。In 804, the control device determines whether the camera needs to be group-calibrated according to the first uplink total rate provided by the network device and the operation command issued by the remote management system.
如果是首次建立连接,远程管理系统没有下发具体操作指令,所有摄像头不区分优先级;如果下行报文为远程管理系统下发的具体操作指令,控制装置则根据具体的操作指令进行摄像头的分组标定,具体的分组标定方式如图7所示,完成后执行805。If the connection is established for the first time, the remote management system does not issue specific operation instructions, and all cameras do not distinguish priority; if the downlink message is a specific operation instruction issued by the remote management system, the control device groups the cameras according to the specific operation instruction Calibration, the specific group calibration method is shown in Figure 7, and 805 is executed after completion.
在805中,根据计算规则计算摄像头平均上行速率,并将摄像头平均上行速率与业务启动触发最低速率进行比较。如果各摄像头的上行速率大于业务启动触发最低速率,执行806;否则执行817。In 805, the average uplink rate of the camera is calculated according to the calculation rule, and the average uplink rate of the camera is compared with the minimum rate of service start trigger. If the upstream rate of each camera is greater than the minimum rate for service start triggering, perform 806; otherwise, perform 817.
具体地,首次启动远程驾驶或者远程管理系统发送的操作指令发生变化时,控制装置将第一上行总速率平均分配给各摄像头,计算规则如下。Specifically, when the remote driving is started for the first time or the operation command sent by the remote management system changes, the control device evenly distributes the first uplink total rate to each camera, and the calculation rule is as follows.
Figure PCTCN2019127297-appb-000003
Figure PCTCN2019127297-appb-000003
其中,Avg_Rate_Camera为摄像头平均上行速率,单位为Mbps;Rate_User为第一上行总速率,单位为Mbps;η为冗余系数,可设置,取值范围0.01—10.00,步长为0.01,默认为1;N为摄像头数量,单位为个。Among them, Avg_Rate_Camera is the average upstream rate of the camera, the unit is Mbps; Rate_User is the first upstream total rate, the unit is Mbps; η is the redundancy coefficient, which can be set, the value range is 0.01-10.00, the step size is 0.01, and the default is 1; N is the number of cameras, and the unit is one.
当Avg_Rate_Camera<=120Kbps-△1,远程驾驶功能不启动;When Avg_Rate_Camera<=120Kbps-△1, the remote driving function is not activated;
当Avg_Rate_Camera>120Kbps-△1,远程驾驶功能启动。When Avg_Rate_Camera>120Kbps-△1, the remote driving function is activated.
其中,120Kbps-△1为业务启动触发最低速率;△1为摄像头分辨率为192*144,中码率条件下的速率抖动下限。表4是摄像头标准速率表,速率抖动下限取值为同等清晰度条件下中码率标准值与低码率标准值的差值,即分辨率为192*144条件下抖动下限为60Kbps。Among them, 120Kbps-△1 is the lowest rate of service start trigger; △1 is the lower limit of the rate jitter under the condition of medium code rate of 192*144 camera resolution. Table 4 is the standard rate table of the camera. The lower limit of the rate jitter is the difference between the standard value of the medium bit rate and the standard value of the low bit rate under the condition of the same resolution, that is, the lower limit of the jitter is 60Kbps under the resolution of 192*144.
表4Table 4
Figure PCTCN2019127297-appb-000004
Figure PCTCN2019127297-appb-000004
Figure PCTCN2019127297-appb-000005
Figure PCTCN2019127297-appb-000005
本申请实施例中采用中码率的参数值为对应分辨率的标准速率值,低码率的参数值为对应分辨率的下限速率值。In the embodiment of the present application, the parameter value of the medium code rate is the standard rate value of the corresponding resolution, and the parameter value of the low code rate is the lower limit rate value of the corresponding resolution.
应理解,本申请实施例还可以采用其他码率的速率值为对应分辨率的标准速率值,也可以采用其他码率的速率值为对应分辨率的下限速率值,本申请实施例不作具体限定。It should be understood that the embodiments of the present application may also use other code rate rate values as the standard rate value of the corresponding resolution, or may use other code rate rate values as the lower limit rate value of the corresponding resolution, which is not specifically limited in the embodiment of the present application .
在806中,控制装置判断是否完成摄像头分组标定。当首次建立连接时,控制装置不对摄像头进行分组标定;当控制装置接收到远程管理系统的具体操作指令时,控制装置则根据具体的操作指令进行摄像头的分组标定。如果控制装置完成分组标定则执行807;否则执行815。In 806, the control device determines whether the camera group calibration is completed. When the connection is established for the first time, the control device does not perform group calibration of the camera; when the control device receives a specific operation instruction of the remote management system, the control device performs the group calibration of the camera according to the specific operation instruction. If the control device completes the packet calibration, execute 807; otherwise, execute 815.
在807中,控制装置判断摄像头分组标定与前一次分组标定是否有变化。如果远程管理系统发送的具体操作指令发生改变,则分组标定变化,执行808;如果远程管理系统发送的具体操作指令没有发生变化,则分组标定不变,执行813。In 807, the control device determines whether there is a change in the camera packet calibration and the previous packet calibration. If the specific operation instruction sent by the remote management system changes, the packet calibration changes, execute 808; if the specific operation instruction sent by the remote management system does not change, the packet calibration does not change, execute 813.
在808中,控制装置对分组标定后的各摄像头的分辨率进行初始化设置,初始化分辨率设置为192*144,初始速率为120Kbps,完成设置后执行809。In 808, the control device initializes the resolution of each camera after group calibration, the initial resolution is set to 192*144, the initial rate is 120Kbps, and after the setting is completed, 809 is executed.
在809中,控制装置基于第一上行总速率和各摄像头的初始速率的总和,计算剩余速率,并将第1组和第2组的摄像头进行轮询升等,分配剩余速率,直到分配完剩余速率或者摄像头分辨率达最高分辩率为止(例如,最高分辨率设置为1920×1080,码率达4Mbps)。轮询升等完成后确定第1组和第2组摄像头的分辨率,作为后续下发给摄像头的参数值,完成后执行810。In 809, the control device calculates the remaining rate based on the sum of the first uplink total rate and the initial rate of each camera, and polls the cameras of the first and second groups to increase the remaining rate until the remaining rate is allocated The rate or camera resolution reaches the highest resolution (for example, the highest resolution is set to 1920×1080, and the code rate is 4Mbps). After the polling upgrade is completed, the resolutions of the cameras in the first group and the second group are determined as the parameter values to be subsequently delivered to the cameras, and after completion, 810 is executed.
可选地,基于如表4所示的摄像头标准速率表,确定第1组和第2组摄像头的分辨率。可选地,确定同一摄像头分辨率的标准值为中码率速率值,下限值为低码率速率值。Optionally, based on the camera standard rate table as shown in Table 4, the resolutions of the cameras of the first group and the second group are determined. Optionally, the standard value for determining the resolution of the same camera is a medium code rate value, and the lower limit value is a low code rate value.
在810中,当优先级为第1组和第2组的摄像头完成轮询升等,判断是否还有剩余速率。如果有则执行811;否则执行816。In 810, when the cameras with the priority of the first group and the second group complete the polling upgrade, it is judged whether there is a remaining rate. If yes, go to 811; otherwise, go to 816.
在811中,将剩余速率轮询分配给优先级为第3组别的摄像头,直到无可用速率或者摄像头达到最高分辨率为止。轮询升等完成后确定第3组别的分辨率,作为后续下发给摄像头的参数值,完成后执行816。In 811, the remaining rate poll is assigned to the cameras of the third group until there is no available rate or the camera reaches the highest resolution. After the polling upgrade is completed, the resolution of the third group is determined as the parameter value to be subsequently issued to the camera, and after completion, 816 is performed.
在812中,当摄像头分组标定没有发生变化时,控制装置判断连续W次的第一上行总速率是否大于或者等于第二总速率。如果满足条件则执行813;否则执行818。In 812, when there is no change in the camera packet calibration, the control device determines whether the first total upstream rate for consecutive W times is greater than or equal to the second total rate. If the condition is met, go to 813; otherwise go to 818.
可选地,第二总速率为M个摄像头中每个摄像头当前分辨率对应的标准速率值之和。Optionally, the second total rate is the sum of the standard rate values corresponding to the current resolution of each camera among the M cameras.
可选地,第二总速率为M个摄像头实际传输视频报文的总上行速率。Optionally, the second total rate is the total uplink rate of the actual transmission of video packets by the M cameras.
在813中,控制装置判断所有摄像头是否达到最高分辨率。如果没有达到,则执行814;否则执行818。In 813, the control device determines whether all cameras have reached the highest resolution. If not, go to step 814; otherwise go to step 818.
在814中,当存在摄像头没有达到最高分辨率时,根据不同优先级,依次轮询进行升等,完成升等优化后,执行816。In 814, when it is found that the camera does not reach the highest resolution, according to different priorities, the polling is performed in turn to upgrade, and after the optimization of the upgrade is completed, 816 is performed.
在815中,当控制装置没有对摄像头进行分组标定时,基于摄像头平均可获得速率,查询表4,确定各摄像头的分辨率,完成后执行816。In 815, when the control device does not perform group calibration on the cameras, based on the average available rate of the cameras, the table 4 is queried to determine the resolution of each camera, and 816 is executed after completion.
可选地,同一摄像头分辨率的标准值为中码率速率值,下限值为低码率速率值,Optionally, the standard value of the resolution of the same camera is a medium rate rate value, and the lower limit value is a low rate rate value,
在816中,控制装置根据前序步骤确定的摄像头参数值以及优先级,将配置指令下发给摄像头,并执行818。In 816, the control device issues a configuration instruction to the camera according to the camera parameter value and priority determined in the previous steps, and executes 818.
在817中,当摄像头平均可获得速率低于业务启动触发最低速率(例如,120Kbps-△1)时,远程驾驶功能不启动;如果当前已经启动,则停止远程驾驶业务,完成后执行818。In 817, when the average available rate of the camera is lower than the service start trigger minimum rate (for example, 120Kbps-△1), the remote driving function is not started; if it is currently started, the remote driving service is stopped, and after completion 818 is executed.
在818中,控制装置动态优化调整摄像头分辨率流程结束。In 818, the control device dynamically optimizes and adjusts the camera resolution process.
在一些实施例中,网络设备向控制装置发送第二上行总速率,第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率。In some embodiments, the network device sends a second total uplink rate to the control device, where the second total uplink rate is the total uplink rate available to the M cameras under the control device.
当远程控制系统的操作命令不变时,根据摄像头当前实际传输视频报文的总上行速率和第二上行总速率,控制装置对摄像头分辨率轮询升。网络设备确定的第二上行总速率的方法和流程可以参考第一上行总速率,在此不再赘述。When the operation command of the remote control system does not change, the control device polls the camera resolution according to the total uplink rate and the second uplink total rate of the actual video packets currently transmitted by the camera. The method and process of the second total uplink rate determined by the network device may refer to the first total uplink rate, which will not be repeated here.
在一些实施例中,控制装置将第二上行总速率和第二总速率进行比较,第二总速率为M个摄像头中每个摄像头当前分辨率对应的标准速率值之和。当第二上行总速率大于所述第二总速率,控制装置按照M个摄像头中的每个摄像头的优先级顺序,升高M个摄像头中K个摄像头的分辨率,以使得M个摄像头占用第二上行总速率的全部速率或者M个摄像头的分辨率均达到最高分辨率,其中K为小于或者等于M的正整数。控制装置向所述K个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,K。也就是说当网络设备反馈的M个摄像头可获得的总上行速率大于M个摄像头实际用于传输视频报文的总上行速率时,控制装置认为此时网络资源充足,因此调高部分摄像头的分辨率,以便充分利用网络资源。In some embodiments, the control device compares the second total uplink rate with the second total rate, which is the sum of the standard rate values corresponding to the current resolution of each camera in the M cameras. When the second total uplink rate is greater than the second total rate, the control device increases the resolution of the K cameras among the M cameras according to the priority order of each of the M cameras, so that the M cameras occupy the first The total rate of the two uplink total rates or the resolution of the M cameras reach the highest resolution, where K is a positive integer less than or equal to M. The control device issues a jth configuration instruction to the jth camera among the K cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2... , K. That is to say, when the total uplink rate obtainable by the M cameras fed back by the network device is greater than the total uplink rate actually used by the M cameras to transmit video packets, the control device considers that the network resources are sufficient at this time, so the resolution of some cameras is increased. In order to make full use of network resources.
在另一些实施例中,控制装置将第二上行总速率和第二总速率进行比较,第二总速率为M个摄像头中每个摄像头当前分辨率对应的标准速率值之和。当第二上行总速率大于所述第二总速率,且第二上行总速率大于第二总速率的连续次数达到预设次数或者第二上行总速率大于第二总速率的时间大于预设时间时,控制装置按照M个摄像头中的每个摄像头的优先级顺序,升高M个摄像头中K个摄像头的分辨率,以使得M个摄像头占用第二上行总速率的全部速率或者M个摄像头的分辨率均达到最高分辨率,其中K为小于或者等于M的正整数。控制装置向所述K个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,K。也就是说当网络设备反馈的M个摄像头可获得的总上行速率连续多次大于M个摄像头实际用于传输视频报文的总上行速率时,控制装置才认为此时网络资源充足,因此调高部分摄像头的分辨率,这样可以避免对频繁改变摄像头分辨率。In other embodiments, the control device compares the second total uplink rate with the second total rate, where the second total rate is the sum of the standard rate values corresponding to the current resolution of each camera in the M cameras. When the second uplink total rate is greater than the second total rate, and the number of consecutive times the second uplink total rate is greater than the second total rate reaches a preset number of times or the time when the second uplink total rate is greater than the second total rate is greater than the preset time , The control device increases the resolution of the K cameras in the M cameras according to the priority order of each of the M cameras, so that the M cameras occupy the entire rate of the second uplink total rate or the resolution of the M cameras The rate reaches the highest resolution, where K is a positive integer less than or equal to M. The control device issues a jth configuration instruction to the jth camera among the K cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2... , K. That is to say, when the total upstream rate obtainable by the M cameras fed back by the network device is greater than the total upstream rate actually used by the M cameras for transmitting video packets for many times, the control device considers that the network resources are sufficient at this time, and therefore increases the The resolution of some cameras can avoid frequent changes to the camera resolution.
具体地,控制装置根据远程管理系统的操作指令对摄像头进行分组标定,并根据第二上行总速率计算各摄像头初始分辨率。例如,所有摄像头起始分辨率为192*144,速率为120Kbps。剩余速率按分辨率升等优先级顺序分组升级,还有剩余速率时再给G3组内轮询升级,最后输出各摄像头分辨率。当连续W次第二上行总速率大于或者等于第二总速率时,继续轮询升级,每次只给1个摄像头升级(慢升快降的稳健原则)。其中W为预 设次数,表征摄像头升等门限次数,单位为次,取值范围1-100,步长为1,默认为2。Specifically, the control device performs group calibration of the cameras according to the operation instruction of the remote management system, and calculates the initial resolution of each camera according to the second uplink total rate. For example, the initial resolution of all cameras is 192*144, and the rate is 120Kbps. The remaining rate is grouped and upgraded according to the priority order of the resolution. When there is a remaining rate, the G3 group is polled and upgraded, and finally the resolution of each camera is output. When the second total uplink rate is greater than or equal to the second total rate for W consecutive times, continue to poll for upgrades, and only upgrade one camera at a time (stable principle of slow rise and fast fall). Where W is the preset number of times, which represents the threshold times of camera upgrade, the unit is times, the value range is 1-100, the step is 1, and the default is 2.
第二总速率的计算公式如下:
Figure PCTCN2019127297-appb-000006
其中BR_Gxi为第x组的第i个摄像头的标准速率值。如果该组摄像头不存在,用0表示,也无速率,以此类推。
The calculation formula of the second total rate is as follows:
Figure PCTCN2019127297-appb-000006
BR_Gxi is the standard rate value of the i-th camera in the x group. If the group of cameras does not exist, it is represented by 0, and there is no rate, and so on.
图9是摄像头分辨率升等和降等的优先级顺序示例。应理解,图9所示的优先级顺序仅为示例性的,本申请实施例的摄像头分辨率升等或降等的优先级顺序还可以是任意其他可能的优先级顺序,本申请实施例不做限定。FIG. 9 is an example of the priority order of camera resolution ascending and descending. It should be understood that the priority order shown in FIG. 9 is only exemplary, and the priority order of the camera resolution increasing or decreasing may also be any other possible priority order in the embodiment of the present application. The embodiment of the present application does not Be limited.
在另一些实施例中,第二总速率为M个摄像头实际传输视频报文的总上行速率。可选地,第二总速率可以由控制装置确定。In other embodiments, the second total rate is the total uplink rate of the actual transmission of video packets by the M cameras. Alternatively, the second total rate may be determined by the control device.
当网络设备的可获得上行速率出现下滑,无法保证当前摄像头传输速率时,控制装置将进行分组分级降等优化。When the available upstream rate of the network equipment declines, and the current camera transmission rate cannot be guaranteed, the control device will perform optimizations such as packet grade reduction.
在一些实施例中,控制装置将第二上行总速率和第三总速率进行比较,第三总速率为当前M个摄像头中每个摄像头当前分辨率对应的下限速率值之和。当第二上行总速率小于第三总速率时,控制装置按照所述M个摄像头中的每个摄像头的优先级顺序,降低M个摄像头中Q个摄像头的分辨率,以使得M个摄像头对应的总上行速率小于或者等于第三总速率,其中Q为小于或者等于M的正整数。控制装置向所述Q个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,Q。也就是说当网络设备反馈的M个摄像头可获得的总上行速率小于M个摄像头中每一个摄像头对应的最小上行速率之和时,控制装置认为此时网络资源紧张,因此降低部分摄像头的分辨率,以便保障关键摄像头的视频报文正确传输。In some embodiments, the control device compares the second total uplink rate with a third total rate, which is the sum of the lower limit rate values corresponding to the current resolution of each camera in the current M cameras. When the second total uplink rate is less than the third total rate, the control device reduces the resolution of the Q cameras among the M cameras according to the priority order of each of the M cameras, so that the M cameras correspond to The total upstream rate is less than or equal to the third total rate, where Q is a positive integer less than or equal to M. The control device issues a jth configuration instruction to the jth camera among the Q cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2... , Q. That is to say, when the total uplink rate obtainable by the M cameras fed back by the network device is less than the sum of the minimum uplink rate corresponding to each camera in the M cameras, the control device considers that the network resources are tight at this time, and therefore reduces the resolution of some cameras , In order to ensure the correct transmission of video packets of key cameras.
在另一些实施例中,控制装置将第二上行总速率和第三总速率进行比较,第三总速率为当前M个摄像头中每个摄像头当前分辨率对应的下限速率值之和。当第二上行总速率小于第三总速率,且第二上行总速率小于第三总速率的连续次数达到预设次数或者第二上行总速率小于第三总速率的时间大于预设时间时,控制装置按照所述M个摄像头中的每个摄像头的优先级顺序,降低M个摄像头中Q个摄像头的分辨率,以使得M个摄像头对应的总上行速率小于或者等于第三总速率,其中Q为小于或者等于M的正整数。控制装置向所述Q个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,Q。也就是说当网络设备反馈的M个摄像头可获得的总上行速率连续多次小于M个摄像头中每一个摄像头对应的最小上行速率之和时,控制装置认为此时网络资源紧张,因此降低部分摄像头的分辨率,这样可以避免对频繁改变摄像头分辨率。In other embodiments, the control device compares the second total uplink rate with a third total rate, where the third total rate is the sum of the lower limit rate values corresponding to the current resolution of each camera in the current M cameras. When the second total uplink rate is less than the third total rate, and the number of consecutive times when the second uplink total rate is less than the third total rate reaches a preset number of times or the time when the second uplink total rate is less than the third total rate is greater than the preset time, control The device reduces the resolution of the Q cameras among the M cameras according to the priority order of each of the M cameras, so that the total upstream rate corresponding to the M cameras is less than or equal to the third total rate, where Q is Positive integer less than or equal to M. The control device issues a jth configuration instruction to the jth camera among the Q cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2... , Q. That is to say, when the total uplink rate obtainable by the M cameras fed back by the network device is less than the sum of the minimum uplink rate corresponding to each of the M cameras for many times, the control device considers that the network resources are tight at this time, so it reduces some cameras Resolution, so you can avoid frequent changes to the camera resolution.
在另一些实施例中,控制装置将M个摄像头实际传输视频报文的总上行速率和第三总速率进行比较。当M个摄像头实际传输视频报文的总上行速率小于第三总速率时,控制装置按照所述M个摄像头中的每个摄像头的优先级顺序,降低M个摄像头中Q个摄像头的分辨率,以使得M个摄像头对应的总上行速率小于或者等于第三总速率,其中Q为小于或者等于M的正整数。控制装置向所述Q个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,Q。也就是说当网络设备反馈的M个摄像头可获得的总上行速率连续多次小于M个摄像头中每一个摄像头对应的最小上行速率之和时,控制装置认为此时网络资源紧张,因此降低部 分摄像头的分辨率,以便保障关键摄像头的视频报文正确传输。In other embodiments, the control device compares the total uplink rate of the actual video packets transmitted by the M cameras with the third total rate. When the total uplink rate of actually transmitted video packets of the M cameras is less than the third total rate, the control device reduces the resolution of the Q cameras of the M cameras according to the priority order of each of the M cameras, So that the total upstream rate corresponding to the M cameras is less than or equal to the third total rate, where Q is a positive integer less than or equal to M. The control device issues a jth configuration instruction to the jth camera among the Q cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2... , Q. That is to say, when the total uplink rate obtainable by the M cameras fed back by the network device is less than the sum of the minimum uplink rates corresponding to each of the M cameras for many times, the control device considers that the network resources are tight at this time, so it reduces some cameras Resolution in order to ensure the correct transmission of video packets from key cameras.
在另一些实施例中,控制装置将M个摄像头实际传输视频报文的总上行速率和第三总速率进行比较。当M个摄像头实际传输视频报文的总上行速率小于第三总速率,且M个摄像头实际传输视频报文的总上行速率小于第三总速率的连续次数达到预设次数或者M个摄像头实际传输视频报文的总上行速率小于第三总速率的时间大于预设时间时,控制装置按照所述M个摄像头中的每个摄像头的优先级顺序,降低M个摄像头中Q个摄像头的分辨率,以使得M个摄像头对应的总上行速率小于或者等于第三总速率,其中Q为小于或者等于M的正整数。控制装置向所述Q个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,Q。也就是说当网络设备反馈的M个摄像头可获得的总上行速率连续多次小于M个摄像头中每一个摄像头对应的最小上行速率之和时,控制装置认为此时网络资源紧张,因此降低部分摄像头的分辨率,这样可以避免对频繁改变摄像头分辨率。In other embodiments, the control device compares the total uplink rate of the actual video packets transmitted by the M cameras with the third total rate. When the total uplink rate of the actual transmission of video packets by M cameras is less than the third total rate, and the total number of consecutive times when the actual uplink rate of the video packets transmitted by M cameras is less than the third total rate reaches the preset number of times or the actual transmission of M cameras When the time when the total upstream rate of the video packet is less than the third total rate is greater than the preset time, the control device reduces the resolution of the Q cameras among the M cameras according to the priority order of each of the M cameras, So that the total upstream rate corresponding to the M cameras is less than or equal to the third total rate, where Q is a positive integer less than or equal to M. The control device issues a jth configuration instruction to the jth camera among the Q cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2... , Q. That is to say, when the total uplink rate obtainable by the M cameras fed back by the network device is less than the sum of the minimum uplink rates corresponding to each of the M cameras for many times, the control device considers that the network resources are tight at this time, so it reduces some cameras Resolution, so you can avoid frequent changes to the camera resolution.
应理解,控制装置也可以先根据第一上行总速率和各摄像头的优先级,确定一次摄像头的分辨率,再进一步根据第一上行总速率与第二总速率、第三总速率的大小关系判断是否需要降等或升等操作,本申请实施例不做具体限定。It should be understood that the control device may also first determine the resolution of the first camera based on the first uplink total rate and the priority of each camera, and then further determine based on the relationship between the first uplink total rate and the second total rate and the third total rate Whether the operation of downgrade or upgrade is required is not specifically limited in the embodiments of the present application.
图10是控制装置动态降等优化的示意性流程图。FIG. 10 is a schematic flowchart of the optimization of the dynamic reduction of the control device.
在1001中,控制装置动态降等优化流程开始。In 1001, the optimization process such as dynamic reduction of the control device begins.
在1002中,当该用户开启网络协同多摄像头优化特性后,控制装置判断T时间内各摄像头实际传视频报文的上行速率之和是否小于第三总速率。如果小于则执行1003;否则执行1005。In 1002, after the user turns on the network cooperative multi-camera optimization feature, the control device determines whether the sum of the uplink rates of the actual video packets transmitted by the cameras in the time T is less than the third total rate. If it is less then 1003 is executed; otherwise 1005 is executed.
在1003中,控制装置按照分辨率降等优先级顺序分段(G3组和非G3组)逐级轮询下降,直到首个满足实际传输视频报文的上行速率之和大于或者等于降等后各摄像头分辨率对应的下限速率值之和为止,完成后执行1004。In 1003, the control device segments (G3 group and non-G3 group) according to the priority order of resolution downgrading until the first uplink rate satisfying the actual transmission of video packets is greater than or equal to the downgrading Up to the sum of the lower limit rate value corresponding to each camera resolution, 1004 is executed after completion.
具体地,当T时间内各摄像头实际传输视频报文的上行速率之和M个摄像头中每个摄像头当前分辨率对应的下限速率值之和时,即:Specifically, when the sum of the upstream rate of the actual transmission of video packets by each camera in T time is the sum of the lower limit rate value corresponding to the current resolution of each camera in the M cameras, that is:
Figure PCTCN2019127297-appb-000007
Figure PCTCN2019127297-appb-000007
进行分辨率降等,按分辨率降等优先级顺序分组(G3组和非G3组)逐级轮询下降,直到满足以下条件:Perform resolution downgrading, grouping (G3 group and non-G3 group) in order of priority of resolution downgrading until the following conditions are met:
Figure PCTCN2019127297-appb-000008
Figure PCTCN2019127297-appb-000008
其中,Rate_Camera_Gxi为第x组的第i个摄像头的实际传输视频报文的上行速率;T为分辨率降等判断时长参数,单位为ms,取值范围为1~60000,默认500;△为各摄像头分辨率对应的标准速率值与下限速率值的差值,可参见前文表4。Among them, Rate_Camera_Gxi is the uplink rate of the actual transmission video packet of the i-th camera of the x group; T is the resolution length and other judgment time parameters, the unit is ms, the value range is 1 to 60000, the default is 500; △ is each For the difference between the standard rate value and the lower limit rate value corresponding to the camera resolution, see Table 4 above.
采样定时器t:单位ms,默认100ms,出现实际传输视频报文的上行速率之和大于或者等于各摄像头当前分辨率对应的下限速率值之和时,T和t重启。Sampling timer t: unit ms, default 100ms, when the sum of the uplink rate of the actual transmitted video packet is greater than or equal to the sum of the lower limit rate value corresponding to the current resolution of each camera, T and t restart.
在1004中,控制装置更新摄像头分辨率参数,并下发给各摄像头,执行1005。In 1004, the control device updates the camera resolution parameter, and sends it to each camera to execute 1005.
在1005中,控制装置动态降等优化流程结束。In 1005, the optimization process such as the dynamic reduction of the control device ends.
控制装置在确定M个摄像头中每个摄像头的分辨率之后,分别向摄像头发送配置指 令,摄像头根据该配置指令重新配置分辨率。应理解,当仅有部分摄像头的分辨率发生变化时,控制装置可以向全部摄像头都发送配置指令,再由摄像头对分辨率是否发生变化进行判断,进而摄像头根据判断结果配置分辨率;或者由控制装置判断摄像头的分辨率是否发生变化,并向分辨率发生变化的摄像头发送配置指令。After determining the resolution of each of the M cameras, the control device sends configuration instructions to the cameras, and the cameras reconfigure the resolution according to the configuration instructions. It should be understood that when the resolution of only some cameras changes, the control device may send configuration commands to all cameras, and then the camera determines whether the resolution has changed, and then the camera configures the resolution according to the judgment result; or by the control The device determines whether the resolution of the camera has changed, and sends a configuration command to the camera whose resolution has changed.
当M个摄像头中至少部分摄像头的优先发生变化时,上述配置指令还可以包括摄像头的优先级。应理解,控制装置也可以单独发送配置指令,指示M个摄像头的全部或者部分摄像头的优先级。When the priority of at least some of the M cameras changes, the above configuration instruction may further include the priority of the camera. It should be understood that the control device may also separately send a configuration command to indicate the priority of all or part of the M cameras.
摄像头根据控制装置发送的配置指令指示的待使用分辨率,配置分辨率,并使用重新配置的分辨率对视频进行编码。The camera configures the resolution according to the resolution to be used indicated by the configuration instruction sent by the control device, and encodes the video using the reconfigured resolution.
图11是摄像头分辨率优化的示意性流程图。FIG. 11 is a schematic flowchart of camera resolution optimization.
在1101中,摄像头分辨率优化流程开始。In 1101, the camera resolution optimization process begins.
在1102中,摄像头判断是否接收到控制装置下发的分辨率更新请求。如果收到,执行1103;否则执行1104。In 1102, the camera determines whether a resolution update request issued by the control device is received. If received, go to 1103; otherwise, go to 1104.
在1103中,摄像头根据控制装置下发的分辨率,进行分辨率更新,更新完成后执行1104。In 1103, the camera updates the resolution according to the resolution issued by the control device, and executes 1104 after the update is completed.
在1104中,摄像头分辨率优化流程结束。In 1104, the camera resolution optimization process ends.
摄像头完成分辨率更新后,插入上行保障参数,启动业务保障。After the camera completes the resolution update, insert the upstream guarantee parameters to start the business guarantee.
在一些实施例中,在摄像头向控制装置发送保障信息,该保障信息用于指示该摄像头是否请求上行速率保障以及请求保障的上行速率。当保障信息指示摄像头请求上行速率保障时,网络设备才对该摄像头的上行速率进行保障;当保障信息只是说摄像头不请求上行速率保障时,不管该摄像头请求保障的上行速率大或小、优先级高或低,网络设备都不会对其进行上行速率保障。In some embodiments, the camera sends guarantee information to the control device, where the guarantee information is used to indicate whether the camera requests upstream rate guarantee and the requested upstream rate. When the guarantee information instructs the camera to request the upstream rate guarantee, the network device only guarantees the upstream rate of the camera; when the guarantee information only says that the camera does not request the upstream rate guarantee, regardless of whether the upstream rate requested by the camera is large or small, priority High or low, the network equipment will not guarantee its upstream rate.
可选地,每个摄像头请求保障的上行速率可以均是预设上行速率(例如,预设上行速率为最高分辨率标准速率(例如,4Mbps),整个保障过程适用);此时每个摄像头的保障信息中还要携带摄像头的优先级,以便网络设备根据优先级对每个摄像头的上行速率进行保障,如果摄像头未分组,按照最低优先级插入,如果已分组,按实际优先级插入(整个保障过程适用)。这样在网络设备的资源紧张时,可以保障关键摄像头的视频清晰度和正确传输;在网络设备资源充足时,每个摄像头均可以上传清晰度最高的视频,有利于充分利用网络资源。Optionally, the uplink rate requested by each camera to be guaranteed may be the preset uplink rate (for example, the preset uplink rate is the highest resolution standard rate (for example, 4Mbps), and the entire guarantee process applies); The security information should also carry the priority of the camera, so that the network device can guarantee the upstream rate of each camera according to the priority. If the camera is not grouped, it is inserted according to the lowest priority, if it is grouped, it is inserted according to the actual priority (the entire guarantee Process applies). In this way, when the resources of the network equipment are tight, the video clarity and correct transmission of the key cameras can be guaranteed; when the network equipment resources are sufficient, each camera can upload the video with the highest resolution, which is beneficial to make full use of the network resources.
可选地,每个摄像头请求保障的上行速率可以是当前分辨率下的标准速率值,这样可以更好的适应网络设备的资源的变化,提高视频报文传输的可靠性。Optionally, the uplink rate requested by each camera to be guaranteed may be the standard rate value at the current resolution, which can better adapt to changes in resources of network devices and improve the reliability of video packet transmission.
可选地,保障信息可以通过单独的消息发送。Alternatively, the guarantee information can be sent through a separate message.
可选地,保障信息可以携带在向网络设备发送的视频报文中。Optionally, the guarantee information may be carried in the video message sent to the network device.
例如,保障信息可以携带在TCP报文或IP报文的选项字段中。以TCP报文为例表2示出了选项字段的格式。其中保留位可以取值为0000。For example, the guarantee information may be carried in the option field of the TCP message or the IP message. Taking the TCP message as an example, Table 2 shows the format of the option field. The reserved bits can take the value 0000.
图12是摄像头业务保障的示意性流程图。12 is a schematic flowchart of camera service guarantee.
在1201中,摄像头业务保障流程开始。In 1201, the camera business assurance process begins.
在1202中,摄像头启动编码前的准备工作,获取从控制装置下发的最新分辨率和优先级,完成后执行1203。In 1202, the camera starts the preparation work before encoding, obtains the latest resolution and priority issued from the control device, and executes 1203 after completion.
在1203中,摄像头判断分辨率和优先级是否合法。如果合法,则执行1204;如果分辨率或优先级为空,则执行1205。In 1203, the camera judges whether the resolution and priority are legal. If it is legal, go to 1204; if the resolution or priority is empty, go to 1205.
在1204中,摄像头按照分辨率对输出的视频进行编码,完成后执行1206。In 1204, the camera encodes the output video according to the resolution, and after completion, executes 1206.
在1205中,当控制装置下发的分辨率或优先级是为空时,摄像头按照最低分辨率进行编码,相应的优先级也为最低优先级,完成执行1206。In 1205, when the resolution or priority issued by the control device is empty, the camera encodes according to the lowest resolution, the corresponding priority is also the lowest priority, and execution 1206 is completed.
在1206中,根据控制装置下发的摄像头的分组(即优先级),设置摄像头的保障优先级,请求保障的上行速率设置为最高分辩率标准速率值,在视频包的包头中插入上行速率保障选项字段,完成后执行1207。In 1206, according to the camera grouping (that is, priority) issued by the control device, set the security priority of the camera, set the upstream rate requested to be guaranteed to the highest resolution standard rate value, and insert the upstream rate guarantee in the video packet header Option field, execute 1207 after completion.
在1207中,摄像头业务保障流程结束。In 1207, the camera service guarantee process ends.
摄像头向网络设备发送视频报文,可以是摄像头直接向网络设备发送视频报文,也可以是摄像头发送给控制装置,再由控制装置发送给网络设备,本申请实施例不作具体限定。The camera sends a video message to the network device. The camera may directly send the video message to the network device, or the camera may send the video message to the control device, and then the control device sends the video message to the network device, which is not specifically limited in the embodiments of the present application.
图13是本申请实施例的远程驾驶业务的整体流程的示意图。FIG. 13 is a schematic diagram of the overall flow of a remote driving business according to an embodiment of the present application.
通过车载的多摄像头,采集车端的视频信息,并通过车载控制装置处理和无线通信网络传输,实现远端驾驶侧的实时呈现,并通过远端驾驶员的操作完成车辆的远程控制。采用网络协同和多摄像头分组标定优化方案后,可以基于网络实时可获得速率进行摄像头参数动态调整,同时进行专有保障后,业务的可靠性得到明显提升,有利于该类业务的快速规模应用;控制单元针对不同的操作命令,对多摄像头进行针对性的分组和管理,对多视频管理更加精细化,合理高效利用无线传输资源,提高了业务的经济性。Through the vehicle's multi-camera, the vehicle's video information is collected and processed by the vehicle's control device and wireless communication network transmission to realize the real-time presentation of the remote driving side, and the remote control of the vehicle is completed by the operation of the remote driver. After adopting the network coordination and multi-camera group calibration optimization scheme, the camera parameters can be dynamically adjusted based on the network real-time available rate. At the same time, after the exclusive guarantee, the reliability of the service is significantly improved, which is conducive to the rapid scale application of such services; The control unit performs targeted grouping and management of multiple cameras according to different operation commands, makes finer management of multiple videos, rationally and efficiently uses wireless transmission resources, and improves the economics of services.
此外,相较传统专网形式,本申请实施例直接利用现有公网资源,更易部署实施。In addition, compared with the traditional private network form, the embodiments of the present application directly utilize the existing public network resources, which is easier to deploy and implement.
上文详细描述了本申请实施的控制摄像头的方法,下面结合图14至图19,对本申请实施例的装置进行详细描述。The method for controlling the camera implemented in the present application is described in detail above, and the device in the embodiment of the present application will be described in detail below with reference to FIGS. 14 to 19.
图14是根据本申请实施例的控制装置的示意性结构图。如图14所示,控制装置1400包括接收模块1401、发送模块1402和处理模块1403。14 is a schematic structural diagram of a control device according to an embodiment of the present application. As shown in FIG. 14, the control device 1400 includes a receiving module 1401, a sending module 1402, and a processing module 1403.
接收模块1401,用于接收网络设备发送的第一上行总速率,所述第一上行总速率为所述控制装置下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数。The receiving module 1401 is configured to receive a first total uplink rate sent by a network device, where the first total uplink rate is a total uplink rate obtainable by M cameras under the control device, and M is an integer greater than or equal to 2.
处理模块1403,用于根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率。The processing module 1403 is configured to determine the resolution to be used for each of the M cameras according to the first total uplink rate and the priority of each of the M cameras.
处理模块1403,还用于所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令,所述第i配置指令用于指示所述第i摄像头的所述待使用的分辨率,其中i=1,2…,M。The processing module 1403 is further used by the control device to issue an i-th configuration instruction to the i-th camera among the M cameras, the i-th configuration instruction is used to indicate the resolution to be used of the i-th camera Rate, where i=1, 2..., M.
接收模块1401可以由接收器实现。处理模块1403可以由处理器实现。接收模块1401和处理模块1403的具体功能和有益效果可以参见图4所示的方法的相关描述,在此就不再赘述。The receiving module 1401 may be implemented by a receiver. The processing module 1403 may be implemented by a processor. For the specific functions and beneficial effects of the receiving module 1401 and the processing module 1403, reference may be made to the relevant description of the method shown in FIG. 4, which will not be repeated here.
图15是根据本申请实施例的网络设备的示意性结构图。如图15所示,网络设备1500包括接收模块1501和发送模块1502。15 is a schematic structural diagram of a network device according to an embodiment of the present application. As shown in FIG. 15, the network device 1500 includes a receiving module 1501 and a sending module 1502.
发送模块1502,用于向终端设备发送第一上行总速率,所述第一上行总速率为所述终端设备下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数。The sending module 1502 is configured to send a first uplink total rate to the terminal device, where the first uplink total rate is a total uplink rate available to the M cameras under the terminal device, and M is an integer greater than or equal to 2.
接收模块1501,用于接收所述终端设备发送的所述M个摄像头中第i摄像头的保障信息,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行 速率,其中i=1,2…,M。The receiving module 1501 is configured to receive the security information of the i-th camera among the M cameras sent by the terminal device, and the security information is used to indicate whether the i-th camera requests uplink rate guarantee and the requested uplink rate, Where i=1, 2..., M.
所述接收模块1501,还用于接收来自所述M个摄像头的视频报文。The receiving module 1501 is also used to receive video packets from the M cameras.
所述发送模块1502,还用于根据所述保障信息,向远程管理系统发送至少部分所述视频报文。The sending module 1502 is further configured to send at least part of the video message to the remote management system according to the security information.
接收模块1501可以由接收器实现。发送模块1502可以由发送器实现。接收模块1501、和发送模块1502的具体功能和有益效果可以参见图4所示的方法的相关描述,在此就不再赘述。The receiving module 1501 may be implemented by a receiver. The sending module 1502 may be implemented by a sender. For the specific functions and beneficial effects of the receiving module 1501 and the sending module 1502, reference may be made to the relevant description of the method shown in FIG. 4, which will not be repeated here.
图16是根据本申请实施例的摄像头的示意性结构图。如图16所示,摄像头1600包括发送模块1602和处理模块1603。16 is a schematic structural diagram of a camera according to an embodiment of the present application. As shown in FIG. 16, the camera 1600 includes a sending module 1602 and a processing module 1603.
处理模块1603,用于接收控制设备发送的配置指令,所述配置指令用于指示所述摄像头待使用的分辨率。The processing module 1603 is configured to receive a configuration instruction sent by the control device, where the configuration instruction is used to indicate the resolution to be used by the camera.
处理模块1603,还用于将分辨率配置成所述待使用的分辨率。The processing module 1603 is further configured to configure the resolution to the resolution to be used.
发送模块1602,用于向网络设备发送保障信息,所述保障信息用于指示所述摄像头是否请求上行速率保障以及请求保障的上行速率。The sending module 1602 is configured to send guarantee information to the network device, where the guarantee information is used to indicate whether the camera requests upstream rate guarantee and the guaranteed upstream rate.
发送模块1602可以由发送器实现。处理模块1603可以由处理器实现。发送模块1602和处理模块1603的具体功能和有益效果可以参见图4所示的方法的相关描述,在此就不再赘述。The sending module 1602 may be implemented by a sender. The processing module 1603 may be implemented by a processor. For specific functions and beneficial effects of the sending module 1602 and the processing module 1603, reference may be made to the related description of the method shown in FIG. 4, and details are not described herein again.
图17是本申请另一实施例提供的控制装置的示意性结构图。如图17所示,控制装置1700包括收发器1701、处理器1702、存储器1703。17 is a schematic structural diagram of a control device provided by another embodiment of the present application. As shown in FIG. 17, the control device 1700 includes a transceiver 1701, a processor 1702, and a memory 1703.
图17中仅示出了一个存储器和处理器。在实际的控制装置产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限制。Only one memory and processor are shown in FIG. In actual control device products, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or storage device. The memory may be set independently of the processor, or may be integrated with the processor, which is not limited in the embodiments of the present application.
收发器1701、处理器1702、存储器1703之间通过内部连接通路互相通信,传递控制和/或数据信号The transceiver 1701, the processor 1702, and the memory 1703 communicate with each other through an internal connection path, and transfer control and/or data signals
具体地,收发器1701,用于接收网络设备发送的第一上行总速率,所述第一上行总速率为所述控制装置下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数。Specifically, the transceiver 1701 is configured to receive a first uplink total rate sent by a network device, where the first uplink total rate is a total uplink rate obtainable by M cameras under the control device, and M is greater than or equal to 2. Integer.
处理器1702,用于根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率。The processor 1702 is configured to determine a resolution to be used for each of the M cameras according to the first total uplink rate and the priority of each of the M cameras.
处理器1702,还用于所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令,所述第i配置指令用于指示所述第i摄像头的所述待使用的分辨率,其中i=1,2…,M。The processor 1702 is further used for the control device to issue an i-th configuration instruction to the i-th camera among the M cameras, the i-th configuration instruction is used to instruct the resolution of the i-th camera to be used Rate, where i=1, 2..., M.
控制装置1700的具体工作过程和有益效果可以参见图4所示实施例中的描述。The specific working process and beneficial effects of the control device 1700 can be referred to the description in the embodiment shown in FIG. 4.
图18是本申请另一实施例提供的网络设备的示意性结构图。如图18所示,网络设备1800包括收发器1801、处理器1802、存储器1803。18 is a schematic structural diagram of a network device provided by another embodiment of the present application. As shown in FIG. 18, the network device 1800 includes a transceiver 1801, a processor 1802, and a memory 1803.
图18中仅示出了一个存储器和处理器。在实际的网络设备产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限制。Only one memory and processor are shown in FIG. In actual network equipment products, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or storage device. The memory may be set independently of the processor, or may be integrated with the processor, which is not limited in the embodiments of the present application.
收发器1801、处理器1802、存储器1803之间通过内部连接通路互相通信,传递控制和/或数据信号。The transceiver 1801, the processor 1802, and the memory 1803 communicate with each other through an internal connection path, and transfer control and/or data signals.
具体地,收发器1801用于向终端设备发送第一上行总速率,所述第一上行总速率为所述终端设备下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;用于接收所述终端设备发送的所述M个摄像头中第i摄像头的保障信息,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率,其中i=1,2…,M;用于接收来自所述M个摄像头的视频报文;还用于根据所述保障信息,向远程管理系统发送至少部分所述视频报文。Specifically, the transceiver 1801 is configured to send a first uplink total rate to the terminal device, where the first uplink total rate is the total uplink rate available to the M cameras under the terminal device, and M is an integer greater than or equal to 2. ; Used to receive the security information of the i-th camera among the M cameras sent by the terminal device, the security information is used to indicate whether the i-th camera requests uplink rate guarantee and the requested uplink rate, where i= 1, 2, ..., M; used to receive video messages from the M cameras; also used to send at least part of the video messages to a remote management system based on the security information.
控制装置1800的具体工作过程和有益效果可以参见图4所示实施例中的描述。The specific working process and beneficial effects of the control device 1800 can be referred to the description in the embodiment shown in FIG. 4.
图19是本申请另一实施例提供的摄像头的示意性结构图。如图19所示,摄像头1900包括收发器1901、处理器1902、存储器1903。19 is a schematic structural diagram of a camera provided by another embodiment of the present application. As shown in FIG. 19, the camera 1900 includes a transceiver 1901, a processor 1902, and a memory 1903.
图19中仅示出了一个存储器和处理器。在实际的摄像头产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限制。Only one memory and processor are shown in FIG. In actual camera products, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or storage device. The memory may be set independently of the processor, or may be integrated with the processor, which is not limited in the embodiments of the present application.
收发器1901、处理器1902、存储器1903之间通过内部连接通路互相通信,传递控制和/或数据信号。The transceiver 1901, the processor 1902, and the memory 1903 communicate with each other through an internal connection path, and transfer control and/or data signals.
具体地,处理器1903,用于接收控制设备发送的配置指令,所述配置指令用于指示所述摄像头待使用的分辨率;还用于将分辨率配置成所述待使用的分辨率。Specifically, the processor 1903 is configured to receive a configuration instruction sent by the control device, where the configuration instruction is used to indicate the resolution to be used by the camera; and also to configure the resolution to the resolution to be used.
收发器1901,用于向网络设备发送保障信息,所述保障信息用于指示所述摄像头是否请求上行速率保障以及请求保障的上行速率。The transceiver 1901 is used to send guarantee information to a network device, where the guarantee information is used to indicate whether the camera requests an upstream rate guarantee and a guaranteed upstream rate.
控制装置1900的具体工作过程和有益效果可以参见图4所示实施例中的描述。The specific working process and beneficial effects of the control device 1900 can be referred to the description in the embodiment shown in FIG. 4.
本申请各实施例所述的收发器也可以称为收发单元、收发机、收发装置等。处理器也可以称为处理单元,处理单板,处理模块、处理装置等。可选的,可以将收发器中用于实现接收功能的器件视为接收单元,将收发器中用于实现发送功能的器件视为发送单元,即收发器包括接收单元和发送单元。接收单元有时也可以称为接收机、接收器、或接收电路等。发送单元有时也可以称为发射机、发射器或者发射电路等。The transceiver described in the embodiments of the present application may also be referred to as a transceiver unit, a transceiver, a transceiver device, and the like. The processor may also be called a processing unit, a processing board, a processing module, a processing device, and the like. Optionally, the device used to implement the receiving function in the transceiver may be regarded as a receiving unit, and the device used to implement the transmitting function in the transceiver may be regarded as a transmitting unit, that is, the transceiver includes a receiving unit and a transmitting unit. The receiving unit may sometimes be referred to as a receiver, receiver, or receiving circuit. The sending unit may sometimes be called a transmitter, a transmitter, or a transmitting circuit.
本申请各实施例所述的存储器用于存储处理器运行所需的计算机指令和参数。The memories described in the embodiments of the present application are used to store computer instructions and parameters required for the operation of the processor.
本申请各实施例所述的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。本申请各实施例所述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述方法的步骤。The processor described in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The processors described in the embodiments of the present application may be general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), and field programmable gate arrays. , FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor. Software modules may be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. Storage media. The storage medium is located in the memory, and the processor reads the instructions in the memory and combines the hardware to complete the steps of the above method.
本申请实施例还提供了一种摄像头管理系统,所述系统包括如图14所示的控制装置、如图15所示的网络设备以及至少两个如图16所示的摄像头。An embodiment of the present application further provides a camera management system. The system includes a control device shown in FIG. 14, a network device shown in FIG. 15, and at least two cameras shown in FIG. 16.
在本申请的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute the implementation process of the embodiments of this application Any limitation.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其他任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如数字视频光盘(digital video disc,DVD))、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available medium integrated servers, data centers, and the like. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital video disc (DVD)), or semiconductor media (eg, solid state disk (SSD)), etc. .
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Persons of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而 前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (26)

  1. 一种用于控制摄像头的方法,其特征在于,包括:A method for controlling a camera, characterized in that it includes:
    控制装置接收网络设备发送的第一上行总速率,所述第一上行总速率为所述控制装置下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;The control device receives the first total uplink rate sent by the network device, where the first total uplink rate is the total uplink rate available to the M cameras under the control device, and M is an integer greater than or equal to 2;
    所述控制装置根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率;The control device determines the resolution to be used of each of the M cameras according to the first total uplink rate and the priority of each of the M cameras;
    所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令,所述第i配置指令用于指示所述第i摄像头的所述待使用的分辨率,其中i=1,2…,M。The control device issues an i-th configuration instruction to the i-th camera among the M cameras, the i-th configuration instruction is used to indicate the resolution to be used of the i-th camera, where i=1, 2..., M.
  2. 根据权利要求1所述的方法,其特征在于,在所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令之后,所述方法还包括:The method according to claim 1, wherein after the control device issues the i-th configuration command to the i-th camera among the M cameras, the method further comprises:
    所述控制装置获取所述第i个摄像头的保障信息,并将所述保障信息发送给所述网络设备,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率。The control device obtains the security information of the i-th camera and sends the security information to the network device, where the security information is used to indicate whether the i-th camera requests uplink rate guarantee and the requested uplink rate.
  3. 根据权利要求2所述的方法,其特征在于,所述保障信息还包括所述第i摄像头的优先级。The method according to claim 2, wherein the security information further includes the priority of the i-th camera.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,在所述控制装置根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein the control device determines the M based on the first total uplink rate and the priority of each of the M cameras Before the resolution of each camera in each camera is to be used, the method further includes:
    所述控制装置接收来自远程管理系统的操作指令;The control device receives operation instructions from the remote management system;
    所述控制装置根据所述操作指令,确定所述M个摄像头中每个摄像头的优先级;The control device determines the priority of each of the M cameras according to the operation instruction;
    所述配置指令还包括所述第i摄像头的优先级。The configuration instruction also includes the priority of the i-th camera.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,在所述控制装置接收所述第一上行总速率之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein before the control device receives the first total uplink rate, the method further comprises:
    所述控制装置向所述网络设备发送请求信息,所述请求信息用于请求所述第一上行总速率。The control apparatus sends request information to the network device, where the request information is used to request the first total uplink rate.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    所述控制装置接收第二上行总速率,所述第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率;The control device receives a second total uplink rate, and the second total uplink rate is the total uplink rate available to the M cameras under the control device;
    所述控制装置将所述第二上行总速率和第二总速率进行比较,所述第二总速率为所述M个摄像头中每个摄像头当前分辨率对应的标准速率值之和;The control device compares the second total uplink rate with a second total rate, where the second total rate is the sum of the standard rate values corresponding to the current resolution of each of the M cameras;
    当所述第二上行总速率大于所述第二总速率,且所述第二上行总速率大于所述第二总速率的连续次数达到预设次数时,所述控制装置按照所述M个摄像头中的每个摄像头的优先级顺序,升高所述M个摄像头中K个摄像头的分辨率,以使得所述M个摄像头占用所述第二上行总速率的全部速率或者所述M个摄像头的分辨率均达到最高分辨率,其中K为小于或者等于M的正整数;When the second total uplink rate is greater than the second total rate, and the number of consecutive times that the second total uplink rate is greater than the second total rate reaches a preset number of times, the control device is based on the M cameras The priority order of each camera in, increases the resolution of K cameras in the M cameras, so that the M cameras occupy the entire rate of the second uplink total rate or the M cameras The resolution reaches the highest resolution, where K is a positive integer less than or equal to M;
    所述控制装置向所述K个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,K。The control device issues a jth configuration instruction to a jth camera among the K cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2..., K.
  7. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    所述控制装置接收第二上行总速率,所述第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率;The control device receives a second total uplink rate, and the second total uplink rate is the total uplink rate available to the M cameras under the control device;
    所述控制装置将所述第二上行总速率和第三总速率进行比较,所述第三总速率为当前所述M个摄像头中每个摄像头当前分辨率对应的下限速率值之和;The control device compares the second total uplink rate with a third total rate, where the third total rate is the sum of the lower limit rate values corresponding to the current resolution of each of the M cameras.
    当所述第二上行总速率小于所述第三总速率时,所述控制装置按照所述M个摄像头中的每个摄像头的优先级顺序,降低所述M个摄像头中Q个摄像头的分辨率,以使得所述M个摄像头对应的的总上行速率小于或者等于所述第三总速率,其中Q为小于或者等于M的正整数;When the second total uplink rate is less than the third total rate, the control device reduces the resolution of the Q cameras of the M cameras according to the priority order of each of the M cameras , So that the total uplink rate corresponding to the M cameras is less than or equal to the third total rate, where Q is a positive integer less than or equal to M;
    所述控制装置向所述Q个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,Q。The control device issues a jth configuration instruction to a jth camera among the Q cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, where j=1, 2..., Q.
  8. 一种用于控制摄像头的方法,其特征在于,包括:A method for controlling a camera, characterized in that it includes:
    网络设备向终端设备发送第一上行总速率,所述第一上行总速率为所述终端设备下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;The network device sends a first total uplink rate to the terminal device, where the first total uplink rate is the total uplink rate available to the M cameras under the terminal device, and M is an integer greater than or equal to 2;
    所述网络设备接收所述终端设备发送的所述M个摄像头中第i摄像头的保障信息,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率,其中i=1,2…,M;The network device receives the security information of the i-th camera among the M cameras sent by the terminal device, and the security information is used to indicate whether the i-th camera requests uplink rate guarantee and the requested uplink rate, where i =1, 2..., M;
    所述网络设备接收来自所述M个摄像头的视频报文;The network device receives video packets from the M cameras;
    所述网络设备根据所述保障信息,向远程管理系统发送至少部分所述视频报文。The network device sends at least part of the video message to the remote management system according to the security information.
  9. 根据权利要求8所述的方法,其特征在于,所述保障信息还包括所述第i摄像头的优先级;The method according to claim 8, wherein the security information further includes the priority of the i-th camera;
    所述网络设备根据所述保障信息,向远程管理系统发送至少部分所述视频报文,包括:The network device sends at least part of the video message to the remote management system according to the security information, including:
    当所述保障参数指示所述第i摄像头请求上行速率保障时,所述网络设备根据所述第i摄像头请求保障的上行速率和所述第i摄像头的优先级,向远程管理系统发送所述至少部分所述视频报文。When the guarantee parameter indicates that the i-th camera requests an upstream rate guarantee, the network device sends the at least the at least the i-th camera requested guaranteed upstream rate and the priority of the i-th camera to the remote management system. Part of the video message.
  10. 根据权利要求8或9所述的方法,其特征在于,所述方法还包括:The method according to claim 8 or 9, wherein the method further comprises:
    所述网络设备接收所述终端设备发送的请求信息,所述请求信息用于请求所述第一上行总速率。The network device receives request information sent by the terminal device, where the request information is used to request the first total uplink rate.
  11. 根据权利要求8至10中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8 to 10, wherein the method further comprises:
    所述网络设备向所述终端设备发送第二上行总速率。The network device sends a second total uplink rate to the terminal device.
  12. 一种用于控制摄像头的方法,其特征在于,包括:A method for controlling a camera, characterized in that it includes:
    摄像头接收控制设备发送的配置指令,所述配置指令用于指示所述摄像头待使用的分辨率;The camera receives a configuration instruction sent by the control device, where the configuration instruction is used to indicate the resolution to be used by the camera;
    所述摄像头将分辨率配置成所述待使用的分辨率;The camera configures the resolution to the resolution to be used;
    所述摄像头向网络设备发送保障信息,所述保障信息用于指示所述摄像头是否请求上行速率保障以及请求保障的上行速率。The camera sends guarantee information to a network device, where the guarantee information is used to indicate whether the camera requests upstream rate guarantee and the guaranteed upstream rate.
  13. 根据权利要求12所述的方法,其特征在于,所述保障信息还包括所述摄像头的优先级。The method according to claim 12, wherein the security information further includes the priority of the camera.
  14. 一种控制装置,其特征在于,包括:A control device, characterized in that it includes:
    接收模块,用于接收网络设备发送的第一上行总速率,所述第一上行总速率为所述控制装置下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;The receiving module is configured to receive a first total uplink rate sent by a network device, where the first total uplink rate is a total uplink rate obtainable by M cameras under the control device, and M is an integer greater than or equal to 2;
    处理模块,用于根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率;A processing module, configured to determine the resolution to be used of each of the M cameras according to the first total uplink rate and the priority of each of the M cameras;
    所述处理模块,还用于所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令,所述第i配置指令用于指示所述第i摄像头的所述待使用的分辨率,其中i=1,2…,M。The processing module is further used by the control device to issue an i-th configuration instruction to the i-th camera among the M cameras, the i-th configuration instruction is used to indicate the to-be-used Resolution, where i=1, 2..., M.
  15. 根据权利要求14所述的控制装置,其特征在于,所述处理模块还用于:The control device according to claim 14, wherein the processing module is further configured to:
    在所述控制装置向所述M个摄像头中的第i摄像头下发第i配置指令之后,获取所述第i个摄像头的保障信息;After the control device issues the i-th configuration command to the i-th camera among the M cameras, obtain the security information of the i-th camera;
    所述发送模块,还用于将所述保障信息发送给所述网络设备,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率。The sending module is further configured to send the guarantee information to the network device, and the guarantee information is used to indicate whether the i-th camera requests an upstream rate guarantee and a guaranteed upstream rate.
  16. 根据权利要求15所述的控制装置,其特征在于,所述保障信息还包括所述第i摄像头的优先级。The control device according to claim 15, wherein the security information further includes a priority of the i-th camera.
  17. 根据权利要求14至16中任一项所述的控制装置,其特征在于,所述接收模块还用于:The control device according to any one of claims 14 to 16, wherein the receiving module is further used to:
    在所述控制装置根据所述第一上行总速率和所述M个摄像头中每个摄像头的优先级,确定所述M个摄像头中每个摄像头的待使用的分辨率之前,接收来自远程管理系统的操作指令;Before the control device determines the resolution to be used for each of the M cameras according to the first total uplink rate and the priority of each of the M cameras, receiving Operating instructions;
    所述处理模块,还用于根据所述操作指令,确定所述M个摄像头中每个摄像头的优先级;The processing module is further configured to determine the priority of each of the M cameras according to the operation instruction;
    所述配置指令还包括所述第i摄像头的优先级。The configuration instruction also includes the priority of the i-th camera.
  18. 根据权利要求14至17中任一项所述的控制装置,其特征在于,所述发送模块还用于:The control device according to any one of claims 14 to 17, wherein the sending module is further configured to:
    在所述控制装置接收所述第一上行总速率之前,向所述网络设备发送请求信息,所述请求信息用于请求所述第一上行总速率。Before receiving the first total uplink rate, the control apparatus sends request information to the network device, where the request information is used to request the first total uplink rate.
  19. 根据权利要求14至18中任一项所述的控制装置,其特征在于,所述接收模块还用于:The control device according to any one of claims 14 to 18, wherein the receiving module is further configured to:
    接收第二上行总速率,所述第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率;Receiving a second total uplink rate, where the second total uplink rate is the total uplink rate available to the M cameras under the control device;
    所述处理模块,还用于将所述第二上行总速率和第二总速率进行比较,所述第二总速率为所述M个摄像头中每个摄像头当前分辨率对应的标准速率值之和;The processing module is further configured to compare the second total uplink rate with a second total rate, the second total rate being the sum of the standard rate values corresponding to the current resolution of each of the M cameras ;
    当所述第二上行总速率大于所述第二总速率,且所述第二上行总速率大于所述第二总速率的连续次数达到预设次数时,按照所述M个摄像头中的每个摄像头的优先级顺序,升高所述M个摄像头中K个摄像头的分辨率,以使得所述M个摄像头占用所述第二上行总速率的全部速率或者所述M个摄像头的分辨率均达到最高分辨率,其中K为小于或者等于M的正整数;When the second total uplink rate is greater than the second total rate, and the number of consecutive times that the second total uplink rate is greater than the second total rate reaches a preset number of times, according to each of the M cameras The priority order of the cameras, increasing the resolution of K cameras among the M cameras, so that the M cameras occupy the entire rate of the second uplink total rate or the resolution of the M cameras reaches The highest resolution, where K is a positive integer less than or equal to M;
    所述处理模块,还用于向所述K个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,K。The processing module is further configured to issue a jth configuration instruction to a jth camera among the K cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, wherein j=1, 2..., K.
  20. 根据权利要求14至18中任一项所述的控制装置,其特征在于,所述接收模块还用于:The control device according to any one of claims 14 to 18, wherein the receiving module is further configured to:
    接收第二上行总速率,所述第二上行总速率为所述控制装置下的M个摄像头可获得的总上行速率;Receiving a second total uplink rate, where the second total uplink rate is the total uplink rate available to the M cameras under the control device;
    所述处理模块,还用于将所述第二上行总速率和第三总速率进行比较,所述第三总速率为当前所述M个摄像头中每个摄像头当前分辨率对应的下限速率值之和;The processing module is further configured to compare the second total uplink rate with a third total rate, the third total rate being the lower limit rate value corresponding to the current resolution of each of the M cameras with;
    当所述第二上行总速率小于所述第三总速率时,按照所述M个摄像头中的每个摄像头的优先级顺序,降低所述M个摄像头中Q个摄像头的分辨率,以使得所述M个摄像头对应的的总上行速率小于或者等于所述第三总速率,其中Q为小于或者等于M的正整数;When the second total uplink rate is less than the third total rate, according to the priority order of each of the M cameras, the resolution of the Q cameras in the M cameras is reduced, so that The total uplink rate corresponding to the M cameras is less than or equal to the third total rate, where Q is a positive integer less than or equal to M;
    所述处理模块,还用于向所述Q个摄像头中的第j摄像头下发第j配置指令,所述第j配置指令用于指示所述第j摄像头的所述待使用的分辨率,其中j=1,2…,Q。The processing module is further configured to issue a jth configuration instruction to a jth camera among the Q cameras, the jth configuration instruction is used to indicate the resolution to be used of the jth camera, wherein j=1, 2..., Q.
  21. 一种网络设备,其特征在于,包括:A network device, characterized in that it includes:
    发送模块,用于向终端设备发送第一上行总速率,所述第一上行总速率为所述终端设备下的M个摄像头可获得的总上行速率,M为大于或者等于2的整数;A sending module, configured to send a first total uplink rate to the terminal device, where the first total uplink rate is the total uplink rate available to the M cameras under the terminal device, and M is an integer greater than or equal to 2;
    接收模块,用于接收所述终端设备发送的所述M个摄像头中第i摄像头的保障信息,所述保障信息用于指示所述第i摄像头是否请求上行速率保障以及请求保障的上行速率,其中i=1,2…,M;A receiving module, configured to receive the guarantee information of the i-th camera among the M cameras sent by the terminal device, the guarantee information is used to indicate whether the i-th camera requests an upstream rate guarantee and a guaranteed upstream rate, wherein i=1, 2..., M;
    所述接收模块,还用于接收来自所述M个摄像头的视频报文;The receiving module is also used to receive video packets from the M cameras;
    所述发送模块,还用于根据所述保障信息,向远程管理系统发送至少部分所述视频报文。The sending module is further configured to send at least part of the video message to the remote management system according to the security information.
  22. 根据权利要求21所述的网络设备,其特征在于,所述保障信息还包括所述第i摄像头的优先级;The network device according to claim 21, wherein the security information further includes the priority of the i-th camera;
    所述发送模块,具体用于当所述保障参数指示所述第i摄像头请求上行速率保障时,根据所述第i摄像头请求保障的上行速率和所述第i摄像头的优先级,向所述远程管理系统发送所述至少部分所述视频报文。The sending module is specifically configured to, when the guarantee parameter indicates that the i-th camera requests an upstream rate guarantee, according to the upstream rate requested by the i-th camera and the priority of the i-th camera, to the remote The management system sends the at least part of the video message.
  23. 根据权利要求21或22所述的网络设备,其特征在于,所述接收模块还用于:The network device according to claim 21 or 22, wherein the receiving module is further configured to:
    接收所述终端设备发送的请求信息,所述请求信息用于请求所述第一上行总速率。Receiving request information sent by the terminal device, where the request information is used to request the first total uplink rate.
  24. 根据权利要求21至23中任一项所述的网络设备,其特征在于,所述发送模块还用于:The network device according to any one of claims 21 to 23, wherein the sending module is further configured to:
    向所述终端设备发送第二上行总速率。Sending a second total uplink rate to the terminal device.
  25. 一种摄像头,其特征在于,包括:A camera, characterized in that it includes:
    处理模块,用于接收控制设备发送的配置指令,所述配置指令用于指示所述摄像头待使用的分辨率;The processing module is configured to receive a configuration instruction sent by the control device, and the configuration instruction is used to indicate the resolution to be used by the camera;
    所述处理模块,还用于将分辨率配置成所述待使用的分辨率;The processing module is further configured to configure the resolution to the resolution to be used;
    发送模块,用于向网络设备发送保障信息,所述保障信息用于指示所述摄像头是否请求上行速率保障以及请求保障的上行速率。The sending module is used to send guarantee information to the network device, where the guarantee information is used to indicate whether the camera requests upstream rate guarantee and the guaranteed upstream rate.
  26. 根据权利要求25所述的摄像头,其特征在于,所述保障信息还包括所述摄像头的优先级。The camera according to claim 25, wherein the security information further includes the priority of the camera.
PCT/CN2019/127297 2018-12-29 2019-12-23 Method for controlling camera, control device, network apparatus and camera WO2020135306A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811634908.2A CN111385463B (en) 2018-12-29 2018-12-29 Method for controlling camera, control device, network equipment and camera
CN201811634908.2 2018-12-29

Publications (1)

Publication Number Publication Date
WO2020135306A1 true WO2020135306A1 (en) 2020-07-02

Family

ID=71127664

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/127297 WO2020135306A1 (en) 2018-12-29 2019-12-23 Method for controlling camera, control device, network apparatus and camera

Country Status (2)

Country Link
CN (1) CN111385463B (en)
WO (1) WO2020135306A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104840B (en) * 2020-09-09 2022-10-04 深圳市有方科技股份有限公司 Video acquisition method and mobile baseband workstation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082947A (en) * 2009-11-26 2011-06-01 中国移动通信集团公司 Method, system and apparatus for video monitoring
CN103733680A (en) * 2011-08-12 2014-04-16 阿尔卡特朗讯 Method and apparatus for controlling wireless uplink sessions
US20160219342A1 (en) * 2013-05-23 2016-07-28 Alcatel Lucent Method and apparatus for improved network optimization for providing video from a plurality of sources to a plurality of clients
CN105898180A (en) * 2016-06-28 2016-08-24 努比亚技术有限公司 Method and terminal for optimizing video call display
CN105979218A (en) * 2016-06-13 2016-09-28 中南大学 High-definition real-time monitoring video efficient transmission method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1898707B (en) * 2003-11-18 2011-08-10 英特图形软件技术公司 Digital video surveillance
CN101123606A (en) * 2007-07-13 2008-02-13 上海广电(集团)有限公司中央研究院 AVS transmission control method based on real time transmission protocol or real time control protocol
CN101262587B (en) * 2008-03-31 2011-04-20 杭州华三通信技术有限公司 A method and multi-point control units for realizing multi-image video conference
JP2013521743A (en) * 2010-03-05 2013-06-10 トムソン ライセンシング Bit rate adjustment in adaptive streaming systems
CN102377662B (en) * 2010-08-25 2015-11-25 北京中星微电子有限公司 Towards the route-caching machinery of consultation of bandwidth adaptation and system in a kind of video monitoring
KR101043755B1 (en) * 2010-12-30 2011-06-22 (주)미래로데이타시스템 An intelligent apparatus for priority transferring monitoring video
WO2014134811A1 (en) * 2013-03-07 2014-09-12 华为技术有限公司 Method and video gateway for allocating bandwidth
CN105282484B (en) * 2014-05-27 2019-01-01 普天信息技术有限公司 Transmission of video code rate adaptive approach and device based on LTE
CN105721350B (en) * 2016-03-04 2019-11-26 深圳市共进电子股份有限公司 A kind of method and device of smart allocation bandwidth
CN107995017B (en) * 2016-10-27 2021-08-24 杭州萤石网络股份有限公司 Uplink bandwidth allocation method, device and system
CN108282286A (en) * 2017-01-05 2018-07-13 华为技术有限公司 The method and apparatus for asking resource
CN109040674B (en) * 2018-07-23 2021-01-29 华为技术有限公司 Data transmission method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082947A (en) * 2009-11-26 2011-06-01 中国移动通信集团公司 Method, system and apparatus for video monitoring
CN103733680A (en) * 2011-08-12 2014-04-16 阿尔卡特朗讯 Method and apparatus for controlling wireless uplink sessions
US20160219342A1 (en) * 2013-05-23 2016-07-28 Alcatel Lucent Method and apparatus for improved network optimization for providing video from a plurality of sources to a plurality of clients
CN105979218A (en) * 2016-06-13 2016-09-28 中南大学 High-definition real-time monitoring video efficient transmission method
CN105898180A (en) * 2016-06-28 2016-08-24 努比亚技术有限公司 Method and terminal for optimizing video call display

Also Published As

Publication number Publication date
CN111385463A (en) 2020-07-07
CN111385463B (en) 2021-12-28

Similar Documents

Publication Publication Date Title
EP3582544A1 (en) Communication method, base station, and terminal device
KR102635332B1 (en) Method and device for performing communication based on DCI in NR V2X
JP7471412B2 (en) Method and apparatus for requesting CSI in NR V2X
US20190090229A1 (en) Radio access network node, external node, and method therefor
US11792129B2 (en) Data transmission method, device and system of unmanned aerial vehicle system and ground image transmission module
CN1307755A (en) System, device, and method for initial ranging in communication network
WO2018192560A1 (en) Data transmission method and apparatus
EP3182646B1 (en) Data transmission method and device
WO2020038250A1 (en) Communication method and related device
KR20230037580A (en) Method and apparatus for selecting resources based on partial sensing in NR V2X
EP3145259B1 (en) Bearer setup apparatus and method
US20210306913A1 (en) Sidelink communications method and apparatus
KR102652147B1 (en) Method and apparatus for reporting harq feedback to base station in nr v2x
KR20220052318A (en) Method and apparatus for transmitting SCI in NR V2X
US20190075586A1 (en) Radio access network node, external node, and method therefor
WO2021088000A1 (en) Communication method and apparatus
WO2020135306A1 (en) Method for controlling camera, control device, network apparatus and camera
KR20220049562A (en) Method and apparatus for transmitting transport block in NR V2X
WO2017127989A1 (en) Control method and apparatus, and network controller
CN110933754B (en) Method, device and system for dynamically adjusting access time slot of large-scale FDMA satellite network
KR102663007B1 (en) Method and device for determining time density associated with PT-RS in NR V2X
US20210144679A1 (en) Communication method and device utilized in vehicle convoy
CN111182508B (en) LoRa communication network and communication method thereof
CN109756936B (en) Stream mapping method, stream receiving method, network device and terminal
KR20240053057A (en) Method and device for determining minimum partial sensing window length in NR V2X

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19903885

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19903885

Country of ref document: EP

Kind code of ref document: A1