Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposedBody details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specificThe application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricityThe detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described specialSign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodimentAnd be not intended to limit the application.As present specification and it is used in the attached claims, unless onOther situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
As used in this specification and in the appended claims, term " if " can be according to context quiltBe construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to trueIt is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, terminal device described in the embodiment of the present application is including but not limited to such as with the sensitive table of touchMobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is otherPortable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is hadThe desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the terminal device including display and touch sensitive surface is described.However, should manageSolution, terminal device may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connectsJaws equipment.
Terminal device supports various application programs, such as one of the following or multiple: drawing application program, demonstration applicationProgram, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answeredWith program, telephony application, videoconference application, email application, instant messaging applications, forgingRefining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answerWith program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on the terminal devicePublic physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quickFeel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example,Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each processExecution sequence should be determined by its function and internal logic, and the implementation process without coping with the embodiment of the present application constitutes any restriction.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
It is the implementation process schematic diagram for the material binding method that the embodiment of the present application one provides, material binding referring to Fig. 1Method is applied to terminal device, and the material binding method as shown in the figure may comprise steps of:
Step S101 obtains the identification information of the material from the storage medium of material.
Wherein, during the manufacturing of terminal device, it usually needs different accessories assembly terminal device, thisA little accessories are material, and mainboard is also one of accessory of terminal device, that is to say, that the mainboard of terminal device is also oneKind material, and mainboard is referred to as mainboard in this application to distinguish mainboard and unclassified stores by the application, and unclassified stores is claimedBe material.Wherein, unclassified stores refers to the material in all materials of terminal device in addition to mainboard.
The application is mainly for the material with storage medium, including but not limited to display screen, camera module, fingerprint mouldGroup etc..It should be noted that other materials with storage medium are also within the scope of protection of this application.
For the material with storage medium, in production material, depositing for material can be written into the identification information of materialIn storage media, i.e., by the identification information storage of material into the storage medium of itself, without using two dimensional code or bar codeRecord material identification information, solve volume of material it is smaller when, two dimensional code or bar code asking on material can not be printedTopic, and the assemble sequence no requirement (NR) to material does not need to scan because being to obtain identification information from the storage medium of materialPerhaps whether bar code two dimensional code or bar code are blocked two dimensional code, the acquisition of identification information are had no effect on, in addition, also notThere are two dimensional codes to have that discrimination is low or can not scan when perhaps barcode quality is bad.
Wherein, the identification information of material is used to characterize the identity of material, and the identification information of material can specifically refer to basisThe coding that first pre-defined rule generates, such as the product serial code (Serial Number, SN code) of material, the mark letter of materialBreath includes but is not limited to the information such as material code, date of manufacture, serial number.First pre-defined rule can be preset codingRule, user can the first pre-defined rule of sets itself according to actual needs, it is not limited here.The storage medium of material can be withRefer to carrier for storing data in material, such as band Electrically Erasable Programmable Read-Only Memory (ElectricallyErasable Programmable read only memory, EEPROM).
Step S102 obtains the identification information of mainboard.
Wherein, above-mentioned mainboard refers to the main circuit board of terminal device, during the manufacturing of terminal device, need byThe mainboard of material and terminal device is attached or assembles.The identification information of mainboard is used to characterize the identity of mainboard, mainboardIdentification information can specifically refer to according to the second pre-defined rule generate coding, including but not limited to mainboard code, the date of manufacture,Serial number etc..Second pre-defined rule can be preset coding rule, and user can sets itself according to actual needsTwo pre-defined rules, it is not limited here.Optionally, the second pre-defined rule may be the same or different with the first pre-defined rule,It is not limited here.
Optionally, the identification information for obtaining mainboard includes:
The identification information of the mainboard is obtained from the storage medium of the mainboard.
It in the embodiment of the present application, can also be by the identification information storage of mainboard since mainboard usually has storage mediumTo the storage medium of mainboard, the identification information of mainboard is obtained directly from the storage medium, it can be in the mark for successfully obtaining mainboardWhile knowing information, the accuracy for obtaining the identification information of mainboard is improved.Wherein, the storage medium of mainboard can refer in mainboardCarrier for storing data.
The identification information of the identification information of the mainboard and the material is uploaded to manufacturing execution system by step S103MES is bound.
Wherein, manufacturing execution system (Manufacturing Execution System, MES) i.e. manufacturing enterprise producedCheng Zhihang system is the production information management system of a set of Manufacture Enterprise workshop execution level.MES can provide for enterpriseIncluding Manufacturing Data Management, plan scheduled production management, Production scheduling management, stock control, quality management, human resource management, workMake center/equipment management, tool tool management, purchasing management, cost management, project kanban system, production process control, bottomThe management modules such as data integration analysis, the integrated decomposition of upper layer data, make a sturdy, reliable, comprehensive, feasible system for enterpriseMake cooperating management platform.
In the embodiment of the present application, the identification information of mainboard and the identification information of material that terminal device obtains are uploaded toAfter MES, the corresponding relationship of the identification information of mainboard and the identification information of material is established in MES, so that the mark of mainboard can be realizedKnow the binding of the identification information of information and material, that is, realizes the binding of mainboard and material, it can be in MES according to terminal deviceMainboard traces the whereabouts of material, such as what is recorded in MES system is that material A and mainboard B are bound, then can be according to mainboard BTrace back to material A.
It should be noted that the identification information of material and the identification information of mainboard can be uploaded to MES simultaneously, it can also notBeing uploaded to MES simultaneously, (such as terminal device can be after getting the identification information of material, just will be on the identification information of materialMES is reached, after getting the identification information of mainboard, the identification information of mainboard is just uploaded to MES), it is not limited here.
The embodiment of the present application, can depositing from material by by the storage medium of the identification information storage of material to materialThe identification information of itself is obtained in storage media, and the identification information for establishing in MES material is corresponding with the identification information of mainboardRelationship, so that the binding of material and mainboard can be realized, without scanning two dimensional code or bar code on material, also to being on materialNo printing two dimensional code or bar code no requirement (NR), and the sequence also no requirement (NR) of mainboard is assembled to material, realizing material and masterWhile binding, the accuracy of material binding can be improved.
It referring to fig. 2, is the implementation process schematic diagram for the material binding method that the embodiment of the present application two provides, material bindingMethod is applied to terminal device, and the material binding method as shown in the figure may comprise steps of:
Step S201 receives the mark that the test equipment is sent and obtains after terminal device and test equipment establish communicationInstruction fetch.
Wherein, the terminal device is the equipment that the material and the mainboard assembly.The test equipment can be withRefer to the equipment for sending mark acquisition instruction, i.e., the equipment for sending various control instructions to terminal device, which can be withBe mark acquisition instruction, be also possible to other instruction (such as the size of current for reading camera module electric current reading refer toEnable), terminal device feeds back corresponding response, for example, terminal device is connecing after the control instruction for receiving test equipment transmissionWhen receiving the electric current reading instruction for the size of current for reading camera module, the size of current of camera module is read, and shouldSize of current feeds back to test equipment.
In the embodiment of the present application, after terminal device and test equipment establish communication, user can pass through test equipmentVarious control instructions (such as the mark acquisition instruction for mainboard, or the mark for different material are sent to terminal deviceAcquisition instruction), terminal device can first judge targeted pair of the mark acquisition instruction when receiving mark acquisition instructionAs if the targeted object of the mark acquisition instruction is a certain material, which is used to indicate terminal and setsThe standby identification information for obtaining a certain material;If the targeted object of the mark acquisition instruction is mainboard, which is obtainedInstruction fetch is used to indicate the identification information that terminal device obtains mainboard.Wherein, terminal device and test equipment are made an appointment respectivelyThe targeted object of kind control instruction, for example, instruction 1234 of making an appointment is used for obtaining the identification informations of mainboard, instruction 4567In the identification information for obtaining material A.
Optionally, before terminal device and test equipment establish communication, further includes:
When receiving power-on instruction, the terminal device booting is controlled.
In the embodiment of the present application, material and mainboard are assembled in assembly line, is assembled into semi-finished product in terminal deviceOr after finished product, can carry out powering on booting to the terminal device can pass through wired mode or nothing after terminal device bootingLine mode and test equipment foundation communicate, and test equipment, which is sent, after foundation communication instructs the identification information and mainboard for reading materialIdentification information, and the two identification informations are uploaded to MES and are bound.That is, the application is assembled into semi-finished product in terminal deviceOr the binding of material and mainboard can be carried out when finished product, such as survey electric current station in semi-finished product and bound.Wherein, semi-finished productIt can refer to that terminal device has been subjected to certain production process, but not yet finally be manufactured as the intermediate products of finished product, such as in lifeWhen producing mobile phone, in addition to cell phone rear cover, other accessories have been assembled, due to unassembled rear cover, so that it may be referred to as mobile phone at this timeFor semi-finished product.
Step S202 is obtained from the storage medium of the material when receiving the mark acquisition instruction for materialThe identification information of the material.
Wherein, it is used to indicate the identification information that terminal device obtains the material for the mark acquisition instruction of material, such asTerminal device and test equipment make an appointment instruction 4567 for obtaining the identification information of material A, then terminal device is connecingWhen receiving the instruction 4567 of test equipment transmission, the identification information of material A is just obtained.
Step S203 is obtained from the storage medium of the mainboard when receiving the mark acquisition instruction for mainboardThe identification information of the mainboard.
Wherein, it is used to indicate the identification information that terminal device obtains mainboard for the mark acquisition instruction of mainboard, such as eventuallyEnd equipment and test equipment set the identification information of mainboard of the instruction 1234 for obtaining terminal device in advance in advance, then terminal is setFor when receiving the instruction 1234 of test equipment transmission, the identification information of mainboard is just obtained.
Step S204 uploads the identification information of the identification information of the mainboard and the material by the test equipmentIt is bound to Manufacturing Executive System MES.
Specifically, the identification information for the mainboard that terminal device will acquire and the identification information of material are sent to test equipment,The identification information of the identification information of mainboard and material is uploaded to MES again and bound by test equipment.
The terminal device of the embodiment of the present application is by after establishing communication with test equipment, receiving the mark that test equipment is sentKnow acquisition instruction, the identification information of material can be obtained from the storage medium of material, master is obtained from the storage medium of mainboardThe identification information of plate, without scanning the two-dimensional code or bar code, the efficiency for obtaining identification information is higher, and is not easy to bind outMistake to material assemble sequence also no requirement (NR), and is able to solve that volume of material is smaller can not to print asking for two dimensional code or bar codeTopic.
It is that the schematic diagram for the material binding device that the embodiment of the present application three provides only shows for ease of description referring to Fig. 3Part relevant to the embodiment of the present application is gone out.
The material binding device includes:
Material information obtains module 31, for obtaining the identification information of the material from the storage medium of material;
Mainboard data obtaining module 32, for obtaining the identification information of mainboard;
Identification information binding module 33, for the identification information of the identification information of the mainboard and the material to be uploaded toManufacturing Executive System MES is bound.
Optionally, the material binding device further include:
Command reception module 34, for after terminal device and test equipment establish communication, receiving the test equipment hairThe mark acquisition instruction sent, wherein the terminal device is the equipment that the material and the mainboard assembly.
Optionally, the material information obtains module 31 and is specifically used for:
When receiving the mark acquisition instruction for the material, the object is obtained from the storage medium of the materialThe identification information of material.
Optionally, the mainboard data obtaining module 32 is specifically used for:
When receiving the mark acquisition instruction for the mainboard, the identification information of the mainboard is obtained.
Optionally, the material binding device further include:
Be switched on control module 35, for when receiving power-on instruction, controlling the terminal device booting.
Optionally, the identification information binding module 33 is specifically used for:
The identification information of the identification information of the mainboard and the material is uploaded to MES by the test equipment to carry outBinding.
Optionally, the mainboard data obtaining module 32 is specifically used for:
The identification information of the mainboard is obtained from the storage medium of the mainboard.
Material binding device provided by the embodiments of the present application can be applied in preceding method embodiment one and embodiment two,Details are referring to the description of above method embodiment one and embodiment two, and details are not described herein.
Fig. 4 is the schematic diagram for the terminal device that the embodiment of the present application four provides.The terminal device as shown in the figure can wrapInclude: one or more processors 401 (only show one) in figure;One or more input equipments 402 (one is only shown in figure),One or more output equipments 403 (one is only shown in figure) and memory 404.It is above-mentioned processor 401, input equipment 402, defeatedEquipment 403 and memory 404 are connected by bus 405 out.Memory 404 for storing instruction, deposit for executing by processor 401The instruction that reservoir 404 stores.Wherein:
The processor 401, for obtaining the identification information of the material from the storage medium of material;Obtain mainboardIdentification information;The identification information of the identification information of the mainboard and the material is uploaded to Manufacturing Executive System MES to tie upIt is fixed.
Optionally, the processor 401 is specifically used for:
After terminal device and test equipment establish communication, the mark acquisition instruction that the test equipment is sent is received,In, the terminal device is the equipment that the material and the mainboard assembly.
Optionally, the processor 401 is specifically used for:
When receiving the mark acquisition instruction for the material, the object is obtained from the storage medium of the materialThe identification information of material.
Optionally, the processor 401 is specifically used for:
When receiving the mark acquisition instruction for the mainboard, the identification information of the mainboard is obtained.
Optionally, before terminal device and test equipment establish communication, the processor 401 is also used to:
When receiving power-on instruction, the terminal device booting is controlled.
Optionally, the processor 401 is specifically used for:
The identification information of the identification information of the mainboard and the material is uploaded to MES by the test equipment to carry outBinding.
Optionally, the processor 401 is specifically used for:
The identification information of the mainboard is obtained from the storage medium of the mainboard.
It should be appreciated that in the embodiment of the present application, the processor 401 can be central processing unit (CentralProcessing Unit, CPU), which can also be other general processors, digital signal processor (DigitalSignal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logicDevice, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this atReason device is also possible to any conventional processor etc..
Input equipment 402 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of userDirectional information), microphone, data receiver interface etc..Output equipment 403 may include display (LCD etc.), loudspeaker, dataTransmission interface etc..
The memory 404 may include read-only memory and random access memory, and to processor 401 provide instruction andData.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be depositedStore up the information of device type.
In the specific implementation, processor 401, input equipment 402 described in the embodiment of the present application, 403 and of output equipmentImplementation described in the embodiment of material binding method provided by the embodiments of the present application can be performed in memory 404, can alsoImplementation described in material binding device described in embodiment three is executed, details are not described herein.
Fig. 5 is the schematic diagram for the terminal device that the embodiment of the present application five provides.As shown in figure 5, the terminal of the embodiment is setStandby 5 include: processor 50, memory 51 and are stored in the meter that can be run in the memory 51 and on the processor 50Calculation machine program 52.The processor 50 is realized when executing the computer program 52 in above-mentioned each material binding method embodimentThe step of.Alternatively, the processor 50 is realized in above-mentioned material binding device embodiment respectively when executing the computer program 52Module/unit function.
The terminal device 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and setIt is standby.The terminal device may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5The only example of terminal device 5 does not constitute the restriction to terminal device 5, may include than illustrating more or fewer portionsPart perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, netNetwork access device, bus etc..
Alleged processor 50 can be central processing unit CPU, can also be other general processors, Digital Signal ProcessingDevice DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA or other programmable logic device, discrete gate orTransistor logic, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to appointWhat conventional processor etc..
The memory 51 can be the internal storage unit of the terminal device 5, such as the hard disk or interior of terminal device 5It deposits.The memory 51 is also possible to the External memory equipment of the terminal device 5, such as be equipped on the terminal device 5Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodgeDeposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the terminal device 5Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the terminal deviceOther programs and data.The memory 51 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 functionCan unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by differentFunctional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completingThe all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can alsoTo be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integratedUnit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function listMember, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above systemThe specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable recording medium storageThere is computer program, the step that can be achieved in above-mentioned each embodiment of the method is realized when the computer program is executed by processorSuddenly.
The embodiment of the present application provides a kind of computer program product, when computer program product is run on the terminal deviceWhen, so that realizing the step that can be achieved in above-mentioned each embodiment of the method when terminal device executes.
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 embodimentThe part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosureMember and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actuallyIt is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technicianEach specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceedScope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be withIt realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, instituteThe division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such asMultiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.SeparatelyA bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, deviceOr the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale orIn use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementationAll or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer programCalculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that onThe step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generationCode can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable mediumIt may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program codeDish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that describedThe content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practiceSubtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictionsBelieve signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned realityExample is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned eachTechnical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modifiedOr replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should allComprising within the scope of protection of this application.