Image processing method, device and equipment and computer readable storage medium

By designing three channels for acquiring the original image, the problem of insufficient image memory bandwidth is solved, the image acquisition efficiency is improved, and the impact on other readers is avoided.

CN119987703APending Publication Date: 2025-05-13SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510124884.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-26
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Insufficient bandwidth of the image memory leads to a reduced working efficiency of the image processing module and may affect the working efficiency of other theoretical readers.

Method used

Three channels for acquiring the original image are designed, including a first channel connected to the reading port of the image management module, a second channel connected to the output of the local display, and a third channel read from the image memory. In response to activation instructions of different channels, the corresponding channels can be selected to acquire the original image and pass it to the later module.

Benefits of technology

This avoids reducing the bandwidth of the image memory, improving image acquisition efficiency, and avoids affecting the work of other theoretical readers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987703A_ABST
    Figure CN119987703A_ABST
Patent Text Reader

Abstract

The invention discloses an image processing method, device and equipment and a computer readable storage medium, belongs to the field of image processing, and considers that (1) an original image can also be obtained by monitoring a reading port of an image memory connected to an image management module, and (2) the bandwidth pressure of the image memory is different in different time periods. Therefore, three channels for acquiring the original image are designed, including a first channel in which the monitoring image memory is connected to a read port of the image management module, a second channel in which the monitoring image management module is connected to an output end of the local display, and a third channel in which the image memory is read; and in response to different channel activation instructions, the corresponding channel is selected to acquire the original image and send the original image to a post-stage module, so that the bandwidth of the image memory is prevented from being reduced, the image acquisition efficiency is favorably improved, and the influence on the work of other theoretical reading parties of the image memory is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing, and in particular to an image processing method, device, equipment and computer-readable storage medium. Background Art

[0002] In many devices, after receiving the original image, the image management module (such as VGA (Video Graphics Array, video transmission standard)) will store the original image in the image memory. Then, when there is an image processing requirement (such as the requirement to compress and transmit remotely), the image acquisition module can read the original image from the image memory for processing. However, the theoretical readers of the image memory are not limited to the image acquisition module. Therefore, the reading of the image memory by the image acquisition module may result in insufficient bandwidth of the image memory, which not only reduces the working efficiency of the image processing module, but also may affect the working efficiency of other theoretical readers of the image memory.

[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention

[0004] The purpose of the present invention is to provide an image processing method, device, equipment and computer-readable storage medium. The present invention designs three channels for obtaining original images, including a first channel of "monitoring the connection of an image memory to a read port of an image management module", a second channel of "monitoring the connection of an image management module to an output end of a local display" and a third channel of "reading from an image memory", and can respond to different channel activation instructions to select a corresponding channel to obtain the original image and send it to a subsequent module, thereby avoiding reducing the bandwidth of the image memory, which is beneficial to improving image acquisition efficiency and avoiding affecting the work of other theoretical readers of the image memory.

[0005] In order to solve the above technical problems, the present invention provides an image processing method, comprising:

[0006] In response to the first channel activation instruction, the original image flowing from the read port of the image memory to the image management module is sent to the subsequent module so that the subsequent module processes the original image;

[0007] In response to the second channel activation instruction, the original image flowing from the output end of the image management module to the local display is sent to the subsequent module;

[0008] In response to the third channel activation instruction, the original image read from the image memory is sent to the subsequent module;

[0009] The image management module is used to read the original image in the image memory and send it to the local display.

[0010] On the other hand, in response to the first channel activation instruction, sending the original image flowing from the read port of the image memory to the image management module to the subsequent module includes:

[0011] In response to the first channel activation instruction, the original image flowing from the read port of the image memory to the image management module is stored in the first storage device;

[0012] The original image in the first storage device is sent to the subsequent module so that the subsequent module processes the original image.

[0013] On the other hand, in response to the first channel activation instruction, storing the original image flowing from the read port of the image memory to the image management module in the first storage device includes:

[0014] In response to the first channel activation instruction, judging whether the current frame image flowing from the read port of the image memory to the image management module is the required image of the subsequent module through the received indication signal;

[0015] If it is a required image of a subsequent module, the current frame image is stored in a first storage device.

[0016] On the other hand, the image management module has a data pre-reading mechanism for the image memory, and the first storage device includes a first memory and a second memory;

[0017] In response to the first channel activation instruction, judging whether the current frame image flowing from the read port of the image memory to the image management module is a required image of the subsequent module through the received indication signal includes:

[0018] In response to the first channel activation instruction, a latest image data in the current frame image flowing to the image management module is obtained from the read port of the image memory, and the count value of the counter is increased by one;

[0019] storing the latest image data of the current frame image in the first memory;

[0020] Determine whether the count value of the counter reaches the preset pre-read data amount;

[0021] If not reached, return to the step of executing, in response to the first channel activation instruction, obtaining, from the read port of the image memory, a latest image data in the current frame image flowing to the image management module, and increasing the count value of the counter by one;

[0022] If it is reached, judging whether the current frame image is the required image of the subsequent module through the received indication signal;

[0023] If it is the required image of the subsequent module, the remaining image data of the current frame image is obtained from the read port of the image memory and the remaining image data is stored in the second memory;

[0024] If the image is not the required image of the subsequent module, control the first memory to discard the stored image data of the current frame image;

[0025] Sending the original image in the first storage device to the subsequent module so that the subsequent module processes the original image includes:

[0026] determining whether the image data has been written into the second memory;

[0027] If the image data has been written, the image data in the first memory is sent to the subsequent module;

[0028] After the first memory is read out, the image data in the second memory is sent to the subsequent module.

[0029] On the other hand, if it is a required image of the subsequent module, obtaining the remaining image data of the current frame image from the read port of the image memory and storing the remaining image data in the second memory includes:

[0030] If it is the required image of the subsequent module, the latest image data in the current frame image flowing to the image management module is obtained from the read port of the image memory, and the count value of the counter is increased by one;

[0031] storing the latest image data of the current frame image in the second memory;

[0032] Determine whether the count value of the counter reaches the total data volume of a single frame image;

[0033] If not reached, return to execute the step of obtaining the latest image data of the current frame image flowing to the image management module from the read port of the image memory if it is the image required by the subsequent module;

[0034] If it is reached, the acquisition process of the current frame image is terminated and the count value of the counter is cleared.

[0035] On the other hand, the image processing method further comprises:

[0036] In response to the modification instruction, the current preset pre-read data amount is modified to a target value.

[0037] On the other hand, it is applied to baseboard management controller;

[0038] The image management module is a video graphics array, and the image memory is a double rate synchronous dynamic random access memory.

[0039] In order to solve the above technical problems, the present invention further provides an image processing device, comprising:

[0040] A first sending module, configured to send the original image flowing from the read port of the image memory to the image management module to the subsequent module in response to the first channel activation instruction, so that the subsequent module processes the original image;

[0041] A second sending module, configured to send the original image flowing from the output end of the image management module to the local display to the subsequent module in response to the second channel activation instruction;

[0042] A third sending module, configured to send the original image read from the image memory to a subsequent module in response to a third channel activation instruction;

[0043] The image management module is used to read the original image in the image memory and send it to the local display.

[0044] In order to solve the above technical problems, the present invention further provides an image processing device, comprising:

[0045] Memory for storing computer programs;

[0046] A processor is used to implement the steps of the image processing method described above when executing the computer program.

[0047] In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above image processing method are implemented.

[0048] Beneficial effect: The present invention provides an image processing method. Considering that (1) the original image can also be obtained by monitoring "the image memory connected to the read port of the image management module", and (2) the bandwidth pressure of the image memory is different in different time periods, the present invention designs three channels for obtaining the original image, including a first channel of "monitoring the image memory connected to the read port of the image management module", a second channel of "monitoring the image management module connected to the output end of the local display" and a third channel of "reading from the image memory", and can respond to different channel activation instructions to select the corresponding channel to obtain the original image and send it to the subsequent module, thereby avoiding reducing the bandwidth of the image memory, which is beneficial to improving the image acquisition efficiency and avoiding affecting the work of other theoretical readers of the image memory.

[0049] The present invention also provides an image processing method apparatus, device and computer-readable storage medium, which have the same beneficial effects as the above image processing method. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the relevant technologies and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 A schematic flow chart of an image processing method provided by the present invention;

[0052] Figure 2 A structural schematic diagram of an image processing system provided by the present invention;

[0053] Figure 3 A schematic diagram of a flow chart of write control of a first storage device provided by the present invention;

[0054] Figure 4 A schematic diagram of a flow chart of read control of a first storage device provided by the present invention;

[0055] Figure 5 A schematic diagram of the structure of an image processing device provided by the present invention;

[0056] Figure 6 A schematic diagram of the structure of an image processing device provided by the present invention;

[0057] Figure 7 A schematic diagram of the structure of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0058] The core of the present invention is to provide an image processing method, apparatus, device and computer-readable storage medium. The present invention designs three channels for acquiring original images, including a first channel of "monitoring the image memory connected to the read port of the image management module", a second channel of "monitoring the image management module connected to the output end of the local display" and a third channel of "reading from the image memory", and can respond to different channel activation instructions to select the corresponding channel to acquire the original image and send it to the subsequent module, thereby avoiding reducing the bandwidth of the image memory, which is beneficial to improving the image acquisition efficiency and avoiding affecting the work of other theoretical readers of the image memory.

[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] Please refer to Figure 1 , Figure 1 A schematic diagram of a flow chart of an image processing method provided by the present invention, the image processing method comprising:

[0061] S101: In response to a first channel activation instruction, an original image flowing from a read port of an image memory to an image management module is sent to a subsequent module so that the subsequent module processes the original image;

[0062] Specifically, considering the technical problems in the above background technology, and considering that (1) the original image can also be obtained by monitoring "the image memory is connected to the read port of the image management module", and (2) the bandwidth pressure of the image memory is different in different time periods, the embodiment of the present invention intends to design multiple original image acquisition channels including the channel of "monitoring the image memory is connected to the read port of the image management module", and can selectively activate between the multiple channels, so as to achieve the effect of avoiding the reduction of the bandwidth of the image memory. Therefore, this step first introduces the use of the channel of "monitoring the image memory is connected to the read port of the image management module", that is, in response to the first channel activation instruction, the original image flowing from the read port of the image memory to the image management module can be sent to the subsequent module so that the subsequent module can process the original image.

[0063] In order to better illustrate the embodiments of the present invention, please refer to Figure 2 , Figure 2 A structural schematic diagram of an image processing system provided by the present invention illustrates three original image acquisition channels from the first to the third. The image processing method in the embodiment of the present invention can be applied to a channel processing device composed of a "first channel processing module, a second channel processing module and a third channel processing module". The data selector can send the original image acquired by the activated channel to the output cache module, and after caching the original image through the output cache module, it is finally transmitted to the subsequent module. The control module can send a channel activation instruction to the channel processing device under the drive of the control signal.

[0064] The output buffer module may be of various types, for example, a synchronous FIFO (First in First out) queue, etc., which is not limited in the embodiment of the present invention.

[0065] S102: In response to the second channel activation instruction, the original image flowing from the output end of the image management module to the local display is sent to the subsequent module;

[0066] Specifically, in an embodiment of the present invention, in response to a second channel activation instruction, the original image flowing from the output end of the image management module to the local display can be sent to the subsequent module, that is, the original image data stream sent by the image management module to the local display can be monitored.

[0067] S103: In response to the third channel activation instruction, the original image read from the image memory is sent to the subsequent module;

[0068] The image management module is used to read the original image in the image memory and send it to the local display.

[0069] Specifically, in this step, in response to the third channel activation instruction, the original image read from the image memory can be sent to the subsequent module. This method is to directly read the original image from the image memory. This method may reduce the bandwidth of the image memory, and therefore can be selectively activated in some cases.

[0070] Among them, the channel activation instruction issued by the control module can be actively generated by the staff according to the actual situation, or it can be automatically generated by the program based on the judgment of relevant conditions, and the embodiment of the present invention is not limited here.

