CN101394458B - Managing method, device for reading and writing memory and digital printing equipment - Google Patents

Managing method, device for reading and writing memory and digital printing equipment Download PDF

Info

Publication number
CN101394458B
CN101394458B CN2008102232883A CN200810223288A CN101394458B CN 101394458 B CN101394458 B CN 101394458B CN 2008102232883 A CN2008102232883 A CN 2008102232883A CN 200810223288 A CN200810223288 A CN 200810223288A CN 101394458 B CN101394458 B CN 101394458B
Authority
CN
China
Prior art keywords
memory
length
read
write
data
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.)
Expired - Fee Related
Application number
CN2008102232883A
Other languages
Chinese (zh)
Other versions
CN101394458A (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.)
BEIJING FOUNDERPOD DIGITAL TECHNOLOGY CO LTD
Peking University
Peking University Founder Group Co Ltd
Original Assignee
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CN2008102232883A priority Critical patent/CN101394458B/en
Publication of CN101394458A publication Critical patent/CN101394458A/en
Application granted granted Critical
Publication of CN101394458B publication Critical patent/CN101394458B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a management method and a device of a read/write memory, which are used for avoiding write-in or read-out of invalid data, thereby improving the read/write speed of the memory. The management method of the read/write memory comprises the following steps: when a group of received data are written in the memory, determining whether the write-in time slice length is required to be dynamically configured according to the total length of the group of data and the configured write-in length of each time, if so, the data are written in the memory according to the write-in time slice length of the dynamic configuration, if not, the data are written in the memory according to the fixed write-in time slice length; and when the group of data are read from the memory, determining whether the read-out time slice length is required to be dynamically configured according to the total length of the group of data and the configured read-out length of each time, if so, reading the data from the memory according to the read-out time slice length of the dynamic configuration, if not, reading the data from the memory according to the read-out time slice length. The invention discloses a digital printing device at the same time.

Description

The management method of read-write memory, device and digital printing equipment
Technical field
The present invention relates to technical field of data storage, relate in particular to a kind of administrative skill of read-write memory.
Background technology
Digital printing is the printing technology of high speed development in recent years, adopts the mode that data are directly imported, handle, printed.Digital printing equipment becomes dot array data by host side with original data processing, by control system dot array data is processed into the data that are fit to imaging, can be called imaging data, and control system is controlled image-forming block again to the imaging data direct imaging.The simple digital printing equipment of introducing on-demand ink jet printing commonly used, under the control of control system, when the body of undertaking the printing of (for example paper) arrived the precalculated position, the piezo crystals cognition in the image-forming block shower nozzle produced pulse printing ink is extruded, directly to the vaporific ink droplet imaging of the jet surface of the body of undertaking the printing of.Control system at digital printing equipment is processed into dot array data in the process of imaging data, in order to guarantee real-time, lot of data needs high-speed transfer, therefore need to use jumbo memory that data are carried out buffer memory, the read or write speed of memory and the bandwidth availability ratio of memory will directly influence the print speed printing speed of digital printing equipment.
In the prior art, peripheral components is by sending the read-write operation of read-write memory request realization to memory, need in memory, write data (being write operation) according to writing timeslice length, according to read time leaf length sense data (being read operation) from memory at every turn.The access time leaf length is meant the time span of memory being carried out a read-write operation, and under the situation about determining in clock cycle of memory operation, the access time leaf length is consistent with the length that reads and writes data at every turn.Generally, the access time leaf length of memory support is changeless.Along with having appearred supporting in the development of technology, the memory of variable access time leaf length, sort memory can support the access time leaf length in the certain limit.During actual the use, can as required in certain read/write slot scope,, carry out read-write operation according to this fixing access time leaf length to memory again for sort memory is provided with a fixing access time leaf length.The access time leaf length is big more, and then once the data of read-write are many more, and the bandwidth availability ratio of respective memory is high more.If bigger access time leaf length is set for the bandwidth availability ratio that improves memory, can produce following problem: in the process with one group of writing data into memory, the total length of these group data is uncertain, at every turn write timeslice length and should organize data write memory in batches according to fixing, the last time according to fixing when writing timeslice length with the remaining data write memory, if the length of remaining data is less, then with after the whole write memories of remaining data, write operation does not also finish, still can continue random writing invalid data in memory, reach the fixing timeslice length of writing up to the used time of this write operation, this write operation finishes.Can cause like this in memory, having write invalid data the last time in the process with this group writing data into memory, and the invalid data that writes might greatly surpass valid data, write invalid data and caused waste of time.In like manner, in the process that one group of data is read, may appear at the problem of from memory, reading invalid data for the last time from memory.In the prior art, writing or reading of invalid data may appear in the method according to fixing read/write slot length read memory write, influenced the read or write speed of memory, thereby reduced data transmission bauds.
Summary of the invention
The invention provides a kind of management method and device of read-write memory,, improve the read or write speed of memory in order to avoid writing or reading of invalid data.
Corresponding, the present invention also provides a kind of digital printing equipment.
The invention provides a kind of management method of read-write memory, comprising:
During with one group of writing data into memory receiving, according to the total length of these group data and each write data length of setting, need to judge whether dynamic-configuration to write timeslice length, if, then once in memory, write data arbitrarily according to the timeslice length of adjusting of writing, all the other each times write data according to the fixing timeslice length of writing in memory, if not, the fixing timeslice length of writing of then each basis writes data in memory;
In the time of should organizing data and from memory, read, according to the total length of these group data and each read data length of setting, need to judge whether dynamic-configuration read time leaf length, if, then arbitrarily once according to read time leaf length sense data from memory of adjusting, all the other each times are according to fixing read time leaf length sense data from memory, and are if not, then each according to fixing read time leaf length sense data from memory.
The invention provides a kind of management devices of read-write memory, comprising:
Receiving element: be used to receive one group of data;
Judging unit: be used for according to the total length of these group data and each write data length of setting, need to judge whether dynamic-configuration to write timeslice length, and judged result is write in output, according to the total length of these group data and each read data length of setting, need to judge whether dynamic-configuration read time leaf length, and judged result is read in output;
Dispensing unit: be used to receive and describedly write judged result and read judged result, if the described judged result of writing is for being, then for arbitrarily once configuration adjust write timeslice length, for all the other each times configuration fixing write timeslice length, if the described judged result of writing is for denying, then configuration is fixing writes timeslice length, if the described judged result of reading is for being, then for arbitrarily once configuration adjust write timeslice length, for all the other each times configuration fixing write timeslice length, if the described judged result of reading then disposes fixing read time leaf length for not;
Read-write cell: be used for when receiving the memory write request, the timeslice length of exporting according to dispensing unit of writing writes data in memory at every turn; When receiving read memory request, according to read time leaf length sense data from memory of dispensing unit output at every turn.
The invention provides a kind of digital printing equipment, comprise host side, control system, memory and image-forming block, between described control system and memory, also comprise the management devices of above-mentioned read-write memory.
The present invention is based on the memory of supporting variable access time leaf length, a kind of management method and device of read-write memory have been proposed, according to the total length of one group of data and the length that reads and writes data of setting at every turn, need to judge whether dynamic-configuration access time leaf length, if, then according to the access time leaf length of dynamic-configuration memory is carried out read-write operation at every turn, taken into full account the uncertainty of the total length of every group of data, as required can dynamic-configuration access time leaf length, avoided in memory, writing and from memory, reading invalid data, saved the data write time, improve the read or write speed of memory, thereby effectively promoted data transmission bauds.
Description of drawings
Fig. 1 is the management method flow chart of read-write memory in the embodiment of the invention;
Fig. 2 is the management flow chart of memory write in the embodiment of the invention;
A kind of arbitration process flow chart when Fig. 3 receives the read-write memory request simultaneously for monobus memory in the embodiment of the invention;
Fig. 4 is the management devices block diagram of read-write memory in the embodiment of the invention;
Fig. 5 is a kind of structural representation of embodiment of the invention digital printing equipment.
Embodiment
The embodiment of the invention provides a kind of management method of read-write memory, based on the memory of supporting variable access time leaf length, the total length of one group of data that can send according to peripheral components and the length that at every turn reads and writes data of setting, dynamic-configuration access time leaf length when needed, avoided reading and writing of invalid data, save the time of reading and writing data, improved the read or write speed of memory, thereby promoted data transmission bauds.It is pointed out that the described memory of the embodiment of the invention all is meant the memory of supporting variable access time leaf length, follow-up repeating no more.
As shown in Figure 1, the management method of read-write memory comprises:
S101, will receive one group of writing data into memory the time, according to the total length of these group data and each write data length of setting, need to judge whether dynamic-configuration to write timeslice length, if, then each timeslice length of writing according to dynamic-configuration writes data in memory, if not, the fixing timeslice length of writing of then each basis writes data in memory;
S102, in the time of should organizing data and from memory, read, according to the total length of these group data and each read data length of setting, need to judge whether dynamic-configuration read time leaf length, if, then each read time leaf length sense data from memory according to dynamic-configuration, if not, then each according to fixing read time leaf length sense data from memory.
The management method of the read-write memory that the embodiment of the invention is provided below in conjunction with Figure of description is described in detail.Because the management method basically identical of memory write and memory read, the embodiment of the invention will be that example describes with the management method of memory write.
Suppose that one group of data that transmitting terminal sends need write memory, owing to be subjected to the restriction of memory span, in the process that in memory, writes data, these group data can not be once whole write memories, but in the needs write memory in batches, the total length of these group data in the whole write data process is made as N.For the memory of selected model, can rationally set each write data length M an of the best in advance.Selection to each write data length M of the best, should consider to satisfy the bandwidth availability ratio of certain memory, consider the clock cycle scope of writing timeslice length range and work of the memory support of this model again, will consider also that simultaneously the reasonable distribution of bus resource avoids long-time write data to take bus resource.As shown in Figure 2, the management process of the memory write that the embodiment of the invention provides comprises the steps:
One group of data that S200, receiving end/sending end send;
S201, judge whether according to each write data length M of the total length N of these group data and setting that needs dynamically arrange and write timeslice length, a kind of preferable determination methods is: will organize the total length N of data and each write data length M of setting and be divided by, it should be noted that N and the unit of M should be consistent, if N/M obtains remainder, then judging needs dynamic-configuration to write timeslice length, carry out S202, if N/M does not obtain remainder (being that remainder is 0), then judging does not need dynamic-configuration to write timeslice length, carries out S206;
S202, to establish the integer quotient that N/M obtains be L, the remainder that N/M obtains be K (K<M), then determine to organize data in batches the total degree of write memory be L+1;
S203, in will organizing the whole process of writing data into memory, the timeslice length of writing according to dynamic-configuration writes data in memory at every turn, the scheme that a kind of preferable dynamic-configuration is write timeslice length is: preceding L the fixing timeslice length of writing of basis writes data in memory, write data according to the timeslice length of adjusting of writing in memory for the last time; The wherein fixing timeslice length of writing is amassed with the clock cycle T of memory operation is for the write data length M of setting, can improve the bandwidth availability ratio of memory like this, the timeslice length of adjusting of writing is that the remainder K that N/M obtains amasss with the clock cycle T of memory operation is, can avoid writing of invalid data like this; It will be organized in the whole process of writing data into memory really, as long as guarantee wherein once to write data according to the timeslice length of adjusting of writing in storage arbitrarily, all the other each times write data and get final product according to the timeslice length of writing of fixing in memory.
According to this preferable dynamic-configuration scheme, in will organizing the whole process of writing data into memory, need organize the number of times that data have write in batches in memory to this counts, receive the memory write request need in memory, write data the time at every turn, judge whether the number of times that these group data have write in batches reaches total degree L+1 in memory, if then carry out S204, if not, then carry out S205;
S204, this timeslice length of writing according to adjustment write data in memory;
S205, the fixing timeslice length of writing of this basis write data in memory;
S206, in will organizing the whole process of writing data into memory, receive the memory write request need in memory, write data the time at every turn, write data according to the fixing timeslice length of writing in memory, what this was fixing writes timeslice length meeting continuously effective in the whole write memories of these group data.
In like manner, in the process of from memory, reading these group data, at first need to judge whether needs dynamic-configuration read time leaf length according to the total length of these group data and each read data length of setting, concrete determination methods and consistent with the process that will organize writing data into memory according to the follow-up implementation of judged result repeats no more.Wherein, each write data length of setting can be consistent with each read data length, like this according to this group data configuration fix to write timeslice length also consistent with the read time leaf length of writing timeslice length and adjustment of read time leaf length of fixing and adjustment.Certainly, if be subjected to the speed of receiving terminal consumption data, and the influence of other factors, each read data length of setting also can be inconsistent with each write data length of setting.For example the receiving terminal consumption data is limited in one's ability, then can consider suitably to reduce each read data length.If the speed of transmitting terminal transmission data is suitable, preferable with the speed of receiving terminal consumption data, each read data length of setting is identical with each write data length of setting, to guarantee the continuity of transfer of data.
If this memory is the monobus memory, for example Synchronous Dynamic Random Access Memory (SDRAM) is the memory that read-write operation can not carry out simultaneously, need arbitrate read-write operation when simultaneously read memory request and memory write request being arranged.When receiving read memory request and memory write request simultaneously, by a last operation to memory of flag bit inquiry is that read data operation or data writing operation are arbitrated, the data message of this flag bit is called the indication information of action type, and action type comprises read operation and write operation certainly.The flag bit that can set the read operation correspondence is 0, and the flag bit of write operation correspondence is 1.After this read operation or write operation are finished, can be 0 or 1 according to this operation corresponding setting flag bit, prepare for arbitrate the read-write memory request next time.If last what memory was carried out is read operation, then arbitration result is carried out write operation for this, on the contrary, if last what memory was carried out is write operation, then arbitration result is carried out read operation for this, has avoided continuous like this and has write data or sense data and take bus resource from memory in memory.If memory write request and read memory request are not to send simultaneously, then the problems referred to above needn't be considered.As shown in Figure 3, concrete arbitration process flow process comprises the steps:
S300, receive read memory request and memory write request simultaneously;
S301, inquiry flag bit, the i.e. indication information of action type;
Whether S302, flag bit are 0, if, then carry out S303, if not, then carry out S304;
S303, confirm that according to flag bit action type is read operation, then control this and carry out write operation, promptly respond the memory write request, in memory, write data, continue to carry out S305 according to writing timeslice length;
S304, confirm that according to flag bit action type is a write operation, then control this and carry out read operation, promptly respond read memory request,, continue to carry out S305 according to read time leaf length sense data from memory;
S305, according to this operation setting flag bit, if this is operating as read operation, then flag bit is made as 0, if this is operating as write operation, then flag bit is made as 1.
Certainly, also can adopt other arbitration process mechanism according to different situations, will be if transmitting terminal sends the speed of data faster than the speed of receiving terminal consumption data, when then receiving read memory request and memory write request simultaneously, should preferentially satisfy read memory request, the assurance read right is preferential, can guarantee the continuity of receiving terminal data streams read like this.
Also have a kind of more special situation to be, when write permission takies bus resource and carries out write operation, if receive the read memory request of high priority this moment, then need to interrupt ongoing write operation, abdicate the read memory request that bus resource responds this high priority, memory is carried out read operation, that is:
When receiving the read memory request of high priority in timeslice length writes data in memory the process according to writing of this, the response time that clock cycle long-pending of judging the length of this written data and memory operation increases configuration more whether less than this write timeslice length, wherein the response time be rule of thumb be worth pre-configured;
If, then with this write timeslice length change to the length of this written data and memory operation clock cycle long-pending again with this response time sum, and according to writing after timeslice length executes this write operation the read memory request of response high priority after the change;
If not, then writing after timeslice length executes this write operation the read memory request of response high priority according to this.
So just can guarantee to finish this write operation as early as possible and memory is carried out read operation.In like manner, when read right takies bus resource and carries out read operation,, need to interrupt ongoing read operation this moment if receive the memory write request of high priority, abdicate the memory write request that bus resource responds this high priority, memory is carried out write operation.Handling process when concrete handling process takies bus resource with write permission is consistent, repeats no more.Change the access time leaf length according to the actual requirements, having satisfied can rational distribution bus resource when emergency takes place.
Be that example describes with management read-write monobus memory storage SDRAM below.The length that at every turn reads and writes data of SDRAM can be set at 2,4,8 (unit is the data numbers), perhaps takes the full-page pattern, and each realization random length reads and writes data in admissible scope.SDRAM according to selected model in this example is the length setting that reads and writes data at every turn 512 (unit is the data numbers), can determine corresponding access time leaf length according to the clock cycle of SDRAM work thus.In this example the access time leaf length being made as identically, is that example describes with the write operation process.After the one group of data that receives the transmitting terminal transmission, judge according to the total length of these group data whether the needs dynamic-configuration is write timeslice length to the process that will organize writing data into memory, the total length of supposing these group data is M bit, because the data bandwidth of SDRAM is 32bit, the length N that then at every turn reads and writes data is (512 * 32) bit, if M/ (512 * 32) does not have remainder (being that remainder is 0), then do not need dynamic-configuration to write timeslice length, write timeslice length at every turn and all be set to 512 * T of fixing, wherein T is the clock cycle of this SDRAM work; If M/ (512 * 32) has remainder, and the remainder that obtains is K, and integer quotient is L, then determine to organize data in batches the total degree of write memory be L+1, wherein once write timeslice length arbitrarily and be configured to K * T, write timeslice length and be configured to 512 * T for all the other L time.
According to prior art, when read-write SDRAM, if adopt fixing access time leaf length, for example be 8 * T, for last write operation, if the length of remaining data is less than 8 (they for example being 2), according to writing timeslice length 8 * T, and can 6 invalid datas of random writing after writing valid data.Increase to 512 * T if will write timeslice length, data that may last random writing can be more, and maximum possible can reach 511, will waste the plenty of time, so that the length of read/write slot generally can not adopt is too big.And the scheme of utilizing the embodiment of the invention to provide, after the length setting that will at every turn read and write data is 512, it for total degree L+1 time write operation, having at least, the timeslice length of writing of L is set to 512 * T, improved the bandwidth availability ratio of memory greatly, for last write operation, if the length of remaining data is much smaller than 512, then can avoid writing of invalid data according to the length configurable write timeslice length of remaining data.Can find out that thus the management method of the read-write memory that the employing embodiment of the invention provides has improved the bandwidth availability ratio and the read or write speed of memory, thereby data transmission bauds is provided.
The embodiment of the invention is based on the memory of supporting variable access time leaf length, a kind of management method of read-write memory has been proposed, according to the total length of one group of data and the length that reads and writes data of setting at every turn, need to judge whether dynamic-configuration access time leaf length, if, then according to the access time leaf length of dynamic-configuration memory is carried out read-write operation at every turn, taken into full account the uncertainty of the total length of every group of data, as required can dynamic-configuration access time leaf length, avoided in memory, writing and from memory, reading invalid data, saved the data write time, improved the read or write speed of memory, thereby effectively promoted data transmission bauds, on the basis of reasonable distribution read-write bus resource, select bigger access time leaf length as far as possible, to improve the bandwidth availability ratio of memory, the bandwidth availability ratio of memory and the optimum balance of read or write speed have been reached.
Based on same inventive concept, the embodiment of the invention provides a kind of management devices of read-write memory, as shown in Figure 4, comprising:
Receiving element 401: be used to receive one group of data;
Judging unit 402: be used for according to the total length of these group data and each write data length of setting, need to judge whether dynamic-configuration to write timeslice length, and judged result is write in output, according to the total length of these group data and each read data length of setting, need to judge whether dynamic-configuration read time leaf length, and judged result is read in output;
Dispensing unit 403: be used to receive and describedly write judged result and read judged result, if the described judged result of writing is for being, then dynamic-configuration is write timeslice length, if the described judged result of writing is for denying, then configuration is fixing writes timeslice length, if the described judged result of reading is for being, and dynamic-configuration read time leaf length then, if the described judged result of reading then disposes fixing read time leaf length for not;
Read-write cell 404: be used for when at every turn receiving the memory write request, the timeslice length of writing according to dispensing unit output writes data in memory, when receiving read memory request, according to read time leaf length sense data from memory of dispensing unit output at every turn.
Preferable, this device also comprises:
Memory cell 405: the indication information that is used for the storage operation type;
Arbitration unit 406: being used at described memory is the monobus memory, and when read-write cell 404 receives read memory request and memory write request simultaneously, from described memory cell, obtain the indication information of action type, when confirming that according to described indication information action type is write operation, control read-write cell 404 these sense datas from memory, when confirming that action type is read operation, this writes data control read-write cell 404 in memory, and according to the indication information of action type in this operation updated stored unit 405.
Preferable, this device also comprises:
First processing unit 407: be used at read-write cell 404 during according to this write timeslice length receive the read memory request of high priority in memory writes the process of data, whether the response time that clock cycle long-pending of judging the length of this written data and memory operation increases configuration again writes timeslice length less than this; If, then with this write timeslice length change to the length of this written data and memory operation clock cycle long-pending again with this response time sum, and control read-write cell 404 is according to writing after timeslice length executes this write operation the read memory request of response high priority after the change; If not, then control read-write cell 404 and writing after timeslice length executes this write operation the read memory request of response high priority according to this;
Second processing unit 408: be used for when read-write cell 404 receives the memory write request of high priority according to this read time leaf length from the process of memory sense data, judge this clock cycle long-pending of the length of sense data and memory operation increase configuration again response time whether less than this read time leaf length; If, then control read-write cell 404 with this read time leaf length change to this length of sense data and described memory operation clock cycle long-pending again with this response time sum, and after executing this read operation according to the read time leaf length after the change, the memory write request of response high priority; If not, then control read-write cell 404 after the read time leaf length according to this executes this read operation, the memory write request of response high priority.
The management method of the read-write memory that the embodiment of the invention provides and device can be applied in digital printing technology field, by improving the bandwidth availability ratio and the read or write speed of memory, improve data transmission bauds, to satisfy the demand of high speed printing.Based on same technical conceive, the embodiment of the invention provides a kind of digital printing equipment, comprise host side 500, control system 501, memory 502 and image-forming block 503, between control system 501 and memory 502, also comprise the management devices 504 of this read-write memory, wherein:
The management devices 504 of read-write memory: when being used for one group of writing data into memory 502 receiving from control system 501, according to the total length of these group data and each write data length of setting, need to judge whether dynamic-configuration to write timeslice length, if, then each timeslice length of writing according to dynamic-configuration writes data in memory 502, if not, the fixing timeslice length of writing of then each basis writes data in memory 502; And
In the time of should organizing data and from memory 502, read into control system 501, according to the total length of these group data and each read data length of setting, need to judge whether dynamic-configuration read time leaf length, if, then each read time leaf length sense data from memory 502 according to dynamic-configuration, if not, then each according to fixing read time leaf length sense data from memory 502.
Preferable, the management devices 504 of read-write memory also is used for being the monobus memory at memory 502, and when receiving read memory request that control system 501 sends and memory write request simultaneously, obtains the indication information of the action type of storage; When confirming that according to indication information action type is write operation, control this sense data from memory 502, when confirming that action type is read operation, control this and in memory 502, write data, and operate the indication information of the action type of updated stored according to this.
The management devices 504 of read-write memory, also be used for according to this write timeslice length receive the read memory request of high priority in memory 502 writes the process of data the time, whether the response time that clock cycle long-pending of judging the length of this written data and memory 502 work increases configuration again writes timeslice length less than this; If, then with this write timeslice length change to the length of this written data and memory 502 work clock cycle long-pending again with this response time sum, and according to writing after timeslice length executes this write operation the read memory request of response high priority after the change; If not, then writing after timeslice length executes this write operation the read memory request of response high priority according to this;
Perhaps, when in the process of read time leaf length sense data from memory 502, receiving the memory write request of high priority according to this, judge this clock cycle long-pending of the length of sense data and memory 502 work increase configuration again response time whether less than this read time leaf length; If, then this read time leaf length is changed to this length of sense data and memory 502 work clock cycle long-pending again with this response time sum, and after executing this read operation according to the read time leaf length after the change, the memory write request of response high priority; If not, then after the read time leaf length according to this executes this read operation, respond the memory write request of high priority.
Because in the digital printing process, every group of data all are made up of the data of C, M, Y, four look faces of K, control system will be organized data send to correspondence according to the order of look face look surface imaging parts usually, so usually memory is divided into equal-sized four zones, the data of one of them look face in each regional corresponding stored C, M, four look faces of Y, K, four shared memories of look face.In the process with one group of writing data into memory, because control system is according to four predefined orderings of look face, order sends of all kinds data, does not therefore exist face of all kinds to fight for the problem of bus write permission in the process of writing data into memory.But in control system is read the data of corresponding look face from memory process, can exist a plurality of look faces to fight for the problem of bus read right.Can take read right poll arbitration mechanism, at first each look face is sorted in advance, when a plurality of look faces need from memory sense data simultaneously, definite ordering look face at first obtains read right, after control system is finished a read operation at the look face that obtains read right, because corresponding look surface imaging parts need the time to go to handle the data of reading, in order to make full use of bus resource, this look face can be abdicated the memory bus resource.After it should be noted that the look face that obtains read right is abdicated read right, the ordering of this look face is the most last by original becoming at first, and other ordering of of all kinds is pushed ahead successively, guarantees that like this each look face has equal chance to obtain the read right of memory.
In digital printing equipment, control system generally comprises the Multistage Control subsystem, dot array data is processed into to send to after can the imaging data of direct imaging through control subsystem at different levels successively and carries out imaging in the image-forming block, the management devices of the read-write memory that the embodiment of the invention provides all can be set between control subsystem wherein at different levels and the corresponding memory, to promote the overall data transmission speed of digital printing equipment, satisfy the demand of high speed printing.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (13)

1. the management method of a read-write memory is characterized in that, comprising:
During with one group of writing data into memory receiving, according to the total length of these group data and each write data length of setting, need to judge whether dynamic-configuration to write timeslice length, if, then once in memory, write data arbitrarily according to the timeslice length of adjusting of writing, all the other each times write data according to the fixing timeslice length of writing in memory, if not, the fixing timeslice length of writing of then each basis writes data in memory;
In the time of should organizing data and from memory, read, according to the total length of these group data and each read data length of setting, need to judge whether dynamic-configuration read time leaf length, if, then arbitrarily once according to read time leaf length sense data from memory of adjusting, all the other each times are according to fixing read time leaf length sense data from memory, and are if not, then each according to fixing read time leaf length sense data from memory.
2. the method for claim 1 is characterized in that, describedly need to judge whether dynamic-configuration to write timeslice length according to this group total length of data and each write data length of setting, comprising:
The total length of these group data and each write data length of setting are divided by;
Obtain remainder if be divided by, then judging needs dynamic-configuration to write timeslice length; Do not obtain remainder if be divided by, then judging does not need dynamic-configuration to write timeslice length.
3. method as claimed in claim 2 is characterized in that, the described fixing clock cycle of writing each write data length that timeslice length is described setting and described memory operation is long-pending; And
Determine to organize total degree that data write described memory in batches and add 1 for each write data length of the total length of these group data and setting integer quotient that obtains that is divided by;
Described adjustment to write timeslice length long-pending for be divided by clock cycle of the remainder that obtains and described memory operation of each write data length of the total length of these group data and setting.
4. as claim 1,2 or 3 described methods, it is characterized in that, describedly need to judge whether dynamic-configuration read time leaf length, comprising according to this group total length of data and each read data length of setting:
The total length of these group data and each read data length of setting are divided by;
Obtain remainder if be divided by, then need dynamic-configuration read time leaf length; Do not obtain remainder if be divided by, then do not need dynamic-configuration read time leaf length.
5. method as claimed in claim 4 is characterized in that, the each read data length that described fixing read time leaf length is described setting and the clock cycle of described memory operation are long-pending; And
Determine to organize total degree that data read described memory in batches and add 1 for each read data length of the total length of these group data and setting integer quotient that obtains that is divided by;
The read time leaf length of described adjustment is long-pending for be divided by clock cycle of the remainder that obtains and described memory operation of each read data length of the total length of these group data and setting.
6. the method for claim 1 is characterized in that, if described memory is the monobus memory, described method also comprises:
When receiving read memory request and memory write request at the same time, obtain the indication information of the action type of storage;
When confirming that according to described indication information action type is write operation, control this sense data from memory, when confirming that action type is read operation, control this and in memory, write data, and operate the indication information of the action type of updated stored according to this.
7. the method for claim 1 is characterized in that, if described memory is the monobus memory, described method also comprises:
When receiving the read memory request of high priority according to writing of this in timeslice length writes data in memory the process, whether the response time that clock cycle long-pending of judging the length of this written data and described memory operation increases configuration again writes timeslice length less than this;
If, then with this write timeslice length change to the length of this written data and described memory operation clock cycle long-pending again with described response time sum, and, respond the read memory request of described high priority according to writing after timeslice length executes this write operation after the change;
If not, then, respond the read memory request of described high priority according to this write after timeslice length executes this write operation.
8. as claim 1 or 7 described methods, it is characterized in that if described memory is the monobus memory, described method also comprises:
When in the process of read time leaf length sense data from memory, receiving the memory write request of high priority according to this, judge this clock cycle long-pending of the length of sense data and described memory operation increase configuration again response time whether less than this read time leaf length;
If, then this read time leaf length is changed to this length of sense data and described memory operation clock cycle long-pending again with described response time sum, and after executing this read operation, respond the memory write request of described high priority according to the read time leaf length after the change;
If not, then after the read time leaf length according to this executes this read operation, respond the memory write request of described high priority.
9. the method for claim 1 is characterized in that, each read data length of described setting is identical with each write data length.
10. the management devices of a read-write memory is characterized in that, comprising:
Receiving element: be used to receive one group of data;
Judging unit: be used for according to the total length of these group data and each write data length of setting, need to judge whether dynamic-configuration to write timeslice length, and judged result is write in output, according to the total length of these group data and each read data length of setting, need to judge whether dynamic-configuration read time leaf length, and judged result is read in output;
Dispensing unit: be used to receive and describedly write judged result and read judged result, if the described judged result of writing is for being, then for arbitrarily once configuration adjust write timeslice length, for all the other each times configuration fixing write timeslice length, if the described judged result of writing is for denying, then configuration is fixing writes timeslice length, if the described judged result of reading is for being, then be once to dispose the read time leaf length of adjusting arbitrarily, be the fixing read time leaf length of all the other each time configurations, if the described judged result of reading then disposes fixing read time leaf length for not;
Read-write cell: be used for when at every turn receiving the memory write request, the timeslice length of writing according to dispensing unit output writes data in memory, when receiving read memory request, according to read time leaf length sense data from memory of dispensing unit output at every turn.
11. device as claimed in claim 10 is characterized in that, also comprises:
Memory cell: the indication information that is used for the storage operation type;
Arbitration unit: being used at described memory is the monobus memory, and when described read-write cell receives read memory request and memory write request simultaneously, from described memory cell, obtain the indication information of action type, when confirming that according to described indication information action type is write operation, control this sense data from memory of described read-write cell, when confirming that action type is read operation, control described read-write cell this writes data in memory, and operates the indication information of action type in updated stored unit according to this.
12. device as claimed in claim 10 is characterized in that, also comprises:
First processing unit: be used at described read-write cell during according to this write timeslice length receive the read memory request of high priority in memory writes the process of data, whether the response time that clock cycle long-pending of judging the length of this written data and described memory operation increases configuration again writes timeslice length less than this; If, then with this write timeslice length change to the length of this written data and described memory operation clock cycle long-pending again with described response time sum, and control described read-write cell according to writing after timeslice length executes this write operation after the change, respond the read memory request of described high priority; If not, then control described read-write cell, respond the read memory request of described high priority according to this write after timeslice length executes this write operation;
Second processing unit: be used for when described read-write cell receives the memory write request of high priority according to this read time leaf length from the process of memory sense data, judge this clock cycle long-pending of the length of sense data and described memory operation increase configuration again response time whether less than this read time leaf length; If, then control described read-write cell with this read time leaf length change to this length of sense data and described memory operation clock cycle long-pending again with described response time sum, and after executing this read operation, respond the memory write request of described high priority according to the read time leaf length after the change; If not, then control described read-write cell after the read time leaf length according to this executes this read operation, respond the memory write request of described high priority.
13. a digital printing equipment comprises host side, control system, memory and image-forming block, it is characterized in that, also comprises the management devices as the arbitrary described read-write memory of claim 10-12 between described control system and memory.
CN2008102232883A 2008-09-28 2008-09-28 Managing method, device for reading and writing memory and digital printing equipment Expired - Fee Related CN101394458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102232883A CN101394458B (en) 2008-09-28 2008-09-28 Managing method, device for reading and writing memory and digital printing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102232883A CN101394458B (en) 2008-09-28 2008-09-28 Managing method, device for reading and writing memory and digital printing equipment

Publications (2)

Publication Number Publication Date
CN101394458A CN101394458A (en) 2009-03-25
CN101394458B true CN101394458B (en) 2010-07-21

Family

ID=40494522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102232883A Expired - Fee Related CN101394458B (en) 2008-09-28 2008-09-28 Managing method, device for reading and writing memory and digital printing equipment

Country Status (1)

Country Link
CN (1) CN101394458B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729421B (en) * 2009-12-11 2013-03-20 杭州华三通信技术有限公司 Storage method and device based on time division multiplex
CN105589819B (en) * 2015-12-20 2018-11-16 苏州长风航空电子有限公司 A method of based on IIC interface operation eeprom chip

Also Published As

Publication number Publication date
CN101394458A (en) 2009-03-25

Similar Documents

Publication Publication Date Title
US4992958A (en) Method and apparatus for controlling printer
CN100474280C (en) System bus control apparatus, integrated circuit and data processing system
US6553449B1 (en) System and method for providing concurrent row and column commands
CN1822224B (en) Memory device capable of refreshing data using buffer and refresh method thereof
CN101707565B (en) Method and device for transmitting and receiving zero-copy network message
WO2009067522A2 (en) A memory buffering system that improves read/write performance and provides low latency for mobile systems
US7702841B2 (en) Semiconductor integrated circuit and image processing apparatus having the same
CN111143257A (en) DDR arbitration controller, video cache device and video processing system
CN1070751A (en) Multi-media signal processor computer system
CN101877666B (en) Method and device for receiving multi-application program message based on zero copy mode
US7970960B2 (en) Direct memory access controller and data transmitting method of direct memory access channel
CN102841869A (en) Multi-channel I2C controller based on FPGA
CN101303685B (en) Method for improving read-write data speed of all-purpose sequence bus storage equipment
JPH08263429A (en) Bus access arbitration system and method for recognition of bus access
JPH04312160A (en) Multiprocessor system and its message transmission and reception controller
US20050144338A1 (en) Data transfer apparatus
CN116724287A (en) Memory control method and memory control device
CN102402422A (en) Processor component and memory sharing method thereof
CN103106164A (en) Highly efficient direct memory access (DMA) controller
CN101394458B (en) Managing method, device for reading and writing memory and digital printing equipment
EP0310712B1 (en) Front-end system for a raster output scanner
CN117076353B (en) Descriptor configuration method and descriptor configuration device
CN101236741B (en) Data reading and writing method and device
CN112181887A (en) Data transmission method and device
CN1088209C (en) Arrangement with master and slave units

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING UNIV. BEIJING FOUNDER DIGITAL PRINTING TEC

Free format text: FORMER OWNER: BEIJING UNIV. BEIDA FANGZHENG ELECTRONICS CO., LTD., BEIJING

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20110727

Address after: 100871, Haidian District Fangzheng Road, Beijing, Zhongguancun Fangzheng building, 298, 513

Co-patentee after: Peking University

Patentee after: Peking Founder Group Co., Ltd.

Co-patentee after: Digital printing technology, Beijing Founder Electronics Co., Ltd.

Address before: 100871, Haidian District Fangzheng Road, Beijing, Zhongguancun Fangzheng building, 298, 513

Co-patentee before: Peking University

Patentee before: Peking Founder Group Co., Ltd.

Co-patentee before: Beida Fangzheng Electronics Co., Ltd., Beijing

ASS Succession or assignment of patent right

Owner name: BEIJING UNIV. BEIDA FANGZHENG ELECTRONICS CO., LTD

Free format text: FORMER OWNER: BEIJING UNIV. BEIJING FOUNDER DIGITAL PRINTING TECHNOLOGY CO., LTD.

Effective date: 20120323

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20120323

Address after: 100871, Haidian District Fangzheng Road, Beijing, Zhongguancun Fangzheng building, 298, 513

Co-patentee after: Peking University

Patentee after: Peking Founder Group Co., Ltd.

Co-patentee after: Beida Fangzheng Electronics Co., Ltd., Beijing

Address before: 100871, Haidian District Fangzheng Road, Beijing, Zhongguancun Fangzheng building, 298, 513

Co-patentee before: Peking University

Patentee before: Peking Founder Group Co., Ltd.

Co-patentee before: Digital printing technology, Beijing Founder Electronics Co., Ltd.

ASS Succession or assignment of patent right

Owner name: BEIJING UNIV. BEIJING FOUNDER YINJIE DIGITAL TECHN

Free format text: FORMER OWNER: BEIJING UNIV. BEIDA FANGZHENG ELECTRONICS CO., LTD., BEIJING

Effective date: 20120418

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20120418

Address after: 100871, Haidian District Fangzheng Road, Beijing, Zhongguancun Fangzheng building, 298, 513

Co-patentee after: Peking University

Patentee after: Peking Founder Group Co., Ltd.

Co-patentee after: Beijing Founderpod Digital Technology Co.,Ltd.

Address before: 100871, Haidian District Fangzheng Road, Beijing, Zhongguancun Fangzheng building, 298, 513

Co-patentee before: Peking University

Patentee before: Peking Founder Group Co., Ltd.

Co-patentee before: Beida Fangzheng Electronics Co., Ltd., Beijing

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100721

Termination date: 20190928

CF01 Termination of patent right due to non-payment of annual fee