A method and apparatus for sending images to a terminal

By dividing the monitoring images into high-priority and low-priority areas and using a backup buffer to process the low-priority area data, the problem of image reading lag caused by the terminal buffer being full is solved, and the image reading speed is improved.

CN118101974BActive Publication Date: 2025-11-14HARBIN UNIV OF COMMERCE
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410217244.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2025-11-14
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

In existing technologies, a full terminal cache leads to slow image reading speed, making it impossible to receive data from the server in a timely manner, resulting in image reading lag.

Method used

The server divides the monitoring images into high-priority and low-priority processing areas. When the terminal cache is full, the high-priority area data is processed first, and the low-priority area data is stored and processed using a backup cache. The image area priority is dynamically adjusted to optimize cache utilization.

Benefits of technology

Without significantly altering the terminal hardware configuration, image reading speed was improved, stuttering caused by full cache was reduced, and image display efficiency was enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118101974B_ABST
    Figure CN118101974B_ABST
Patent Text Reader

Abstract

This invention discloses a method and apparatus for sending images to a terminal. The method includes: a server dividing a monitoring image A into a high-priority image region A and a low-priority image region A based on a partitioning rule; the server sending a data packet A to the terminal; after receiving the data packet A, the terminal storing the data packet A in a backup buffer; the terminal determining whether its main buffer is available; if the main buffer is unavailable, the terminal determining whether image data of a sub-region of the low-priority image region exists in the main buffer; if the main buffer contains image data of a sub-region of the low-priority image region, the terminal deleting the data packet corresponding to the image data of the sub-region of the low-priority image region from the main buffer; and the terminal reading the data packet A from the backup buffer into the main buffer.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of application number 202211641263.1, filed on December 20, 2022, with the invention title "A method and apparatus for sending road monitoring images to a terminal". Technical Field

[0002] This invention relates to the field of image transmission technology, and in particular to a method and apparatus for sending images to a terminal. Background Technology

[0003] With the development of electronic and intelligent road traffic enforcement, it is now possible for law enforcement officers to request surveillance images on handheld electronic devices and display the requested images. To ensure the objectivity and impartiality of the enforcement results, officers typically request multiple frames of surveillance images from the server at once. For example, to determine a traffic violation by a motor vehicle, officers may request surveillance images from multiple angles captured by multiple cameras. However, in practice, issues such as lag when reading surveillance images frequently occur. Summary of the Invention

[0004] To achieve the above objectives, the present invention provides a method and apparatus for transmitting images to a terminal, characterized in that the method includes:

[0005] The server divides the monitored image A into a high-priority image region A and a low-priority image region A based on the partitioning rules.

[0006] The server sends data packet A to the terminal. Data packet A includes image data of sub-region A of high-priority image region A, region number A, sub-region number A, image number A, and high-priority processing indicator.

[0007] After receiving data packet A, the terminal stores data packet A in the terminal's backup buffer;

[0008] The terminal determines whether its main buffer is available.

[0009] If the terminal's main buffer is determined to be unavailable, the terminal then determines whether there is image data for a sub-region of a low-priority image region in the main buffer.

[0010] If it is determined that there is image data of a sub-region of a low-priority image region in the main buffer, the terminal will delete the data packet corresponding to the image data of the sub-region of the low-priority image region in the main buffer.

[0011] The terminal reads data packet A from the backup buffer into the main buffer.

[0012] In a preferred embodiment, the main buffer stores data packet B, wherein data packet B includes image data of sub-region A of low-priority image region B, region number B, sub-region number B, image number B, and low-priority processing indicator.

[0013] Specifically, the process by which the terminal determines whether there is image data for a sub-region of a low-priority image region in the main buffer includes:

[0014] Data packet B is decoded by the terminal;

[0015] The terminal determines that the image data of sub-region A of the low-priority image region B is the image data of the sub-region of the low-priority image region based on the low-priority processing indicator included in data packet B.

[0016] In a preferred embodiment, the method further includes:

[0017] After the terminal deletes data packet B from the main buffer, the terminal determines whether the user still needs to use the image data of sub-region A of the low-priority image region B in data packet B.

[0018] If the terminal determines that the user still needs to use the image data of sub-region A of the low-priority image region B in data packet B, the terminal sends an instruction to the server to resend data packet B. The instruction to resend data packet B includes region number B, sub-region number B, and image number B.

[0019] After the server receives the instruction to resend data packet B, the server resends data packet B to the terminal.

[0020] If the terminal determines that the user does not need to use the image data of sub-region A of the low-priority image region B in data packet B, the terminal will not send an instruction to the server to resend data packet B.

[0021] In a preferred embodiment, the low-priority processing image region B comes from surveillance image B, wherein surveillance image B is captured by surveillance camera A;

[0022] The terminal records the number of times the user needs to use image data of sub-region A of image region B with low priority processing within a predetermined time period;

[0023] If the number of times a user needs to use image data of sub-region A of low-priority image region B within a predetermined time period exceeds the threshold value A, the terminal sends a priority adjustment indicator A to the server. The priority adjustment indicator A includes the region number B and the image number B.

[0024] In a preferred embodiment, the method further includes:

[0025] After the server receives the priority adjustment instruction A, the server determines the low priority image area B based on the image number B to monitor the surveillance image B captured by the camera A.

[0026] After the server receives the priority processing adjustment indicator A, the server redefines the image region corresponding to the low-priority image region B from the surveillance image captured by the surveillance camera A as the high-priority image region.

[0027] In a preferred embodiment, the method further includes:

[0028] After the server redefines the image region corresponding to the low-priority image region B as the high-priority image region, the server sends data packet C to the terminal. Data packet C includes image data of sub-region A of the high-priority image region B, region number B, sub-region number B, image number C, judgment indicator, and high-priority processing indicator. The high-priority image region B corresponds to the redefined high-priority image region.

[0029] After the terminal receives data packet C, the terminal prompts the user to determine the necessity of processing image data of sub-region A of image region B with high priority based on the judgment indicator included in data packet C.

[0030] In a preferred embodiment, the method further includes:

[0031] If, within a predetermined time period, the number of times a user determines that the necessity of image data in sub-region A of high-priority image region B is unnecessary exceeds a threshold value B, then the terminal sends a priority processing adjustment indicator B to the server. The priority processing adjustment indicator B includes the region number B and the image number C.

[0032] After the server receives the priority processing adjustment indicator B, the server determines the high priority processing image area B based on the image number C to monitor the monitoring image C captured by the camera A.

[0033] After the server receives the priority processing adjustment instruction B, the server redefines the image region corresponding to the high-priority image region B from the surveillance image captured by the surveillance camera A as the low-priority image region.

[0034] This invention provides an apparatus for transmitting road monitoring images to a terminal, characterized in that the apparatus includes units for performing the following operations:

[0035] The server divides the monitored image A into a high-priority image region A and a low-priority image region A based on the partitioning rules.

[0036] The server sends data packet A to the terminal. Data packet A includes image data of sub-region A of high-priority image region A, region number A, sub-region number A, image number A, and high-priority processing indicator.

[0037] After receiving data packet A, the terminal stores data packet A in the terminal's backup buffer;

[0038] The terminal determines whether its main buffer is available.

[0039] If the terminal's main buffer is determined to be unavailable, the terminal then determines whether there is image data for a sub-region of a low-priority image region in the main buffer.

[0040] If it is determined that there is image data of a sub-region of a low-priority image region in the main buffer, the terminal will delete the data packet corresponding to the image data of the sub-region of the low-priority image region in the main buffer.

[0041] The terminal reads data packet A from the backup buffer into the main buffer.

[0042] In a preferred embodiment, the main buffer stores data packet B, wherein data packet B includes image data of sub-region A of low-priority image region B, region number B, sub-region number B, image number B, and low-priority processing indicator.

[0043] Specifically, the process by which the terminal determines whether there is image data for a sub-region of a low-priority image region in the main buffer includes:

[0044] Data packet B is decoded by the terminal;

[0045] The terminal determines that the image data of sub-region A of the low-priority image region B is the image data of the sub-region of the low-priority image region based on the low-priority processing indicator included in data packet B.

[0046] In a preferred embodiment, the apparatus further includes a unit for performing the following operations:

[0047] After the terminal deletes data packet B from the main buffer, the terminal determines whether the user still needs to use the image data of sub-region A of the low-priority image region B in data packet B.

[0048] If the terminal determines that the user still needs to use the image data of sub-region A of the low-priority image region B in data packet B, the terminal sends an instruction to the server to resend data packet B. The instruction to resend data packet B includes region number B, sub-region number B, and image number B.

[0049] After the server receives the instruction to resend data packet B, the server resends data packet B to the terminal.

[0050] If the terminal determines that the user does not need to use the image data of sub-region A of the low-priority image region B in data packet B, the terminal will not send an instruction to the server to resend data packet B.

[0051] Compared with existing technologies, this invention has the following advantages: In existing technologies, a common problem arises where the terminal cannot continue receiving data from the server because its buffer is filled with previously received data packets. In this case, the terminal will not receive data packets sent by the server and will send a retransmission instruction to the server, requesting the server to retransmit the data packets previously rejected by the terminal. Since the same data packet is retransmitted at least once, image reading is slow. The method proposed in this invention can solve or alleviate the problem of buffer fullness without significantly changing the current terminal hardware configuration. Attached Figure Description

[0052] Figure 1 This is a flowchart of a method according to an embodiment of the present invention.

[0053] Figure 2 This is a schematic diagram of the present invention regarding the division of a surveillance image into a high-priority processing image region and a low-priority processing image region.

[0054] Figure 3 This is a schematic diagram of the present invention regarding dividing a high-priority image region into multiple sub-regions.

[0055] Figure 4 This is a schematic diagram of the present invention regarding redefining low-priority image regions as high-priority image regions. Detailed Implementation

[0056] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings, but it should be understood that the scope of protection of the present invention is not limited to the specific embodiments.

[0057] Our research revealed that after retrieving and analyzing backend data from the server and the law enforcement recorder (an example of a "terminal" in this invention), several factors contributed to the slow or laggy image reading speed. Approximately 30% of these slow image reading speeds were due to a full terminal cache. This means that on average, about 30 out of every 100 instances of slow image reading were caused by a full terminal cache. The mechanism by which a full terminal cache leads to slow image reading can be simply described as follows: the terminal can only receive data from the server when there is free space in the cache. If the cache is full of previously received data packets, the terminal cannot continue receiving data. In this case, the terminal will not receive data packets from the server and will send a retransmission instruction to the server, requesting the server to retransmit the previously rejected data packets. Since the same data packet is retransmitted at least once, this causes slow image reading. One solution is to use terminals with larger caches; however, replacing many existing terminals with new equipment before they are damaged or worn out would result in a significant waste of resources. The present invention aims to propose a technical solution to address the issue of cache exhaustion without requiring significant changes to the current terminal hardware configuration.

[0058] Example 1

[0059] like Figure 1 As shown, the method of the present invention includes the following steps:

[0060] Step 1: The server divides the monitored image A into a high-priority image region A and a low-priority image region A' based on partitioning rules. In this invention, the server needs to divide a frame of image into one or more high-priority image regions and one or more low-priority image regions, and when sending the image data of each frame, the high-priority image regions are sent to the terminal first. In one example, refer to... Figure 2 To define high-priority and low-priority image regions, for example in Figure 2 In the image, image regions numbered 1-8 are all low-priority processing regions, while image region numbered 9 is a high-priority processing region. The principle behind this division is that since most road surveillance cameras are fixed-angle cameras, the images captured by these cameras can ensure that important information always appears in a fixed position within the image. For example, surveillance cameras can ensure that important information (such as the vehicle being monitored) always appears in the middle of the image (i.e.,...). Figure 2The image region numbered 9 is considered low-priority, while image regions numbered 1-8 generally only contain information such as the sky, ground, green belts, streetlights, and other pedestrians or vehicles that are not of interest. Therefore, image regions numbered 1-8 can be classified as low-priority image regions, while image region numbered 9 can be classified as a high-priority image region. Those skilled in the art should understand that, since the surveillance camera is a fixed-angle camera, the server will process all images from that camera according to... Figure 2 The classification is based on the method described. Furthermore, it should be understood that because different surveillance cameras have different angles, the classification rules may differ for surveillance images from different cameras.

[0061] Step 2: The server sends data packet A to the terminal. Data packet A includes image data of sub-region A of high-priority image region A, region number A, sub-region number A, image number A, and high-priority processing indicator. In one example, refer to... Figure 3 To define a sub-region of the high-priority image region, those skilled in the art should understand that the size of the sub-region is determined by the size of each data packet defined by the system. If the system supports sending large-bit-count data packets, a larger sub-region can be divided; if the system only supports sending small-bit-count data packets, a smaller sub-region can be divided. In one example, the server performs a series of conventional image processing steps, such as compression and encoding, on sub-region A of the high-priority image region A to generate encoded image data, which this invention refers to as "image data of sub-region A of the high-priority image region A". Figure 2 and Figure 3 In the example, region number A is the value "9", sub-region number A can be any natural number, and image number A is the internal image serial number of the server. For example, the server sequentially numbers multiple frames of image data received from multiple surveillance cameras (e.g., using natural numbers). Based on the image number, the server can determine which surveillance camera a particular frame of surveillance image comes from. Those skilled in the art should understand that images in low-priority processing image regions also need to be divided into multiple sub-regions for transmission.

[0062] Step 3: After receiving data packet A, the terminal stores data packet A in the terminal's spare buffer. In one instance, the spare buffer can be a storage area logically partitioned from the terminal's original buffer. This method ensures that the method of the present invention can be implemented without increasing hardware costs. Although dividing the original buffer into a main buffer and a spare buffer may increase the probability of the buffer storage space being exhausted (i.e., the buffer being full), the method of the present invention allows for the rapid display of important information in the monitoring image on the terminal's display even when the buffer is full. Therefore, the present invention can still improve the image reading speed.

[0063] Step 4: The terminal determines whether its main buffer is available; in one instance, the terminal determines whether its main buffer is full, which is an example of the terminal determining whether its main buffer is available.

[0064] Step 5: If it is determined that the terminal's main buffer is unavailable, the terminal determines whether there is image data of a sub-region of a low-priority image region in the main buffer; in one instance, for example, the main buffer also caches multiple image data of another frame of surveillance image, which is waiting for decoding and compression processing.

[0065] Step 6: If it is determined that there is image data of a sub-region of a low-priority image region in the main buffer, the terminal deletes the data packet corresponding to the image data of the sub-region of the low-priority image region in the main buffer.

[0066] Step 7: The terminal reads data packet A from the backup buffer into the main buffer.

[0067] Example 2

[0068] In Embodiment 2, the main buffer stores data packet B, which includes image data of sub-region A of low-priority image region B, region number B, sub-region number B, image number B, and low-priority processing indicator. Specifically, the terminal determines whether image data of a sub-region of the low-priority image region exists in the main buffer by: decoding data packet B; and determining, based on the low-priority processing indicator included in data packet B, that the image data of sub-region A of the low-priority image region B is image data of a sub-region of the low-priority image region.

[0069] In Example 2, the method further includes:

[0070] After the terminal deletes data packet B from the main buffer, it determines whether the user still needs the image data of sub-region A of the low-priority image region B in data packet B. In one example, the terminal has already displayed the image of the high-priority image region of the monitoring image frame corresponding to the low-priority image region B to the user. However, since some of the image data of the low-priority image region has been deleted, the image of this part of the low-priority image region can be displayed as a mosaic or a blurred image with a similar background blur effect. These displayed images do not require the support of actual data and are completely virtual images. When the user reviews the monitoring image frame with the virtual image, if the user believes that the virtual image contains the information the user needs, the user can choose to command the terminal to continue to provide the real image of that area. At this time, the terminal determines that the user still needs the image data of sub-region A of the low-priority image region B in data packet B.

[0071] If the terminal determines that the user still needs to use the image data of sub-region A of the low-priority image region B in data packet B, the terminal sends an instruction to the server to resend data packet B. The instruction to resend data packet B includes region number B, sub-region number B, and image number B.

[0072] After the server receives the instruction to resend data packet B, the server resends data packet B to the terminal.

[0073] If the terminal determines that the user does not need the image data of sub-region A of the low-priority image region B in data packet B, the terminal will not send an instruction to the server to resend data packet B. In one instance, if the user no longer reviews the monitoring image frame containing the virtual image, or if the user reviews the monitoring image frame containing the virtual image but does not command the terminal to continue providing the real image of that virtual image region, it can be assumed that the user does not need the image data of sub-region A of the low-priority image region B in data packet B.

[0074] Example 3

[0075] In Example 3, the low-priority processing image region B comes from the surveillance image B, which is captured by the surveillance camera A.

[0076] The terminal records the number of times the user needs to use image data of sub-region A of image region B with low priority processing within a predetermined time period; in one instance, the predetermined time period may be, for example, 10 hours, 12 hours or 24 hours.

[0077] If, within a predetermined time period, the number of times a user needs to access image data from sub-region A of image region B with low priority processing exceeds a threshold value A, the terminal sends a priority processing adjustment indicator A to the server. This indicator A includes the region number B and the image number B. In one instance, the threshold value could be set to, for example, 10 times.

[0078] In Example 3, the method further includes:

[0079] After the server receives the priority adjustment instruction A, the server determines the low priority image area B based on the image number B to monitor the surveillance image B captured by the camera A.

[0080] After receiving the priority adjustment instruction A, the server redefines the image region from the surveillance image captured by camera A that corresponds to the low-priority image region B as the high-priority image region. In one example, such as... Figure 4 As shown, for example, the monitoring image B corresponding to the low-priority image region B was originally processed according to... Figure 4 The left-hand diagram illustrates the division of image regions. Assume that low-priority image region B is numbered 8. After the server receives the priority adjustment indicator A, it redefines image region numbered 8 as a high-priority image region, while retaining the original image region number 8 (e.g., ...). Figure 4 (As shown in the right-hand diagram), and as mentioned earlier, the same segmentation rules need to be applied to all frames from the same surveillance camera A. Therefore, after redefining the image region numbered 8 as a high-priority processing image region, the server still follows the same segmentation rules for subsequent surveillance images from surveillance camera A. Figure 4 The monitoring images are divided as shown in the diagram on the right.

[0081] The method also includes:

[0082] After the server redefines the image region corresponding to the low-priority image region B as the high-priority image region, the server sends data packet C to the terminal. Data packet C includes image data of sub-region A of the high-priority image region B, region number B, sub-region number B, image number C, judgment indicator, and high-priority processing indicator. The high-priority image region B corresponds to the redefined high-priority image region.

[0083] After receiving data packet C, the terminal prompts the user, based on the judgment indicator included in data packet C, to determine the necessity of processing image data in sub-region A of image region B with high priority. In one example, still referring to… Figure 4 For example in Figure 4In this process, the server redefines image region numbered 8 as a high-priority processing image region. Then, when sending image data from surveillance camera A to the terminal, the terminal will prompt the user to determine whether the image in image region numbered 8 is necessary. For example, if the image in image region numbered 8 contains no useful information, the user can choose that the image in image region numbered 8 is unnecessary. This achieves the user's action of determining the necessity of image data in sub-region A of high-priority processing image region B. Those skilled in the art should understand that the terminal first fully displays the image in image region numbered 8 to the user, and then the user determines at once whether the entire image in image region numbered 8 contains useful information. Through this operation, the user also substantially determines the necessity of image data in sub-region A of high-priority processing image region B.

[0084] If, within a predetermined time period, the number of times a user determines that the necessity of image data in sub-region A of high-priority image region B is unnecessary exceeds a threshold value B, then the terminal sends a priority processing adjustment indicator B to the server. The priority processing adjustment indicator B includes the region number B and the image number C.

[0085] After the server receives the priority processing adjustment indicator B, the server determines the high priority processing image area B based on the image number C to monitor the monitoring image C captured by the camera A.

[0086] After the server receives the priority processing adjustment instruction B, the server redefines the image region corresponding to the high-priority image region B from the surveillance image captured by the surveillance camera A as the low-priority image region.

[0087] Example 4

[0088] This invention provides an apparatus for transmitting road monitoring images to a terminal. The apparatus includes units for performing the following operations: a server divides a monitoring image A into a high-priority image region A and a low-priority image region A based on a partitioning rule; the server sends a data packet A to the terminal, wherein the data packet A includes image data of a sub-region A of the high-priority image region A, a region number A, a sub-region number A, an image number A, and a high-priority indicator; after receiving the data packet A, the terminal stores the data packet A in a backup buffer; the terminal determines whether its main buffer is available; if the main buffer is unavailable, the terminal determines whether image data of a sub-region of the low-priority image region exists in the main buffer; if image data of a sub-region of the low-priority image region exists in the main buffer, the terminal deletes the data packet corresponding to the image data of the sub-region of the low-priority image region from the main buffer; and the terminal reads the data packet A from the backup buffer into the main buffer.

[0089] In a preferred embodiment, the main buffer stores a data packet B, wherein the data packet B includes image data of a sub-region A of the low-priority image region B, a region number B, a sub-region number B, an image number B, and a low-priority processing indicator; wherein, the terminal determines whether the image data of the sub-region of the low-priority image region exists in the main buffer specifically includes: the terminal decoding the data packet B; and the terminal determining, based on the low-priority processing indicator included in the data packet B, that the image data of the sub-region A of the low-priority image region B is the image data of the sub-region of the low-priority image region.

[0090] In a preferred embodiment, the apparatus further includes a unit for performing the following operations: after the terminal deletes data packet B from the main buffer, the terminal determines whether the user still needs to use the image data of sub-region A of the low-priority image region B in data packet B; if the terminal determines that the user still needs to use the image data of sub-region A of the low-priority image region B in data packet B, the terminal sends an instruction to the server to resend data packet B, wherein the instruction to resend data packet B includes region number B, sub-region number B, and image number B; after the server receives the instruction to resend data packet B, the server resends data packet B to the terminal; if the terminal determines that the user does not need to use the image data of sub-region A of the low-priority image region B in data packet B, the terminal does not send an instruction to resend data packet B to the server.

[0091] It should be understood that the specific embodiments described above are merely illustrative or explanatory of the principles of the invention and do not constitute a limitation thereof. Therefore, any modifications, equivalent substitutions, improvements, etc., made without departing from the spirit and scope of the invention should be included within the protection scope of the invention. Furthermore, the appended claims are intended to cover all variations and modifications falling within the scope and boundaries of the appended claims, or equivalent forms of such scope and boundaries.

Claims

1. A method for sending an image to a terminal, wherein the image is a road surveillance image, characterized in that, The method includes: The server divides the monitored image A into a high-priority image region A and a low-priority image region A based on the partitioning rules. The server sends data packet A to the terminal, wherein data packet A includes image data of sub-region A of high-priority image region A, region number A, sub-region number A, image number A, and high-priority processing indicator; the terminal is a law enforcement recorder; the high-priority image region is in the middle part of the image; After receiving the data packet A, the terminal stores the data packet A in the terminal's backup buffer; The terminal determines whether its main buffer is available. If the terminal's main buffer is determined to be unavailable, the terminal then determines whether there is image data of a sub-region of a low-priority image region in the main buffer. If it is determined that there is image data of a sub-region of a low-priority image region in the main buffer, the terminal deletes the data packet corresponding to the image data of the sub-region of the low-priority image region in the main buffer. The terminal reads data packet A from the backup buffer into the main buffer. in, The main buffer stores data packet B, wherein data packet B includes image data of sub-region A of low-priority image region B, region number B, sub-region number B, image number B, and low-priority processing indicator; Specifically, the process by which the terminal determines whether there is image data for a sub-region of a low-priority image region in the main buffer includes: The terminal decodes data packet B; The terminal determines, based on the low-priority processing indicator included in data packet B, that the image data of sub-region A of the low-priority processing image region B is the image data of a sub-region of the low-priority processing image region. The method further includes: After the terminal deletes data packet B from the main buffer, the terminal determines whether the user still needs to use the image data of sub-region A of the low-priority image region B in the data packet B; If the terminal determines that the user still needs to use the image data of sub-region A of the low-priority image region B in the data packet B, then the terminal sends an instruction to the server to resend the data packet B, wherein the instruction to resend the data packet B includes the region number B, the sub-region number B, and the image number B. After the server receives the instruction to resend data packet B, the server resends data packet B to the terminal. If the terminal determines that the user does not need the image data of sub-region A of the low-priority image region B in the data packet B, then the terminal does not send an instruction to the server to resend data packet B. in, The low-priority processing image region B comes from surveillance image B, which is captured by surveillance camera A. The terminal records the number of times the user needs to use image data of sub-region A of the low-priority image region B within a predetermined time period; the predetermined time period is 10 hours, 12 hours, or 24 hours. If the number of times a user needs to use image data of sub-region A of the low-priority image region B within a predetermined time period exceeds the threshold value A, the terminal sends a priority processing adjustment indicator A to the server. The priority processing adjustment indicator A includes region number B and image number B, and the threshold value is set to 10 times. in, The method further includes: After the server receives the priority processing adjustment indicator A, the server determines the low priority processing image region B based on the image number B to monitor the monitoring image B captured by the monitoring camera A. After the server receives the priority processing adjustment indicator A, the server redefines the image region corresponding to the low-priority image region B from the surveillance image captured by surveillance camera A as the high-priority image region. in, The method further includes: After the server redefines the image region corresponding to the low-priority image region B as a high-priority image region, the server sends a data packet C to the terminal. The data packet C includes image data of sub-region A of the high-priority image region B, region number B, sub-region number B, image number C, judgment indicator, and high-priority processing indicator. The high-priority image region B corresponds to the redefined high-priority image region. After the terminal receives the data packet C, the terminal prompts the user to determine the necessity of processing the image data of sub-region A of image region B with high priority based on the judgment indicator included in the data packet C.

2. The method according to claim 1, characterized in that, The method further includes: If, within a predetermined time period, the number of times a user determines that the necessity of image data in sub-region A of high-priority image region B is unnecessary exceeds a threshold value B, then the terminal sends a priority processing adjustment indicator B to the server, wherein the priority processing adjustment indicator B includes region number B and image number C. After the server receives the priority processing adjustment indicator B, the server determines the high priority processing image region B based on the image number C to monitor the monitoring image C captured by the monitoring camera A. After the server receives the priority processing adjustment indicator B, the server redefines the image region corresponding to the high-priority processing image region B from the surveillance image captured by the surveillance camera A as the low-priority processing image region.

3. An apparatus for transmitting an image to a terminal, wherein the image is a road surveillance image, characterized in that, The device includes units for performing the following operations: The server divides the monitored image A into a high-priority image region A and a low-priority image region A based on the partitioning rules. The server sends data packet A to the terminal, wherein data packet A includes image data of sub-region A of high-priority image region A, region number A, sub-region number A, image number A, and high-priority processing indicator; the terminal is a law enforcement recorder; the high-priority image region is in the middle part of the image; After receiving the data packet A, the terminal stores the data packet A in the terminal's backup buffer; The terminal determines whether its main buffer is available. If the terminal's main buffer is determined to be unavailable, the terminal then determines whether there is image data of a sub-region of a low-priority image region in the main buffer. If it is determined that there is image data of a sub-region of a low-priority image region in the main buffer, the terminal deletes the data packet corresponding to the image data of the sub-region of the low-priority image region in the main buffer. The terminal reads data packet A from the backup buffer into the main buffer. in, The main buffer stores data packet B, wherein data packet B includes image data of sub-region A of low-priority image region B, region number B, sub-region number B, image number B, and low-priority processing indicator; Specifically, the process by which the terminal determines whether there is image data for a sub-region of a low-priority image region in the main buffer includes: The terminal decodes data packet B; The terminal determines, based on the low-priority processing indicator included in data packet B, that the image data of sub-region A of the low-priority processing image region B is the image data of a sub-region of the low-priority processing image region. in, The device also includes a unit for performing the following operations: After the terminal deletes data packet B from the main buffer, the terminal determines whether the user still needs to use the image data of sub-region A of the low-priority image region B in the data packet B; If the terminal determines that the user still needs to use the image data of sub-region A of the low-priority image region B in the data packet B, then the terminal sends an instruction to the server to resend the data packet B, wherein the instruction to resend the data packet B includes the region number B, the sub-region number B, and the image number B. After the server receives the instruction to resend data packet B, the server resends data packet B to the terminal. If the terminal determines that the user does not need the image data of sub-region A of the low-priority image region B in the data packet B, then the terminal does not send an instruction to the server to resend data packet B. in, The low-priority processing image region B comes from surveillance image B, which is captured by surveillance camera A. The terminal records the number of times the user needs to use image data of sub-region A of the low-priority image region B within a predetermined time period; the predetermined time period is 10 hours, 12 hours, or 24 hours. If the number of times a user needs to use image data of sub-region A of the low-priority image region B within a predetermined time period exceeds the threshold value A, the terminal sends a priority processing adjustment indicator A to the server. The priority processing adjustment indicator A includes region number B and image number B, and the threshold value is set to 10 times. in, The device also includes a unit for performing the following operations: After the server receives the priority processing adjustment indicator A, the server determines the low priority processing image region B based on the image number B to monitor the monitoring image B captured by the monitoring camera A. After the server receives the priority processing adjustment indicator A, the server redefines the image region corresponding to the low-priority image region B from the surveillance image captured by surveillance camera A as the high-priority image region. in, The device also includes a unit for performing the following operations: After the server redefines the image region corresponding to the low-priority image region B as a high-priority image region, the server sends a data packet C to the terminal. The data packet C includes image data of sub-region A of the high-priority image region B, region number B, sub-region number B, image number C, judgment indicator, and high-priority processing indicator. The high-priority image region B corresponds to the redefined high-priority image region. After the terminal receives the data packet C, the terminal prompts the user, based on the judgment indicator included in the data packet C, to determine the necessity of processing the image data of sub-region A of image region B with high priority. in, The device also includes a unit for performing the following operations: If, within a predetermined time period, the number of times a user determines that the necessity of image data in sub-region A of high-priority image region B is unnecessary exceeds a threshold value B, then the terminal sends a priority processing adjustment indicator B to the server, wherein the priority processing adjustment indicator B includes region number B and image number C. After the server receives the priority processing adjustment indicator B, the server determines the high priority processing image region B based on the image number C to monitor the monitoring image C captured by the monitoring camera A. After the server receives the priority processing adjustment indicator B, the server redefines the image region corresponding to the high-priority processing image region B from the surveillance image captured by the surveillance camera A as the low-priority processing image region.

Citation Information

Patent Citations

  • Data processor and program

    JP2012230694A

  • Image processing method and apparatus

    US20030142871A1

  • Prioritizing content based on user frequency

    US9477376B1