[0071] The present invention provides an image processing method. Considering that (1) the original image can also be obtained by monitoring "the image memory connected to the read port of the image management module", and (2) the bandwidth pressure of the image memory is different in different time periods, the present invention designs three channels for obtaining the original image, including a first channel of "monitoring the image memory connected to the read port of the image management module", a second channel of "monitoring the image management module connected to the output end of the local display", and a third channel of "reading from the image memory", and can respond to different channel activation instructions to select the corresponding channel to obtain the original image and send it to the subsequent module, thereby avoiding reducing the bandwidth of the image memory, which is beneficial to improving the image acquisition efficiency and avoiding affecting the work of other theoretical readers of the image memory.

[0072] Based on the above embodiments:

[0073] As an optional embodiment, in response to the first channel activation instruction, sending the original image flowing from the read port of the image memory to the image management module to the subsequent module includes:

[0074] In response to the first channel activation instruction, the original image flowing from the read port of the image memory to the image management module is stored in the first storage device;

[0075] The original image in the first storage device is sent to the subsequent module so that the subsequent module processes the original image.

[0076] Specifically, in order to be able to send the acquired image data stably and reliably to the subsequent module, in an embodiment of the present invention, the original image flowing from the read port of the image memory to the image management module can first be stored in a first storage device, and then the original image in the first storage device can be sent to the subsequent module so that the subsequent module can process the original image, that is, by caching the original image data, data loss can be avoided.

[0077] The first storage device is Figure 2 The position in may be located at the input end of the data selector, the first channel processing module may include a first channel processing unit and a first storage device, and the control logic is executed by the first channel processing unit.

[0078] As an optional embodiment, in response to the first channel activation instruction, storing the original image flowing from the read port of the image memory to the image management module in the first storage device includes:

[0079] In response to the first channel activation instruction, judging whether the current frame image flowing from the read port of the image memory to the image management module is the required image of the subsequent module through the received indication signal;

[0080] If it is the required image of the subsequent module, the current frame image is stored in the first storage device.

[0081] Specifically, considering that the original image pushed to the local display by the image management module may not be the image required by the subsequent module, in order to acquire and send image data as required, the embodiment of the present invention can also respond to the first channel activation instruction, and determine through the received indication signal whether the current frame image flowing from the read port of the image memory to the image management module is the required image of the subsequent module. If it is the required image of the subsequent module, the current frame image is stored in the first storage device. If it is not the required image of the subsequent module, the image data of the current frame image can be ignored, thereby reducing unnecessary consumption of computing resources.

[0082] The indication signal may also be sent by the control module, and the indication signal may be actively generated by the staff according to the actual situation, or may be automatically generated by the program based on the judgment of relevant conditions, which is not limited in the embodiment of the present invention.

[0083] As an optional embodiment, the image management module has a data pre-reading mechanism for the image memory, and the first storage device includes a first memory and a second memory;

[0084] In response to the first channel activation instruction, judging whether the current frame image flowing from the read port of the image memory to the image management module is a required image of the subsequent module through the received indication signal includes:

[0085] In response to the first channel activation instruction, a latest image data in the current frame image flowing to the image management module is obtained from the read port of the image memory, and the count value of the counter is increased by one;

[0086] storing the latest image data of the current frame image in the first memory;

[0087] Determine whether the count value of the counter reaches the preset pre-read data amount;

[0088] If not reached, return to the step of executing, in response to the first channel activation instruction, obtaining, from the read port of the image memory, a latest image data in the current frame image flowing to the image management module, and increasing the count value of the counter by one;

[0089] If it is reached, it is judged whether the current frame image is the required image of the subsequent module through the received indication signal;

[0090] If it is the required image of the subsequent module, the remaining image data of the current frame image is obtained from the read port of the image memory and the remaining image data is stored in the second memory;

[0091] If the image is not the required image of the subsequent module, control the first memory to discard the stored image data of the current frame image;

[0092] Sending the original image in the first storage device to the subsequent module so that the subsequent module processes the original image includes:

[0093] determining whether the image data has been written into the second memory;

[0094] If the image data has been written, the image data in the first memory is sent to the subsequent module;

[0095] After the first memory is read out, the image data in the second memory is sent to the subsequent module.

[0096] Specifically, considering that some image management modules have a data pre-reading mechanism for the image memory, and in order to be able to send the original image data to the subsequent module more efficiently, the first storage device in the embodiment of the present invention includes a first memory and a second memory, and the first memory can be considered as being used to store the image data of the pre-read part of the current frame image, that is, in the embodiment of the present invention, it is possible to: "respond to the first channel activation instruction, obtain a latest image data in the current frame image flowing to the image management module from the read port of the image memory, and increase the count value of the counter by one; store the latest image data of the current frame image in the first memory; determine whether the count value of the counter reaches the preset pre-read data amount; if not, return to execute the step of responding to the first channel activation instruction, obtain a latest image data in the current frame image flowing to the image management module from the read port of the image memory, and increase the count value of the counter by one", that is, the image data of the pre-read part can be written into the first memory, and the remaining image data except the pre-read part can be written into the second memory.

[0097] Among them, considering that the start mark (vsync) of the current frame image is not generated when monitoring the pre-reading process of the image memory by the image management module, the control module cannot generate an indication signal according to the start mark (to indicate whether the current frame image is the required image of the subsequent module). Therefore, on the basis of "storing the image data of the pre-read part in the first memory and storing the remaining image data outside the pre-reading in the second memory" in the embodiment of the present invention, it is possible to quickly judge "whether the current frame image is the required image of the subsequent module" by "whether the image data has been written in the second memory". Therefore, in the embodiment of the present invention, when sending the image data in the first storage device to the subsequent module, it is possible to judge whether the image data has been written in the second memory. If the image data has been written, the image data in the first memory can be sent to the subsequent module. After the first memory is read empty, the image data in the second memory can be sent to the subsequent module, so that the acquired original image data can be sent to the subsequent module efficiently and accurately.

[0098] Among them, it is worth mentioning that when the clock domain (first clock domain) of the read port of the image memory is different from the clock domain (second clock domain) of the subsequent module, the first memory and the second memory can use asynchronous memory to convert the first clock domain into the second clock domain, and when the first clock domain and the second clock domain are the same, the first memory and the second memory can use synchronous memory. The first memory and the second memory can be of various types, such as FIFO, etc., which is not limited in the embodiment of the present invention.

[0099] Of course, in addition to this specific method, the process of reading and writing the data of the current frame image may also be of other types, and the first storage device may also be of other structures, such as a single memory, etc., which is not limited in the embodiment of the present invention.

[0100] In addition, as an optional embodiment, the target bandwidth of the image data read by the subsequent module is inconsistent with the initial bandwidth of the image management module reading the image data from the image memory;

[0101] Sending the image data in the first memory to the subsequent module includes:

[0102] Convert the image data in the first memory into a target bandwidth and then send it to a subsequent module;

[0103] Sending the image data in the second memory to the subsequent module includes:

[0104] The image data in the second memory is converted into a target bandwidth and then sent to a subsequent module.

[0105] Specifically, considering that there may be a situation where "the target bandwidth for the subsequent module to read image data is inconsistent with the initial bandwidth for the image management module to read image data from the image memory", in order to efficiently send bandwidth-matched image data to the subsequent module, in an embodiment of the present invention, when "the target bandwidth for the subsequent module to read image data is inconsistent with the initial bandwidth for the image management module to read image data from the image memory", the image data in the first memory may be converted into the target bandwidth and then sent to the subsequent module, and the image data in the second memory may be converted into the target bandwidth and then sent to the subsequent module. For example, when the initial bandwidth is 64 bits and the target bandwidth is 32 bits, the upper 32 bits of the image data may be sent to the subsequent module first, and then the lower 32 bits of the image data may be sent to the subsequent module.

[0106] As an optional embodiment, if it is a required image of a subsequent module, obtaining the remaining image data of the current frame image from the read port of the image memory and storing the remaining image data in the second memory includes:

[0107] If it is the required image of the subsequent module, then the latest image data in the current frame image flowing to the image management module is obtained from the read port of the image memory, and the count value of the counter is increased by one;

[0108] storing the latest image data of the current frame image in the second memory;

[0109] Determine whether the count value of the counter reaches the total data volume of a single frame image;

[0110] If not reached, return to execute the step of obtaining the latest image data of the current frame image flowing to the image management module from the read port of the image memory if it is the image required by the subsequent module;

[0111] If it is reached, the acquisition process of the current frame image is terminated and the count value of the counter is cleared.

[0112] Specifically, in the process of storing image data outside the pre-read range into the second memory, the image data can be acquired one by one and stored into the second memory, and after storing the latest image data, it is determined whether the count value of the counter reaches the total data volume of a single frame image. If it reaches it, it means that the data acquisition and storage of the current frame image are completed. At this time, the count value of the counter can be cleared to count the data volume of the next frame image.

[0113] Specifically, in order to better illustrate the embodiments of the present invention, please refer to Figure 3 and Figure 4 , Figure 3 A schematic diagram of a write control process of a first storage device provided by the present invention, Figure 4 A schematic diagram of a read control flow of a first storage device provided by the present invention, wherein Figure 3 In the embodiment, after the current frame image is monitored, the image data can be written into the first memory first. When the count value exceeds the preset pre-read data amount, it can be determined whether the current frame image needs to be captured. Otherwise, the latest image data is continuously written into the first memory. When the current frame image needs to be captured, the subsequent remaining image data can be written into the second memory until the count value reaches the total data amount of a single frame image. When the current frame image does not need to be captured, the first memory can be cleared until the first memory is cleared. Then, the image memory read port is monitored until the data amount of the current frame image read from the image memory to the image management module reaches the total data amount of a single frame image.

[0114] Assuming that the initial bandwidth of the image data is twice the target bandwidth, then Figure 4 In the example, after starting to write to the second memory, it indicates that the current frame image is the required image of the subsequent module, so the data in the first memory can be read. The specific method is "send the first data first, then send the second data", so as to achieve the purpose of converting the initial bandwidth to the target bandwidth, until the first memory is empty, and then start reading the data in the second memory, and similarly "send the first data first, then send the second data", until the frame end mark is detected (the generation logic of the frame end mark is that the count value of the counter reaches the total data amount of a single frame image), then it can end.

[0115] As an optional embodiment, the image processing method further includes:

[0116] In response to the modification instruction, the current preset pre-read data amount is modified to a target value.

[0117] Specifically, considering that when the amount of pre-read data in the pre-reading mechanism changes, the preset pre-read data amount in this scheme also needs to be updated accordingly, in order to facilitate modification, a modification interface is provided in an embodiment of the present invention, that is, the current preset pre-read data amount can be modified to the target value in response to a modification instruction.

[0118] As an optional embodiment, it is applied to a baseboard management controller;

[0119] The image management module is: video graphics array, and the image memory is double rate synchronous dynamic random access memory.

[0120] Specifically, considering that such image processing requirements exist in the BMC (Baseboard Management Controller) of the server, the embodiment of the present invention can be applied to the BMC, and the image management module can be VGA, and the image memory can be DDR (Double Data Rate Synchronous Dynamic Random Access Memory).

[0121] The bus between VGA and DDR may be an Advanced eXtensible Interface (AXI) bus, and image data may be transmitted between VGA and a local display via a Digital Visual Interface (DVI) signal.

[0122] Of course, in addition to the specific scenario and the specific types of the image management module and the image storage, there may be multiple application scenarios of the image processing method and the specific types of the image management module and the image storage, which are not limited in the embodiment of the present invention.

[0123] Please refer to Figure 5 , Figure 5 A schematic diagram of the structure of an image processing device provided by the present invention, the image processing device comprising:

[0124] A first sending module 51 is used for sending the original image flowing from the read port of the image memory to the image management module to the subsequent module in response to the first channel activation instruction, so that the subsequent module processes the original image;

[0125] A second sending module 52 is used to send the original image flowing from the output end of the image management module to the local display to the subsequent module in response to the second channel activation instruction;

[0126] A third sending module 53 is used to send the original image read from the image memory to the subsequent module in response to the third channel activation instruction;

[0127] The image management module is used to read the original image in the image memory and send it to the local display.

[0128] Based on the above embodiments:

[0129] As an optional embodiment, the first sending module 51 includes:

[0130] A first storage module, for storing the original image flowing from the read port of the image memory to the image management module in the first storage device in response to the first channel activation instruction;

[0131] The first sending submodule is used to send the original image in the first storage device to the subsequent module so that the subsequent module can process the original image.

[0132] As an optional embodiment, the first storage module includes:

[0133] A first judgment module is used to respond to the first channel activation instruction and judge whether the current frame image flowing from the read port of the image memory to the image management module is the required image of the subsequent module through the received indication signal, and if it is the required image of the subsequent module, trigger the first storage submodule;

[0134] The first storage submodule is used to store the current frame image in a first storage device.

[0135] As an optional embodiment, the image management module has a data pre-reading mechanism for the image memory, and the first storage device includes a first memory and a second memory;

[0136] The first judgment module includes:

[0137] A first acquisition module, configured to acquire, in response to a first channel activation instruction, from a read port of the image memory, a latest image data in a current frame image flowing to the image management module, and increase a count value of a counter by one;

[0138] A second storage submodule, used for storing the latest image data of the current frame image into the first memory;

[0139] A second judgment module is used to judge whether the count value of the counter reaches a preset pre-read data amount, and if so, trigger the third judgment module; if not, trigger the first acquisition module;

[0140] A third judgment module is used to judge whether the current frame image is a required image of the subsequent module through the received indication signal, and if it is the required image of the subsequent module, trigger the third storage submodule; if it is not the required image of the subsequent module, trigger the discarding module;

[0141] A third storage submodule, used for acquiring the remaining image data of the current frame image from the read port of the image memory and storing the remaining image data in the second memory;

[0142] A discarding module, used for controlling the first memory to discard the stored image data of the current frame image;

[0143] The first sending submodule includes:

[0144] a fourth determination module, configured to determine whether the image data has been written into the second memory, and if the image data has been written into the second memory, triggering the second sending submodule;

[0145] A second sending submodule, used for sending the image data in the first memory to a subsequent module;

[0146] The third sending submodule is used to send the image data in the second memory to the subsequent module after the first memory is read empty.

[0147] As an optional embodiment, the third storage submodule includes:

[0148] The second acquisition module is used to acquire the latest image data in the current frame image flowing to the image management module from the read port of the image memory, and increase the count value of the counter by one;

[0149] A second storage module, used for storing the latest image data of the current frame image into a second memory;

[0150] The fourth judgment module is used to judge whether the count value of the counter reaches the total data volume of a single frame image, if not, trigger the second acquisition module, if reached, trigger the end module;

[0151] The end module is used to end the acquisition process of the current frame image and clear the count value of the counter.

[0152] For an introduction to the image processing device provided by the embodiment of the present invention, please refer to the embodiment of the aforementioned image processing method, and the embodiment of the present invention will not be described in detail here.

[0153] Please refer to Figure 6 , Figure 6 A schematic diagram of the structure of an image processing device provided by the present invention, the image processing device comprising:

[0154] A memory 61, used for storing computer programs;

[0155] The processor 62 is used to implement the steps of the image processing method in the above-mentioned embodiment when executing the computer program.

[0156] For an introduction to the image processing device provided by the embodiment of the present invention, please refer to the aforementioned embodiment of the image processing method, and the embodiment of the present invention will not be described in detail here.

[0157] Please refer to Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer-readable storage medium provided by the present invention. A computer program 72 is stored on the computer-readable storage medium 71. When the computer program 72 is executed by a processor, the steps of the image processing method in the aforementioned embodiment are implemented.

[0158] For an introduction to the computer-readable storage medium provided in an embodiment of the present invention, please refer to the aforementioned embodiment of the image processing method, and the embodiment of the present invention will not be described in detail here.

[0159] An embodiment of the present invention further provides a computer program product, including a computer program / instruction, which implements the steps of the image processing method in the above-mentioned embodiment when the computer program / instruction is executed by a processor.

[0160] For an introduction to the computer program product provided by the embodiment of the present invention, please refer to the aforementioned embodiment of the image processing method, and the embodiment of the present invention will not be described in detail here.

[0161] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the element.

