CN108255950A - Date storage method and terminal device - Google Patents

Date storage method and terminal device Download PDF

Info

Publication number
CN108255950A
CN108255950A CN201711367508.5A CN201711367508A CN108255950A CN 108255950 A CN108255950 A CN 108255950A CN 201711367508 A CN201711367508 A CN 201711367508A CN 108255950 A CN108255950 A CN 108255950A
Authority
CN
China
Prior art keywords
pcba
flow process
production operation
generated
operation flow
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
CN201711367508.5A
Other languages
Chinese (zh)
Other versions
CN108255950B (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 Biplane Polytron Technologies Inc
Original Assignee
Shenzhen Biplane Polytron Technologies Inc
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 Biplane Polytron Technologies Inc filed Critical Shenzhen Biplane Polytron Technologies Inc
Priority to CN201711367508.5A priority Critical patent/CN108255950B/en
Publication of CN108255950A publication Critical patent/CN108255950A/en
Application granted granted Critical
Publication of CN108255950B publication Critical patent/CN108255950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention is suitable for technical field of data processing, provides a kind of date storage method and terminal device, wherein, the method includes:It determines PCBA to be generated, the corresponding need materials to be used of the PCBA to be generated is determined according to the corresponding production work orders of PCBA;Whether complete detect the material;If detecting, the material is complete, obtains the production operation flow process of the PCBA to be generated and the material mark of the material;Material mark is ranked up according to the production operation flow process;Material mark is combined according to the ranking results that the material identifies;The PCBA marks of the PCBA to be generated are obtained, the correspondence that material identifies after establishing the PCBA marks and combining stores the correspondence.Memory space needed for data can be greatly reduced, reduces data maintenance cost, while reduces Tracing Material difficulty, is suitble to application.

Description

Date storage method and terminal device
Technical field
The invention belongs to technical field of data processing more particularly to a kind of date storage methods and terminal device.
Background technology
With science and technology continuous development, assembling printed circuit board (printed circuit board assembly, PCBA production technology) becomes increasingly complex, and needs material to be used more and more, such as a PCBA needs to use 100 kinds of objects Material.When producing PCBA, need to store the relationship of PCBA and material, production operation can be just carried out after the completion of data storage.
Based on current data are stored and stored with relational data, relational data is stored in the data of processing multi-to-multi When, data, such as the information for being used to store PCBA are stored using multiple tables of data, one is used to store need object to be used Expect information, one is used to store PCBA and needs the correspondence of material to be used.
If a PCBA board needs various materials, such as above-mentioned 100 kinds of materials, existing storage mode can be quickly finished The data volume of tables of data, causes interim card, makes production operation that can not be normally carried out, influences production efficiency.Even if data management staff Transfer data are carried out in time, clean out enough data spaces, but existing storage mode can also be finished data space quickly, are increased Addend improves Tracing Material difficulty according to maintenance cost.
Invention content
In view of this, an embodiment of the present invention provides a kind of date storage method and terminal device, to solve existing storage The problem of space is big, data maintenance is of high cost, Tracing Material difficulty is big needed for the storage of mode data.
The first aspect of the embodiment of the present invention provides a kind of date storage method, including:
Determine PCBA to be generated, determining that the PCBA to be generated is corresponding according to the corresponding production work orders of PCBA needs to use Material;
Whether complete detect the material;
If detecting, the material is complete, obtains the production operation flow process of the PCBA to be generated and the object of the material Material mark;
Material mark is ranked up according to the production operation flow process;
Material mark is combined according to the ranking results that the material identifies;
The PCBA marks of the PCBA to be generated are obtained, the corresponding pass that material identifies after establishing the PCBA marks and combining System, stores the correspondence.
Optionally, the detection material it is whether complete including:
Whether in the material have default critical component, and whether the number for detecting material in the material reaches pre- if detecting If threshold value.
Optionally, it is described according to the production operation flow process to the material mark be ranked up including:
Determine the material needed for each step production operation flow process in the production operation flow process;
The material needed for each step production operation flow process is ranked up according to the sequence of operation of the production operation flow process;
The ranking results of material according to needed for each step production operation flow process are ranked up material mark.
Optionally, it is described establish PCBA mark and combine after material mark correspondence after, further include:
Data compression is carried out to the correspondence;
The storage correspondence includes:
Store the correspondence after data compression.
Optionally, it is described to determine that PCBA to be generated includes:
Sequencing according to PCBA generated times determines PCBA to be generated.
The second aspect of the embodiment of the present invention provides a kind of data storage device, including:
Information determination unit for determining PCBA to be generated, determines described to be generated according to the corresponding production work orders of PCBA PCBA is corresponding need to material to be used;
Whether material detection unit is complete for detecting the material;
If information process unit for detecting that the material is complete, obtains the production operation of the PCBA to be generated The material of flow and the material identifies;
Sequencing unit is identified, for being ranked up according to the production operation flow process to material mark;
Identifier combination unit, for being combined according to the ranking results that the material identifies to material mark;
Data storage cell for obtaining the PCBA of the PCBA to be generated marks, establishes the PCBA marks with combining The correspondence of material mark afterwards, stores the correspondence.
Optionally, the material detection unit includes:
Whether first detection unit has default critical component for detecting in the material;
Second detection unit, for detecting whether the number of material in the material reaches predetermined threshold value.
Optionally, the mark sequencing unit includes:
Material determination unit, for determining the material in the production operation flow process needed for each step production operation flow process;
First sequencing unit, for the sequence of operation according to the production operation flow process to each step production operation flow process institute The material needed is ranked up;
Second sequencing unit, for the material according to needed for each step production operation flow process ranking results to the material Mark is ranked up.
The third aspect of the embodiment of the present invention provides a kind of data storage terminal equipment, including memory, processor with And it is stored in the computer program that can be run in the memory and on the processor, which is characterized in that the processor It is realized when performing the computer program such as the step of above-mentioned date storage method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the step such as above-mentioned date storage method is realized when the computer program is executed by processor Suddenly.
Existing advantageous effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention determine it is to be generated After PCBA, the corresponding need materials to be used of PCBA to be generated are determined according to the corresponding production work orders of PCBA, whether is detection material Complete, if detecting, material is complete, obtains the production operation flow process of PCBA to be generated and the material mark of above-mentioned material, according to Above-mentioned production operation flow process to above-mentioned material mark be ranked up, according to material identify ranking results above-mentioned material is identified into Row combination obtains the PCBA marks of PCBA to be generated, and the correspondence that material identifies after establishing above-mentioned PCBA marks and combining is deposited Store up the correspondence.Due to the present invention by the transformation of PCBA and material in a pair one correspondence store, will The corresponding multiple materials of PCBA are combined, and the correspondence of material is stored after establishing PCBA and combining, in functionality not On the basis of subtracting, memory space needed for data is greatly reduced, reduces data maintenance cost, while reduce Tracing Material Difficulty is suitble to application.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of schematic flow diagram of date storage method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram for date storage method that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow diagram for date storage method that yet another embodiment of the invention provides;
Fig. 4 is a kind of schematic flow diagram for date storage method that further embodiment of this invention provides;
Fig. 5 is a kind of schematic flow diagram for date storage method that further embodiment of this invention provides;
Fig. 6 is a kind of schematic block diagram of data storage device provided in an embodiment of the present invention;
Fig. 7 is a kind of data storage device schematic block diagram that another embodiment of the present invention provides;
Fig. 8 is a kind of schematic block diagram of data storage terminal equipment provided in an embodiment of the present invention.
Specific embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specifically The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow diagram of date storage method provided in an embodiment of the present invention, in the implementation It in example, is illustrated by taking the angle triggering of terminal as an example, here, terminal can be the mobile terminals such as smart mobile phone, tablet computer. As shown in Figure 1, in this embodiment, the processing procedure of terminal may comprise steps of:
S101:It determines PCBA to be generated, the corresponding need of the PCBA to be generated is determined according to the corresponding production work orders of PCBA Material to be used.
Here, bar code, title, number that PCBA marks can be for PCBA etc. can identify the element of PCBA identity.Institute After stating determining PCBA to be generated, determining PCBA to be generated can also be shown, related personnel is facilitated to check audit etc..It can be with Whether generation replaces the prompting of PCBA, if receiving replacement request, determining PCBA is replaced according to the request, if not receiving To replacement request, then perform and the corresponding need objects to be used of the PCBA to be generated are determined according to the corresponding production work orders of PCBA Material.
Specifically, determine that the corresponding need materials to be used of the PCBA to be generated can according to the corresponding production work orders of PCBA To include:The corresponding production work orders of the PCBA to be generated are searched in the corresponding production work orders of above-mentioned PCBA, according to described to be generated The corresponding need materials to be used of the PCBA to be generated are determined into the corresponding production work orders of PCBA.
After the corresponding need materials to be used of the PCBA to be generated are determined, determining material can also be shown, side Just subsequent processing.
S102:Whether complete detect the material.
Here, detect whether the material is complete to include:In the production operation flow process for obtaining above-mentioned PCBA to be generated The material needed, whether more above-mentioned material and the material obtained are consistent, if unanimously, judging that above-mentioned material is complete, otherwise, sentencing The above-mentioned material that breaks is not complete.
S103:If detecting, the material is complete, obtains the production operation flow process of the PCBA to be generated and the object The material mark of material.
Specifically, if detecting, the material is not complete, stops handling, and generates the uneven full prompting of material.
Here it is possible to the correspondence of prestore PCBA marks and production operation flow process, the PCBA for obtaining PCBA to be generated are marked Know, the production operation flow process of above-mentioned PCBA to be generated is obtained according to PCBA marks.In the production for obtaining the PCBA to be generated After work flow, the work flow of acquisition can also be shown, related personnel is facilitated to understand production operation situation in time.Above-mentioned object The material mark of material can be unique traceability code (Processor Serial Number, PSN), title of material etc..
S104:Material mark is ranked up according to the production operation flow process.
Specifically, above-mentioned material mark can be ranked up according to the sequence of operation in above-mentioned production operation flow process. After the completion of sequence, it can show the ranking results of above-mentioned material mark, the prompting for whether adjusting ranking results can also be generated, if Ranking results adjust request is received, which carries new ranking results, and the row of above-mentioned material mark is adjusted according to the request Sequence result.
S105:Material mark is combined according to the ranking results that the material identifies.
Here it is possible to the ranking results according to above-mentioned material mark are combined, such as above-mentioned object above-mentioned material mark Material is identified with A, B, C tri-, ranking results B, A, C, is combined to obtain B+A+C according to ranking results, i.e., by multiple materials Identifier combination is into in a line.
Specifically, can with preset group close upper limit threshold, according to the ranking results that the material identifies to the material mark After knowledge is combined, the material after limit threshold test combination can be closed according to above-mentioned preset group and identifies whether to meet the requirements, Whether the size of the material mark after combining is more than that above-mentioned preset group closes upper limit threshold, if be not above, performs step S106 divides the material mark after combination if it does, closing upper limit threshold according to above-mentioned preset group, makes each after division The size of material mark after combination is no more than above-mentioned preset group and closes upper limit threshold, closes upper limit threshold by preset group in this way and protects Card equipment does not work overloadingly, and is suitble to application, and specifically preset group is closed upper limit threshold and can be set according to actual conditions.
S106:The PCBA marks of the PCBA to be generated are obtained, material identifies after establishing the PCBA marks and combining Correspondence stores the correspondence.
Here, the mapping relations that material identifies after establishing above-mentioned PCBA marks and combining, can store the mapping relations In presetting database, conveniently check.PCBA when being put into production, can first search storage PCBA mark with combine after object Expect the mapping relations of mark, material identifies after obtaining combination according to the mapping relations, is further found accordingly according to the mark Material carries out production operation.In actual production operation, the PCBA each produced only has a pass with spent material System's record, can so save data space, when the PCBA of production needs to carry out material to PCBA under certain factors During retrospect, it is possible to which all material marks according to used in being found out PCBA marks ensure the trackability of material.
It is evidenced from the above discussion that date storage method of the embodiment of the present invention, due to by the transformation of PCBA and material into One-to-one correspondence is stored, i.e., is combined the corresponding multiple materials of PCBA, material after establishing PCBA and combining Correspondence stored, functionality do not subtract on the basis of, greatly reduce memory space needed for data, reduce number According to maintenance cost, while Tracing Material difficulty is reduced, be suitble to application.
Referring to Fig. 2, Fig. 2 is a kind of schematic flow diagram for date storage method that another embodiment of the present invention provides.With The corresponding embodiments of Fig. 1 difference lies in:Whether the detection material is complete can to include S202.Wherein S201 and upper one S101 in embodiment is identical, and S203~S206 is identical with S103~S106 in a upper embodiment, referring specifically to above-mentioned reality The associated description of S101 and S103~S106 in example is applied, is not repeated herein.Specifically, S202 can include S2021~S2022:
S2021:Whether detect has default critical component in the material.
S2022:Whether the number for detecting material in the material reaches predetermined threshold value.
Here, default critical component can be the necessary material of production PCBA, can be set according to actual conditions.It is such as raw The necessary material for producing PCBA is first material and second material, and whether detect in above-mentioned material has first material and second material. Predetermined threshold value can be the minimum material number of production PCBA, can also equally be set according to actual conditions, such as produce PCBA Minimum material number for 10, whether the number for detecting material in above-mentioned material reaches 10.
If detecting has default critical component in the material, and the number for detecting material in the material reaches default threshold Value, it is complete to detect the material, otherwise, it is incomplete to detect the material.
It is whether complete by default critical component and the above-mentioned material of predetermined threshold value detection, it is just performed after detection material is complete Subsequent step ensures that subsequent processing correctly carries out.
Referring to Fig. 3, Fig. 3 is a kind of schematic flow diagram for date storage method that yet another embodiment of the invention provides.With The corresponding embodiments of Fig. 1 difference lies in:Described be ranked up according to the production operation flow process to material mark can be with Including S304.Wherein S301~S303 is identical with S101~S103 in a upper embodiment, S305~S306 and a upper embodiment In S105~S106 it is identical, referring specifically to the associated description of S101~S103 in above-described embodiment and S105~S106, this Place does not repeat.Specifically, S304 can include S3041~S3043:
S3041:Determine the material needed for each step production operation flow process in the production operation flow process.
S3042:According to the sequence of operation of the production operation flow process to the material needed for each step production operation flow process into Row sequence.
S3043:The ranking results of material according to needed for each step production operation flow process arrange material mark Sequence.
Here, step production each in determining production operation flow process is made by the sequence of operation of above-mentioned production operation flow process Material needed for industry flow is ranked up, and above-mentioned material mark is ranked up according to the ranking results, ensures ranking results Accuracy is suitble to application.
Referring to Fig. 4, Fig. 4 is the schematic flow diagram of a kind of date storage method that further embodiment of this invention provides.This Difference lies in S406 for embodiment above-described embodiment, and wherein S401~S405 is identical with S101~S105 in a upper embodiment, Referring specifically to the associated description of S101~S105 in above-described embodiment, do not repeat herein.Data storage side in the present embodiment Method can also include:
S406:The PCBA marks of the PCBA to be generated are obtained, material identifies after establishing the PCBA marks and combining Correspondence carries out data compression to the correspondence, stores the correspondence after data compression.
Here, data compression refers under the premise of useful information is not lost, and reduction data volume is carried with reducing memory space Its high transmission, storage and processing efficiency etc., may be used Lempel-Ziv compression methods and carry out data pressure to above-mentioned correspondence Contracting, specifically data compression scheme can be set according to actual needs.
After establishing PCBA marks and combining after the one-one relationship of material mark, further to the relationship of foundation into line number According to compression, memory space needed for data can be reduced, met using needs.
Referring to Fig. 5, Fig. 5 is the schematic flow diagram of a kind of date storage method that further embodiment of this invention provides.This Difference lies in S501 for embodiment above-described embodiment, and wherein S502~S506 is identical with S102~S106 in a upper embodiment, Referring specifically to the associated description of S102~S106 in above-described embodiment, do not repeat herein.Data storage side in the present embodiment Method can also include:
S501:Sequencing according to PCBA generated times determines PCBA to be generated, according to the corresponding production work orders of PCBA Determine the corresponding need materials to be used of the PCBA to be generated.
Here, PCBA generated times can be the time of production PCBA, such as PCBA was needed in 10 points of this morning It produces, another PCBA needs to produce for 11 points in this morning, is determined according to the sequencing of PCBA generated times PCBA to be generated, i.e., it is PCBA to be generated that first determining, which needs 10 points of PCBA produced this morning, performs above-mentioned follow-up number According to storing step, then determine that it is PCBA to be generated to need 11 points of PCBA produced this morning, is repeated above-mentioned follow-up Data storing steps.
PCBA to be generated is determined by the sequencing of PCBA generated times, guarantee needs the PCBA first produced punctual Production avoids related personnel's forgetting from handling, meets plurality of application scenes needs.
It should be understood that the size of the serial number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without coping with the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
Corresponding to the date storage method described in foregoing embodiments, Fig. 6 shows a kind of number provided in an embodiment of the present invention According to the schematic block diagram of storage device.The each unit that the data storage device 600 of the present embodiment includes is corresponding for performing Fig. 1 Each step in embodiment referring specifically to the associated description in the corresponding embodiments of Fig. 1 and Fig. 1, does not repeat herein.This implementation The data storage device 600 of example includes information determination unit 601, material detection unit 602, information process unit 603, mark-row Sequence unit 604, identifier combination unit 605 and data storage cell 606.
Wherein, for determining PCBA to be generated, institute is determined according to the corresponding production work orders of PCBA for information determination unit 601 State the corresponding need materials to be used of PCBA to be generated.Whether material detection unit 602 is complete for detecting the material.Letter Processing unit 603 is ceased, if for detecting that the material is complete, obtains production operation flow process and the institute of the PCBA to be generated State the material mark of material.Sequencing unit 604 is identified, for being arranged according to the production operation flow process material mark Sequence.Identifier combination unit 605, for being combined according to the ranking results that the material identifies to material mark.Data Storage unit 606, for obtaining the PCBA of the PCBA to be generated marks, material identifies after establishing the PCBA marks and combining Correspondence, store the correspondence.
It is evidenced from the above discussion that data storage device of the embodiment of the present invention, due to by the transformation of PCBA and material into One-to-one correspondence is stored, i.e., is combined the corresponding multiple materials of PCBA, material after establishing PCBA and combining Correspondence stored, functionality do not subtract on the basis of, greatly reduce memory space needed for data, reduce number According to maintenance cost, while Tracing Material difficulty is reduced, be suitble to application.
Referring to Fig. 7, Fig. 7 is the schematic block diagram for another data storage device that another embodiment of the present invention provides.This The data storage device 700 of embodiment includes information determination unit 701, material detection unit 702, information process unit 703, mark Know sequencing unit 704, identifier combination unit 705 and data storage cell 706.
Wherein information determination unit 701, material detection unit 702, information process unit 703, mark sequencing unit 704, Identifier combination unit 705 and data storage cell 706 are referring specifically to information determination unit in the corresponding embodiments of Fig. 6 and Fig. 6 601st, material detection unit 602, information process unit 603, mark sequencing unit 604, identifier combination unit 605 and data storage The associated description of unit 606, does not repeat herein.
Further, the material detection unit 702 includes first detection unit 7021 and second detection unit 7022.
Wherein, whether first detection unit 7021 have default critical component for detecting in the material.Second detection is single Member 7022, for detecting whether the number of material in the material reaches predetermined threshold value.
Further, the mark sequencing unit 704 includes material determination unit 7041, the first sequencing unit 7042 and the Two sequencing units 7043.
Wherein, material determination unit 7041, for determining each step production operation flow process institute in the production operation flow process The material needed.First sequencing unit 7042, for the sequence of operation according to the production operation flow process to each step production operation Material needed for flow is ranked up.Second sequencing unit 7043, for the material according to needed for each step production operation flow process Ranking results to the material mark be ranked up.
Further, data storage cell 706 establishes the correspondence that material identifies after the PCBA is identified and combined described After relationship, it is additionally operable to:Data compression is carried out to the correspondence;Store the correspondence after data compression.
Further, information determination unit 701 is additionally operable to:Sequencing according to PCBA generated times determines to be generated PCBA。
It is evidenced from the above discussion that the present embodiment after PCBA to be generated is determined, is determined according to the corresponding production work orders of PCBA PCBA to be generated it is corresponding need to material to be used, whether detection material complete, if detecting, material is complete, obtains to be generated The material of the production operation flow process of PCBA and above-mentioned material identifies, and above-mentioned material is identified according to above-mentioned production operation flow process and is carried out Sequence is combined above-mentioned material mark according to the ranking results that material identifies, obtains the PCBA marks of the PCBA to be generated Know, the correspondence that material identifies after establishing above-mentioned PCBA marks and combining stores the correspondence.Since the present invention is by PCBA With the transformation of material in a pair one correspondence stored, i.e., the corresponding multiple materials of PCBA are combined, built The correspondence of material is stored after founding PCBA and combining, and on the basis of functionality does not subtract, greatly reduces data institute Memory space is needed, reduces data maintenance cost, while reduces Tracing Material difficulty, is suitble to application.
Referring to Fig. 8, Fig. 8 is a kind of schematic block diagram of data storage terminal equipment provided by one embodiment of the present invention.Such as Shown in Fig. 8, the data storage terminal equipment 8 of the embodiment includes:Processor 80, memory 81 and it is stored in the memory In 81 and the computer program 82 that can be run on the processor 80, such as data recording program.The processor 80 performs The step in above-mentioned each date storage method embodiment, such as step 101 shown in FIG. 1 are realized during the computer program 82 To 106.Alternatively, the processor 80 realizes the work(of each unit in above-mentioned each device embodiment when performing the computer program 82 Can, such as the function of unit 701 to 706 shown in Fig. 7.
The computer program 82 can be divided into one or more module/units, and one or more of modules/ Unit is stored in the memory 81, and is performed by the processor 80, to complete the present invention.One or more of moulds Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on Implementation procedure of the calculation machine program 82 in the data storage terminal equipment 8.For example, the computer program 82 can be divided Into information determination unit, material detection unit, information process unit, mark sequencing unit, identifier combination unit and data storage Unit, each unit concrete function are as follows:
Determine PCBA to be generated, determining that the PCBA to be generated is corresponding according to the corresponding production work orders of PCBA needs to use Material;
Whether complete detect the material;
If detecting, the material is complete, obtains the production operation flow process of the PCBA to be generated and the object of the material Material mark;
Material mark is ranked up according to the production operation flow process;
Material mark is combined according to the ranking results that the material identifies;
The PCBA marks of the PCBA to be generated are obtained, the corresponding pass that material identifies after establishing the PCBA marks and combining System, stores the correspondence.
Further, the detection material it is whether complete including:
Whether in the material have default critical component, and whether the number for detecting material in the material reaches pre- if detecting If threshold value.
Further, it is described according to the production operation flow process to the material mark be ranked up including:
Determine the material needed for each step production operation flow process in the production operation flow process;
The material needed for each step production operation flow process is ranked up according to the sequence of operation of the production operation flow process;
The ranking results of material according to needed for each step production operation flow process are ranked up material mark.
Further, it is described establish PCBA mark and combine after material mark correspondence after, further include:
Data compression is carried out to the correspondence;
The storage correspondence includes:
Store the correspondence after data compression.
Further, it is described to determine that PCBA to be generated includes:
Sequencing according to PCBA generated times determines PCBA to be generated.
Said program, by the transformation of PCBA and material in a pair one correspondence store, i.e., by PCBA pairs The multiple materials answered are combined, and the correspondence of material is stored after establishing PCBA and combining, in the base that functionality does not subtract On plinth, memory space needed for data is greatly reduced, reduces data maintenance cost, while reduces Tracing Material difficulty, It is suitble to application.
The data storage terminal equipment 8 can be desktop PC, notebook, palm PC and cloud server etc. Computing device.The data storage terminal equipment may include, but be not limited only to, processor 80, memory 81.People in the art Member is it is appreciated that Fig. 8 is only the limit of the example, not structure paired data storage terminal device 8 of data storage terminal equipment 8 It is fixed, it can include either combining certain components or different components, such as the number than illustrating more or fewer components It can also include input-output equipment, network access equipment, bus etc. according to storage terminal device.
Alleged processor 80 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 81 can be the internal storage unit of the data storage terminal equipment 8, such as data storage is eventually The hard disk or memory of end equipment 8.The memory 81 can also be the External memory equipment of the data storage terminal equipment 8, Such as the plug-in type hard disk being equipped in the data storage terminal equipment 8, intelligent memory card (Smart Media Card, SMC), Secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, the memory 81 may be used also With the internal storage unit both including the data storage terminal equipment 8 or including External memory equipment.The memory 81 is used In other programs and data needed for the storage computer program and the data storage terminal equipment.The memory 81 It can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that each unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Above system The specific work process of middle unit, module can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function can have other dividing mode in actual implementation, such as Multiple units or component may be combined or can be integrated into another system or some features can be ignored or does not perform.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or the INDIRECT COUPLING of unit or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and be independent product sale or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It can include:Any entity of the computer program code or device, recording medium, USB flash disk, mobile hard disk, magnetic can be carried Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter The content that calculation machine readable medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, Such as in certain jurisdictions, according to legislation and patent practice, it is electric carrier signal and electricity that computer-readable medium, which does not include, Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment modifies or carries out equivalent replacement to which part technical characteristic;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of date storage method, which is characterized in that including:
It determines assembling printing board PCB A to be generated, determines that the PCBA to be generated is corresponded to according to the corresponding production work orders of PCBA Need material to be used;
Whether complete detect the material;
If detecting, the material is complete, obtains the production operation flow process of the PCBA to be generated and the material mark of the material Know;
Material mark is ranked up according to the production operation flow process;
Material mark is combined according to the ranking results that the material identifies;
The PCBA marks of the PCBA to be generated are obtained, the correspondence that material identifies after establishing the PCBA marks and combining, Store the correspondence.
2. date storage method as described in claim 1, which is characterized in that the detection material it is whether complete including:
Whether in the material have default critical component, and whether the number for detecting material in the material reaches default threshold if detecting Value.
3. date storage method as described in claim 1, which is characterized in that it is described according to the production operation flow process to described Material mark be ranked up including:
Determine the material needed for each step production operation flow process in the production operation flow process;
The material needed for each step production operation flow process is ranked up according to the sequence of operation of the production operation flow process;
The ranking results of material according to needed for each step production operation flow process are ranked up material mark.
4. date storage method as described in claim 1, which is characterized in that it is described establish PCBA mark and combine after After the correspondence of material mark, further include:
Data compression is carried out to the correspondence;
The storage correspondence includes:
Store the correspondence after data compression.
5. date storage method as described in claim 1, which is characterized in that described to determine that PCBA to be generated includes:
Sequencing according to PCBA generated times determines PCBA to be generated.
6. a kind of data storage device, which is characterized in that including:
For determining PCBA to be generated, the PCBA to be generated is determined according to the corresponding production work orders of PCBA for information determination unit Corresponding need material to be used;
Whether material detection unit is complete for detecting the material;
If information process unit for detecting that the material is complete, obtains the production operation flow process of the PCBA to be generated It is identified with the material of the material;
Sequencing unit is identified, for being ranked up according to the production operation flow process to material mark;
Identifier combination unit, for being combined according to the ranking results that the material identifies to material mark;
Data storage cell, for obtaining the PCBA of the PCBA to be generated marks, object after establishing the PCBA marks and combining Expect the correspondence of mark, store the correspondence.
7. data storage device as claimed in claim 6, which is characterized in that the material detection unit includes:
Whether first detection unit has default critical component for detecting in the material;
Second detection unit, for detecting whether the number of material in the material reaches predetermined threshold value.
8. data storage device as claimed in claim 6, which is characterized in that the mark sequencing unit includes:
Material determination unit, for determining the material in the production operation flow process needed for each step production operation flow process;
First sequencing unit, for the sequence of operation according to the production operation flow process to needed for each step production operation flow process Material is ranked up;
Second sequencing unit, the ranking results for the material according to needed for each step production operation flow process identify the material It is ranked up.
9. a kind of data storage terminal equipment, including memory, processor and it is stored in the memory and can be described The computer program run on processor, which is characterized in that the processor realizes such as right when performing the computer program It is required that the step of any one of 1 to 5 date storage method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the step of realization date storage method as described in any one of claim 1 to 5 when the computer program is executed by processor Suddenly.
CN201711367508.5A 2017-12-18 2017-12-18 Data storage method and terminal equipment Active CN108255950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711367508.5A CN108255950B (en) 2017-12-18 2017-12-18 Data storage method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711367508.5A CN108255950B (en) 2017-12-18 2017-12-18 Data storage method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108255950A true CN108255950A (en) 2018-07-06
CN108255950B CN108255950B (en) 2020-08-21

Family

ID=62723654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711367508.5A Active CN108255950B (en) 2017-12-18 2017-12-18 Data storage method and terminal equipment

Country Status (1)

Country Link
CN (1) CN108255950B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583813A (en) * 2018-11-29 2019-04-05 武汉华星光电技术有限公司 Material management method and device
CN110533396A (en) * 2019-09-05 2019-12-03 Oppo(重庆)智能科技有限公司 Material binding method, material binding device and terminal device
CN117436792A (en) * 2023-12-18 2024-01-23 深圳市一诺智控科技有限公司 Control method and system for realizing traceability of PCBA plug-in material

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877080A (en) * 2009-04-30 2010-11-03 厦门敏讯信息技术股份有限公司 Method for automatically generating configuration of bill of material (BOM)
US20140244019A1 (en) * 2013-02-22 2014-08-28 Sap Ag System and Method for Bill-of-Materials Low-Level Code Harmonization
CN107272627A (en) * 2017-07-21 2017-10-20 东莞职业技术学院 Intelligent flexible production line and its production method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877080A (en) * 2009-04-30 2010-11-03 厦门敏讯信息技术股份有限公司 Method for automatically generating configuration of bill of material (BOM)
US20140244019A1 (en) * 2013-02-22 2014-08-28 Sap Ag System and Method for Bill-of-Materials Low-Level Code Harmonization
CN107272627A (en) * 2017-07-21 2017-10-20 东莞职业技术学院 Intelligent flexible production line and its production method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邓光伟等: "机械产品零部件参数匹配系统的开发与研究", 《通信电源技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583813A (en) * 2018-11-29 2019-04-05 武汉华星光电技术有限公司 Material management method and device
CN110533396A (en) * 2019-09-05 2019-12-03 Oppo(重庆)智能科技有限公司 Material binding method, material binding device and terminal device
CN117436792A (en) * 2023-12-18 2024-01-23 深圳市一诺智控科技有限公司 Control method and system for realizing traceability of PCBA plug-in material
CN117436792B (en) * 2023-12-18 2024-04-05 深圳市一诺智控科技有限公司 Control method and system for realizing traceability of PCBA plug-in material

Also Published As

Publication number Publication date
CN108255950B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN102073762B (en) High-accuracy mold design method and mold manufacturing management system
CN108255950A (en) Date storage method and terminal device
CN106531654B (en) A kind of chip input pin test method and device
CN108197156A (en) The abnormal electricity data restorative procedure and terminal device of power information acquisition system
CN109508355A (en) A kind of data pick-up method, system and terminal device
CN111008473A (en) Simulation analysis method and device for power equipment and storage medium
CN108304522A (en) Comparison method, device and the terminal device of difference between a kind of database
CN108205580A (en) A kind of image search method, device and computer readable storage medium
CN108932217A (en) The method and device of energy consumption statistic
CN109766331A (en) Method for processing abnormal data and device
CN108764633A (en) A kind of method for allocating tasks, system and terminal device
CN108229658A (en) The implementation method and device of object detector based on finite sample
CN108733799A (en) A kind of method for processing report data, device and terminal
CN107169230A (en) Arrangement of reinforcement method, device, terminal and computer-readable recording medium
CN111966707A (en) Query statement generation method and device, electronic equipment and computer readable medium
CN108133005A (en) A kind of environmental model analogy method, terminal device and storage medium based on memory database
CN108920601B (en) Data matching method and device
CN109086331B (en) Method and device for updating data of main network and distribution network and computer readable storage medium
CN110135814A (en) The correlating method of BIM and project data, system and terminal device
CN107800816A (en) A kind of IP address database method for building up and terminal device
CN105653761B (en) A kind of method of automatic acquisition batch outfititem jacking number of parts
CN107077617A (en) fingerprint extraction method and device
CN107783787A (en) A kind of software systems method for splitting and terminal device
CN109299613A (en) The setting method and terminal device of partitions of database permission
CN109324963A (en) The method and terminal device of automatic test profitable result

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant