CN105653469B - Method for writing data and device - Google Patents

Method for writing data and device Download PDF

Info

Publication number
CN105653469B
CN105653469B CN201511019651.6A CN201511019651A CN105653469B CN 105653469 B CN105653469 B CN 105653469B CN 201511019651 A CN201511019651 A CN 201511019651A CN 105653469 B CN105653469 B CN 105653469B
Authority
CN
China
Prior art keywords
data
storage
written
length value
circuit board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511019651.6A
Other languages
Chinese (zh)
Other versions
CN105653469A (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
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 kind of method for writing data, the method for writing data includes:It is successively read data writing device storage region data to be read;When reading the data every time, judge whether the data are labeled;If the data are not labeled, circuit board to be written is written into the data;If the data are labeled, the length value of the data correlation is obtained;When getting the length value, default number corresponding with length value is written to the corresponding address of the circuit board storage region to be written.Invention additionally discloses a kind of data transfer apparatus.When data are written, the white space of circuit board to be written is written according to the data address and length, saves the time by the data address and length of the white space of statistic record circuit board for default data, improves efficiency.

Description

Method for writing data and device
Technical field
The present invention relates to technical field of data processing more particularly to a kind of method for writing data and device.
Background technology
In many electronic equipments (such as TV), the operation of system needs the memory chip on circuit board to be provided for it Program is run, otherwise system will be unable to start.Therefore, the producer needs program code being stored in memory by recording device In chip.Memory chip is all that information is stored as unit of a byte, and read-write program code when is all byte-by-byte Reading or write-in data.
It is higher and higher to the performance requirement of TV at present, so the capacity of circuit board is increasing, present electronic equipment, In addition to the program of prepackage, many memory spaces are all blank, such as:The circuit board memory space of TV is 16GB, and normal It is blank, the identical data of white space Default population, byte-by-byte that the space of storage software, which only has 2GB, a large amount of space, Reading or write-in identical data, expend the time.
Invention content
The main purpose of the present invention is to provide a kind of method for writing data and devices, it is intended to solve that number is written to circuit board According to time-consuming technical problem.
To achieve the above object, the present invention provides a kind of method for writing data, and the method for writing data includes:
It is successively read data writing device storage region data to be read;
When reading the data every time, judge whether the data are labeled;
If the data are not labeled, circuit board to be written is written into the data;
If the data are labeled, the length value of the data correlation is obtained;
When getting the length value, to the corresponding address write-in of the circuit board storage region to be written and length value Corresponding default number.
Optionally, the step of length value for obtaining the data correlation includes:
Obtain the storage address of the data;
Judge whether to find the storage address;
If finding the storage address, the length value for obtaining the data correlation is executed according to the storage address The step of;
If not finding the storage address, miscue is popped up.
Optionally, include before described the step of being successively read data writing device storage region data to be read:
The list of the data of the various boards of display data writing equipment storage region storage;
According to the storage address of the data of selected circuit board, the data that the storage address is corresponded to storage are set as continuing The data taken.
Optionally, before the step of data for being successively read the storage of data writing device storage region, the data Wiring method further includes:
It is successively read the data of circuit board storage to be read;
When reading the data every time, judge whether the numerical value of the data is default number;
When the data are default number, the data are marked;
The numerical value of the storage address of data described in associated storage and continuous multiple data is the length value of default number;
When the data are non-default numerical value, storage region is written into the data in sequence.
Optionally, the numerical value of the storage address of data described in the associated storage and continuous multiple data is default number Length value the step of before include step:
The numerical value of the continuous multiple data of update is the length value of default number;
Judge whether the length value reaches the second predetermined threshold value;
If the length value reaches the second predetermined threshold value, executes the association and preserve depositing for the length value and the data The step of storing up address;
If the length value is not up to the second predetermined threshold value, execution is described to be stored in storage region in sequence by the data The step of.
The present invention further provides a kind of data transfer apparatus, the data transfer apparatus includes:
First read module, the data to be read for being successively read data writing device storage region;
First judgment module, for when reading the data every time, judging whether the data are labeled;
If not labeled for the data circuit board to be written is written in the data by writing module;
Acquisition module obtains the length value of the data correlation if labeled for the data;
Said write module is additionally operable to when getting the length value, to the circuit board storage region pair to be written Default number corresponding with length value is written in the address answered.
Optionally, the acquisition module includes:
Acquiring unit, the storage address for obtaining the data;
Judging unit finds the storage address for judging whether;
The acquiring unit executes the acquisition if being additionally operable to find the storage address according to the storage address The step of length value of the data correlation;
If prompt unit pops up miscue for not finding the storage address.
Optionally, the data transfer apparatus further includes:
Display module, the list of the data of the various boards for the storage of display data writing equipment storage region;
Processing module, the storage address of the data of the circuit board selected for basis, the storage address is corresponded to and is stored Data be set as data to be read.
Optionally, the data transfer apparatus further includes:
Second read module, the data for being successively read circuit board storage to be read;
Second judgment module, for when reading the data every time, judging whether the numerical value of the data is acquiescence Numerical value;
Mark module, for when the data are default number, marking the data;
Memory module is acquiescence number for the storage address of data described in associated storage and the numerical value of continuous multiple data The length value of value;
The memory module is additionally operable to, when the data are non-default numerical value, the data are written in sequence and are deposited Storage area domain.
Optionally, the data transfer apparatus further includes:
Update module, the numerical value for updating continuous multiple data are the length value of default number;
Third judgment module, for judging whether the length value reaches the second predetermined threshold value;
The memory module, if being additionally operable to the length value reaches the second predetermined threshold value, length value described in associated storage and The storage address of the data;
The memory module, if being additionally operable to the length value is not up to the second predetermined threshold value, in sequence by the data It is stored in storage region.
Method for writing data proposed by the present invention, when data are written, the data of the white space of statistic record circuit board Default data, is written the white space of circuit board to be written according to the data address and length by address and length, when saving Between, improve efficiency.
Description of the drawings
Fig. 1 is the flow diagram of method for writing data first embodiment of the present invention;
Fig. 2 is the refinement flow diagram that length value is obtained in Fig. 1;
Fig. 3 is the flow diagram of method for writing data second embodiment of the present invention;
Fig. 4 is method for writing data 3rd embodiment flow diagram of the present invention;
Fig. 5 be in one embodiment of the invention tag value be default number data refinement flow diagram;
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 second embodiment of the present invention;
Fig. 9 is the high-level schematic functional block diagram of data transfer apparatus 3rd embodiment of the present invention.
Figure 10 be in one embodiment of the invention tag value be default number data high-level schematic functional block diagram.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the flow diagram of method for writing data first embodiment of the present invention.
The present embodiment proposes that a kind of method for writing data, the method for writing data include:
Step S10 is successively read data writing device storage region data to be read;
In the present embodiment, the data are successively read to circuit board write-in program to be written by data writing device The storage region of write device data to be read, and circuit board to be written is written into the data.
Step S20 judges whether the data are labeled when reading the data every time;
In the present embodiment, when data are written to circuit board to be written, judge whether the data currently read are marked Note illustrates that the data are the first data of a white space if labeled.The storage address of the data is obtained at this time, The data that management storage is searched according to the storage address are the length value of default number.
Step S30 obtains the length value of the data correlation if the data are labeled;
In the present embodiment, the program data stored according to data writing device, circuit to be written is written by described program Plate can be according to the storage address matched and searched length value of the label read when white space is larger.
Include with reference to Fig. 2, the step S30:
Step S31 obtains the storage address of the data;
In the present embodiment, the storage address includes current sector address and section bias internal address.
Step S32 judges whether to find the storage address;
Step S33 executes the acquisition data correlation if finding the storage address according to the storage address Length value the step of;
Step S34 pops up miscue if not finding the storage address.
When not according to the data length value of the address search of the label to white space, miscue can be popped up, Remind ablation process error.
Step S40 is written when getting the length value to the corresponding address of the circuit board storage region to be written Default number corresponding with length value;
In the present embodiment, the template circuitry plate that will be written in the circuit board to be written, can there are when white space By the storage address and length of the first data of the determination white space, default data, institute is written into the white space It can be 00 or FF to state default data.
If the data are not labeled circuit board to be written is written in the data by step S50.
The method for writing data that the present embodiment proposes, when data are written to circuit board to be written, according to establishing list pair The storage address of the data should be stored and be continuously the data segment length of default number, batch no write de-lay white space it is silent Recognize numerical value, rather than the default number of the write-in white space of byte-by-byte, the time is saved, efficiency is improved.
Further, the second embodiment of method for writing data is also proposed based on the second embodiment present invention, with reference to Fig. 3, Include before the step S10:
Step S60, the list of the data of the various boards of display data writing equipment storage region storage;
In the present embodiment, the data writing device can store the program of the circuit board operation of multiple and different specifications, When to the circuit board write-in program to be written, the data of the different circuit boards of the data writing device storage can be shown List select the data of corresponding circuit board storage as needed.
The storage address is corresponded to the data of storage by step S70 according to the storage address of the data of selected circuit board It is set as data to be read.
In the present embodiment, the data writing device is stored with the data of the circuit board of multiple and different specifications, is receiving To selected circuit board information when, according to the storage address of the associated data of the information searching of the circuit board, described in acquisition Data are data to be read.
The method for writing data that the present embodiment proposes, provides multiple for write-in program, and selection is corresponding according to actual needs Program is written, and resource utilization is improved.
Further, the 3rd embodiment of method for writing data is also proposed based on the first embodiment present invention, with reference to Fig. 4, Before the step S10, the method for writing data further includes step:
Step S80 is successively read the data of circuit board storage to be read;
In the present embodiment, use the method for writing data by stored journey on circuit board by data writing device Ordinal number is according to circuit board to be written is written, and specifically, data first can be written in described program data by the data writing device The storage region of write device.
Step S90 judges whether the numerical value of the data is default number when reading the data every time;
It is understood that there are a large amount of white spaces, the white space to be equipped with identical default number in circuit board, That is default number, the default value can be arbitrarily arranged, and generally can be 00 or FF, the read-write white space of byte-by-byte Default number and it is written one by one more wastes time.
In the present embodiment, when the data of reading circuit plate, first determine whether the data read are acquiescence number Value, according to the numerical value of the data read, carries out different operations.
Step S100 marks the data when the data are default number;
In the present embodiment, if the data read are default number, a label can be added in the data, It indicates that this data is the data that read in circuit board the preceding paragraph white space first is default number, obtains the data Storage address, and calculate the segment length that continuous data are default number, the i.e. length of white space.
The numerical value of step S110, the storage address of data described in associated storage and continuous multiple data is default number Length value;
In the present embodiment, can the storage region of the data writing device establish described program white space row Table corresponds to the storage address for storing the data and the data segment length for being continuously default number.
When data are written to circuit board to be written, if reading the label, the storage of the label can be obtained Location searches the length of corresponding white space according to the storage address, by default number according to the storage address and its right Circuit board to be written is written in the segment length answered, wherein the storage address includes sector address and section bias internal address.
When the data are non-default numerical value storage region is written in the data by step S120 in sequence.
In the present embodiment, when the data are not default number, i.e., when the described data are effective procedure data, by institute State the storage region that data writing device is written in data in order.
Further, further include before step with reference to Fig. 5, the step S110:
Step S130, the numerical value for updating continuous multiple data is the length value of default number;
It is understood that the memory space of current circuit board, computing capability and data literacy are all more powerful, When the white space is little, i.e., the described data are that the data segment length of default number does not reach the second predetermined threshold value, by The efficiency of the write-in data of a byte is not low compared with the efficiency that the white space is disposably filled to data, described The memory space of circuit board can be 16GB, and it is 200 bytes that second predetermined threshold value can be arranged at this time, if the clear area The data length in domain does not reach second predetermined threshold value, at this point it is possible to which the data are stored one by one in sequence.
Step S140, judges whether the length value reaches the second predetermined threshold value;
In the present embodiment, when reading one piece of data and being default number, it can count and calculate the one piece of data Data length is established corresponding list and is established described in list correspondence storage if the data length reaches the second predetermined threshold value The storage address of data and be continuously default number data segment length;
If the length value reaches the second predetermined threshold value, the step S110 is executed;
If the length value is not up to the second predetermined threshold value, the step S120 is executed.
The method for writing data that the present embodiment proposes will carry out analyzing processing, successively as the data of the circuit board of template The data of reading circuit plate storage;When reading the data, judge whether the data are default number;In the data For default number when, mark the data, continue to read next data, until reading the data of non-default numerical value;It is storing Region establishes list and corresponds to the storage address for storing the data and the data segment length for being continuously default number;In the data When not being default number, storage region is written into the data in sequence, extracts the white space of the circuit board, saved Time improves efficiency.
The present invention further provides a kind of data transfer apparatus.
It is the high-level schematic functional block diagram of data transfer apparatus first embodiment of the present invention with reference to Fig. 6, Fig. 6.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 6 is only one preferably real The exemplary plot of example is applied, those skilled in the art surrounds the function module of data transfer apparatus shown in fig. 6, can carry out easily new Function module supplement;The title of each function module is self-defined title, is only used for auxiliary and understands each of data transfer apparatus A program function block is not used in restriction technical scheme of the present invention, and the core of technical solution of the present invention is, each self-defined title The function to be reached of function module.
The data transfer apparatus that the present embodiment proposes, the data transfer apparatus include:
First read module 10, the data to be read for being successively read data writing device storage region;
In the present embodiment, it by the data writing device to circuit board write-in program to be written, is successively read described The storage region of data writing device data to be read, and circuit board to be written is written into the data.
First judgment module 20, for when reading the data every time, judging whether the data are labeled;
In the present embodiment, when data are written to circuit board to be written, judge whether the data currently read are marked Note illustrates that the data are the first data of a white space, obtains the storage address of the data at this time if labeled, The data that management storage is searched according to the storage address are the length value of default number.
If not labeled for the data circuit board to be written is written in the data by writing module 30;
In this embodiment, the program data stored according to data writing device, circuit board to be written is written by described program, When white space is larger, can according to read label label storage address in the list matched and searched length value.
Acquisition module 40 obtains the length value of the data correlation if labeled for the data;
With reference to Fig. 7, the acquisition module 40 includes:
Acquiring unit 41, the storage address for obtaining the data;
Judging unit 42 finds the storage address for judging whether;
The acquiring unit 43 obtains if being additionally operable to find the storage address according to described in storage address execution The step of taking the length value of the data correlation;
If prompt unit 44 pops up miscue for not finding the storage address.
When not according to the data length value of the address search of the label to white space, miscue can be popped up, Remind ablation process error.
Said write module 30 is additionally operable to when getting the length value, to the circuit board storage region to be written Default number corresponding with length value is written in corresponding address.
In the present embodiment, the template circuitry plate that will be written in the circuit board to be written, can there are when white space By the storage address and length of the first data of the determination white space, default data, institute is written into the white space It can be 00 or FF to state default data.
The method for writing data that the present embodiment proposes, when data are written to circuit board to be written, according to establishing list pair The storage address of the data should be stored and be continuously the data segment length of default number, batch no write de-lay white space it is silent Recognize numerical value, rather than the default number of the write-in white space of byte-by-byte, the time is saved, efficiency is improved.
Further, the second embodiment of data transfer apparatus is also proposed based on the second embodiment present invention, with reference to Fig. 8, The data transfer apparatus further includes:
Display module 50, the list of the data of the various boards for the storage of display data writing equipment storage region;
In the present embodiment, the data writing device can store the program of the circuit board operation of multiple and different specifications, When to the circuit board write-in program to be written, the data of the different circuit boards of the data writing device storage can be shown List select the data of corresponding circuit board storage as needed.
Processing module 60, the storage address of the data of the circuit board selected for basis deposit storage address correspondence The data of storage are set as data to be read.
In the present embodiment, the data writing device is stored with the data of the circuit board of multiple and different specifications, is receiving To selected circuit board information when, according to the storage address of the associated data of the information searching of the circuit board, described in acquisition Data are data to be read.
The method for writing data that the present embodiment proposes, provides multiple for write-in program, and selection is corresponding according to actual needs Program is written, and resource utilization is improved.
Further, the 3rd embodiment of data transfer apparatus is also proposed based on the first embodiment present invention, with reference to Fig. 9, The data transfer apparatus further includes:
Second read module 70, the data for being successively read circuit board storage to be read;
In the present embodiment, use the method for writing data by stored journey on circuit board by data writing device Ordinal number is according to circuit board to be written is written, and specifically, data first can be written in described program data by the data writing device The storage region of write device.
It is understood that there are a large amount of white spaces, the white space to be equipped with identical default number in circuit board, That is default number, the default value can be arbitrarily arranged, and generally can be 00 or FF, the read-write white space of byte-by-byte Default number and it is written one by one more wastes time.
In the present embodiment, when the data of reading circuit plate, first determine whether the data read are acquiescence number Value, according to the numerical value of the data read, carries out different operations.
Second judgment module 80, for when reading the data every time, judging whether the numerical value of the data is silent Recognize numerical value;
In the present embodiment, if the data read are default number, a label can be added in the data, It indicates that this data is the data that read in circuit board the preceding paragraph white space first is default number, obtains the data Storage address, and calculate the segment length that continuous data are default number, the i.e. length of white space.
Mark module 90, for when the data are default number, marking the data;
Memory module 100 is silent for the storage address of data described in associated storage and the numerical value of continuous multiple data Recognize the length value of numerical value;
In the present embodiment, can the storage region of the data writing device establish described program white space row Table corresponds to the storage address for storing the data and the data segment length for being continuously default number.
When data are written to circuit board to be written, if reading the label, the storage of the label can be obtained Location searches the length of corresponding white space according to the storage address, by default number according to the storage address and its right Circuit board to be written is written in the segment length answered, wherein the storage address includes sector address and section bias internal address.
The memory module 100 is additionally operable to, when the data are non-default numerical value, the data are written in sequence Storage region.
In the present embodiment, when the data are not default number, i.e., when the described data are effective procedure data, by institute State the storage region that data writing device is written in data in order.
Further, referring to Fig.1 0, the data transfer apparatus includes:
Update module 110, the numerical value for updating continuous multiple data are the length value of default number;
It is understood that the memory space of current circuit board, computing capability and data literacy are all more powerful, When the white space is little, i.e., the described data are that the data segment length of default number does not reach the second predetermined threshold value, by The efficiency of the write-in data of a byte is not low compared with the efficiency that the white space is disposably filled to data, described The memory space of circuit board can be 16GB, and it is 200 bytes that second predetermined threshold value can be arranged at this time, if the clear area The data length in domain does not reach second predetermined threshold value, at this point it is possible to which the data are stored one by one in sequence.
Third judgment module 120, for judging whether the length value reaches the second predetermined threshold value;
Second predetermined threshold value is that the data of preset Coutinuous store are the length value of default data;
In the present embodiment, when reading one piece of data and being default number, it can count and calculate the one piece of data Data length is established corresponding list and is established described in list correspondence storage if the data length reaches the second predetermined threshold value The storage address of data and be continuously default number data segment length;
The memory module 100, if being additionally operable to the length value reaches the second predetermined threshold value, length value described in associated storage With the storage address of the data;
The memory module 100, if being additionally operable to the length value is not up to the second predetermined threshold value, by the data according to suitable Sequence is stored in storage region.
The method for writing data that the present embodiment proposes will carry out analyzing processing, successively as the data of the circuit board of template The data of reading circuit plate storage;When reading the data, judge whether the data are default number;In the data For default number when, mark the data, continue to read next data, until reading the data of non-default numerical value;It is storing Region establishes list and corresponds to the storage address for storing the data and the data segment length for being continuously default number;In the data When not being default number, storage region is written into the data in sequence, extracts the white space of the circuit board, saved Time improves efficiency.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method for writing data, which is characterized in that the method for writing data includes step:
It is successively read data writing device storage region data to be read;
When reading the data every time, judge whether the data are labeled;
If the data are not labeled, circuit board to be written is written into the data;
If the data are labeled, the length value of the data correlation is obtained;
It is corresponding with length value to the corresponding address write-in of the circuit board storage region to be written when getting the length value Default number.
2. method for writing data as described in claim 1, which is characterized in that the length value for obtaining the data correlation Step includes:
Obtain the storage address of the data;
Judge whether to find the storage address;
If finding the storage address, the length value of the data correlation is obtained according to the storage address;
If not finding the storage address, miscue is popped up.
3. method for writing data as described in claim 1, which is characterized in that described to be successively read data writing device memory block Include before the step of domain data to be read:
The list of the data of the various boards of display data writing equipment storage region storage;
According to the storage address of the data of selected circuit board, the data that the storage address is corresponded to storage are set as to be read Data.
4. method for writing data as described in claim 1, which is characterized in that described to be successively read data writing device memory block Before the step of data of domain storage, the method for writing data further includes:
It is successively read the data of circuit board storage to be read;
When reading the data every time, judge whether the numerical value of the data is default number;
When the data are default number, the data are marked;
The numerical value of the storage address of data described in associated storage and continuous multiple data is the length value of default number;
When the data are non-default numerical value, storage region is written into the data in sequence.
5. method for writing data as claimed in claim 4, which is characterized in that the storage address of data described in the associated storage Include step before the step of numerical value with continuous multiple data is the length value of default number:
The numerical value of the continuous multiple data of update is the length value of default number;
Judge whether the length value reaches the second predetermined threshold value;
If the length value reaches the second predetermined threshold value, the storage of length value and the data described in the associated storage is executed The step of location;
If the length value is not up to the second predetermined threshold value, the step that the data are stored in storage region in sequence is executed Suddenly.
6. a kind of data transfer apparatus, which is characterized in that the data transfer apparatus includes:
First read module, the data to be read for being successively read data writing device storage region;
First judgment module, for when reading the data every time, judging whether the data are labeled;
If not labeled for the data circuit board to be written is written in the data by writing module;
Acquisition module obtains the length value of the data correlation if labeled for the data;
Said write module is additionally operable to when getting the length value, corresponding to the circuit board storage region to be written Default number corresponding with length value is written in address.
7. data transfer apparatus as claimed in claim 6, which is characterized in that the acquisition module includes:
Acquiring unit, the storage address for obtaining the data;
Judging unit finds the storage address for judging whether;
The acquiring unit is executed according to the storage address described in the acquisition if being additionally operable to find the storage address The step of length value of data correlation;
If prompt unit pops up miscue for not finding the storage address.
8. data transfer apparatus as claimed in claim 6, which is characterized in that the data transfer apparatus further includes:
Display module, the list of the data of the various boards for the storage of display data writing equipment storage region;
The storage address, is corresponded to the number of storage by processing module, the storage address of the data of the circuit board selected for basis According to being set as data to be read.
9. data transfer apparatus as claimed in claim 6, which is characterized in that the data transfer apparatus further includes:
Second read module, the data for being successively read circuit board storage to be read;
Second judgment module, for when reading the data every time, judging whether the numerical value of the data is default number;
Mark module, for when the data are default number, marking the data;
Memory module is default number for the storage address of data described in associated storage and the numerical value of continuous multiple data Length value;
The memory module is additionally operable to, when the data are non-default numerical value, memory block is written in the data in sequence Domain.
10. data transfer apparatus as claimed in claim 9, which is characterized in that the data transfer apparatus further includes:
Update module, the numerical value for updating continuous multiple data are the length value of default number;
Third judgment module, for judging whether the length value reaches the second predetermined threshold value;
The memory module, if being additionally operable to the length value reaches the second predetermined threshold value, length value described in associated storage and described The storage address of data;
The data are stored in by the memory module in sequence if being additionally operable to the length value is not up to the second predetermined threshold value Storage region.
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 CN105653469A (en) 2016-06-08
CN105653469B true 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (4)

* 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
KR100643287B1 (en) * 2004-11-19 2006-11-10 삼성전자주식회사 Data processing device and method for flash memory
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105653469A (en) 2016-06-08
WO2017113603A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
CN108388598A (en) Electronic device, date storage method and storage medium
US8175529B2 (en) Information processing apparatus, and method and information processing system
CN102609741B (en) A kind of method of exchanges data between mobile device and inside and outside portion storage card thereof
CN105373587A (en) Picture display method and terminal
CN107463477A (en) Mobile terminal and its management method, computer-readable recording medium
CN107885483B (en) Audio information verification method and device, storage medium and electronic equipment
CN105101171A (en) Terminal network parameter configuration method, and terminal
CN108427586A (en) Using push terminal, method and the computer readable storage medium of theme
CN107562372B (en) Electronic equipment, data management method thereof and computer readable storage medium
CN112765165A (en) Data entry method and device, equipment and computer readable storage medium
CN108174270A (en) Data processing method, device, storage medium and electronic equipment
CN106454979B (en) A kind of network formats switching method and mobile terminal
CN114360619A (en) Test method, test device, terminal and storage medium
CN105653469B (en) Method for writing data and device
CN108415856A (en) Hardware compatibility method and relevant apparatus
CN104731806A (en) Method and terminal for quickly finding user information in social network
CN110502427A (en) Code readability inspection method, device and server
CN106548110A (en) Image processing method and device
CN106383870A (en) Picture playing method and mobile terminal
CN106610913A (en) Processing method and device of card pool, and card pool system
CN109271583A (en) Service push method and relevant apparatus
CN112036132A (en) Document header and footer editing method and device and electronic equipment
CN104965718B (en) A kind of desktop loading method and device
CN107436918B (en) Database implementation method, device and equipment
CN209965678U (en) Intelligent bookshelf device of thing networking

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