CN105512048B - data configuration method and device - Google Patents
data configuration method and device Download PDFInfo
- Publication number
- CN105512048B CN105512048B CN201410548897.1A CN201410548897A CN105512048B CN 105512048 B CN105512048 B CN 105512048B CN 201410548897 A CN201410548897 A CN 201410548897A CN 105512048 B CN105512048 B CN 105512048B
- Authority
- CN
- China
- Prior art keywords
- data
- page
- spare
- storage space
- current
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000008521 reorganization Effects 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 239000002699 waste material Substances 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开一种数据配置方法与装置,所述数据配置方法的一实施例包含下列步骤:准备一储存空间;将该储存空间的一当前部分配置为复数个当前分页,其包含一第一当前分页与一第二当前分页;将该储存空间的一备用部分配置为复数个备用分页,其包含一第一备用分页与一第二备用分页;比较一第一笔数据的一第一数据量与第一当前分页的一第一剩余储存空间,并比较一第二笔数据的一第二数据量与第二当前分页的一第二剩余储存空间。
The invention discloses a data configuration method and device. An embodiment of the data configuration method includes the following steps: preparing a storage space; configuring a current part of the storage space into a plurality of current pages, which includes a first current page paging and a second current paging; a spare part of the storage space is configured as a plurality of spare pagings, which include a first spare paging and a second spare paging; comparing a first data amount of a first data with a A first remaining storage space of the first current page, and comparing a second data amount of a second data with a second remaining storage space of the second current page.
Description
技术领域technical field
本发明关于数据配置方法与装置,尤其关于能够达到快速配置与良好空间使用效率的数据配置方法与装置。The present invention relates to a data configuration method and device, in particular to a data configuration method and device capable of fast configuration and good space utilization efficiency.
背景技术Background technique
对许多电子装置而言,数字数据的接收与储存是装置运作中不可或缺的一环。然而,尽管数字数据的接收与储存技术发展已久,仍有其不足之处。举例而言,在多数据流的接收与储存方面,部分当前技术无视各数据流的每笔数据的大小而配置给每笔数据一最大可能数据量的储存单位,如此虽能快速配置储存单位,但却牺牲了储存空间的使用效率;另有部分当前技术依据各数据流的每笔数据的实时数据量信息来配置给该笔数据一适当的储存单位,如此虽能达到储存空间的高使用效率,但因每笔数据的数据量不一,此技术会在储存单位反复地被配置与释放后产生可用储存空间碎裂(亦即位址分散且大小不一)的情形,进而产生储存单位的配置缓慢而无法达成如上述般实时配置的作业;尚有部分先前技术是准备可供各数据流的前后笔数据接续储存的一单一储存单位,尽管此作法同样能达到储存空间的高使用效率,但为了后续的数据排序与重组及最严苛的储存需求,此单一储存单位的大小至少需为「最大需保留数据笔数(Window Size)乘以单笔最大可能数据量」,因此会耗用相当多的储存空间,且各数据流的储存剩余空间无法分享给其它数据流的储存作业来使用,此缺点导致了储存资源的浪费。For many electronic devices, the reception and storage of digital data is an integral part of the operation of the device. However, although the technology of receiving and storing digital data has been developed for a long time, there are still shortcomings. For example, in terms of receiving and storing multiple data streams, some current technologies ignore the size of each data stream in each data stream and allocate a storage unit with the largest possible data volume for each data stream. Although the storage unit can be quickly configured, However, the utilization efficiency of the storage space is sacrificed; another part of the current technology configures an appropriate storage unit for the data according to the real-time data volume information of each data stream in each data stream, so that the high utilization efficiency of the storage space can be achieved , but because the data volume of each data is different, this technology will cause fragmentation of the available storage space after the storage unit is repeatedly allocated and released (that is, the address is scattered and the size is different), and then the allocation of the storage unit will occur. It is slow and unable to achieve real-time configuration as mentioned above; there are still some prior technologies that prepare a single storage unit for successive storage of the previous and subsequent data of each data stream, although this method can also achieve high storage space usage efficiency, but For subsequent data sorting and reorganization and the most stringent storage requirements, the size of this single storage unit must be at least "the maximum number of data to be retained (Window Size) multiplied by the maximum possible data volume of a single transaction", so it will consume quite a bit There is a lot of storage space, and the remaining storage space of each data stream cannot be shared with the storage operations of other data streams. This shortcoming leads to a waste of storage resources.
发明内容Contents of the invention
鉴于先前技术的缺失,本发明的一目的在于提出一种数据配置方法与装置,以达到储存空间的快速配置与充分使用的效果。In view of the shortcomings of the prior art, an object of the present invention is to provide a data configuration method and device to achieve rapid configuration and full use of storage space.
本发明提出一种数据配置方法,其一实施例包含下列步骤:准备一储存空间;将该储存空间的一当前部分配置为复数个当前分页,其包含一第一当前分页与一第二当前分页;将该储存空间的一备用部分配置为复数个备用分页,其包含一第一备用分页与一第二备用分页;比较一第一笔数据的一第一数据量与该第一当前分页的一第一剩余储存空间,并比较一第二笔数据的一第二数据量与该第二当前分页的一第二剩余储存空间;若该第一数据量不大于该第一剩余储存空间,将该第一笔数据储存于该第一当前分页中;若该第一数据量大于该第一剩余储存空间,将该第一当前分页视为一已用分页,将该第一备用分页视为该第一当前分页,将该第一笔数据储存于被视为该第一当前分页的该第一备用分页中,以及将该储存空间的一待用部分的一第一部分配置为该第一备用分页或其替代分页;若该第二数据量不大于该第二剩余储存空间,将该第二笔数据储存于该第二当前分页中;以及若该第二数据量大于该第二剩余储存空间,将该第二当前分页视为另一已用分页,将该第二备用分页视为该第二当前分页,将该第二笔数据储存于被视为该第二当前分页的该第二备用分页中,以及将该储存空间的该待用部分的一第二部分配置为该第二备用分页或其替代分页,其中该第一与第二笔数据的储存同时进行。The present invention proposes a data allocation method, one embodiment of which includes the following steps: preparing a storage space; configuring a current part of the storage space as a plurality of current pages, which includes a first current page and a second current page ; configure a spare part of the storage space as a plurality of spare pages, which include a first spare page and a second spare page; compare a first data amount of a first data with a first current page The first remaining storage space, and compare a second data amount of a second data with a second remaining storage space of the second current page; if the first data amount is not greater than the first remaining storage space, the The first data is stored in the first current page; if the first data volume is greater than the first remaining storage space, the first current page is regarded as a used page, and the first spare page is regarded as the first spare page a current page, storing the first data in the first spare page regarded as the first current page, and configuring a first part of a standby part of the storage space as the first spare page or It replaces paging; if the second data amount is not larger than the second remaining storage space, store the second data in the second current page; and if the second data amount is larger than the second remaining storage space, store the second data in the second current page; The second current page is regarded as another used page, the second spare page is regarded as the second current page, and the second data is stored in the second spare page regarded as the second current page , and a second part of the standby part of the storage space is configured as the second spare page or its replacement page, wherein the first and second data are stored simultaneously.
本发明亦提出一种数据配置装置,其一实施例包含:一储存空间;一数据配置器,用来将该储存空间的一部分或全部配置为复数个当前分页与复数个备用分页,该复数个当前分页包含一第一当前分页与一第二当前分页,该复数个备用分页包含一第一备用分页与一第二备用分页;以及一储存处理电路,用来同时储存复数笔数据流包含一第一笔数据与一第二笔数据,包含一第一储存处理单元与一第二储存处理单元。所述第一储存处理单元用来比较该第一笔数据的一第一数据量与该第一当前分页的一第一剩余储存空间,于该第一数据量不大于该第一剩余储存空间时将该第一笔数据储存于该第一当前分页中,并于该第一数据量大于该第一剩余储存空间时将该第一当前分页视为一已用分页、将该第一备用分页视为该第一当前分页、以及将该第一笔数据储存于被视为该第一当前分页的该第一备用分页中,之后该数据配置器会将该储存空间的一待用部分的一第一部分配置为该第一备用分页或其替代分页。所述第二储存处理单元用来比较该第二笔数据的一第二数据量与该第二当前分页的一第二剩余储存空间,于该第二数据量不大于该第二剩余储存空间时将该第二笔数据储存于该第二当前分页中,并于该第二数据量大于该第二剩余储存空间时将该第二当前分页视为另一已用分页、将该第二备用分页视为该第二当前分页、以及将该第二笔数据储存于被视为该第二当前分页的该第二备用分页中,之后该数据配置器会将该储存空间的该待用部分的一第二部分配置为该第二备用分页或其替代分页。The present invention also proposes a data allocation device, one embodiment of which includes: a storage space; a data allocation device, which is used to configure a part or all of the storage space as a plurality of current pages and a plurality of spare pages, the plurality of The current page includes a first current page and a second current page, and the multiple spare pages include a first spare page and a second spare page; and a storage processing circuit, which is used to simultaneously store multiple data streams including a first A piece of data and a second piece of data include a first storage processing unit and a second storage processing unit. The first storage processing unit is used to compare a first data amount of the first data with a first remaining storage space of the first current page, and when the first data amount is not larger than the first remaining storage space storing the first data in the first current page, and when the first data amount is greater than the first remaining storage space, the first current page is regarded as a used page, and the first spare page is regarded as for the first current page, and store the first piece of data in the first spare page regarded as the first current page, and then the data allocator will use a first part of a standby part of the storage space A portion is configured as the first alternate page or its replacement page. The second storage processing unit is used to compare a second data amount of the second data with a second remaining storage space of the second current page, and when the second data amount is not larger than the second remaining storage space storing the second data in the second current page, and when the second data amount is greater than the second remaining storage space, the second current page is regarded as another used page, and the second spare page is regarded as the second current page, and storing the second data in the second spare page regarded as the second current page, and then the data allocator will use a part of the standby part of the storage space The second portion is configured as the second spare page or a replacement page thereof.
有关本发明的特征、实作与功效,兹配合图式作优选实施例详细说明如下。Regarding the characteristics, implementation and effects of the present invention, preferred embodiments are described in detail below in conjunction with the drawings.
附图说明Description of drawings
图1是本发明的数据配置方法的一实施例的示意图;Fig. 1 is a schematic diagram of an embodiment of the data configuration method of the present invention;
图2是本发明的数据配置装置的一实施例的示意图;以及Figure 2 is a schematic diagram of an embodiment of the data configuration device of the present invention; and
图3是本发明的数据配置装置的另一实施例的示意图。Fig. 3 is a schematic diagram of another embodiment of the data configuration device of the present invention.
【符号说明】【Symbol Description】
S110 准备一储存空间S110 Prepare a storage space
S120 将该储存空间的当前部分配置为复数个当前分页,其包含一第一当前分页与一第二当前分页S120 configure the current part of the storage space as a plurality of current pages, which include a first current page and a second current page
S130 将该储存空间的备用部分配置为复数个备用分页,其包含一第一备用分页与一第二备用分页S130 configure the spare part of the storage space as a plurality of spare pages, which include a first spare page and a second spare page
S140 比较一第一笔数据的一第一数据量与该第一当前分页的一第一剩余储存空间,并比较一第二笔数据的一第二数据量与该第二当前分页的一第二剩余储存空间S140 Comparing a first data amount of a first piece of data with a first remaining storage space of the first current page, and comparing a second data amount of a second data with a second amount of the second current page remaining storage space
S150~S160 若该第一数据量不大于该第一剩余储存空间,将该第一笔数据储存于该第一当前分页中;否则将该第一笔数据储存于该第一备用分页中,并准备替代的第一备用分页S150~S160 If the first amount of data is not larger than the first remaining storage space, store the first data in the first current page; otherwise store the first data in the first spare page, and Preparing an alternate first alternate page
S170~S180 若该第二数据量不大于该第二剩余储存空间,将该第二笔数据储存于该第二当前分页中;否则将该第二笔数据储存于该第二备用分页中,并准备替代的第二备用分页,其中该第一与第二笔数据的储存同时进行S170~S180 If the second amount of data is not larger than the second remaining storage space, store the second data in the second current page; otherwise store the second data in the second spare page, and Prepare an alternative second spare page, wherein the storage of the first and second data is performed simultaneously
200 数据配置装置200 data configuration device
210 储存空间210 storage space
212 第一当前分页212 first current page
214 第二当前分页214 Second current page
216 第一备用分页216 First alternate page
218 第二备用分页218 Second alternate page
220 数据配置器220 Data Configurator
230 储存处理电路230 storage processing circuit
232 第一储存处理单元232 The first storage processing unit
234 第二储存处理单元234 Second storage processing unit
300 数据接收器300 data receiver
具体实施方式Detailed ways
以下说明内容的技术用语是参照本技术领域的习惯用语,如本说明书对部分用语有加以说明或定义,该部分用语的解释应以本说明书的说明或定义为准。The technical terms in the following explanations refer to the customary terms in this technical field. If some terms are explained or defined in this specification, the explanations or definitions of these terms shall prevail in this specification.
本发明包含数据配置方法与装置,能够藉由储存空间的配置、使用与释放来快速达成数据配置与储存,并能达到储存空间共享的功效。本发明可应用于多数据流的储存装置,像是固定式或可携式网络通讯装置(例如长程演进技术(Long Term Evolution,LTE)的装置)等,然而只要实施为可能,本发明亦可应用于其它类型的储存装置。此外,本发明的方法可以是软件及/或固件的形式,可藉由本发明的装置或其等效装置来执行。再者,本发明的装置可能包含已知组件,在不影响发明公开要求及可实施性的前提下,已知组件的说明将被适度节略。The present invention includes a data allocation method and device, which can quickly achieve data allocation and storage through the allocation, use and release of storage space, and can achieve the effect of storage space sharing. The present invention can be applied to storage devices for multiple data streams, such as fixed or portable network communication devices (such as Long Term Evolution (LTE) devices), etc. However, as long as it is possible to implement, the present invention can also Applied to other types of storage devices. In addition, the method of the present invention may be in the form of software and/or firmware, and may be executed by the device of the present invention or an equivalent device thereof. Furthermore, the device of the present invention may contain known components, and on the premise of not affecting the disclosure requirements and practicability of the invention, the description of the known components will be appropriately omitted.
请参阅图1,其是本发明的数据配置方法的一实施例的示意图,该实施例可由本发明的数据配置装置(详见后述)或其等效装置来执行,能够在多数据流的储存应用中提供每笔数据流专用的当前储存空间与备用储存空间,并视每笔数据流的一待储存数据的大小来决定将待储存数据储存于上述当前或备用储存空间中,因此,藉由专用储存空间的设计、待储存数据量的判读与备用储存空间的配置,本实施例能快速且同时进行单笔或多笔数据流的储存作业,并能充份地利用储存空间。更详细地说,如图1所示,本实例包含下列步骤:Please refer to FIG. 1, which is a schematic diagram of an embodiment of the data configuration method of the present invention, which can be executed by the data configuration device of the present invention (described later) or its equivalent device, and can be used in multiple data streams. The storage application provides a current storage space and a spare storage space dedicated to each data stream, and decides to store the data to be stored in the above-mentioned current or spare storage space depending on the size of the data to be stored in each data stream. Therefore, by Due to the design of the dedicated storage space, the judgment of the amount of data to be stored, and the configuration of the spare storage space, this embodiment can quickly and simultaneously store a single or multiple data streams and make full use of the storage space. In more detail, as shown in Figure 1, this example includes the following steps:
步骤S110:准备一储存空间,其储存容量不小于一当前部分的容量、一备用部分的容量以及一待用部分的容量的总合。本实施例中,该储存空间是一内存或其余能支持储存空间配置的储存装置,且该当前、备用与待用部分是指该储存空间的一部分或全部被配置后的不同部分。Step S110: Prepare a storage space, the storage capacity of which is not less than the sum of the capacity of a current part, the capacity of a spare part and the capacity of a standby part. In this embodiment, the storage space is an internal memory or other storage devices capable of supporting storage space configuration, and the current, standby and standby parts refer to different parts after a part or all of the storage space is configured.
步骤S120:将该储存空间的当前部分配置为复数个当前分页,其包含一第一当前分页与一第二当前分页。本实施例中,每该当前分页的容量不小于一预设最大数据量,藉此为一单笔数据的储存提供足够的空间,倘一当前分页已存有先前数据而不足以储存该单笔数据,一备用分页(如后所述)将被用来储存该单笔数据。上述预设最大数据量可由实施本发明者依需求或应用来决定。Step S120: Configure the current part of the storage space as a plurality of current pages, which include a first current page and a second current page. In this embodiment, the capacity of each current page is not less than a preset maximum amount of data, thereby providing enough space for the storage of a single data, if a current page has stored previous data and is not enough to store the single data, a spare page (as described later) will be used to store the single data. The aforementioned preset maximum data volume can be determined by the inventors implementing the present invention according to requirements or applications.
步骤S130:将该储存空间的备用部分配置为复数个备用分页,其包含一第一备用分页与一第二备用分页。本实施例中,每该备用分页的容量同样不小于该预设最大数据量,藉此为单笔数据的储存提供足够的空间。Step S130: Configure the spare part of the storage space as a plurality of spare pages, which include a first spare page and a second spare page. In this embodiment, the capacity of each spare page is also not less than the preset maximum data volume, thereby providing enough space for storing a single data.
步骤S140:比较一第一笔数据的一第一数据量与该第一当前分页的一第一剩余储存空间,并比较一第二笔数据的一第二数据量与该第二当前分页的一第二剩余储存空间。本步骤是用来判断前述第一与第二当前分页的剩余储存空间是否足以分别储存该第一与第二笔数据,以供后续步骤决定将数据储存于当前或备用分页中,其中该剩余储存空间的测定可由下述方式或其它等效手段来得到:依据该第一当前分页的一第一储存容量(例如该预设最大数据量)与一第一写入指标(Write Pointer)(用来指出一储存单位的最新写入位置)来指示该第一剩余储存空间;以及依据该第二当前分页的一第二储存容量(例如该预设最大数据量)与一第二写入指标来指示该第二剩余储存空间。上述写入指标的设计与使用属于本领域的通常知识,故在此不予赘述。Step S140: compare a first data amount of the first data with a first remaining storage space of the first current page, and compare a second data amount of a second data with a second current page Second remaining storage space. This step is used to determine whether the remaining storage space of the aforementioned first and second current pages is sufficient to store the first and second data respectively, so that the subsequent steps can determine whether the data is stored in the current or standby pages, wherein the remaining storage The determination of the space can be obtained by the following method or other equivalent means: according to a first storage capacity of the first current page (such as the preset maximum data volume) and a first write pointer (Write Pointer) (used to indicate the latest write position of a storage unit) to indicate the first remaining storage space; and indicate according to a second storage capacity of the second current page (such as the preset maximum data volume) and a second write indicator The second remaining storage space. The design and use of the above-mentioned writing indicators belong to common knowledge in this field, so details will not be repeated here.
步骤S150:若该第一数据量不大于该第一剩余储存空间,将该第一笔数据储存于该第一当前分页中。Step S150: If the first amount of data is not larger than the first remaining storage space, store the first piece of data in the first current page.
步骤S160:若该第一数据量大于该第一剩余储存空间,将该第一当前分页视为一已用分页,将该第一备用分页视为该第一当前分页,将该第一笔数据储存于被视为该第一当前分页的该第一备用分页中,以及将该储存空间的该待用部分的一第一部分配置为该第一备用分页或其替代分页。本步骤中,一第一备用分页指标(Next Pointer)被用来指示该第一备用分页的位址,藉此本步骤能快速地用第一备用分页替代第一当前分页以进行储存;此外,为避免后续储存作业发生空间不足的问题,在该第一备用分页被视为第一当前分页后,该储存空间的待用部分的第一部分会被配置做为新的第一备用分页(其同样由第一备用分页指标所指示),或者原第一备用分页的一替代分页会被视为新的第一备用分页,此时该第一部分会被配置做为新的第一备用分页的替代分页。Step S160: If the first data amount is greater than the first remaining storage space, the first current page is regarded as a used page, the first spare page is regarded as the first current page, and the first data storing in the first spare page regarded as the first current page, and allocating a first portion of the unused portion of the storage space as the first spare page or a replacement page thereof. In this step, a first standby page indicator (Next Pointer) is used to indicate the address of the first standby page, so that this step can quickly replace the first current page with the first standby page for storage; in addition, In order to avoid the problem of insufficient space in subsequent storage operations, after the first standby page is considered as the first current page, the first part of the unused portion of the storage space will be configured as a new first standby page (which also Indicated by the first standby page indicator), or a substitute page of the original first spare page will be regarded as the new first spare page, and the first part will be configured as a substitute page of the new first spare page .
步骤S170:若该第二数据量不大于该第二剩余储存空间,将该第二笔数据储存于该第二当前分页中;以及Step S170: If the second data amount is not larger than the second remaining storage space, store the second data in the second current page; and
步骤S180:若该第二数据量大于该第二剩余储存空间,将该第二当前分页视为另一已用分页,将该第二备用分页视为该第二当前分页,将该第二笔数据储存于被视为该第二当前分页的该第二备用分页中,以及将该储存空间的该待用部分的一第二部分配置为该第二备用分页或其替代分页,其中该第一与第二笔数据的储存同时进行。本步骤中,一第二备用分页指标被用来指示该第二备用分页的位址,藉此本步骤能快速地用第二备用分页替代第二当前分页以进行储存;类似地,为避免后续储存作业发生问题,在该第二备用分页被视为第二当前分页后,该储存空间的待用部分的第二部分会被配置做为新的第二备用分页(其同样由第二备用分页指标所指示),或者原第二备用分页的一替代分页会被视为新的第二备用分页,此时该第一部分会被配置做为新的第二备用分页的替代分页。Step S180: If the second data volume is greater than the second remaining storage space, the second current page is regarded as another used page, the second spare page is regarded as the second current page, and the second storing data in the second spare page regarded as the second current page, and allocating a second portion of the inactive portion of the storage space as the second spare page or its replacement page, wherein the first Simultaneously with the storage of the second data. In this step, a second spare page pointer is used to indicate the address of the second spare page, so that this step can quickly replace the second current page with the second spare page for storage; similarly, to avoid subsequent There is a problem with the storage operation, after the second standby page is considered as the second current page, the second part of the unused part of the storage space will be configured as the new second standby page (which is also used by the second standby page indicator), or a replacement page of the original second backup page will be regarded as the new second backup page, and at this time, the first part will be configured as a replacement page of the new second backup page.
承上所述,步骤S140所述的第一与第二笔数据可来自于一接收数据或一储存数据。当该第一与第二笔数据是来自一接收数据(例如一通讯传输数据,像是于每个预设周期收到的数据区块)时,本实施例可进一步包含下列步骤:依据一预设规则将该接收数据拆解为N笔数据流包含该第一与第二笔数据,其中该N为不小于2的正整数。上述预设规则在此包含一数据分类规则,可以是已知或自定义的分类规则;然而于本发明的一替代实施例中,该预设规则也可以是其它规则,像是依据数据接收顺序、数据源、数据量大小等等所定义的规则。另外,第一笔数据在此是包含于上述N笔数据流中的一第一数据流,且依传输顺序的前后该第一数据流可能进一步包含至少一笔第一在前数据(其接收时点早于该第一笔数据的接收时点)及/或至少一笔第一在后数据(其接收时点晚于该第一笔数据的接收时点),在这些笔数据需被排序及/或重组(Sorting/Reassembling)以回复(Recover)一笔原始数据的情形下(例如当这些笔数据为历经分割(Segmentation)与非依序抵达(Out-of-OrderArrival)的通讯数据时),本实施例可进一步包含下列步骤:依据该第一笔数据、至少一笔第一在前数据及/或至少一笔第一在后数据进行排序及/或重组以得到一第一已整理数据,其中该第一笔数据、该第一在前数据及/或该第一在后数据的笔数总合(即应被排序及/或重组的数据的总笔数)不大于一预设最大笔数W,该W为不小于2的正整数,且前述复数个当前分页与备用分页(及这些备用分页的替代分页,如有的话)的总数P不大于数据流笔数N乘以该预设最大笔数W,藉此避免储存资源的浪费,换言之,分页总数P=N×W通常已足以因应最严苛的储存情形,实际上分页总数P可小于N×W,以在不影响或不过度影响储存作业的前提下节省储存资源,举例而言,P等于或小于「N乘以W」的X/(X+Y)(即P≦(N×W)×[X/(X+Y)]),其中X与Y为正整数,是用来表示分页总数P的设计弹性,可由实施本发明者依其需求自行决定;另举例而言,分页总数P=(1+(N-1)×A)×W,其中A为小于1的数值,例如为1/8、1/4、1/2或其它分数或小数,倘A被设计为1/4,若数据流笔数N=1,分页总数P=1×W=N×W可满足最严苛的储存情形,若数据流笔数N=2,分页总数P=1.25W<N×W可节省储存资源,若数据流笔数N=3,分页总数P=1.5W<N×W同样可节省储存资源,其余A值与其它数据流笔数的情形可依上述说明类推而得。类似地,第二笔数据在此是包含于上述N笔数据流中的一第二数据流,且依传输顺序的前后该第二数据流可能进一步包含至少一笔第二在前数据(其接收时点早于该第二笔数据的接收时点)及/或至少一笔第二在后数据(其接收时点晚于该第二笔数据的接收时点),若这些笔数据也需被排序及/或重组,后续处理可如前述说明般进行,而其它笔数据的处理同样可以此类推。As mentioned above, the first and second pieces of data in step S140 can come from a received data or a stored data. When the first and second data are from a received data (such as a communication transmission data, such as a data block received in each preset cycle), the present embodiment may further include the following steps: according to a preset It is assumed that the received data is disassembled into N data streams including the first and second data streams according to a rule, wherein N is a positive integer not less than 2. The above-mentioned preset rule includes a data classification rule here, which can be a known or self-defined classification rule; however, in an alternative embodiment of the present invention, the preset rule can also be other rules, such as according to the data receiving order , data source, data size, etc. defined rules. In addition, the first piece of data here is a first data stream included in the above-mentioned N data streams, and the first data stream may further include at least one piece of first previous data (when it is received) according to the order of transmission. earlier than the receiving time point of the first data) and/or at least one first subsequent data (the receiving time point is later than the receiving time point of the first data), these data need to be sorted and /or reassembly (Sorting/Reassembling) to recover (Recover) a piece of original data (for example, when these pieces of data are communication data that have undergone segmentation (Segmentation) and out-of-order arrival (Out-of-Order Arrival), This embodiment may further include the following steps: sorting and/or reorganizing according to the first piece of data, at least one piece of first previous data and/or at least one piece of first subsequent data to obtain a first sorted data, Wherein the total number of the first data, the first previous data and/or the first subsequent data (that is, the total number of data that should be sorted and/or reorganized) is not greater than a preset maximum W, the W is a positive integer not less than 2, and the total number P of the aforementioned plurality of current pages and standby pages (and the replacement pages of these standby pages, if any) is not greater than the number of data streams N multiplied by the preset Set the maximum number W to avoid waste of storage resources. In other words, the total number of pages P=N×W is usually sufficient to meet the most severe storage conditions. In fact, the total number of pages P can be smaller than N×W, so as not to affect or Save storage resources without excessively affecting storage operations. For example, P is equal to or less than X/(X+Y) of "N times W" (that is, P≦(N×W)×[X/(X+ Y)]), wherein X and Y are positive integers, which are used to represent the design flexibility of the total number of pages P, which can be determined by the inventors who implement the present invention according to their needs; for another example, the total number of pages P=(1+(N- 1)×A)×W, where A is a value less than 1, such as 1/8, 1/4, 1/2 or other fractions or decimals, if A is designed to be 1/4, if the number of data streams is N =1, the total number of pages P=1×W=N×W can meet the most stringent storage conditions. If the number of data streams N=2, the total number of pages P=1.25W<N×W can save storage resources. If the data stream The number of entries N=3, the total number of pages P=1.5W<N×W can also save storage resources, and the remaining A value and the number of other data streams can be derived by analogy from the above description. Similarly, the second data stream is a second data stream included in the above-mentioned N data streams, and the second data stream may further include at least one second data stream before and after the transmission order (it receives The time point is earlier than the receiving time point of the second data) and/or at least one second subsequent data (the receiving time point is later than the receiving time point of the second data), if these data also need to be Sorting and/or reorganization and subsequent processing can be performed as described above, and the processing of other data can also be deduced by analogy.
请继续参阅图1,若本实施例用来处理复数笔数据流(分别包含该第一与第二笔数据)且当中有复数笔数据需被排序及/或重组,本实施例会依据该复数笔数据流进行排序及/或重组程序。而在将被排序及/或重组完成的数据提供给负责后续处理的层级后,本实施例可进一步包含下列步骤以释放已完成任务的已用分页:若前述已用分页或另一已用分页所储存的数据已被排序及/或重组完成,允许被排序及/或重组完成的已用分页或另一已用分页成为该储存空间的该待用部分。另外,在该第一与第二笔数据的数据量不大于一预设最大数据量的情形下(透过通讯传输协议或其它协议或机制的规范),本实施例可令每该当前分页与备用分页(以及每该备用分页的替代分页,如有的话)的储存容量(StorageCapacity)不小于该预设最大数据量,以确保储存作业的顺利进行,其中这些当前分页与备用分页的储存容量可部分或全部相同,当然也可全部不同,端视实施者的需求而定。再者,在足够的数据处理与后送能力的设计下,为避免储存资源的浪费,本实施例可进一步将该复数个备用分页及其替代分页的总数限制为该复数个当前分页的总数的M倍,其中该M为不小于1的数值,举例来说,该M为不大于3的数值;或者本实施例可为每个当前分页准备至少一备用分页以及该备用分页的S个替代分页,其中该S为0或正整数(例如2)。Please continue to refer to Fig. 1, if this embodiment is used to process multiple data streams (including the first and second data respectively) and there are multiple data to be sorted and/or reorganized, this embodiment will be based on the multiple Data streams are sorted and/or reassembled. After the sorted and/or reorganized data is provided to the layer responsible for subsequent processing, the present embodiment may further include the following steps to release the used page of the completed task: if the aforementioned used page or another used page The stored data has been sorted and/or reorganized, allowing the sorted and/or reorganized used page or another used page to become the unused portion of the storage space. In addition, in the case that the data volume of the first and second data is not greater than a preset maximum data volume (through the specification of the communication transmission protocol or other protocols or mechanisms), this embodiment can make each current page and The storage capacity (StorageCapacity) of the backup page (and each replacement page of the backup page, if any) is not less than the preset maximum data volume to ensure the smooth progress of the storage operation, wherein the storage capacity of the current page and the backup page Some or all of them can be the same, and of course they can all be different, depending on the needs of the implementer. Furthermore, under the design of sufficient data processing and forwarding capabilities, in order to avoid waste of storage resources, this embodiment can further limit the total number of the plurality of spare pages and their replacement pages to the total number of the plurality of current pages M times, wherein the M is a value not less than 1, for example, the M is a value not greater than 3; or this embodiment can prepare at least one standby page and S replacement pages of the standby page for each current page , wherein the S is 0 or a positive integer (such as 2).
而为避免可用来储存的分页不足,本实施例可进一步监控目前的分页配置是否合理。举例来说,请再次参阅图1,倘该第一笔数据为一第一数据流的一部分或全部,该第二笔数据为一第二数据流的一部分或全部,本实施例可进一步包含下列步骤:周期性或非周期性地判断用来储存该第一数据流的一第一备用分页配置的数目(亦即第一备用分页与其替代分页的总数)是否小于一第一预设值,该第一备用分页配置包含该第一备用分页;若该第一备用分页配置的数目小于该第一预设值,将该储存空间的待用部分的一部分配置为该第一备用分页或其替代分页;周期性或非周期性地判断用来储存该第二数据流的一第二备用分页配置的数目(亦即第二备用分页与其替代分页的总数)是否小于一第二预设值,该第二备用分页配置包含该第二备用分页;以及若该第二备用分页配置的数目小于该第二预设值,将该待用部分的一部分配置为该第二备用分页或其替代分页。上述例子中,无论是周期性或非周期性判断的执行时机均应避免备用分页不足的情形;另外,为避免储存资源的浪费,第一与第二备用分页配置的数目例如分别是不大于3的正整数,且第一与第二预设值也例如分别是不大于3的正整数。In order to avoid insufficient paging available for storage, this embodiment can further monitor whether the current paging configuration is reasonable. For example, referring to FIG. 1 again, if the first data is part or all of a first data stream, and the second data is part or all of a second data stream, this embodiment may further include the following Step: Periodically or aperiodically determine whether the number of a first spare page configuration used to store the first data stream (that is, the total number of the first spare page and its replacement page) is less than a first preset value, the The first spare page configuration includes the first spare page; if the number of the first spare page configuration is less than the first preset value, configuring a part of the unused portion of the storage space as the first spare page or its replacement page ; Periodically or aperiodically determine whether the number of a second spare page configuration used to store the second data stream (that is, the total number of the second spare page and its replacement page) is less than a second preset value, the first The second spare page configuration includes the second spare page; and if the number of the second spare page configuration is less than the second preset value, configuring a part of the unused portion as the second spare page or its replacement page. In the above example, no matter whether it is periodic or non-periodic judgment execution timing, the situation of insufficient spare pages should be avoided; in addition, in order to avoid waste of storage resources, the number of the first and second spare page configurations is, for example, not greater than 3 positive integers, and the first and second preset values are, for example, positive integers not greater than 3, respectively.
除前揭的数据配置方法外,本发明亦提出一种数据配置装置,可用来执行本发明的方法或其均等。如图2所示,于一实施例中该数据配置装置200包含:一储存空间210(例如是一内存或其余能支持储存空间配置的储存装置),其储存容量不小于一当前部分的容量、一备用部分的容量以及一待用部分的容量的总合,其中该当前、备用与待用部分是指该储存空间的一部分或全部被配置后的不同部分;一数据配置器220,用来将该储存空间210的一部分或全部配置为复数个当前分页与复数个备用分页,该复数个当前分页包含一第一当前分页212与一第二当前分页214,该复数个备用分页包含一第一备用分页216与一第二备用分页218;以及一储存处理电路(例如硬件或软硬件的组合,像是包含复数个负责数据接收处理的逻辑信道的电路)230,用来同时储存复数笔数据流包含一第一笔数据与一第二笔数据,包含一第一储存处理单元232与一第二储存处理单元234。所述第一储存处理单元232用来比较该第一笔数据的一第一数据量与该第一当前分页212的一第一剩余储存空间,于该第一数据量不大于该第一剩余储存空间时将该第一笔数据储存于该第一当前分页212中,并于该第一数据量大于该第一剩余储存空间时将该第一当前分页212视为一已用分页、将该第一备用分页216视为该第一当前分页212、以及将该第一笔数据储存于被视为该第一当前分页212的该第一备用分页216中,之后数据配置器220会将储存空间210的待用部分的一第一部分配置为第一备用分页216或其替代分页,请注意,第一储存处理单元232可依第一当前分页212的一第一储存容量与一第一写入指标来得知第一剩余储存空间,并依据一第一备用分页指标来得知第一备用分页216的位址,该第一写入指标与第一备用分页指标的细节如前揭方法实施例的内容所载。类似地,所述第二储存处理单元234用来比较该第二笔数据的一第二数据量与该第二当前分页214的一第二剩余储存空间,于该第二数据量不大于该第二剩余储存空间时将该第二笔数据储存于该第二当前分页214中,并于该第二数据量大于该第二剩余储存空间时将该第二当前分页214视为另一已用分页、将该第二备用分页218视为该第二当前分页214、以及将该第二笔数据储存于被视为该第二当前分页214的该第二备用分页218中,之后数据配置器200会将储存空间210的待用部分的一第二部分配置为第二备用分页214或其替代分页,请注意,第二储存处理单元234可依第二当前分页214的一第二储存容量与一第二写入指标来得知该第二剩余储存空间,并利用一第二备用分页指标来得知第二备用分页218的位址,相关细节已说明于前揭方法实施例的内容中。In addition to the data allocation method disclosed above, the present invention also provides a data allocation device, which can be used to implement the method of the present invention or its equivalent. As shown in FIG. 2 , in one embodiment, the data configuration device 200 includes: a storage space 210 (such as a memory or other storage devices capable of supporting storage space configuration), the storage capacity of which is not less than the capacity of a current part, The sum of the capacity of a spare part and the capacity of a standby part, wherein the current, spare and standby parts refer to different parts after a part or all of the storage space is configured; a data configurer 220 is used to configure Part or all of the storage space 210 is configured as a plurality of current pages and a plurality of backup pages, the plurality of current pages includes a first current page 212 and a second current page 214, and the plurality of backup pages includes a first backup Paging 216 and a second spare paging 218; and a storage processing circuit (such as hardware or a combination of software and hardware, such as a circuit including a plurality of logical channels responsible for data receiving and processing) 230, used to simultaneously store multiple data streams including A first piece of data and a second piece of data include a first storage processing unit 232 and a second storage processing unit 234 . The first storage processing unit 232 is used to compare a first data amount of the first data with a first remaining storage space of the first current page 212, and if the first data amount is not greater than the first remaining storage space Store the first data in the first current page 212, and when the first data amount is greater than the first remaining storage space, the first current page 212 is regarded as a used page, and the first current page 212 is regarded as a used page. A spare page 216 is regarded as the first current page 212, and the first data is stored in the first spare page 216 regarded as the first current page 212, and then the data allocation device 220 will store the storage space 210 A first part of the unused part is configured as the first spare page 216 or its replacement page. Please note that the first storage processing unit 232 can be obtained according to a first storage capacity and a first write index of the first current page 212 The first remaining storage space is known, and the address of the first spare page 216 is known according to a first spare page index. The details of the first write index and the first spare page index are as set forth in the method embodiment disclosed above. . Similarly, the second storage processing unit 234 is used to compare a second data amount of the second data with a second remaining storage space of the second current page 214, and if the second data amount is not greater than the first Store the second data in the second current page 214 when there is a remaining storage space, and regard the second current page 214 as another used page when the second data amount is greater than the second remaining storage space , regard the second spare page 218 as the second current page 214, and store the second data in the second spare page 218 regarded as the second current page 214, then the data configurator 200 will A second portion of the unused portion of the storage space 210 is configured as the second spare page 214 or its replacement page. Please note that the second storage processing unit 234 can be configured according to a second storage capacity and a first Two writing pointers are used to obtain the second remaining storage space, and a second spare page pointer is used to obtain the address of the second spare page 218. Relevant details have been described in the foregoing method embodiments.
承上所述,若该第一与第二笔数据来自于一接收数据(例如一通讯传输数据),数据配置装置200可如图3所示般进一步包含:一数据接收器300,用来依据一预设规则将一接收数据拆解为该复数笔数据流(包含该第一与第二笔数据),其中该复数笔数据流的数目为N,该N为不小于2的正整数,且该预设规则的细节可由前述方法实施例的说明内容得知。另外,该第一笔数据在此是包含于该复数个数据流中的一第一数据流里,且依传输顺序该第一数据流可能进一步包含至少一笔第一在前数据(其接收时点早于该第一笔数据的接收时点)及/或至少一笔第一在后数据(其接收时点晚于该第一笔数据的接收时点),若这些笔数据需被排序及/或重组以增加数据的连续性或加强储存空间的利用,第一储存处理单元232会进一步依据该第一笔数据、至少一笔第一在前数据及/或至少一笔第一在后数据进行排序及/或重组以得到一第一已整理数据,其中该第一笔数据、该第一在前数据及/或该第一在后数据的笔数总合(即应被排序及/或重组的数据的总笔数)不大于一预设最大笔数W,该W为不小于2的正整数,且该复数个当前分页与备用分页(及这些备用分页的替代分页,如有的话)的总数P不大于数据流数目N乘以该预设最大笔数W。如同方法实施例所述,分页总数P可小于N×W以节省储存资源,例如总数P等于或小于「N乘以W」的X/(X+Y)(即P≦(N×W)×[X/(X+Y)]),其中X与Y为正整数,其细节已公开于前述方法实施例中;又例如分页总数P=(1+(N-1)×A)×W,其细节也同样也公开于前述方法实施例中。类似地,第二储存处理单元234也可进行同样的排序及/或重组处理。As mentioned above, if the first and second data come from a received data (such as a communication transmission data), the data configuration device 200 may further include as shown in FIG. 3: a data receiver 300 for A preset rule disassembles a received data into the plurality of data streams (including the first and second data streams), wherein the number of the plurality of data streams is N, and the N is a positive integer not less than 2, and The details of the preset rule can be obtained from the description of the foregoing method embodiments. In addition, the first piece of data is included in a first data stream among the plurality of data streams, and the first data stream may further include at least one piece of first previous data according to the order of transmission (when it is received earlier than the receiving time point of the first data) and/or at least one first subsequent data (the receiving time point is later than the receiving time point of the first data), if these data need to be sorted and /or reorganize to increase the continuity of data or enhance the utilization of storage space, the first storage processing unit 232 will further base on the first piece of data, at least one piece of first previous data and/or at least one piece of first subsequent data Perform sorting and/or reorganization to obtain a first sorted data, wherein the sum of the first data, the first previous data and/or the first subsequent data (that is, should be sorted and/or The total number of reorganized data) is not greater than a preset maximum number W, the W is a positive integer not less than 2, and the plurality of current pages and standby pages (and the replacement pages of these standby pages, if any) ) is not greater than the number N of data streams multiplied by the preset maximum number W. As described in the method embodiment, the total number of pages P can be less than N×W to save storage resources, for example, the total number of pages P is equal to or less than X/(X+Y) of “N times W” (that is, P≦(N×W)× [X/(X+Y)]), where X and Y are positive integers, the details of which have been disclosed in the foregoing method embodiments; another example is the total number of pages P=(1+(N-1)×A)×W, The details are likewise disclosed in the aforementioned method embodiments. Similarly, the second storage processing unit 234 can also perform the same sorting and/or reorganization processing.
由于储存处理电路230可依据该复数笔数据流进行排序及/或重组,因此,若前述已用分页或另一已用分页所储存的数据已被排序及/或重组完成,该第一或第二储存处理单元232、234可允许被排序及/或重组完成的该已用分页或该另一已用分页成为该储存空间的该待用部分,藉此释放已完成任务的已用分页。此外,在某些应用下,依据通讯传输协议或其它协议或机制的规范,该第一与第二数据量不会大于一预设最大数据量,因此数据配置器220于配置分页时可令每个当前分页与备用分页(及每个备用分页的替代分页,如有的话)的储存容量不小于该预设最大数据量,藉此确保储存作业的顺利进行,其中这些当前分页与备用分页的储存容量可一部分或全部相同,也可全部不同。再者,若该第一笔数据为一第一数据流的一部分或全部,该第二笔数据为一第二数据流的一部分或全部,为避免可用来储存的分页不足,数据配置器220可进一步周期性或非周期性地执行下列步骤:判断用来储存该第一数据流的一第一备用分页配置(即第一备用分页及其替代分页的总数)的数目是否小于一第一预设值,该第一备用分页配置包含该第一备用分页;若该第一备用分页配置的数目小于该第一预设值,将该储存空间210的待用部分的一部分配置为该第一备用分页或其替代分页;判断用来储存该第二数据流的一第二备用分页配置(即第二备用分页及其替代分页的总数)的数目是否小于一第二预设值,该第二备用分页配置包含该第二备用分页;以及若该第二备用分页配置的数目小于该第二预设值,将该待用部分的一部分配置为该第二备用分页或其替代分页。上述第一与第二备用分页配置的数目可限制为不大于3的正整数,以避免储存资源的浪费。Since the storage processing circuit 230 can sort and/or reorganize according to the plurality of data streams, if the data stored in the aforementioned used page or another used page has been sorted and/or reorganized, the first or second The two storage processing units 232, 234 may allow the sorted and/or reorganized used page or the other used page to become the unused portion of the storage space, thereby freeing the used page for the completed task. In addition, in some applications, according to the specifications of the communication transmission protocol or other protocols or mechanisms, the first and second data volumes will not be greater than a preset maximum data volume, so the data configurator 220 can make each The storage capacity of each current page and backup page (and the replacement page of each backup page, if any) is not less than the preset maximum data volume, so as to ensure the smooth progress of the storage operation, wherein the current page and backup page Some or all of the storage capacities may be the same, or all of them may be different. Furthermore, if the first data is a part or all of a first data stream, and the second data is a part or all of a second data stream, in order to avoid insufficient paging available for storage, the data configurator 220 can Further perform the following steps periodically or non-periodically: judging whether the number of a first spare page configuration (that is, the total number of the first spare page and its replacement pages) used to store the first data stream is less than a first preset value, the first spare page configuration includes the first spare page; if the number of the first spare page configuration is less than the first preset value, a part of the unused portion of the storage space 210 is configured as the first spare page or its replacement page; judging whether the number of a second backup page configuration (that is, the total number of the second backup page and its replacement page) used to store the second data stream is less than a second preset value, the second backup page configuring the second spare page; and if the number of the second spare page configuration is less than the second preset value, configuring a part of the unused portion as the second spare page or its substitute page. The number of the above-mentioned first and second standby paging configurations may be limited to a positive integer not greater than 3, so as to avoid waste of storage resources.
由于本领域具有通常知识者可透过方法实施例的相关说明来了解本装置实施例的细节与变化,更明确地说,前述方法实施例的主要与从属特征均可合理应用于本装置实施例中,因此,在不影响本实施例的公开要求与可实施性的前提下,重复及冗余的说明在此予以节略。另外,图标中步骤的顺序以及组件的形状、尺寸、比例等仅为示意,是供本技术领域具有通常知识者了解本发明之用,非对本发明的实施范围加以限制。再者,本说明书对于相同或类似性质的对象或事件的命名用语例如「当前」、「备用」、「待用」、「已用」、「第一」、「第二」等等是用以区分,以帮助了解。Since those skilled in the art can understand the details and changes of this device embodiment through the relevant descriptions of the method embodiments, more specifically, the main and subordinate features of the aforementioned method embodiments can be reasonably applied to this device embodiment Therefore, on the premise of not affecting the disclosure requirements and practicability of this embodiment, repeated and redundant descriptions are omitted here. In addition, the order of the steps in the diagrams and the shapes, sizes, proportions, etc. of the components are only for illustration, and are for those skilled in the art to understand the present invention, and are not intended to limit the implementation scope of the present invention. Furthermore, the naming terms such as "current", "standby", "standby", "used", "first", "second" and the like for objects or events of the same or similar nature are used to distinction to help understand.
请注意,前揭实施例虽多以复数笔数据流的处理为例,然本发明亦可应用于单数据流的处理。另请注意,前揭各实施例包含一或复数个技术特征,于实施为可能的前提下,本技术领域人士可依本发明的公开内容及自身的需求选择性地实施任一实施例的部分或全部技术特征,或者选择性地实施复数个实施例的部分或全部技术特征的组合,藉此增加实施本发明的弹性。Please note that although the foregoing embodiments mostly take the processing of multiple data streams as an example, the present invention can also be applied to the processing of a single data stream. Please also note that each of the aforementioned embodiments contains one or more technical features, and those skilled in the art can selectively implement part of any embodiment according to the disclosure content of the present invention and their own needs under the premise that implementation is possible Or all of the technical features, or selectively implement a combination of some or all of the technical features of multiple embodiments, thereby increasing the flexibility of implementing the present invention.
综上所述,本发明的数据配置方法与装置是藉由将储存空间的一部分或全部配置为各数据流专用的当前与备用分页,以有效率地进行数据储存,并达到储存空间共享的功效。另外,无论本发明是用来储存单数据流或多数据流,本发明均可达到储存快速、空间使用效率高以及储存资源共享等功效。To sum up, the data allocation method and device of the present invention configure a part or all of the storage space as the current and standby pages dedicated to each data stream, so as to efficiently store data and achieve the effect of storage space sharing . In addition, no matter whether the present invention is used to store a single data stream or multiple data streams, the present invention can achieve fast storage, high space utilization efficiency, and sharing of storage resources.
虽然本发明的实施例如上所述,然而这些实施例并非用来限定本发明,本技术领域具有通常知识者可依据本发明的明示或隐含的内容对本发明的技术特征施以变化,凡此种种变化均可能属于本发明所寻求的专利保护范畴,换言之,本发明的专利保护范围须视本说明书的申请专利范围所界定者为准。Although the embodiments of the present invention are as described above, these embodiments are not intended to limit the present invention, and those skilled in the art can make changes to the technical characteristics of the present invention according to the explicit or implicit contents of the present invention. Various changes may belong to the scope of patent protection sought by the present invention. In other words, the scope of patent protection of the present invention must be defined by the scope of patent application in this specification.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410548897.1A CN105512048B (en) | 2014-10-16 | 2014-10-16 | data configuration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410548897.1A CN105512048B (en) | 2014-10-16 | 2014-10-16 | data configuration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105512048A CN105512048A (en) | 2016-04-20 |
CN105512048B true CN105512048B (en) | 2018-11-09 |
Family
ID=55720049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410548897.1A Active CN105512048B (en) | 2014-10-16 | 2014-10-16 | data configuration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105512048B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9905294B1 (en) * | 2017-05-03 | 2018-02-27 | Seagate Technology Llc | Writing logically offset pages of data to N-level memory cells coupled to a common word line |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200731079A (en) * | 2005-08-02 | 2007-08-16 | Sandisk Corp | Situation sensitive memory performance |
TW200745853A (en) * | 2006-01-18 | 2007-12-16 | Ibm | Method and system for automatically distributing real memory between virtual memory page sizes |
CN101527169A (en) * | 2008-03-03 | 2009-09-09 | 群联电子股份有限公司 | Flash memory data writing method and controller thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI473103B (en) * | 2011-09-14 | 2015-02-11 | 威剛科技股份有限公司 | Flash memory storage device and method for determining bad storage area thereof |
-
2014
- 2014-10-16 CN CN201410548897.1A patent/CN105512048B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200731079A (en) * | 2005-08-02 | 2007-08-16 | Sandisk Corp | Situation sensitive memory performance |
TW200745853A (en) * | 2006-01-18 | 2007-12-16 | Ibm | Method and system for automatically distributing real memory between virtual memory page sizes |
CN101527169A (en) * | 2008-03-03 | 2009-09-09 | 群联电子股份有限公司 | Flash memory data writing method and controller thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105512048A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107665146A (en) | Memory management apparatus and method | |
CN106844041B (en) | Memory management method and memory management system | |
WO2019144553A1 (en) | Data storage method and apparatus, and storage medium | |
JP5732536B2 (en) | System, method and non-transitory computer-readable storage medium for scalable reference management in a deduplication-based storage system | |
CN105933376B (en) | A data manipulation method, server and storage system | |
US20150127649A1 (en) | Efficient implementations for mapreduce systems | |
WO2016011811A1 (en) | Memory management method and apparatus, and storage medium | |
CN102866954B (en) | The method of Memory Allocation and device | |
CN104040977B (en) | The method and apparatus of caching message | |
CN102263701B (en) | Queue regulation method and device | |
CN104102586B (en) | Method and device for address mapping processing | |
US20200174687A1 (en) | Apparatus and method for dynamically allocating data paths in response to resource usage in data processing system | |
CN115129459A (en) | Method and device for memory management | |
WO2019125706A1 (en) | Efficient sharing of non-volatile memory | |
CN107977232A (en) | A kind of data processing method, data processing circuit and the network equipment | |
CN103106147A (en) | Memory allocation method and system | |
CN106294198A (en) | The memory allocation method of a kind of (SuSE) Linux OS and method for releasing | |
CN101853185B (en) | Blade server and service dispatching method thereof | |
CN107908365A (en) | The method, apparatus and equipment of User space memory system data interaction | |
CN105512048B (en) | data configuration method and device | |
CN104156663A (en) | Hardware virtual port and processor system | |
CN101526959B (en) | Data storing method and device | |
CN101848150A (en) | Method and device for maintaining count value of multicast counter | |
CN107451154A (en) | A kind of processing method of tables of data, apparatus and system | |
CN105721338B (en) | A kind of processing method and processing device receiving data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210108 Address after: Room 168, building 2, 128 xishenhu Road, Suzhou Industrial Park, Suzhou City, Jiangsu Province Patentee after: Suzhou Panlian integrated circuit technology Co.,Ltd. Address before: China Taiwan Patentee before: Realtek Semiconductor Corp. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241206 Address after: Hsinchu City, Taiwan, China Patentee after: Realtek Semiconductor Corp. Country or region after: TaiWan, China Address before: 215027 room 168, building 2, 128 xishenhu Road, Suzhou Industrial Park, Suzhou City, Jiangsu Province Patentee before: Suzhou Panlian integrated circuit technology Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |