CN108396448A - A kind of storage of computer stocking pattern data, read method and system - Google Patents

A kind of storage of computer stocking pattern data, read method and system Download PDF

Info

Publication number
CN108396448A
CN108396448A CN201810276088.8A CN201810276088A CN108396448A CN 108396448 A CN108396448 A CN 108396448A CN 201810276088 A CN201810276088 A CN 201810276088A CN 108396448 A CN108396448 A CN 108396448A
Authority
CN
China
Prior art keywords
bad block
pattern data
flash
read
flower pattern
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.)
Pending
Application number
CN201810276088.8A
Other languages
Chinese (zh)
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.)
Yangcheng Institute of Technology
Yancheng Institute of Technology
Original Assignee
Yangcheng Institute of Technology
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 Yangcheng Institute of Technology filed Critical Yangcheng Institute of Technology
Priority to CN201810276088.8A priority Critical patent/CN108396448A/en
Publication of CN108396448A publication Critical patent/CN108396448A/en
Pending legal-status Critical Current

Links

Classifications

    • DTEXTILES; PAPER
    • D04BRAIDING; LACE-MAKING; KNITTING; TRIMMINGS; NON-WOVEN FABRICS
    • D04BKNITTING
    • D04B15/00Details of, or auxiliary devices incorporated in, weft knitting machines, restricted to machines of this kind
    • D04B15/66Devices for determining or controlling patterns ; Programme-control arrangements
    • DTEXTILES; PAPER
    • D04BRAIDING; LACE-MAKING; KNITTING; TRIMMINGS; NON-WOVEN FABRICS
    • D04BKNITTING
    • D04B9/00Circular knitting machines with independently-movable needles
    • D04B9/42Circular knitting machines with independently-movable needles specially adapted for producing goods of particular configuration
    • D04B9/46Circular knitting machines with independently-movable needles specially adapted for producing goods of particular configuration stockings, or portions thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Textile Engineering (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention discloses a kind of storage of computer stocking pattern data, read method and system, the dual core processors control system constituted including man-machine dialogue system device and master controller, human-computer interaction function is realized using the embedded main board that embedded microprocessor is constituted as core, it is mainly responsible for flower pattern document design and flower pattern file transfer operations, mainly completing flower pattern file as the control panel that core is constituted using digital signal processor stores the executing agencies such as FLASH modules and slide cam selector operating function.The bad block of FLASH memory is managed by establishing bad block table, and segmentation buffering is carried out to the data of FLASH memory and is read, master controller is avoided directly to operate FLASH.The present invention has the characteristics that easy to operate, easy to control and stable and reliable operation.

Description

A kind of storage of computer stocking pattern data, read method and system
Technical field
The invention belongs to computer stocking technical fields, more particularly to a kind of storage of computer stocking pattern data, reading side Method and system.
Background technology
Socks are essential in people's daily life, it is by socks as one kind representative in textile product Machine weaves.Hosiery machine is a kind of round weft-knitting machine, it is the main machine for weaving quilted stockings, silk stocking.Computer stocking is collection meter Calculation machine technology, electronic technology, knitting technology, mechanical manufacturing technology are in supermatic knitting equipment of one.And computer socks Machine control system is the control core of computer stocking, is mainly used for controlling each mechanism by the mutually coordinated work of braiding requirement, according to Different flower pattern realize multiple automated production control functions such as electronic jacquard, segmentation braiding, fault self-checking, to realize machine It runs well, the quality of performance directly decides the levels of audit quality and production efficiency of socks product.Under computer stocking control system Position machine generally uses digital signal processor DSP, and by taking DSP2812 as an example, HO RAM datas area capacity is 8KB, this is just determined Maximum can only store the pattern data of 8KB sizes, and the flower pattern file being stored in FLASH has tens KB, be much larger than controller The total capacity of RAM waits for controller jacquard weave, Wu Fashi if pattern data is disposably completely called in RAM during considering jacquard weave It is existing.Actuation time is only 1ms during each pattern bit jacquard weave, if controller directly read the data in FLASH calling and Without RAM, allocating time is more than jacquard weave actuation time, i.e. data reading speed cannot be satisfied jacquard speed, cause to compile in this way The flower pattern woven is not it is contemplated that it could even be possible to making entire hosiery machine system crash.In addition, FLASH memory is using process In there are bad block, the safety and reliability that certainly will be stored to pattern data have adverse effect on.
Invention content
The purpose of the present invention is to provide a kind of storage of computer stocking pattern data, read method and systems, by right The bad block occurred during FLASH memory use is managed, and is carried out segmentation buffering to the pattern data of FLASH storages and read It taking, master controller is avoided directly to operate FLASH, on the one hand the method can ensure the safety of pattern data storage, On the other hand it ensures the high efficiency that pattern data is read, does not occur event to ensure that in computer stocking system operation Barrier.
To achieve the goals above, technical scheme is as follows:
A kind of storage of computer stocking pattern data, read method and system, it is characterised in that whole system includes man-machine friendship The dual core processors control system that mutual processor and master controller are constituted.The insertion constituted as core using embedded microprocessor Formula mainboard realizes human-computer interaction function, flower pattern document design and flower pattern file transfer operations is mainly responsible for, with Digital Signal Processing Device is that the control panel that core is constituted mainly completes flower pattern file storage FLASH modules and slide cam selector etc. executing agencies operating function. By controlling the output of signal and the acquisition of respective feedback signal, the real-time control to each executing agency is realized, to complete Whole braid movements.The bad block of FLASH memory is managed by establishing bad block table, and to the flower of FLASH storages Type data carry out segmentation buffering and read, and master controller is avoided directly to operate FLASH.
Flower pattern file stores FLASH modules, there is intrinsic bad block and uses bad block.To intrinsic bad block and marked use Bad block skips processing, makees replacement processing using bad block to newly generated.
Pattern data segmentation buffering read method, i.e., open up one section of memory headroom in DSP master controllers, and creating length is The array L of M byte, the pattern data that M byte is then read from FLASH memory are stored into array L, DSP master controller tune Various designs are woven with the pattern data in array L.
Man-machine dialogue system device uses the LPC4088 of PHILIPS Co., and master controller is using Texas Instruments' number letter Number processor TMS320F28335, realizes data transmission by CAN bus between the two.
The present invention has the following technical effects using above technical scheme is compared with the prior art:
A kind of computer stocking pattern data storage of the present invention, read method and system are bad by being carried out to FLASH memory Block management, and segmentation buffering is carried out to the pattern data of FLASH storages and is read, it is direct to FLASH progress to avoid master controller Operation, saves memory headroom, pattern data reading speed meets jacquard speed requirement, ensure that jacquard weave process is accurate Operation ensures that the high efficiency for the safety and reading that pattern data stores during jacquard weave, system run all right are reliable.
Description of the drawings
The specific implementation mode of the present invention is described further below in conjunction with the accompanying drawings.
Fig. 1:Computer stocking control system block diagram;
Fig. 2:Flower pattern file FLASH memory module initial bad blocks table Establishing process figures;
Fig. 3:Flower pattern file FLASH memory module bad block tables update flow chart;
Fig. 4:The bad block entirety management flow chart of flower pattern file FLASH memory modules;
Fig. 5:Flower pattern file FLASH memory module bad blocks replace flow chart;
Fig. 6:Flower pattern file fragmentation buffering reads schematic diagram.
Specific implementation mode
By Fig. 1 system block diagrams it is found that whole system includes at double-core that man-machine dialogue system device and master controller are constituted Manage device control system.Human-computer interaction function is realized using the embedded main board that embedded microprocessor is constituted as core, is mainly responsible for Flower pattern document design and flower pattern file transfer operations, flower pattern is mainly completed using the control panel that digital signal processor is constituted as core File stores the executing agencies such as FLASH modules and slide cam selector operating function.By the output and the respective feedback letter that control signal Number acquisition, realize to the real-time control of each executing agency, to complete whole braid movements.By establishing bad block table pair The bad block of FLASH memory is managed, and is carried out segmentation buffering to the pattern data of FLASH storages and read, and master control is avoided Device processed directly operates FLASH, and the method ensures the safety that pattern data stores during jacquard weave and reading High efficiency.
Computer stocking control is that flower pattern file selects the FLASH memory based on NAND technology.This memory usually has Two kinds of bad block:Intrinsic bad block and use bad block.The former is in the fabrication process with regard to already existing bad block;The latter be During use, the damage of active block and information is caused to be lost due to erasing operation or in erase and program operations, to produce Raw bad block.
The foundation of initial bad blocks table is as shown in Figure 2.If data in block can determine whether that the block is not all equal to 0xFF Bad block, and by flag bit set, until checking out all blocks, the entire bad block table of update, it is established that initial bad blocks table.It is bad Block identification is as follows with labeling method:It is provided when FLASH chip manufacture manufacture, the 6th byte of each block preserves the state of the block Definition, for differentiating the quality of the block.Intrinsic bad block data in block is not all equal to 0xFF;Sentenced for bad block is used Not, each piece wiped, read and write operation, any operation mistake occur, be then determined as bad block, be marked and be written Non-zero xFF values, the bad block real-time update flow occurred during use are as shown in Figure 3.
Bad block management:The intrinsic bad block of processing and marked use bad block are skipped, replacement processing is newly generated to use bad block It carries out, bad block entirety management flow chart is as shown in Figure 4.1. skipping bad block:It powers on for the first time, bad block table is established automatically;Use process In, before being operated to each piece of FLASH, bad block table is inquired first, if finding bad block, processing is skipped and is directed toward next Block continues to inquire, until found block, then is wiped, is write and read operation.2. replacing bad block:In the block progress to FLASH Write-in and when erasing operation, certain page of error in block A is found out by the state of read status register, is set as the m pages, and 1≤m≤ 32;Next good block is searched, then 1~m-1 page datas of block A are integrally copied to 1~n-1 pages of block B;M pages in last block A Pattern data stores the n page positions to block B, and it is as shown in Figure 5 that bad block replaces flow chart.
The size that pattern data file fragmentation buffering reads buffering area is related with the distance between computer stocking knitter needle selection equipment, and The size distribution of computer stocking model difference buffering area is different.It is as shown in Figure 6 that pattern data segmentation buffering reads schematic diagram.1C with There are N root pattern bits between 1F, be spaced the pattern data of N number of pixel, the size M of buffering area has to be larger than the quantity N of pattern bit, i.e., M > N, can thus knit out satisfactory design.It is as follows that buffering read step is segmented using pattern data:
First, one section of memory headroom is opened up in the RAM storage regions of master controller, creates the array L that length is M byte; The pattern data for reading M byte from FLASH memory is stored into array L;Master controller call the pattern data in array L into Row braiding.It allows FLASH memory to be in and reads ready state, after 1 pattern data is completed in 1 pattern bit operation, then will 1 pattern data deposit array L in FLASH memory.Array L can be considered buffer circle, when pattern data is stored to number When the mth byte of group L, the data of the 1st byte, which have called up completion, at this time becomes dirty data, behind the data that read again will again Since being deposited the 1st byte of array L, i.e. the M+1 pattern data covers the 1st pattern data, the M+2 pattern data The 2nd pattern data is covered, a cycle is thusly-formed, is until the pattern data in a flower pattern file has all been read Only.

Claims (4)

1. a kind of computer stocking pattern data storage, read method and system, it is characterised in that whole system includes human-computer interaction The dual core processors control system that processor and master controller are constituted, is constituted embedded using embedded microprocessor as core Mainboard realizes human-computer interaction function, flower pattern document design and flower pattern file transfer operations is mainly responsible for, with digital signal processor Flower pattern file, which is mainly completed, for the control panel that core is constituted stores the executing agencies such as FLASH modules and slide cam selector operating function.It is logical The output of control signal and the acquisition of respective feedback signal are crossed, realizes the real-time control to each executing agency, it is complete to complete The braid movement in portion.The bad block of FLASH memory is managed by establishing bad block table, and to the flower pattern of FLASH storages Data carry out segmentation buffering and read, and master controller is avoided directly to operate FLASH.
2. a kind of storage of computer stocking pattern data, read method and system according to claim 1 it is characterized in that:Institute The flower pattern file FLASH memory bad block management stated skips processing, to new to intrinsic bad block and marked use bad block The use bad block of generation makees replacement processing.
3. a kind of storage of computer stocking pattern data, read method and system according to claim 1 it is characterized in that:Institute The pattern data segmentation buffering stated is read, i.e., opens up one section of memory headroom in the host controller, create the array that length is M byte L, the pattern data that M byte is read from FLASH memory are stored into array L, and master controller is by calling the flower pattern in array L Data carry out the braiding of various designs.
4. a kind of storage of computer stocking pattern data, read method and system according to claim 1 it is characterized in that:Institute The LPC4088 that man-machine dialogue system device uses PHILIPS Co. is stated, the master controller uses Texas Instruments' digital signal Processor TMS320F28335, realizes data transmission by CAN bus between the two.
CN201810276088.8A 2018-03-19 2018-03-19 A kind of storage of computer stocking pattern data, read method and system Pending CN108396448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810276088.8A CN108396448A (en) 2018-03-19 2018-03-19 A kind of storage of computer stocking pattern data, read method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810276088.8A CN108396448A (en) 2018-03-19 2018-03-19 A kind of storage of computer stocking pattern data, read method and system

Publications (1)

Publication Number Publication Date
CN108396448A true CN108396448A (en) 2018-08-14

Family

ID=63099038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810276088.8A Pending CN108396448A (en) 2018-03-19 2018-03-19 A kind of storage of computer stocking pattern data, read method and system

Country Status (1)

Country Link
CN (1) CN108396448A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110387635A (en) * 2019-06-17 2019-10-29 福建海睿达科技有限公司 Hosiery machine and its flower pattern weaving method and storage medium
CN110409044A (en) * 2019-08-15 2019-11-05 北京大豪科技股份有限公司 Knit socks method, apparatus, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110387635A (en) * 2019-06-17 2019-10-29 福建海睿达科技有限公司 Hosiery machine and its flower pattern weaving method and storage medium
CN110409044A (en) * 2019-08-15 2019-11-05 北京大豪科技股份有限公司 Knit socks method, apparatus, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US4608642A (en) Apparatus for recording pattern information and producing a knitting control program
CN108396448A (en) A kind of storage of computer stocking pattern data, read method and system
CN105787163B (en) The generation system and generation method of weaving flower pattern file
CN103034142A (en) Control method and system of self-adaptation hosiery machine
CN101952497B (en) Knitted fabric designing system
CN103106313B (en) Roll consequent order reconstructing method
CN109389287A (en) A kind of performance accounting system for circular knitting machine
CN104423310B (en) Apparatus and method for updating the operating system in programmable logic controller (PLC)
CN105404591B (en) Processor system and its memory control methods
CN103382620B (en) Single-sided jacquard knitting method based on glove control system
CN208748312U (en) A kind of vamp circular knitting machine control system
CN105302057B (en) A kind of PLC program design method carried for material between grid array
CN102619016A (en) Method for designing a shaped knitted article produced on a flat knitting machine by means of a design device
CN202486550U (en) Single-system control system for computerized flat knitting machine
CN108677372B (en) A kind of power-off of tricot machine Jacquard electronic jacquard is sequeled control method
CN108304636A (en) BIM family parameter systems
CN107168133A (en) The visual programming method and system of electric machine controller
CN105302071A (en) Technological file format of computer sock weaving machine
CN102568583A (en) In-circuit programing method for Flash memory of micro controller unit (MCU) in Freescale HCS12 series
CN114741901B (en) Method for testing knitting property of weft knitting double-sided transfer needle fabric and alarm device
CN102619018B (en) Method and device for designing a shaped knitted article produced on a flat knitting machine
CN113622077B (en) Automatic design method and system for knitted product
CN101556556B (en) Data storage method and device
CN102605546B (en) Method and design device for producing a knitting pattern described by means of knitting data in a plurality of processing stages
CN108342822A (en) A kind of vamp circular knitting machine control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180814