CN109445724B - Printing memory management method, device and equipment - Google Patents

Printing memory management method, device and equipment Download PDF

Info

Publication number
CN109445724B
CN109445724B CN201811191643.3A CN201811191643A CN109445724B CN 109445724 B CN109445724 B CN 109445724B CN 201811191643 A CN201811191643 A CN 201811191643A CN 109445724 B CN109445724 B CN 109445724B
Authority
CN
China
Prior art keywords
memory
target data
printing target
printing
memory partition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811191643.3A
Other languages
Chinese (zh)
Other versions
CN109445724A (en
Inventor
梅�明
曾利群
陈艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Senda Shenzhen Technology Co Ltd
Original Assignee
Senda Shenzhen Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Senda Shenzhen Technology Co Ltd filed Critical Senda Shenzhen Technology Co Ltd
Priority to CN201811191643.3A priority Critical patent/CN109445724B/en
Publication of CN109445724A publication Critical patent/CN109445724A/en
Application granted granted Critical
Publication of CN109445724B publication Critical patent/CN109445724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1218Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
    • G06F3/122Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to computing resources, e.g. memory, CPU
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/128Direct printing, e.g. sending document file, using memory stick, printing from a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

The invention discloses a printing memory management method, a printing memory management device and printing memory management equipment.

Description

Printing memory management method, device and equipment
Technical Field
The invention relates to the field of ink-jet printing, in particular to a printing memory management method, a printing memory management device and printing memory management equipment.
Background
In a process of printing images and texts by an inkjet printer, image data as a printing target is usually stored in a PC host, the image data includes an image or a text, the image data is converted into conversion data in a printable format by Raster Image Processing (RIP), and finally the printable data after RIP is transmitted to a nozzle for image and text printing. The FPGA on the spray head control panel receives the printing data sent by the PC host, and provides image data, control signals and power driving signals for the spray head after processing the printing data, and when the traditional single spatial sequence storage mode is used for dealing with application scenes such as variable content printing, splicing printing, multi-printing tasks and the like, the traditional memory management method greatly improves the access difficulty of the FPGA to the memory and the complexity of processing the data due to the complexity and diversification of data composition. Secondly, with the addition and completion of the printing task in the printing process, the traditional memory management method generates a lot of memory fragments and a lot of discrete data segments for the access of the printing data, which is not beneficial to the management of the memory and the reading and writing of the data, and reduces the utilization rate and the access speed of the memory.
Disclosure of Invention
The embodiment of the invention provides a printing memory management method, a printing memory management device and printing memory management equipment, which are used for solving the problem that memory fragments and data fragments are easy to generate in the access of printing data in the traditional printing memory management in the prior art.
In a first aspect, an embodiment of the present invention provides a method for managing a print memory, where the method includes:
s1, acquiring a storage space value of the printing target data, and judging whether the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value;
s2, when the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value, writing the printing target data into the memory partition and checking the printing target data;
s3, when the printing target data written into the memory partition is correct, reading the printing target data to release the space of the memory partition, and simultaneously acquiring the storage space value of the next printing target data;
and S4, repeating the steps S1 to S3 until all the printing target data are output from the memory partition.
Preferably, the memory partition is controlled by a field programmable gate array.
Preferably, the method further comprises:
dividing a printing memory into a plurality of areas and marking the serial number of each memory partition;
acquiring the printing target data with the number equal to that of the memory partitions and numbering and identifying each printing target data, wherein the numbers of the printing target data correspond to the numbers of the memory partitions one by one;
and storing each piece of printing target data into the memory partitions in one-to-one correspondence.
Preferably, the memory partition includes a plurality of memory pages, the print target data includes a plurality of channel data, one channel data corresponds to data of a row of nozzles, and each memory page stores one channel data.
Preferably, the size of the available space is N times the size of one memory page, where N is an integer greater than or equal to 1.
Preferably, the method further comprises:
and when the available space amount of the memory partition corresponding to the printing target data is smaller than the storage space value, the memory partition refuses to accept the printing target data.
Preferably, the method further comprises:
when the printing target data written into the memory partition is wrong, clearing the printing target data in the memory partition to release the space of the memory partition.
Preferably, the reading the print target data releases the space of the memory partition, and the reading mode of reading the print target data includes: FIFO read mode, DMA read mode.
In a second aspect, an embodiment of the present invention provides a print memory management apparatus, where the apparatus includes:
the judging module is used for acquiring a storage space value of the printing target data and judging whether the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value or not;
the data verification module is used for writing the printing target data into the memory partition and verifying the printing target data when the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value;
and the space releasing module is used for reading the printing target data to release the space of the memory partition and simultaneously acquiring the storage space value of the next printing target data when the printing target data written into the memory partition is verified to be correct.
In a third aspect, an embodiment of the present invention provides a print memory management device, including: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of the first aspect of the embodiments described above.
In summary, in the method, the print target data, of which the available space amount of the memory partition corresponding to the print target data is greater than the storage space value of the print target data, is written into the memory partition, the print target data is read to release the space of the memory partition, and meanwhile, the storage space value of the next print target data is obtained, it is determined whether the current available space amount of the memory partition is greater than the storage space value of the next print target data, and then the same operation is performed in the above steps.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a print memory management method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a print memory management method according to a second embodiment of the present invention.
Fig. 3 is a schematic diagram of memory partitions of a print memory management method according to an embodiment of the present invention.
Fig. 4 is a flowchart of an FPGA implementation of the print memory management method according to the embodiment of the present invention.
Fig. 5 is a schematic write-read diagram of a print memory management method according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a print memory management apparatus according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a print memory management apparatus according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 1, an embodiment of the present invention provides a printing memory management method, where the printing target data that has an available space amount of the memory partition corresponding to the printing target data that is greater than a storage space value of the printing target data is written into the memory partition, then the printing target data is read to release a space of the memory partition, and a storage space value of the next printing target data is obtained at the same time, and it is determined whether a current available space amount of the memory partition is greater than a storage space value of the next printing target data, so that the cyclic reading and storing makes the memory space compact in use, and no fragments and free addresses occur, thereby improving the use ratio of the printing memory. The printing memory management method specifically comprises the following steps:
s1, acquiring a storage space value of the printing target data, and judging whether the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value;
referring to fig. 2, in the present embodiment, before the step S1, the method further includes:
s01, dividing the printing memory into a plurality of areas and marking the number of each memory partition;
s02, acquiring the print target data with the number equal to that of the memory partitions and numbering and identifying each print target data, wherein the numbers of the plurality of print target data correspond to the numbers of the plurality of memory partitions one by one;
and S03, storing each piece of printing target data into the memory partitions in one-to-one correspondence.
In this embodiment, there are a plurality of print target data, the storage space value of each print target data is different, and an upper computer (e.g., a PC host) numbers and identifies the plurality of print target data according to the memory partition of the print memory, so that each print target data corresponds to only one memory partition; the memory partitions are divided according to the characteristics of the current printing device and the current printing task, and the space size of each memory partition can be the same or different, so that the storage order of the printing data is ensured not to be disordered; in this embodiment, the space of the memory partition can store at least 1pass of print data, where the 1pass of print data represents data printed by a printer nozzle scanning once on a print medium. Referring to fig. 3, the onepass printing (i.e. the printing of the finished product can be completed by one time of the nozzle scanning) is performed in this embodiment, and there are 4 printing targets in this embodiment, which are respectively setTo print an object a1Printing object a2Printing object a3Printing object a44 printing targets are respectively formed by the first part b of the spray head1A second part b2A third part b3And a fourth section b4After printing is finished, the memory DDR is divided into 4 partitions which are respectively a first memory partition c1And a second memory partition c2And a third memory partition c3And a fourth memory partition c4Each print target corresponds to a memory partition, in this embodiment, the first memory partition c1Storing print target a1Data of, a second memory partition c2Storing print target a2Data of, a third memory partition c3Storing print target a3Data of (c), fourth memory partition c4Storing print target a4In this embodiment, all of the 4 memory partitions are aligned by 32 bits. The memory partition may also be 64-bit aligned, and is not specifically limited herein.
Preferably, the memory partitioning is controlled by a Field Programmable Gate Array (FPGA). The upper computer carries out number identification on the printing target data and sends the number identification to the FPGA, the FPGA correspondingly writes the received printing target data into the memory partition, and the printing target data written into the memory partition is read during printing.
In this embodiment, the memory partition includes a plurality of memory pages, the print target data includes a plurality of channel data, one channel data corresponds to a row of nozzle data, and each memory page stores one channel data. And performing paging storage on the printing target data in the corresponding memory partition according to the channel data as a unit. Preferably, the size of the available space amount is N times of the size of one memory page, where N is an integer greater than or equal to 1, and in this embodiment, the size of the available space amount is 16 times of the size of one memory page, where the size of the memory page may be customized according to data to be printed, and is not limited specifically herein.
Referring to fig. 4, the method further includes the following steps:
and S11, when the available space amount of the memory partition corresponding to the printing target data is smaller than the storage space value, the memory partition refuses to accept the printing target data. And after the rejected printing target data and the like are read from the printing target data stored in the memory partition, releasing the memory space, wherein the available space amount of the memory partition is larger than the number of the printing targets, and then the memory partition receives the printing target data.
And S2, when the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value, writing the printing target data into the memory partition and checking the printing target data.
And S3, when the printing target data written into the memory partition is correct, reading the printing target data to release the space of the memory partition, and simultaneously acquiring the storage space value of the next printing target data. Referring to fig. 5, the memory partition is read such that when data is written into the memory partition, the location written into the memory partition is marked according to the write address, and when data is read from the memory partition, the location read is marked according to the read address, for example, the initial write address is w0When the print target data is written into the memory partition, the write address is w1The initial read address of the memory partition is r0Reading the print target data in the memory partition according to the data reading direction f, releasing the space of the memory partition as the print target data is read, and continuously changing the read address in the data reading process, for example, the read address is r in this embodiment1And then obtaining a storage space value of next printing target data, writing the next printing target data into the memory partition and checking the printing target data when the available space amount of the memory partition after the reading and releasing is larger than the storage space value of the next printing target data, and circularly performing the steps to ensure that the memory space is compactly utilized and no fragments or free addresses appear. In thatIn this embodiment, the reading of the memory partition is in a FIFO read mode (First Input First Output, i.e. First in First out read mode), and the print data of a predetermined length is read every time one FIFO instruction is completed. The reading of the Memory partition may also be in a Direct Memory Access (DMA) mode, where each time a DMA instruction is completed, data of a predetermined length is read from any segment in the Memory partition.
Referring to fig. 4, the method further includes the following steps:
s31, when the printing target data written into the memory partition is wrong, clearing the printing target data in the memory partition to release the space of the memory partition. In this embodiment, a fallback address is obtained when the print target data in the memory partition is cleared, so that the fallback address is the same as an address of an initial writing point of the print target data. The printing target data has errors including missing data, overlapping data, specific data errors such as data 1 changing into data 0, and the like.
S4, acquiring the current available space amount of the memory partition, and judging whether the current available space amount of the memory partition is larger than the storage space value of the next printing target data.
Specifically, the size of the non-storage space in the memory partition is obtained according to the write address and the read address, and whether the size of the non-storage space is larger than the size of a data packet of the next print target data is judged. As shown in FIG. 5, the non-storage space is d1+d2The cyclic reading and storing of data can make the memory space compact in utilization, and no fragment and free address occur.
Referring to fig. 6, an embodiment of the present invention provides a print memory management apparatus, including:
a first determining module 10, configured to obtain a storage space value of print target data, and determine whether an available space amount of a memory partition corresponding to the print target data is greater than the storage space value;
a data checking module 20, configured to, when the available space amount of the memory partition corresponding to the print target data is greater than the storage space value, write the print target data into the memory partition and check the print target data;
a space releasing module 30, configured to, when the print target data written in the memory partition is verified to be correct, read the print target data to release the space of the memory partition, and obtain a storage space value of the next print target data;
a second determining module 40, configured to obtain the current available space amount of the memory partition, and determine whether the current available space amount of the memory partition is greater than the storage space value of the next print target data.
Preferably, the memory partitioning is controlled by a Field Programmable Gate Array (FPGA).
Preferably, the apparatus further comprises:
the memory partition acquisition module is used for dividing the printing memory into a plurality of areas and marking the serial number of each memory partition;
the printing data identification module is used for acquiring the printing target data with the number equal to that of the memory partitions and identifying the number of each printing target data, wherein the numbers of the printing target data correspond to the numbers of the memory partitions one by one;
and the printing data storage module is used for storing each piece of printing target data into the memory subareas corresponding to one.
Preferably, the memory partition includes a plurality of memory pages, the print target data includes a plurality of channel data, one channel data corresponds to data of a row of nozzles, and each memory page stores one channel data.
Preferably, the size of the available space is N times the size of one memory page, where N is an integer greater than or equal to 1.
Preferably, the apparatus further comprises:
and the refusing and accepting module is used for refusing to accept the printing target data by the memory partition when the available space amount of the memory partition corresponding to the printing target data is smaller than the storage space value.
Preferably, the apparatus further comprises:
and the space releasing unit is used for clearing the printing target data in the memory partition to release the space of the memory partition when the printing target data written into the memory partition has errors.
Preferably, the reading the print target data releases the space of the memory partition, and the reading mode of reading the print target data includes: FIFO read mode, DMA read mode.
In addition, the printing memory management method according to the embodiment of the present invention described with reference to fig. 1 may be implemented by a printing memory management device. Fig. 7 is a schematic diagram illustrating a hardware structure of a print memory management apparatus according to an embodiment of the present invention.
The print memory management device may include a processor 401 and memory 402 storing computer program instructions.
Specifically, the processor 401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. The memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid-state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement any one of the print memory management methods in the above embodiments.
In one example, the print memory management device can also include a communication interface 403 and a bus 410. As shown in fig. 7, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 to complete communication therebetween.
The communication interface 403 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.
Bus 410 comprises hardware, software, or both coupling the components of the print memory management device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 410 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
In summary, according to the method, the device and the apparatus for managing the print memory provided in the embodiments of the present invention, the print target data, in which the available space amount of the memory partition corresponding to the print target data is greater than the storage space value of the print target data, is written into the memory partition, then the print target data is read to release the space of the memory partition, and meanwhile, the storage space value of the next print target data is obtained, and it is determined whether the current available space amount of the memory partition is greater than the storage space value of the next print target data, so that the memory space is utilized compactly due to the cyclic read and write operations, fragments and free addresses do not occur, and the utilization rate of the print memory is improved.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (9)

1. A method for managing a print memory, the method comprising:
s01, dividing the printing memory into a plurality of areas and marking the number of each memory partition;
s02, acquiring printing target data with the number equal to that of the memory partitions and numbering and identifying each printing target data, wherein the numbers of the printing target data correspond to the numbers of the memory partitions one by one;
s03, storing each piece of printing target data into the memory partitions in one-to-one correspondence;
s1, acquiring a storage space value of the printing target data, and judging whether the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value;
s2, when the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value, writing the printing target data into the memory partition and checking the printing target data;
s3, when the printing target data written into the memory partition is correct, reading the printing target data to release the space of the memory partition, and simultaneously acquiring the storage space value of the next printing target data;
and S4, repeating the steps S1 to S3 until all the printing target data are output from the memory partition.
2. The print memory management method of claim 1, wherein the memory partitions are controlled by a field programmable gate array.
3. The method according to claim 1, wherein the memory partition includes a plurality of memory pages, the print target data includes a plurality of channel data, one channel data corresponds to a row of nozzle data, and each memory page stores one channel data.
4. The print memory management method according to claim 3, wherein the size of the available space amount is N times the size of one of the memory pages, N being an integer equal to or greater than 1.
5. The print memory management method according to claim 1, further comprising:
and when the available space amount of the memory partition corresponding to the printing target data is smaller than the storage space value, the memory partition refuses to accept the printing target data.
6. The print memory management method according to claim 1, further comprising:
when the printing target data written into the memory partition is wrong, clearing the printing target data in the memory partition to release the space of the memory partition.
7. The print memory management method according to claim 1, wherein the reading the print target data frees up a space of the memory partition, and a read mode of reading the print target data includes: FIFO read mode, DMA read mode.
8. A print memory management apparatus, characterized in that the apparatus comprises:
the memory partition acquisition module is used for dividing the printing memory into a plurality of areas and marking the serial number of each memory partition;
the printing data identification module is used for acquiring printing target data with the number equal to that of the memory partitions and identifying the number of each printing target data, wherein the numbers of the printing target data correspond to the numbers of the memory partitions one by one;
the printing data storage module is used for storing each piece of printing target data into the memory subareas corresponding to one another one by one;
the judging module is used for acquiring a storage space value of the printing target data and judging whether the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value or not;
the data verification module is used for writing the printing target data into the memory partition and verifying the printing target data when the available space amount of the memory partition corresponding to the printing target data is larger than the storage space value;
and the space releasing module is used for reading the printing target data to release the space of the memory partition and simultaneously acquiring the storage space value of the next printing target data when the printing target data written into the memory partition is verified to be correct.
9. A print memory management apparatus, characterized by comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-7.
CN201811191643.3A 2018-10-12 2018-10-12 Printing memory management method, device and equipment Active CN109445724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811191643.3A CN109445724B (en) 2018-10-12 2018-10-12 Printing memory management method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811191643.3A CN109445724B (en) 2018-10-12 2018-10-12 Printing memory management method, device and equipment

Publications (2)

Publication Number Publication Date
CN109445724A CN109445724A (en) 2019-03-08
CN109445724B true CN109445724B (en) 2022-03-01

Family

ID=65546402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811191643.3A Active CN109445724B (en) 2018-10-12 2018-10-12 Printing memory management method, device and equipment

Country Status (1)

Country Link
CN (1) CN109445724B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805808B (en) * 2021-09-10 2023-06-27 珠海趣印科技有限公司 Print data processing method and electronic equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1120999A (en) * 1994-07-01 1996-04-24 佳能株式会社 Printer having scroll print buffer and printing method
CN1689814A (en) * 2000-05-24 2005-11-02 西尔弗布鲁克研究有限公司 Printing engine controller used for page width ink jet printing head
CN1714354A (en) * 2002-02-13 2005-12-28 西尔弗布鲁克研究有限公司 Car management system and associated printer
CN101187853A (en) * 2007-12-06 2008-05-28 北大方正集团有限公司 Multi-color printing storage medium allocation method and system
CN101221536A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Internal memory managing method and device of embedded system
CN101357548A (en) * 2004-01-21 2009-02-04 西尔弗布鲁克研究有限公司 Ink jet printing system with demountable box
CN101499034A (en) * 2009-03-05 2009-08-05 北京中星微电子有限公司 Internal memory management method
US7765378B1 (en) * 2001-06-01 2010-07-27 Sanbolic, Inc. Utilization of memory storage
CN102156675A (en) * 2010-02-12 2011-08-17 中兴通讯股份有限公司 Method and device for allocating memory
CN102348035A (en) * 2010-07-26 2012-02-08 精工爱普生株式会社 Optical reading device, control method for an optical reading device, and storage medium
CN102968380A (en) * 2012-11-02 2013-03-13 深圳市同洲电子股份有限公司 Method and device for managing memory partitions of memory filesystem
CN106933935A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 task storage method and device
CN108038002A (en) * 2017-12-15 2018-05-15 天津津航计算技术研究所 A kind of embedded software EMS memory management process
CN108132842A (en) * 2017-12-15 2018-06-08 天津津航计算技术研究所 A kind of embedded software internal storage management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050094194A1 (en) * 2003-11-03 2005-05-05 David Dolev Enhanced image processing with shared data storage

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1120999A (en) * 1994-07-01 1996-04-24 佳能株式会社 Printer having scroll print buffer and printing method
CN1689814A (en) * 2000-05-24 2005-11-02 西尔弗布鲁克研究有限公司 Printing engine controller used for page width ink jet printing head
US7765378B1 (en) * 2001-06-01 2010-07-27 Sanbolic, Inc. Utilization of memory storage
CN1714354A (en) * 2002-02-13 2005-12-28 西尔弗布鲁克研究有限公司 Car management system and associated printer
CN101357548A (en) * 2004-01-21 2009-02-04 西尔弗布鲁克研究有限公司 Ink jet printing system with demountable box
CN101187853A (en) * 2007-12-06 2008-05-28 北大方正集团有限公司 Multi-color printing storage medium allocation method and system
CN101221536A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Internal memory managing method and device of embedded system
CN101499034A (en) * 2009-03-05 2009-08-05 北京中星微电子有限公司 Internal memory management method
CN102156675A (en) * 2010-02-12 2011-08-17 中兴通讯股份有限公司 Method and device for allocating memory
CN102348035A (en) * 2010-07-26 2012-02-08 精工爱普生株式会社 Optical reading device, control method for an optical reading device, and storage medium
CN102968380A (en) * 2012-11-02 2013-03-13 深圳市同洲电子股份有限公司 Method and device for managing memory partitions of memory filesystem
CN106933935A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 task storage method and device
CN108038002A (en) * 2017-12-15 2018-05-15 天津津航计算技术研究所 A kind of embedded software EMS memory management process
CN108132842A (en) * 2017-12-15 2018-06-08 天津津航计算技术研究所 A kind of embedded software internal storage management system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Detecting salient fragments for video human action detection and recognition using an associative memory;Da-Wei Kuo;《2012 International Symposium on Communications and Information Technologies (ISCIT)》;20121213;全文 *
基于线段树的高效内存管理算法及其空间优化;王冬慧;《计算机应用》;20151210;第35卷(第12期);全文 *

Also Published As

Publication number Publication date
CN109445724A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN102446280B (en) A kind of method of verification msg, Apparatus and system
CN109697040B (en) Print data processing method, device and printer
CN110187851B (en) Data processing method, device, equipment and storage medium for ink-jet printer
CN102414666A (en) Low latency read operation for managed non-volatile memory
CN109703217A (en) Onepass print control program, device, equipment and medium
CN109445724B (en) Printing memory management method, device and equipment
CN115691651A (en) Method and device for testing chip
CN104579548B (en) Transmission method and device based on management data input and output multi-source agreement
US9015429B2 (en) Method and apparatus for an efficient hardware implementation of dictionary based lossless compression
CN101406001A (en) Method and device for transmitting data packets
CN111179379A (en) General bullet train data set generation method and device, computer device and computer readable storage medium
CN108984136A (en) print data transmission method, device, equipment and storage medium
CN110901229B (en) Image data processing method, device, equipment and storage medium
CN113190277B (en) Equipment identification method, equipment identification device and terminal equipment
CN114970428A (en) Verification system and method for Flexray bus controller in SoC
CN103973581A (en) Method, device and system for processing message data
CN101821718B (en) Method for testing address bus in logic module
CN112248668B (en) Method and device for controlling printing press
CN110837350B (en) Continuous sun printing method, lower computer, upper computer and system
US3891839A (en) Method and apparatus for identifying an invalid character code
CN114356541B (en) Configuration method, device and system of computing core and electronic equipment
CN113038473B (en) Method for connecting local area network through handwriting recognition, intelligent pen and storage medium
CN110471818B (en) Method, device and equipment for marking error physical address of flash memory
CN114444423B (en) Data processing method and system based on verification platform and electronic equipment
CN115658411B (en) Excitation generator and excitation generating method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant