CN105653469A - Data writing method and device - Google Patents

Data writing method and device Download PDF

Info

Publication number
CN105653469A
CN105653469A CN201511019651.6A CN201511019651A CN105653469A CN 105653469 A CN105653469 A CN 105653469A CN 201511019651 A CN201511019651 A CN 201511019651A CN 105653469 A CN105653469 A CN 105653469A
Authority
CN
China
Prior art keywords
data
storage address
length value
circuit board
described 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.)
Granted
Application number
CN201511019651.6A
Other languages
Chinese (zh)
Other versions
CN105653469B (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.)
Shenzhen TCL New Technology Co Ltd
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201511019651.6A priority Critical patent/CN105653469B/en
Priority to PCT/CN2016/084649 priority patent/WO2017113603A1/en
Publication of CN105653469A publication Critical patent/CN105653469A/en
Application granted granted Critical
Publication of CN105653469B publication Critical patent/CN105653469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data writing method, which comprises the following steps: successively reading data to be read in the storage region of data writing equipment; when the data is read each time, judging whether the data is marked or not; if the data is not marked, writing the data into a circuit board to be written; if the data is marked, obtaining the associated length value of the data; and when the length value is obtained, writing a default numerical value corresponding to the length value into an address corresponding to the storage region of the circuit board to be written. The invention also discloses a data writing device. When the data is written, the data address and length of the blank region of the circuit board is subjected to statistical recording, the default data is written into the blank region of the circuit board to be written according to the data address and length, time is saved, and efficiency is improved.

Description

Method for writing data and device
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of method for writing data and device.
Background technology
(such as TV etc.) in many electronic equipments, the operation of system needs the memory chip on circuit board to provide operation program for it, and otherwise system will be unable to start. Therefore, Producer needs to be stored in memory chip program code by recording device. Memory chip is all storage information in units of a byte, is all reading or the write data of byte-by-byte when read-write program code.
At present that the performance requirement of TV is more and more higher, so the capacity of circuit board is increasing, present electronic equipment, except the program of prepackage, a lot of memory spaces are all blank, such as: the circuit board memory space of TV is 16GB, and the space of normal storage software only has 2GB, substantial amounts of space to be blank, the data that white space Default population is identical, the reading of byte-by-byte or write identical data, expend time in.
Summary of the invention
Present invention is primarily targeted at a kind of method for writing data of offer and device, it is intended to solve to the time-consuming technical problem of circuit board write data.
For achieving the above object, the present invention provides a kind of method for writing data, and described method for writing data includes:
It is successively read the data that data writing device memory area is to be read;
When reading described data every time, it is judged that whether described data are labeled;
If described data are not labeled, described data are write circuit board to be written;
If described data are labeled, obtain the length value of described data association;
When getting described length value, to the default number that the address write that described circuit board memory area to be written is corresponding is corresponding with length value.
Alternatively, the step of the length value of the described data association of described acquisition includes:
Obtain the storage address of described data;
Judge whether to find described storage address;
If finding described storage address, perform the step of the length value of the described data association of described acquisition according to described storage address;
If not finding described storage address, eject miscue.
Alternatively, include before being successively read the step of data writing device memory area data to be read described in:
The list of the data of the various boards of display data writing device storage region storage;
The data that described storage address correspondence stores are set to data to be read by the storage address of the data according to selected circuit board.
Alternatively, described in be successively read data writing device memory area storage data step before, described method for writing data also includes:
It is successively read the data of circuit board to be read storage;
When reading described data every time, it is judged that whether the numerical value of described data is default number;
When described data are default number, data described in labelling;
The numerical value of storage address and continuous multiple data that association stores described data is the length value of default number;
When described data are non-default numerical value, described data are write memory area in order.
Alternatively, described association store the storage address of described data and the numerical value of continuous multiple data be default number length value step before include step:
The numerical value updating continuous multiple data is the length value of default number;
Judge whether described length value reaches the second predetermined threshold value;
If described length value reaches the second predetermined threshold value, perform the step that described association preserves the storage address of described length value and described data;
If described length value is not up to the second predetermined threshold value, perform the described step that described data are stored in order memory area.
The present invention further provides a kind of data transfer apparatus, described data transfer apparatus includes:
First read module, for being successively read the data that data writing device memory area is to be read;
First judge module, for when reading described data every time, it is judged that whether described data are labeled;
Described data, if not being labeled for described data, are write circuit board to be written by writing module;
Acquisition module, if being labeled for described data, obtains the length value of described data association;
Said write module, is additionally operable to when getting described length value, to the default number that the address write that described circuit board memory area to be written is corresponding is corresponding with length value.
Alternatively, described acquisition module includes:
Acquiring unit, for obtaining the storage address of described data;
Judging unit, is used for judging whether to find described storage address;
Described acquiring unit, if being additionally operable to find described storage address, performs the step of the length value of the described data association of described acquisition according to described storage address;
Tip element, if for not finding described storage address, ejecting miscue.
Alternatively, described data transfer apparatus also includes:
Display module, for the list of data of the various boards of display data writing device storage region storage;
The data that described storage address correspondence stores, for the storage address of the data according to selected circuit board, are set to data to be read by processing module.
Alternatively, described data transfer apparatus also includes:
Second read module, for being successively read the data of circuit board to be read storage;
Second judge module, for when reading described data every time, it is judged that whether the numerical value of described data is default number;
Mark module, is used for when described data are default number, data described in labelling;
Memory module, the numerical value for associating the storage address and continuous multiple data that store described data is the length value of default number;
Described memory module, is additionally operable to, when described data are non-default numerical value, described data be write memory area in order.
Alternatively, described data transfer apparatus also includes:
More new module, the numerical value for updating continuous multiple data is the length value of default number;
3rd judge module, is used for judging whether described length value reaches the second predetermined threshold value;
Described memory module, if being additionally operable to described length value to reach the second predetermined threshold value, association stores the storage address of described length value and described data;
Described data, if being additionally operable to described length value not up to the second predetermined threshold value, are stored in memory area by described memory module in order.
The method for writing data that the present invention proposes, when write data, the data address of the white space of statistic record circuit board and length, according to described data address and length, default data is write the white space of circuit board to be written, saves the time, improve efficiency.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of method for writing data first embodiment of the present invention;
Fig. 2 is the refinement schematic flow sheet obtaining length value in Fig. 1;
Fig. 3 is the schematic flow sheet of method for writing data the second embodiment of the present invention;
Fig. 4 is method for writing data the 3rd embodiment schematic flow sheet of the present invention;
Fig. 5 is that in one embodiment of the invention, tag value is the refinement schematic flow sheet of the data of default number;
Fig. 6 is the high-level schematic functional block diagram of data transfer apparatus first embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of acquisition module in Fig. 6;
Fig. 8 is the high-level schematic functional block diagram of data transfer apparatus the second embodiment of the present invention;
Fig. 9 is the high-level schematic functional block diagram of data transfer apparatus the 3rd embodiment of the present invention.
Figure 10 is that in one embodiment of the invention, tag value is the high-level schematic functional block diagram of the data of default number.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are method for writing data first embodiment of the present invention.
The present embodiment proposes a kind of method for writing data, and described method for writing data includes:
Step S10, is successively read the data that data writing device memory area is to be read;
In the present embodiment, by data writing device to circuit board write-in program to be written, it is successively read the data that the memory area of described data writing device is to be read, and described data are write circuit board to be written.
Step S20, when reading described data every time, it is judged that whether described data are labeled;
In the present embodiment, when to circuit board write data to be written, it is judged that whether the current data read are labeled, if labeled, then the first data that described data are a white space are described. Now obtain the storage address of described data, the length value that data are default number according to described storage address search management storage.
Step S30, if described data are labeled, obtains the length value of described data association;
In the present embodiment, the routine data according to data writing device storage, described program is write circuit board to be written, when white space is bigger, can according to the storage address matched and searched length value of the labelling read.
With reference to Fig. 2, described step S30 includes:
Step S31, obtains the storage address of described data;
In the present embodiment, described storage address includes present segment address and section bias internal address.
Step S32, it may be judged whether find described storage address;
Step S33, if finding described storage address, performs the step of the length value of the described data association of described acquisition according to described storage address;
Step S34, if not finding described storage address, ejects miscue.
When the address search not according to described labelling is to the data length value of white space, miscue can be ejected, remind ablation process to make mistakes.
Step S40, when getting described length value, to the default number that the address write that described circuit board memory area to be written is corresponding is corresponding with length value;
In the present embodiment, when there is white space in the template circuitry plate that described circuit board to be written will write, can being determined by storage address and the length of the first data of described white space, described white space is write default data, described default data can be 00 or FF.
Described data, if described data are not labeled, are write circuit board to be written by step S50.
The method for writing data that the present embodiment proposes, when to circuit board write data to be written, store the storage address of described data according to setting up list correspondence and be the data segment length of default number continuously, the default number of batch no write de-lay white space, rather than the default number of the write white space of byte-by-byte, the saving time, improve efficiency.
Further, also propose the second embodiment of method for writing data based on the second embodiment present invention, with reference to Fig. 3, include before described step S10:
Step S60, the list of the data of the various boards of display data writing device storage region storage;
In the present embodiment, described data writing device can store the program that the circuit board of multiple different size runs, when to described circuit board write-in program to be written, the list of the data of the different circuit board that described data writing device stores can be shown, as required, the data that corresponding circuit board stores are selected.
Step S70, the storage address according to the data of selected circuit board, the data that described storage address correspondence stores are set to data to be read.
In the present embodiment, described data writing device storage has the data of the circuit board of multiple different size, when receiving the information of selected circuit board, the storage address according to the data that the information searching of described circuit board associates, obtaining described data is data to be read.
The method for writing data that the present embodiment proposes, it is provided that multiple confession write-in programs, selects corresponding program to read according to actual needs, improves resource utilization.
Further, also proposing the 3rd embodiment of method for writing data based on the first embodiment present invention, with reference to Fig. 4, before described step S10, described method for writing data further comprises the steps of:
Step S80, is successively read the data of circuit board to be read storage;
In the present embodiment, use described method for writing data that the routine data stored on circuit board is write circuit board to be written by data writing device, specifically, can by described data writing device first by the memory area of described routine data write data write device.
Step S90, when reading described data every time, it is judged that whether the numerical value of described data is default number;
It is understandable that, circuit board exists a large amount of white space, described white space is provided with identical default number, i.e. default number, described default value can arbitrarily be arranged, can being generally 00 or FF, the default number it being write one by one reading and writing described white space of byte-by-byte be comparatively lost time.
In the present embodiment, during the data of reading circuit plate, whether the data read described in first determining whether are default number, and the numerical value according to the data read carries out different operations.
Step S100, when described data are default number, data described in labelling;
In the present embodiment, if the described data read are default number, then can add a labelling in described data, indicate that these data are the first data for default number read in circuit board the preceding paragraph white space, obtain the storage address of described data, and calculate continuous print data and be the segment length of default number, i.e. the length of white space.
Step S110, the numerical value of storage address and continuous multiple data that association stores described data is the length value of default number;
In the present embodiment, the list of white space of described program can be set up at the memory area of described data writing device, the corresponding storage address storing described data and be the data segment length of default number continuously.
When to circuit board write data to be written, if reading described labelling, then can obtain the storage address of described labelling, length according to white space corresponding to described storage address search, according to the described segment length of described storage address and correspondence thereof, default number is write circuit board to be written, and wherein said storage address includes sector address and section bias internal address.
Described data, when described data are non-default numerical value, are write memory area by step S120 in order.
In the present embodiment, when described data are not default number, when namely described data are effective procedure data, by the memory area of described data write data write device in order.
Further, with reference to Fig. 5, further comprise the steps of: before described step S110
Step S130, the numerical value updating continuous multiple data is the length value of default number;
It is understandable that, the memory space of current circuit board, computing capability and data literacy are all comparatively powerful, when described white space is little, namely described data are the data segment length of default number and are not reaching to the second predetermined threshold value, the efficiency writing described data of byte-by-byte is not low compared with the disposable efficiency that described white space is filled data, the memory space of described circuit board can be 16GB, now can arrange described second predetermined threshold value is 200 bytes, if the data length of described white space is not reaching to described second predetermined threshold value, now, described data can be stored in order one by one.
Step S140, it is judged that whether described length value reaches the second predetermined threshold value;
In the present embodiment, when reading one piece of data and being default number, can the data length of one piece of data described in statistical computation, if described data length reaches the second predetermined threshold value, then set up corresponding list and set up the storage address of the list correspondence described data of storage and be the data segment length of default number continuously;
If described length value reaches the second predetermined threshold value, perform described step S110;
If described length value is not up to the second predetermined threshold value, perform described step S120.
The data of the circuit board as template are analyzed processing, are successively read the data of circuit board storage by the method for writing data that the present embodiment proposes; When reading described data, it is judged that whether described data are default number; When described data are default number, data described in labelling, continue to read next data, until reading the data of non-default numerical value; Set up list correspondence at memory area store the storage address of described data and be the data segment length of default number continuously; When described data are not default number, described data are write memory area in order, extract the white space of described circuit board, save the time, improve efficiency.
The present invention further provides a kind of data transfer apparatus.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are data transfer apparatus first embodiment of the present invention.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 6 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the data transfer apparatus shown in Fig. 6, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for assisting each program function block understanding data transfer apparatus, being not used in restriction technical scheme, the core of technical solution of the present invention is, the function that the functional module of each self-defined title to be reached.
The data transfer apparatus that the present embodiment proposes, described data transfer apparatus includes:
First read module 10, for being successively read the data that data writing device memory area is to be read;
In the present embodiment, by described data writing device to circuit board write-in program to be written, it is successively read the data that the memory area of described data writing device is to be read, and described data are write circuit board to be written.
First judge module 20, for when reading described data every time, it is judged that whether described data are labeled;
In the present embodiment, when to circuit board write data to be written, judge that whether the current data read are labeled, if it is labeled, the first data that described data are a white space are then described, now obtain the storage address of described data, the length value that data are default number according to described storage address search management storage.
Described data, if not being labeled for described data, are write circuit board to be written by writing module 30;
In this embodiment, the routine data according to data writing device storage, described program is write circuit board to be written, when white space is bigger, can according to the storage address of the labelling labelling read matched and searched length value in described list.
Acquisition module 40, if being labeled for described data, obtains the length value of described data association;
With reference to Fig. 7, described acquisition module 40 includes:
Acquiring unit 41, for obtaining the storage address of described data;
Judging unit 42, is used for judging whether to find described storage address;
Described acquiring unit 43, if being additionally operable to find described storage address, performs the step of the length value of the described data association of described acquisition according to described storage address;
Tip element 44, if for not finding described storage address, ejecting miscue.
When the address search not according to described labelling is to the data length value of white space, miscue can be ejected, remind ablation process to make mistakes.
Said write module 30, is additionally operable to when getting described length value, to the default number that the address write that described circuit board memory area to be written is corresponding is corresponding with length value.
In the present embodiment, when there is white space in the template circuitry plate that described circuit board to be written will write, can being determined by storage address and the length of the first data of described white space, described white space is write default data, described default data can be 00 or FF.
The method for writing data that the present embodiment proposes, when to circuit board write data to be written, store the storage address of described data according to setting up list correspondence and be the data segment length of default number continuously, the default number of batch no write de-lay white space, rather than the default number of the write white space of byte-by-byte, the saving time, improve efficiency.
Further, also proposing the second embodiment of data transfer apparatus based on the second embodiment present invention, with reference to Fig. 8, described data transfer apparatus also includes:
Display module 50, for the list of data of the various boards of display data writing device storage region storage;
In the present embodiment, described data writing device can store the program that the circuit board of multiple different size runs, when to described circuit board write-in program to be written, the list of the data of the different circuit board that described data writing device stores can be shown, as required, the data that corresponding circuit board stores are selected.
The data that described storage address correspondence stores, for the storage address of the data according to selected circuit board, are set to data to be read by processing module 60.
In the present embodiment, described data writing device storage has the data of the circuit board of multiple different size, when receiving the information of selected circuit board, the storage address according to the data that the information searching of described circuit board associates, obtaining described data is data to be read.
The method for writing data that the present embodiment proposes, it is provided that multiple confession write-in programs, selects corresponding program to read according to actual needs, improves resource utilization.
Further, also proposing the 3rd embodiment of data transfer apparatus based on the first embodiment present invention, with reference to Fig. 9, described data transfer apparatus also includes:
Second read module 70, for being successively read the data of circuit board to be read storage;
In the present embodiment, use described method for writing data that the routine data stored on circuit board is write circuit board to be written by data writing device, specifically, can by described data writing device first by the memory area of described routine data write data write device.
It is understandable that, circuit board exists a large amount of white space, described white space is provided with identical default number, i.e. default number, described default value can arbitrarily be arranged, can being generally 00 or FF, the default number it being write one by one reading and writing described white space of byte-by-byte be comparatively lost time.
In the present embodiment, during the data of reading circuit plate, whether the data read described in first determining whether are default number, and the numerical value according to the data read carries out different operations.
Second judge module 80, for when reading described data every time, it is judged that whether the numerical value of described data is default number;
In the present embodiment, if the described data read are default number, then can add a labelling in described data, indicate that these data are the first data for default number read in circuit board the preceding paragraph white space, obtain the storage address of described data, and calculate continuous print data and be the segment length of default number, i.e. the length of white space.
Mark module 90, is used for when described data are default number, data described in labelling;
Memory module 100, the numerical value for associating the storage address and continuous multiple data that store described data is the length value of default number;
In the present embodiment, the list of white space of described program can be set up at the memory area of described data writing device, the corresponding storage address storing described data and be the data segment length of default number continuously.
When to circuit board write data to be written, if reading described labelling, then can obtain the storage address of described labelling, length according to white space corresponding to described storage address search, according to the described segment length of described storage address and correspondence thereof, default number is write circuit board to be written, and wherein said storage address includes sector address and section bias internal address.
Described memory module 100, is additionally operable to, when described data are non-default numerical value, described data be write memory area in order.
In the present embodiment, when described data are not default number, when namely described data are effective procedure data, by the memory area of described data write data write device in order.
Further, with reference to Figure 10, described data transfer apparatus includes:
More new module 110, the numerical value for updating continuous multiple data is the length value of default number;
It is understandable that, the memory space of current circuit board, computing capability and data literacy are all comparatively powerful, when described white space is little, namely described data are the data segment length of default number and are not reaching to the second predetermined threshold value, the efficiency writing described data of byte-by-byte is not low compared with the disposable efficiency that described white space is filled data, the memory space of described circuit board can be 16GB, now can arrange described second predetermined threshold value is 200 bytes, if the data length of described white space is not reaching to described second predetermined threshold value, now, described data can be stored in order one by one.
3rd judge module 120, is used for judging whether described length value reaches the second predetermined threshold value;
The data that described second predetermined threshold value is default Coutinuous store are the length value of default data;
In the present embodiment, when reading one piece of data and being default number, can the data length of one piece of data described in statistical computation, if described data length reaches the second predetermined threshold value, then set up corresponding list and set up the storage address of the list correspondence described data of storage and be the data segment length of default number continuously;
Described memory module 100, if being additionally operable to described length value to reach the second predetermined threshold value, association stores the storage address of described length value and described data;
Described data, if being additionally operable to described length value not up to the second predetermined threshold value, are stored in memory area by described memory module 100 in order.
The data of the circuit board as template are analyzed processing, are successively read the data of circuit board storage by the method for writing data that the present embodiment proposes; When reading described data, it is judged that whether described data are default number; When described data are default number, data described in labelling, continue to read next data, until reading the data of non-default numerical value; Set up list correspondence at memory area store the storage address of described data and be the data segment length of default number continuously; When described data are not default number, described data are write memory area in order, extract the white space of described circuit board, save the time, improve efficiency.
It should be noted that, in this article, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or device not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or device. When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of this key element, method, article or device.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, server, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (10)

1. a method for writing data, it is characterised in that described method for writing data includes step:
It is successively read the data that data writing device memory area is to be read;
When reading described data every time, it is judged that whether described data are labeled;
If described data are not labeled, described data are write circuit board to be written;
If described data are labeled, obtain the length value of described data association;
When getting described length value, to the default number that the address write that described circuit board memory area to be written is corresponding is corresponding with length value.
2. method for writing data as claimed in claim 1, it is characterised in that the step of the length value of the described data association of described acquisition includes:
Obtain the storage address of described data;
Judge whether to find described storage address;
If finding described storage address, the length value of data association according to described storage address acquisition;
If not finding described storage address, eject miscue.
3. method for writing data as claimed in claim 1, it is characterised in that described in be successively read data writing device memory area data to be read step before include:
The list of the data of the various boards of display data writing device storage region storage;
The data that described storage address correspondence stores are set to data to be read by the storage address of the data according to selected circuit board.
4. method for writing data as claimed in claim 1, it is characterised in that described in be successively read the storage of data writing device memory area the step of data before, described method for writing data also includes:
It is successively read the data of circuit board to be read storage;
When reading described data every time, it is judged that whether the numerical value of described data is default number;
When described data are default number, data described in labelling;
The numerical value of storage address and continuous multiple data that association stores described data is the length value of default number;
When described data are non-default numerical value, described data are write memory area in order.
5. method for writing data as claimed in claim 4, it is characterised in that include step before the step that the numerical value of storage address and continuous multiple data that described association stores described data is the length value of default number:
The numerical value updating continuous multiple data is the length value of default number;
Judge whether described length value reaches the second predetermined threshold value;
If described length value reaches the second predetermined threshold value, perform the step that described association preserves the storage address of described length value and described data;
If described length value is not up to the second predetermined threshold value, perform the described step that described data are stored in order memory area.
6. a data transfer apparatus, it is characterised in that described data transfer apparatus includes:
First read module, for being successively read the data that data writing device memory area is to be read;
First judge module, for when reading described data every time, it is judged that whether described data are labeled;
Described data, if not being labeled for described data, are write circuit board to be written by writing module;
Acquisition module, if being labeled for described data, obtains the length value of described data association;
Said write module, is additionally operable to when getting described length value, to the default number that the address write that described circuit board memory area to be written is corresponding is corresponding with length value.
7. data transfer apparatus as claimed in claim 4, it is characterised in that described acquisition module includes:
Acquiring unit, for obtaining the storage address of described data;
Judging unit, is used for judging whether to find described storage address;
Described acquiring unit, if being additionally operable to find described storage address, performs the step of the length value of the described data association of described acquisition according to described storage address;
Tip element, if for not finding described storage address, ejecting miscue.
8. data transfer apparatus as claimed in claim 6, it is characterised in that described data transfer apparatus also includes:
Display module, for the list of data of the various boards of display data writing device storage region storage;
The data that described storage address correspondence stores, for the storage address of the data according to selected circuit board, are set to data to be read by processing module.
9. data transfer apparatus as claimed in claim 6, it is characterised in that described data transfer apparatus also includes:
Second read module, for being successively read the data of circuit board to be read storage;
Second judge module, for when reading described data every time, it is judged that whether the numerical value of described data is default number;
Mark module, is used for when described data are default number, data described in labelling;
Memory module, the numerical value for associating the storage address and continuous multiple data that store described data is the length value of default number;
Described memory module, is additionally operable to, when described data are non-default numerical value, described data be write memory area in order.
10. data transfer apparatus as claimed in claim 9, it is characterised in that described data transfer apparatus also includes:
More new module, the numerical value for updating continuous multiple data is the length value of default number;
3rd judge module, is used for judging whether described length value reaches the second predetermined threshold value;
Described memory module, if being additionally operable to described length value to reach the second predetermined threshold value, association stores the storage address of described length value and described data;
Described data, if being additionally operable to described length value not up to the second predetermined threshold value, are stored in memory area by described memory module in order.
CN201511019651.6A 2015-12-30 2015-12-30 Method for writing data and device Active CN105653469B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201511019651.6A CN105653469B (en) 2015-12-30 2015-12-30 Method for writing data and device
PCT/CN2016/084649 WO2017113603A1 (en) 2015-12-30 2016-06-03 Method and device for data writing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511019651.6A CN105653469B (en) 2015-12-30 2015-12-30 Method for writing data and device

Publications (2)

Publication Number Publication Date
CN105653469A true CN105653469A (en) 2016-06-08
CN105653469B CN105653469B (en) 2018-11-02

Family

ID=56478439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511019651.6A Active CN105653469B (en) 2015-12-30 2015-12-30 Method for writing data and device

Country Status (2)

Country Link
CN (1) CN105653469B (en)
WO (1) WO2017113603A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112215A1 (en) * 2004-11-19 2006-05-25 Samsung Electronics Co., Ltd. Apparatus and method for processing data of flash memory
CN101808095A (en) * 2010-03-22 2010-08-18 华中科技大学 Encryption copy organization method under distributed storage environment
CN103324503A (en) * 2013-05-29 2013-09-25 京东方科技集团股份有限公司 Data programming system and method
CN103778964A (en) * 2013-12-30 2014-05-07 上海晨思电子科技有限公司 Processing and using method, device and system for NAND Flash programmed data,

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993020513A1 (en) * 1992-04-07 1993-10-14 Chips And Technologies, Inc. Method and apparatus for performing run length tagging for increased bandwidth in dynamic data repetitive memory systems
CN101667457B (en) * 2008-09-03 2014-01-15 京元电子股份有限公司 System and method for burning chips
CN102360569B (en) * 2011-08-24 2017-04-12 中兴通讯股份有限公司 Burning method, system and apparatus for nand flash chips

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112215A1 (en) * 2004-11-19 2006-05-25 Samsung Electronics Co., Ltd. Apparatus and method for processing data of flash memory
CN101808095A (en) * 2010-03-22 2010-08-18 华中科技大学 Encryption copy organization method under distributed storage environment
CN103324503A (en) * 2013-05-29 2013-09-25 京东方科技集团股份有限公司 Data programming system and method
CN103778964A (en) * 2013-12-30 2014-05-07 上海晨思电子科技有限公司 Processing and using method, device and system for NAND Flash programmed data,

Also Published As

Publication number Publication date
CN105653469B (en) 2018-11-02
WO2017113603A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
CN103455475B (en) Composition method, equipment and system
CN105809471B (en) Method and device for acquiring user attribute and electronic equipment
CN109213448B (en) Method, device, equipment and storage medium for erasing and writing data of smart card
CN105303097A (en) Verification method of mobile terminal, mobile terminal and verification system
CN111061770A (en) BOM model matching device and method, electronic equipment and storage medium
CN107844468A (en) The cross-page recognition methods of form data, electronic equipment and computer-readable recording medium
CN111274242A (en) Data searching method and device of tree structure for hospital logistics operation and maintenance
CN107608630B (en) Data reading and writing method and device
CN102467420A (en) System and method for storing and restoring configuration information of external board card
CN106294480A (en) A kind of file layout change-over method, device and examination question import system
CN111638439B (en) Communication module testing method, device, computer equipment and storage medium
CN108228340B (en) Terminal control method and device, terminal equipment and computer readable storage medium
CN109343800B (en) Storage device management method and device and readable storage medium
CN104915435A (en) Data query method and device
CN112818219A (en) Method, system, electronic device and readable storage medium for explaining recommendation effect
CN105653469A (en) Data writing method and device
CN109508390B (en) Input prediction method and device based on knowledge graph and electronic equipment
CN104750661A (en) Method and device for selecting words and sentences of text
CN111221470A (en) Data processing method, electronic device and storage medium
CN113535654B (en) Log processing method, system, electronic device and storage medium
CN107436918B (en) Database implementation method, device and equipment
CN112036132A (en) Document header and footer editing method and device and electronic equipment
CN114416731A (en) Data storage method, data reading method, data storage device, electronic device and medium
CN103729634A (en) Character recognition apparatus and character recognition method
US20150012904A1 (en) System and method for setting electrical specification of signal transmission line

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