摘要:
The settings related to form fields now are unable to be set dynamically according to attributes of a table. The settings related to form fields include length of form fields, validation rule of form filed (such as length of input character or whether the input character is a not null parameter, etc.), and presentation of form fields (such as check box or calendar time selection interface). The present invention uses result set metadata of a relational database to get the attributes. Thus a form interface includes form fields corresponding to the attributes. And the presentation of the form fields can be determined by the corresponding attribute parameters. Moreover, whether data format is correct is checked by a form validation program according to data user input into the form field. Thereby development workflow can be simplified and development time can be shortened for web developers and program designers.
摘要:
The invention provides a method for data recovery. In one embodiment, a memory comprises a plurality of pages for data storage. First, first data is obtained from a host. A first page for storing the first data is then selected from the pages of the memory. A start page link indicating the first page is then stored in the memory. The first data, a first page link indicating a next page, and first FTL fragment data corresponding to the first page are then written into the first page. Next data is then obtained from the host. The next data, a next page link indicating a subsequent page, and FTL fragment data corresponding to the next page are written into the next page.
摘要:
The invention provides a method for reading information of an optical data storage medium. First, one sector of the optical data storage medium is obtained. The sector is then decoded to check if the sector is reliable. When the sector is not reliable, a data rescue process referring to spec-defined or pre-defined information of the physical specification of the sector is performed in order to obtain disc fundamental information of the optical data storage medium.
摘要:
An optical disc drive is provided, mainly comprising a buffer, a processor and a driving module for accessing an optical disc. The optical disc drive receives a plurality of write commands. Each write command comprises a data block and a destination address. The buffer buffers data blocks to be recorded to the optical disc with corresponding write commands in either a random mode or a sequential mode. The processor schedules a recording operation based on the write commands, and selectively switches the buffer to the random mode or to the sequential mode based on arrangements of data blocks buffered in the buffer. The driving module is controlled by the processor to perform the recording operation, whereby the data blocks are recorded to the optical disc when a start recording condition is met. Specifically, the start recording condition varies with the random or sequential modes.
摘要:
A method for recovering disc management information of a recording medium. (a) When the recording medium is not closed, a readable TDMS which is included in an in-use TDMA of TDMAs of the recording medium and is readable is searched for. (b) It is determined whether a piece of information associated with an inconsistency flag of the readable TDMS is reliable. (c) If the associated piece of information is unreliable, at least a detection condition is determined according to the information included in the readable TDMS and the in-use TDMA. (d) A detection procedure, constrained by the at least the detection condition, is performed on the recording medium for determining an update on the piece of information associated with the inconsistency flag. (e) An update TDMS is generated according to the readable TDMS and the update on the piece of information associated with the inconsistency flag.
摘要:
A data managing method for an optical disc drive writing data into an optical disc having defects is provided. The optical disc has a user data area and a spare area. The optical disc drive includes a first buffering space and a second buffering space. The data managing method includes: when the first buffering space receives a data corresponding to a defect, not suspending the first buffering space from receiving the user data, and transferring the data, corresponding to the defect and in the first buffering space, to the second buffering space; and when data amount in the second buffering space reaches a predetermined value, suspending the optical disc drive from writing data in the first buffering space into the user data area, and driving the optical disc drive to write data in the second buffering space into the spare area.
摘要:
A data managing method for an optical disc drive writing user data into an optical disc having defects. The data managing method includes: determining whether to suspend a first buffering space from receiving the user data according to an amount of data stored in a second buffering space; when the first buffering space receives data corresponding to a defect of the optical disc, not suspending the first buffering space from reading the user data, and transferring the data corresponding to the defect in the first buffering space to a second buffering space; and when an amount of data stored in the second buffering space reaches a predetermined value, suspending the optical disc drive from writing data stored in the first buffering space into a user data area, and driving the optical disc drive to write data stored in the second buffering space into the spare area.
摘要:
A method for recovering disc management information of a recording medium. (a) When the recording medium is not closed, a readable TDMS which is included in an in-use TDMA of TDMAs of the recording medium and is readable is searched for. (b) It is determined whether a piece of information associated with an inconsistency flag of the readable TDMS is reliable. (c) If the associated piece of information is unreliable, at least a detection condition is determined according to the information included in the readable TDMS and the in-use TDMA. (d) A detection procedure, constrained by the at least the detection condition, is performed on the recording medium for determining an update on the piece of information associated with the inconsistency flag. (e) An update TDMS is generated according to the readable TDMS and the update on the piece of information associated with the inconsistency flag.
摘要:
A random access control method is provided, implemented in an optical disc drive for recording data to an optical disc. In the optical disc drive, a buffer stores a plurality of write commands each associated with a data block bound to a destination address. A processor controls the buffer to build a disc write task from the write commands in which addresses are organized in order. A drive unit is controlled by the processor, performing a recording operation to record the data blocks to the optical disc according to the disc write task; wherein the processor further controls the drive unit to verify the recorded data blocks after completing the recording operation.
摘要:
The present invention discloses methods and apparatuses for accessing a hybrid disc. The hybrid disc has a plurality of recording layers corresponding to at least two different storage densities. A proposed method includes acquiring a parameter corresponding to accessing of a target recording layer of the plurality of recording layers, storing the acquired parameter, and when a specific signal is received, performing corresponding servo control operations to access the target recording layer according to the stored parameter.