Remote video scheduling method, system and server based on video encoding and decoding

Through video encoding and decoding processing between the central server and the edge server, the problem of video information transmission delay during the arrest process is solved, real-time transmission is achieved, and the coordination and command efficiency of the public security and traffic police is improved.

CN115499713BActive Publication Date: 2024-10-29SHANGHAI TONG MING INFORMATION POLYTRON TECH INC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202211074448.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-03
Publication Date
2024-10-29
Estimated Expiration
2042-09-03

AI Technical Summary

Technical Problem

During the arrest process, the transmission delay of video information made it impossible to achieve real-time transmission, affecting the coordination and command efficiency of the public security and traffic police.

Method used

Through the communication connection between the central server and multiple edge servers, it receives the task information sent by the law enforcement recorder, determines the target edge server that is closest and has a running memory that meets the standards, and encodes the video information to reduce transmission delays and achieve real-time transmission.

Benefits of technology

It improves the video transmission speed, avoids the situation of insufficient running memory of the target edge server, ensures the real-time transmission of video information, and enhances the coordination and command capabilities of the public security and traffic police.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499713B_ABST
    Figure CN115499713B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a remote video scheduling method, system and server based on video encoding and decoding, wherein the method includes: receiving task information sent by a law enforcement recorder, the task information includes the task location and the number of law enforcement recorders; determining the target area according to the task location, and obtaining the running memory information of multiple edge servers in the target area; combining the task information and the running memory information, determining the target edge server, the target edge server is the closest to the task location, and the running memory information of the target edge server meets the running standard; sending an execution instruction to the law enforcement recorder, so that the law enforcement recorder transmits the video to the target edge server for encoding to obtain the encoded video; receiving the encoded video sent by the target edge server, and decoding and displaying the encoded video. By adopting the embodiment of the present application, the delay of video information in the transmission process can be reduced, and real-time transmission can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video scheduling, and in particular to a remote video scheduling method, system and server based on video encoding and decoding. Background Art

[0002] With the development of economy and society, national security has become a strong guarantee for the healthy and sustainable development of society, and social security is an important part of national security, which is of great significance to ensuring people's peaceful and happy life, harmonious and orderly society, and long-term stability of the country. Among them, arresting fugitives is an important part of maintaining people's security and social order, and is also an important means of preventing crime and protecting human rights.

[0003] The command center integrates and utilizes the city's existing resources on the basis of the city's emergency command system, adopts modern information and other advanced technologies, and establishes a highly intelligent urban emergency system that integrates communication, command and dispatch. It plays an important role in coordinating and commanding the public security and traffic police when dealing with emergencies or arresting fugitives.

[0004] During the arrest process, multiple police officers transmit video information to the command center through law enforcement recorders. The command center uses the obtained video information to remotely command several police officers in real time. However, during the transmission of video information, the server needs to process the video information transmitted by multiple law enforcement recorders. The amount of information is large and the transmission distance is long, which causes delays in the transmission of video information and cannot achieve real-time transmission. Summary of the invention

[0005] The present application provides a remote video scheduling method, system and server based on video coding and decoding, which can reduce the delay of video information during transmission and realize real-time transmission.

[0006] The technical solution is as follows:

[0007] In a first aspect of the present application, a remote video scheduling method based on video encoding and decoding is provided, which is applied to a central server, wherein the central server is communicatively connected with a plurality of edge servers, and the method comprises:

[0008] Receiving task information sent by the law enforcement recorder, wherein the task information includes a task location and the number of law enforcement recorders;

[0009] Determine a target area according to the task location, and obtain running memory information of multiple edge servers in the target area;

[0010] Determine a target edge server by combining the task information and the running memory information, wherein the target edge server is the closest to the task location and the running memory information of the target edge server meets the running standard;

[0011] Sending an execution instruction to the law enforcement recorder so that the law enforcement recorder transmits the video to the target edge server for encoding to obtain the encoded video;

[0012] Receive the encoded video sent by the target edge server, and decode and display the encoded video.

[0013] By adopting the above technical solution, the central server matches the edge server close to the task location to encode and process the video information generated by the law enforcement recorder during the task execution, so that the video information can be processed quickly, the speed of video transmission is improved, and the delay of video information in the transmission process is reduced; by combining the task information with the running memory information, the target edge server whose running memory information meets the running standards is determined, which can effectively avoid the situation where the running memory is insufficient in the process of processing video information on the target edge server, reduce the delay of video information in the transmission process, and realize real-time transmission.

[0014] Optionally, the task information includes a task priority, and combining the task information with the running memory information to determine the target edge server includes:

[0015] Determining whether the execution of the task reaches an urgency threshold according to the task priority in the task information;

[0016] If the execution task reaches the urgency threshold, the target edge server is determined according to the task location, and the remaining running memory of the target edge server is processed according to the actual situation;

[0017] If the execution task does not reach the urgency threshold, the target edge server is determined in combination with the task location and the running memory information.

[0018] By adopting the above technical solution, it is determined whether the priority of executing the task reaches the urgency threshold. If it reaches the threshold, the target edge server is directly determined according to the task location; if it does not reach the threshold, the target edge server is determined in combination with the task location and memory information. According to the urgency of executing the task, the nearest edge server can be called as the edge server, and video information is processed preferentially.

[0019] Optionally, determining the target edge server according to the task location, and processing the remaining running memory of the target edge server according to actual conditions, includes:

[0020] Determine an edge server in the target area that is closest to the task location as a target edge server;

[0021] Obtaining the remaining running memory of the target edge server according to the running memory information;

[0022] According to the number of the law enforcement recorders, determining whether the remaining running memory supports processing the video information captured by the law enforcement recorders;

[0023] If the remaining running memory does not support processing the video information captured by the law enforcement recorder, a control instruction is sent to cause the edge server to suspend the task being executed and release the used memory.

[0024] By adopting the above technical solution, the amount of video information output by multiple law enforcement recorders is calculated in combination with the number of law enforcement recorders, and based on the amount of information, it is determined whether the remaining running memory of the target edge server can support the processing of the video information. If it does not support the control of the edge server, the task being executed is suspended and the used memory of the edge server is released to avoid insufficient running memory and achieve real-time transmission.

[0025] Optionally, the determining the edge server by combining the task information with the running memory information includes:

[0026] Determine an edge server in the target area that is closest to the task location as a standby edge server;

[0027] Obtaining the remaining running memory of the standby edge server according to the running memory information;

[0028] If the remaining running memory does not support encoding the video information captured by the law enforcement recorder, the step of determining an edge server in the target area closest to the task location other than the determined reserve edge server as the reserve edge server is continued until it is determined that an edge server closest to the task location other than the selected reserve edge server is used as the reserve edge server;

[0029] If the remaining running memory supports encoding the video information captured by the law enforcement recorder, the standby edge server is determined as the target edge server.

[0030] By adopting the above technical solution, when the task execution is not urgent, a reserve edge server is first determined, and whether to use it as the target edge server is determined by judging the remaining running memory of the reserve edge server. If the remaining running memory of the reserve edge server is insufficient to support the processing of the video information generated by the law enforcement recorder, the reserve server is reselected until it is determined that the remaining running memory of a reserve edge server can process the video information, and then it is determined as the target edge server, thereby avoiding the situation of insufficient running memory and realizing real-time transmission.

[0031] Optionally, the execution instruction includes a communication method and a control instruction, and the sending of the execution instruction to the plurality of law enforcement recorders includes:

[0032] Sending the communication method pre-stored in the target edge server to the law enforcement recorder, so that the law enforcement recorder is connected to the target edge server for communication;

[0033] Receive the successful connection information sent by the edge server, and send the control instruction to the law enforcement recorder.

[0034] By adopting the above technical solution, the law enforcement recorder can be successfully connected to the edge server.

[0035] Optionally, after receiving the encoded video sent by the target edge server and decoding and displaying the encoded video, the method further includes:

[0036] Obtaining the location of the law enforcement recorder in real time;

[0037] If the location of the law enforcement recorder exceeds the effective communication range in the target area, the step of combining the task location with the memory information to determine the target edge server is re-executed.

[0038] By adopting the above technical solution, the location of the law enforcement recorder can be obtained in real time. If the law enforcement recorder exceeds the effective communication range of the edge server in the target area, another target area is re-determined, and the target edge server in another area is determined, which can effectively prevent the interruption of video information transmission due to exceeding the target area.

[0039] Optionally, the central server further includes an embedded black box, and after receiving the encoded video sent by the target edge server and decoding and displaying the encoded video, the method further includes:

[0040] The encoded video information is stored in the embedded black box.

[0041] By adopting the above technical solution, the video information is saved in the embedded black box, so that the information can be stored more securely for subsequent investigation.

[0042] In a second aspect of the present application, a remote video scheduling system based on video encoding and decoding is provided, which is applied to a central server, and the system includes:

[0043] A task information receiving module receives task information sent by the law enforcement recorder, wherein the task information includes the task location and the number of law enforcement recorders;

[0044] A target area determination module, used to determine the target area according to the task location, and obtain the running memory information of multiple edge servers in the target area;

[0045] A target edge server determination module, used to determine a target edge server by combining the task information and the running memory information, wherein the target edge server is the closest to the task location and the running memory information of the target edge server meets the running standard;

[0046] The encoded video acquisition module is used to send an execution instruction to the law enforcement recorder so that the law enforcement recorder transmits the video to the target edge server for encoding to obtain the encoded video;

[0047] The encoded video display module is used to receive the encoded video sent by the target edge server, and decode and display the encoded video.

[0048] By adopting the above technical solution, the central server matches the edge server close to the task location to encode and process the video information generated by the law enforcement recorder during the task execution, so that the video information can be processed quickly, which improves the speed of video transmission and reduces the delay of video information in the transmission process; by combining the task information with the running memory information, it is determined whether the running memory information meets the running standards of the target edge server, which can effectively avoid the situation of insufficient running memory in the process of processing video information by the target edge server, reduce the delay of video information in the transmission process, and realize real-time transmission.

[0049] In a third aspect of the present application, a computer storage medium is provided, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above method steps.

[0050] In a fourth aspect of the present application, a server is provided, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.

[0051] In summary, the present application includes at least one of the following beneficial effects:

[0052] 1. The central server matches the edge server close to the mission location to encode the video information generated by the law enforcement recorder during the mission, so that the video information can be processed in time, the speed of video transmission is improved, and the delay of video information during transmission is reduced;

[0053] 2. By combining task information with running memory information, the target edge server whose running memory information meets the running standards is determined, which can effectively avoid the situation where the running memory is insufficient when the target edge server processes video information, reduce the delay of video information during transmission, and realize real-time transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 It is a schematic diagram of the system architecture of a remote video scheduling method based on video encoding and decoding according to an embodiment of the present application;

[0056] Figure 2 It is a flowchart of a remote video scheduling method based on video encoding and decoding provided in an embodiment of the present application;

[0057] Figure 3 It is a flowchart of another embodiment of a remote video scheduling method based on video encoding and decoding according to an embodiment of the present application;

[0058] Figure 4 It is a structural diagram of a remote video scheduling system based on video encoding and decoding provided in an embodiment of the present application;

[0059] Figure 5 It is a structural diagram of a server provided in an embodiment of the present application.

[0060] Explanation of the accompanying drawings: 1. Remote video scheduling system based on video encoding and decoding; 11. Task information receiving module; 12. Target area determination module; 13. Target edge server determination module; 14. Encoded video acquisition module; 15. Encoded video display module; 1000. Server; 1001. Processor; 1002. Communication bus; 1003. User interface; 1004. Network interface; 1005. Memory. DETAILED DESCRIPTION

[0061] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0062] In the description of the embodiments of the present application, words such as "illustrative", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "illustrative", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "illustrative", "for example" or "for example" is intended to present related concepts in a concrete way.

[0063] In the description of the embodiments of the present application, the term "and / or" is only a kind of association relationship describing the associated objects, indicating that there may be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0064] The present application is described in detail below with reference to specific embodiments.

[0065] See also Figure 1 , a schematic diagram of the system architecture of a remote video dispatching method based on video encoding and decoding provided in an embodiment of the present application, which includes at least one law enforcement recorder, which is a forensic technology equipment that integrates real-time video and audio recording, photography and recording functions and is carried by police officers when performing official duties. It integrates video recording, photography, intercom, positioning and storage functions, and can be transmitted through 4G wireless real-time video. It can summarize the law enforcement process and make dynamic and static digital records of video memory conditions, which is convenient for public security police officers to use in law enforcement in various environments. In the scenario in the embodiment of the present application, the law enforcement recorder is used as a device for collecting and transmitting video, and each of the law enforcement recorders is equipped with a video recorder.

[0066] The video recorder refers to a computer system for image storage and processing, which has the functions of long-term video recording, audio recording, remote monitoring and control of images / voices. A hard disk recorder (Digital Video Recorder, referred to as DVR) or a network video recorder (Network Video Recorder, referred to as NVR) can be used.

[0067] The law enforcement recorder is also connected to the central server, which is the core component of the computer local area network. The network operating system runs on the network server. The efficiency of the network server directly affects the efficiency of the entire network. Its main functions are: running the network operating system, controlling and coordinating the work between computers in the network, meeting the user's requirements to the maximum extent, and responding and processing; storing and managing shared resources in the network; serving the application programs of each workstation; monitoring and controlling network activities, actually managing the network, allocating system resources, understanding and adjusting the system operation status, shutting down / starting certain resources, etc. In the scenario of the embodiment of the present application, the central server is connected to at least one edge server, which is used to control and deploy the edge server to encode and compress the video generated by the law enforcement recorder.

[0068] The edge server refers to a functional device that provides users with an access channel to the network and communicates with other server devices. Usually, an edge server is a group of servers that perform a single function, which can be a firewall server, a cache server, a load balancing server, etc. For the Internet of Things, edge computing technology has made a breakthrough, and many controls will be completed through the local edge computing layer, which can improve processing efficiency and reduce the load on the cloud. Because it is closer to the user, it can also provide users with faster responses and solve the needs at the edge. In the scenario of the embodiment of the present application, the edge server is used to receive the video transmitted by the law enforcement recorder, encode the video, and send the encoded and compressed video to the central server for decoding and display.

[0069] In one embodiment, Figure 2 As shown, a flowchart of a remote video scheduling method based on video codec is proposed. The method is mainly applied to a central server, and can also be implemented by a computer program, and can also be run on a remote video scheduling system based on video codec based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.

[0070] Specifically, the remote video scheduling method based on video encoding and decoding includes:

[0071] Step 101: Receive task information sent by the law enforcement recorder, where the task information includes the task location and the number of law enforcement recorders.

[0072] Specifically, the task information includes the task location information and the number of law enforcement recorders used when performing the task, as well as the content of the task and related information. The task location in the embodiment of the present application can be understood as the police officer carrying a law enforcement recorder with him when performing the task, and the location of the law enforcement recorder is the task location. Of course, the position of the police officer is variable during the execution of the task, so the task location in the embodiment of the present application may also change at any time. The number of law enforcement recorders in the embodiment of the present application can be understood as multiple police officers may perform the task at the same time, and each police officer carries a law enforcement recorder with him, so multiple law enforcement recorders will be used during the execution of the task.

[0073] In a specific real-time scenario, when a police officer starts to perform a task, he turns on the law enforcement recorder, and the law enforcement recorder will send the task information to the central server. The task information includes the number of police officers performing the task. Since each police officer wears a law enforcement recorder, the number of law enforcement recorders can be determined. The number of law enforcement recorders can be used to estimate the amount of video information to be processed for the task.

[0074] Step 102: Determine a target area according to the task location, and obtain operating memory information of multiple edge servers in the target area.

[0075] Specifically, the target area in the embodiment of the present application can be understood as the area where the police officer carrying the law enforcement recorder is located when performing the task. The target area is determined according to the task location, that is, the target area is determined according to the location information sent by the law enforcement recorder. There are multiple connectable edge servers in the target area, and the running memory information of multiple edge servers in the target area is obtained.

[0076] The running memory information refers to the remaining memory information of the running memory, which refers to the memory required when the program is running. It can only temporarily store data for exchanging cache data with the CPU. When the computer is running, the main memory of the computer can be classified into: available physical memory and used physical memory according to its usage. In an embodiment of the present application, obtaining the running memory information of multiple edge servers in the target area can be understood as obtaining the available physical memory information in multiple edge servers, which is mainly used for subsequent judgment on whether the available physical memory information can be used to encode and process the video captured by the law enforcement recorder.

[0077] Step 103: Determine a target edge server by combining the task information and the running memory information. The target edge server is the closest to the task location, and the running memory information of the target edge server meets the running standard.

[0078] Specifically, the target edge server in the embodiment of the present application can be understood as an edge server that determines the communication connection of the law enforcement recorder and encodes the video information captured by the law enforcement recorder during the mission. The target edge server is closest to the mission location. In the embodiment of the present application, it can be understood that after the edge server is connected to the law enforcement recorder for communication, the delay in video information transmission caused by the distance is reduced. The running memory information of the target server meets the running standard. In the embodiment of the present application, it can be understood that the available physical memory in the running memory of the target edge server is sufficient to process the video information captured by the law enforcement recorder.

[0079] Specifically, based on the task location in the task information, determine at least one edge server in the target area that is closest to the law enforcement recorder, and then estimate the amount of information in the video captured by the law enforcement recorder during the task based on the number of law enforcement recorders in the task information. Assuming that the amount of video information is 20G, the remaining running memory in the edge server is required to be able to encode and process 20G of video information. If the edge server is closest to the law enforcement recorder and the remaining memory can process the video information, an optimal edge server can be obtained as the target edge server.

[0080] Step 104: Send an execution instruction to the law enforcement recorder so that the law enforcement recorder transmits the video to the target edge server for encoding to obtain the encoded video.

[0081] Specifically, the instruction is an indication and command to direct the server to work, which can be understood as a control code that specifies the execution of a certain operation or function. In the embodiment of the present application, the execution instruction can be understood as directing the law enforcement recorder to transmit the video captured during the task to the target edge server, and the target edge server encodes the received video information to obtain an encoded video, and the encoded video is the encoded file video after the video is encoded.

[0082] Step 105: Receive the encoded video sent by the target edge server, and decode and display the encoded video.

[0083] Specifically, the target edge server encodes the video information during the task execution and transmits the encoded video to the central server, which decodes and plays the encoded video. It can conduct real-time analysis through real-time videos of multiple scenes captured by multiple law enforcement recorders. When an emergency occurs, it can quickly make a command.

[0084] See also Figure 3 , Figure 3 It is a flowchart of another embodiment of a remote video scheduling method based on video encoding and decoding provided by the present application.

[0085] Step 201: Receive task information sent by the law enforcement recorder, determine the target area according to the task location, and obtain the running memory information of multiple edge servers in the target area.

[0086] Specifically, the task information sent by the law enforcement recorder is received, the target area is determined according to the task location, and the running memory information of multiple edge servers in the target area is obtained. Please refer to step 101 to step 102, and no further details will be given here.

[0087] Step 202: Determine whether the execution of the task reaches an urgency threshold based on the task priority in the task information.

[0088] Specifically, the task priority refers to the priority level assigned to the task by the computer operating system, which determines the priority of the task when using resources. In the embodiment of the present application, it can be understood as the importance of the police officer performing the task being performed. For example, a criminal task has a higher priority than a civil task.

[0089] Specifically, the priority of the task being executed is obtained by analyzing its importance. The priority may be a numerical value. The priority is compared with an urgency threshold. If the priority exceeds the urgency threshold, it indicates that the task being executed is important and needs to be processed in a timely manner.

[0090] Step 203: If the execution of the task reaches the urgency threshold, the edge server closest to the task location in the target area is determined as the target edge server, and the remaining running memory of the target edge server is obtained according to the running memory information.

[0091] Specifically, if the priority in the task information reaches the urgency threshold, it means that the task being performed is important. If there is a delay in video transmission, it may cause command errors. Therefore, the edge server closest to the task location is determined as the target edge server, and the remaining running memory of the target edge server is obtained. It is analyzed whether the subsequent remaining running memory can process the video information captured by the law enforcement recorder during the task execution.

[0092] Step 204: If the remaining running memory does not support processing the video information captured by the law enforcement recorder, a control instruction is sent to cause the target edge server to suspend the task being executed and release the used memory.

[0093] Specifically, if the remaining running memory of the target edge server does not support processing the video information captured by the law enforcement recorder, it may eventually cause the video transmitted to the central server to be stuck or delayed. To avoid this situation, the central server sends a control instruction to the target edge server. After receiving the control instruction, the target edge server suspends the task information being processed and releases the used memory so that the target edge server has enough memory to process the video information captured by the law enforcement recorder.

[0094] Step 205: If the execution of the task does not reach the urgency threshold, determine an edge server in the target area that is closest to the task location as a standby edge server, and obtain the remaining running memory of the standby edge server based on the running memory information.

[0095] Specifically, if the priority in the task information does not reach the urgency threshold, the edge server closest to the task location is determined as the backup edge server, and the remaining running memory of the backup edge server is obtained to analyze whether the subsequent remaining running memory can process the video information captured by the law enforcement recorder during the task.

[0096] Step 206: If the remaining running memory does not support encoding of the video information captured by the law enforcement recorder, continue to execute the step of determining an edge server in the target area that is closest to the task location other than the already determined reserve edge server as the reserve edge server, until it is determined that an edge server that is closest to the task location other than the already selected reserve edge server is used as the reserve edge server.

[0097] Specifically, if the remaining running memory of the determined target server does not support encoding and processing of the video information captured by the law enforcement recorder, it is necessary to reselect an edge server in the target area other than the already selected reserve edge server as the target edge server, and continue to determine whether the remaining running memory of the selected edge server supports encoding of the video information of the law enforcement recorder until a qualified edge server is found as the target edge server.

[0098] Step 207: If the remaining running memory supports encoding the video information captured by the law enforcement recorder, the prepared edge server is determined as the target edge server.

[0099] Specifically, if the remaining running memory of the selected reserve edge server supports encoding the video information captured by the law enforcement recorder, the reserve edge server is directly used as the target edge server.

[0100] Step 208: Send the communication method of the pre-stored target edge server to the law enforcement recorder to enable the law enforcement recorder to communicate with the edge server, receive the successful connection information sent by the target edge server, send control instructions to the law enforcement recorder, so that multiple law enforcement recorders transmit the video to the target edge server for encoding, obtain the encoded video, receive the encoded video sent by the target edge server, and decode and display the encoded video.

[0101] Specifically, the communication method refers to the connection address of the server. The central server retrieves the connection address of the pre-stored target edge server and sends it to the law enforcement recorder, so that the law enforcement recorder maintains a communication connection with the edge server. When the edge server successfully connects to the law enforcement recorder, the edge server sends a successful connection message to the central server. After receiving the successful connection message, the central server sends a control instruction to the law enforcement recorder, so that the law enforcement recorder transmits the video to the target edge server. After receiving the video information, the target edge server encodes and compresses the task video to obtain the encoded video, and sends the encoded video to the central server. After receiving the encoded video, the central server decodes and displays the encoded video to facilitate real-time analysis and command of the execution of the task.

[0102] Step 209: Obtain the location of the law enforcement recorder in real time. If the location of the law enforcement recorder exceeds the effective communication range in the target area, re-execute the step of combining the task location and memory information to determine the target edge server.

[0103] Specifically, the central server maintains a communication connection with the law enforcement recorder and obtains the location information of the law enforcement recorder in real time. If it is detected that the location of the law enforcement recorder is beyond the target area, the edge server information in the area where the law enforcement recorder is located is obtained again, and the above steps are repeated until a suitable edge server is matched for the law enforcement recorder, and this edge server is used as the target edge server.

[0104] Step 211: Save the encoded video information into the embedded black box.

[0105] Specifically, the embedded black box can record and save key encoded video data information, and when performing subsequent data analysis on the video, some data problems can be corrected to prevent similar problems from happening again in the future.

[0106] See also Figure 4, which shows a schematic diagram of the structure of a remote video scheduling system based on video coding provided by an exemplary embodiment of the present application. The remote video scheduling system based on video coding can be implemented as all or part of the system through software, hardware or a combination of both. The remote video scheduling system based on video coding 1 includes a task information receiving module 11, a target area determination module 12, a target edge server determination module 13, a coded video acquisition module 14 and a coded video display module 15.

[0107] The task information receiving module 11 is used to receive the task information sent by the law enforcement recorder, and the task information includes the task location and the number of law enforcement recorders;

[0108] A target area determination module 12 is used to determine the target area according to the task location and obtain the running memory information of multiple edge servers in the target area;

[0109] A target edge server determination module 13 is used to determine a target edge server by combining the task information and the running memory information, wherein the target edge server is the closest to the task location and the running memory information of the target edge server meets the running standard;

[0110] The encoded video acquisition module 14 is used to send an execution instruction to the law enforcement recorder so that the law enforcement recorder transmits the video to the target edge server for encoding to obtain the encoded video;

[0111] The encoded video display module 15 is used to receive the encoded video sent by the target edge server, and decode and display the encoded video.

[0112] Optionally, the remote video dispatching system 1 based on video coding and decoding further includes a law enforcement recorder location updating module 16 and a coded video information storage module.

[0113] A law enforcement recorder location update module is used to obtain the location of the law enforcement recorder in real time. If the location of the law enforcement recorder exceeds the effective communication range in the target area, the step of combining the task location with the memory information to determine the target edge server is re-executed;

[0114] The coded video information storage module is used to store the coded video information in the embedded black box.

[0115] Optionally, the target edge server determination module 13 further includes: an urgency determination unit, a remaining memory processing unit, and a target edge module determination subunit.

[0116] An urgency determination unit, configured to determine whether the execution of the task reaches an urgency threshold according to the task priority in the task information;

[0117] A remaining memory processing unit, configured to determine the target edge server according to the task location if the execution task reaches an urgency threshold, and process the remaining operating memory of the target edge server according to actual conditions;

[0118] The target edge module determines the subunit, which is used to determine the target edge server in combination with the task location and the running memory information if the execution task does not reach the urgency threshold.

[0119] Optionally, the remaining memory processing unit further includes: a nearest edge server determination subunit, a remaining memory acquisition subunit, a remaining memory analysis subunit, and a remaining memory release subunit.

[0120] A nearest edge server determination subunit is used to determine an edge server in the target area that is closest to the task location as a target edge server;

[0121] A remaining memory acquisition subunit, configured to obtain the remaining running memory of the target edge server according to the running memory information;

[0122] The remaining memory analysis subunit is used to determine whether the remaining running memory supports processing the video information captured by the law enforcement recorder according to the number of the law enforcement recorders;

[0123] The remaining memory release subunit is used to send a control instruction to make the edge server suspend the task being executed and release the used memory if the remaining running memory does not support processing the video information captured by the law enforcement recorder.

[0124] Optionally, the target edge module determination unit further includes: a standby edge server acquisition subunit, a standby edge server selection subunit and a standby edge server determination subunit.

[0125] A standby edge server acquisition subunit is used to determine an edge server in the target area that is closest to the task location as a standby edge server, and obtain the remaining running memory of the target edge server according to the running memory information;

[0126] A standby edge server selection subunit is used for continuing to perform the step of determining an edge server closest to the task location in the target area as a standby edge server if the remaining running memory does not support encoding of the video information captured by the law enforcement recorder, until determining that an edge server closest to the task location outside the selected area is used as the standby edge server;

[0127] The standby edge server determination subunit is used to determine the standby edge server as the target edge server if the remaining running memory supports encoding the video information captured by the law enforcement recorder.

[0128] Optionally, the encoded video acquisition module 14 also includes: a target edge server connection unit and a law enforcement recorder control unit.

[0129] A target edge server connection unit, used to send the communication method pre-stored in the target edge server to the law enforcement recorder, so that the law enforcement recorder is connected to the target edge server for communication;

[0130] The law enforcement recorder control unit is used to receive the successful connection information sent by the edge server and send the control instruction to the law enforcement recorder.

[0131] An embodiment of the present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the remote video scheduling method based on video encoding and decoding as described in the above embodiment. The specific execution process can refer to the specific description of the embodiment, which will not be repeated here.

[0132] See also Figure 5 , which is a schematic diagram of the structure of a server provided in the embodiment of the present application. Figure 5 As shown, the server 1000 may include: at least one processor 1001 , at least one network interface 1004 , a user interface 1003 , a memory 1005 , and at least one communication bus 1002 .

[0133] The communication bus 1002 is used to realize the connection and communication between these components.

[0134] The user interface 1003 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface.

[0135] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0136] Among them, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts within the entire server 1000, and executes various functions and processes data of the server 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Optionally, the processor 1001 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1001 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1001, but implemented separately through a chip.

[0137] Among them, the memory 1005 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1005 may also be optionally at least one storage device located away from the aforementioned processor 1001. As Figure 5 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for a remote video scheduling method based on video encoding and decoding.

[0138] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0139] exist Figure 5 In the server 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1001 can be used to call an application program stored in the memory 1005 for a remote video scheduling method based on video encoding and decoding. When executed by one or more processors, the server executes one or more methods described in the above embodiments.

[0140] A server-readable storage medium stores instructions, which, when executed by one or more processors, enable a server to execute one or more of the methods described in the above embodiments.

[0141] Those skilled in the art can clearly understand that the technical solution of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

[0142] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0143] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0144] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0145] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or 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.

[0146] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0147] If the integrated unit 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 memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0148] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0149] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any variation, use or adaptive change of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure.

Claims

1. A remote video scheduling method based on video encoding and decoding, characterized in that: Applied to a central server, the central server is communicatively connected with a plurality of edge servers, the method comprising: Receiving task information sent by the law enforcement recorder, wherein the task information includes a task location and the number of law enforcement recorders; Determine a target area according to the task location, and obtain running memory information of multiple edge servers in the target area; Determine a target edge server by combining the task information and the running memory information, wherein the target edge server is the closest to the task location and the running memory information of the target edge server meets the running standard; Sending an execution instruction to the law enforcement recorder so that the law enforcement recorder transmits the video to the target edge server for encoding to obtain the encoded video; Receive the encoded video sent by the target edge server, and decode and display the encoded video; The task information includes a task priority, and the step of combining the task information with the running memory information to determine a target edge server includes: Determine whether the execution of the task has reached an urgency threshold according to the task priority in the task information, wherein the task priority is the importance of the task being performed by the police officer; If the execution task reaches the urgency threshold, the target edge server is determined according to the task location, and the remaining running memory of the target edge server is processed according to the actual situation; If the execution task does not reach the urgency threshold, determining the target edge server in combination with the task location and the running memory information; The step of determining the target edge server according to the task location and processing the remaining running memory of the target edge server according to actual conditions includes: Determine an edge server in the target area that is closest to the task location as a target edge server, wherein the target area is an area where the police officer carrying the law enforcement recorder is located; Obtaining the remaining running memory of the target edge server according to the running memory information; According to the number of the law enforcement recorders, determining whether the remaining running memory supports processing the video information captured by the law enforcement recorders; If the remaining running memory does not support processing the video information captured by the law enforcement recorder, a control instruction is sent to cause the edge server to suspend the task being executed and release the used memory.

2. The remote video scheduling method based on video encoding and decoding according to claim 1 is characterized in that: The determining the edge server by combining the task information with the running memory information includes: Determine an edge server in the target area that is closest to the task location as a standby edge server; Obtaining the remaining running memory of the standby edge server according to the running memory information; If the remaining running memory does not support encoding the video information captured by the law enforcement recorder, the step of determining an edge server in the target area closest to the task location other than the determined reserve edge server as the reserve edge server is continued until it is determined that an edge server other than the reserve edge server closest to the task location has been selected as the reserve edge server; If the remaining running memory supports encoding the video information captured by the law enforcement recorder, the standby edge server is determined as the target edge server.

3. The remote video scheduling method based on video encoding and decoding according to claim 1 is characterized in that: The execution instruction includes a communication method and a control instruction, and the sending of the execution instruction to the law enforcement recorder includes: Sending the communication method pre-stored in the target edge server to the law enforcement recorder, so that the law enforcement recorder is connected to the target edge server for communication; Receive the successful connection information sent by the edge server, and send the control instruction to the law enforcement recorder.

4. The remote video scheduling method based on video encoding and decoding according to claim 1 is characterized in that: After receiving the encoded video sent by the target edge server and decoding and displaying the encoded video, the method further includes: Obtaining the location of the law enforcement recorder in real time; If the location of the law enforcement recorder exceeds the effective communication range in the target area, the step of combining the task location with the running memory information to determine the target edge server is re-executed.

5. The remote video scheduling method based on video encoding and decoding according to claim 1, characterized in that: The central server also includes an embedded black box, which receives the encoded video sent by the target edge server, decodes and displays the encoded video, and further includes: The encoded video information is stored in the embedded black box.

6. A remote video scheduling system based on video coding for implementing the remote video scheduling method based on video coding as claimed in claim 1, characterized in that: Applied to a central server, the system comprises: A task information receiving module receives task information sent by the law enforcement recorder, wherein the task information includes the task location and the number of law enforcement recorders; A target area determination module, used to determine the target area according to the task location, and obtain the running memory information of multiple edge servers in the target area; A target edge server determination module, used to determine a target edge server by combining the task information and the running memory information, wherein the target edge server is the closest to the task location and the running memory information of the target edge server meets the running standard; The encoded video acquisition module is used to send an execution instruction to the law enforcement recorder so that the law enforcement recorder transmits the video to the target edge server for encoding to obtain the encoded video; The encoded video display module is used to receive the encoded video sent by the target edge server, and decode and display the encoded video.

7. A computer-readable storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 5.

8. A server, characterized in that: It includes a processor, a memory and a transceiver, the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the server executes the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method, device and system for uploading live video

    CN105681387A

  • Publishing method for live broadcast video file, publishing client and edge streaming media server

    CN106453328A

  • Remote management and control system of law enforcement recorders and working method thereof

    CN111935400A

  • High-definition live streaming system and streaming media method based on hybrid cloud

    CN113727144A

  • Calculation request processing method, intelligent terminal, cloud server, equipment and medium

    CN114253710A