[0162] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An image processing method, characterized in that: include: In response to the first channel activation instruction, the original image flowing from the read port of the image memory to the image management module is sent to the subsequent module so that the subsequent module processes the original image; In response to the second channel activation instruction, the original image flowing from the output end of the image management module to the local display is sent to the subsequent module; In response to the third channel activation instruction, the original image read from the image memory is sent to the subsequent module; The image management module is used to read the original image in the image memory and send it to the local display.

2. The image processing method according to claim 1, characterized in that: In response to the first channel activation instruction, the original image flowing from the read port of the image memory to the image management module is sent to the subsequent module, including: In response to the first channel activation instruction, the original image flowing from the read port of the image memory to the image management module is stored in the first storage device; The original image in the first storage device is sent to the subsequent module so that the subsequent module processes the original image.

3. The image processing method according to claim 2, characterized in that: In response to the first channel activation instruction, storing the original image flowing from the read port of the image memory to the image management module in the first storage device includes: In response to the first channel activation instruction, judging whether the current frame image flowing from the read port of the image memory to the image management module is the required image of the subsequent module through the received indication signal; If it is a required image of a subsequent module, the current frame image is stored in a first storage device.

4. The image processing method according to claim 3, characterized in that: The image management module has a data pre-reading mechanism for the image memory, and the first storage device includes a first memory and a second memory; In response to the first channel activation instruction, judging whether the current frame image flowing from the read port of the image memory to the image management module is a required image of the subsequent module through the received indication signal includes: In response to the first channel activation instruction, a latest image data in the current frame image flowing to the image management module is obtained from the read port of the image memory, and the count value of the counter is increased by one; storing the latest image data of the current frame image in the first memory; Determine whether the count value of the counter reaches the preset pre-read data amount; If not reached, return to the step of executing, in response to the first channel activation instruction, obtaining, from the read port of the image memory, a latest image data in the current frame image flowing to the image management module, and increasing the count value of the counter by one; If it is reached, judging whether the current frame image is the required image of the subsequent module through the received indication signal; If it is the required image of the subsequent module, the remaining image data of the current frame image is obtained from the read port of the image memory and the remaining image data is stored in the second memory; If the image is not the required image of the subsequent module, control the first memory to discard the stored image data of the current frame image; Sending the original image in the first storage device to the subsequent module so that the subsequent module processes the original image includes: determining whether the image data has been written into the second memory; If the image data has been written, the image data in the first memory is sent to the subsequent module; After the first memory is read out, the image data in the second memory is sent to the subsequent module.

5. The image processing method according to claim 4, characterized in that: If it is a required image of the subsequent module, obtaining the remaining image data of the current frame image from the read port of the image memory and storing the remaining image data in the second memory includes: If it is the required image of the subsequent module, the latest image data in the current frame image flowing to the image management module is obtained from the read port of the image memory, and the count value of the counter is increased by one; storing the latest image data of the current frame image in the second memory; Determine whether the count value of the counter reaches the total data volume of a single frame image; If not reached, return to execute the step of obtaining the latest image data of the current frame image flowing to the image management module from the read port of the image memory if it is the image required by the subsequent module; If it is reached, the acquisition process of the current frame image is terminated and the count value of the counter is cleared.

6. The image processing method according to claim 4, characterized in that: The image processing method further comprises: In response to the modification instruction, the current preset pre-read data amount is modified to a target value.

7. The image processing method according to any one of claims 1 to 6, characterized in that: Applied to baseboard management controller; The image management module is a video graphics array, and the image memory is a double rate synchronous dynamic random access memory.

8. An image processing device, characterized in that: include: A first sending module, configured to send the original image flowing from the read port of the image memory to the image management module to the subsequent module in response to the first channel activation instruction, so that the subsequent module processes the original image; A second sending module, configured to send the original image flowing from the output end of the image management module to the local display to the subsequent module in response to the second channel activation instruction; A third sending module, configured to send the original image read from the image memory to a subsequent module in response to a third channel activation instruction; The image management module is used to read the original image in the image memory and send it to the local display.

9. An image processing device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the image processing method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the image processing method according to any one of claims 1 to 7 are implemented.