CN110909213A - Material interworking method, material interworking device and terminal equipment - Google Patents
Material interworking method, material interworking device and terminal equipment Download PDFInfo
- Publication number
- CN110909213A CN110909213A CN201911070803.3A CN201911070803A CN110909213A CN 110909213 A CN110909213 A CN 110909213A CN 201911070803 A CN201911070803 A CN 201911070803A CN 110909213 A CN110909213 A CN 110909213A
- Authority
- CN
- China
- Prior art keywords
- size
- sizes
- acquiring
- materials
- obtaining
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Factory Administration (AREA)
Abstract
The application is suitable for the technical field of material management and control, and provides a material interworking method, a material interworking device and terminal equipment, which comprise: obtaining the sizes of first parts of a plurality of first materials; obtaining the size of a second part of a second material; acquiring a size which is matched with the size of the second part from the sizes of the plurality of first parts according to the sizes of the plurality of first parts and the size of the second part; and obtaining the first material with the size matched with that of the second part. Through the method and the device, the searching efficiency of the interworking materials can be improved.
Description
Technical Field
The application belongs to the technical field of material management and control, and particularly relates to a material interworking method, a material interworking device and terminal equipment.
Background
In order to achieve better product fineness, the size of the structural materials of the product is required to be finer. In finding the mating material, the related art is to use a stepped mating, for example, where the gap requirement for the mating portions of materials A and B is 0.15mm, and the tolerance for A and B is + -0.1mm, if A and B are standard design values, the gap is 0 after assembly, but when A with a tolerance of-0.1 mm is assembled with B with a tolerance of +0.1mm, the gap size is 0.2mm, exceeding the gap requirement. In order to achieve the fineness of 0.15mm, 2 gears are divided into A, the-0.1 mm-0 gear is A1 gear, the 0-0.1 mm gear is A2 gear, B is divided into B1 gear and B2 gear in the same way, the A1+ B1 gear and the A2+ B2 gear are in stepped mutual matching, and the gap can be controlled within 0.1mm after assembly and is finer than 0.15 mm. However, the above grading method is manual differentiation, and the materials are differentiated into different gears according to the difference of the measured sizes, so that the searching efficiency of the matched materials is low.
Disclosure of Invention
The application provides a material interworking method, a material interworking device and terminal equipment, so that the searching efficiency of the interworking materials is improved.
In a first aspect, an embodiment of the present application provides a material interworking method, where the material interworking method includes:
obtaining the sizes of first parts of a plurality of first materials;
acquiring the size of a second part of a second material, wherein the first part and the second part are mutually matched parts when the first material and the second material are assembled;
acquiring a size which is matched with the size of the second part from the sizes of the plurality of first parts according to the sizes of the plurality of first parts and the size of the second part;
and obtaining the first material with the size matched with that of the second part.
In a second aspect, an embodiment of the present application provides a material interworking apparatus, including:
the first size acquisition module is used for respectively acquiring the sizes of first parts of a plurality of first materials;
the second size obtaining module is used for obtaining the size of a second part of a second material, wherein the first part and the second part are parts which are matched with each other when the first material and the second material are assembled;
the matching size obtaining module is used for obtaining a size matched with the size of the second part from the sizes of the first parts according to the sizes of the first parts and the sizes of the second parts;
and the blending material obtaining module is used for obtaining the first material with the size corresponding to the size of the second part.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the steps of the material interworking method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the material interworking method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a terminal device, causes the terminal device to perform the steps of the material interworking method according to the first aspect.
It can be seen from above that, terminal equipment in this application scheme acquires the size at the first position of a plurality of first materials and the size at the second position of second material respectively, can be according to the size at a plurality of first positions and the size at second position, acquire the size of mutually supporting with the size at second position from the size at a plurality of first positions, the first material that the size that corresponds with the size of mutually supporting at second position is the first material that mutually supports with the second material promptly, this first material assembles the back with the second material, the gap size at first position and second position satisfies the gap requirement. According to the method and the device, the first materials matched with the second materials can be automatically found from the plurality of first materials according to the sizes of the first parts of the plurality of first materials and the size of the second part of the second materials, manual grading of each material is not needed, and the finding efficiency of the matched materials (such as the first materials matched with the second materials) is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of a material interworking method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an implementation of a material interworking method provided in the second embodiment of the present application;
fig. 3 is a schematic structural diagram of a material interworking apparatus provided in the third embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the specification of the present application and the appended claims, the term "if" may be interpreted contextually as "when. Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, is a schematic view of an implementation flow of a material interworking method provided in an embodiment of the present application, where the material interworking method is applied to a terminal device, and as shown in the figure, the material interworking method may include the following steps:
step S101, obtaining the sizes of first parts of a plurality of first materials.
The plurality of first materials may refer to at least two first materials, for example, 400 first materials. The first materials which are matched with the second materials are searched from the plurality of first materials, so that the searching accuracy of the matched materials can be improved, and the fineness of the product obtained after the first materials and the second materials are assembled is improved. The first part of the first material may be a part of all parts of the first material that is matched with the second part of the second material, and when the first material and the second material are assembled, the first part of the first material and the second part of the second material are matched with each other, and the assembly between the first material and the second material is completed after the first part of the first material and the second part of the second material are matched with each other.
Optionally, the size of the first portion for obtaining the plurality of first materials includes:
acquiring material information of each first material in the plurality of first materials;
and acquiring the size of the first part of each first material from the material information of each first material.
In the embodiment of the application, during the process of producing the first material, a manufacturer of the first material can measure the size of the first part of the first material through a size measuring device, record the size of the first part of the first material in a database, generate a material code capable of being scanned by the terminal device according to the size of the first part of the first material stored in the database, the material information of the first material such as an identification code of the first material, and print or paste the material code on the first material, so that after the manufacturer conveys the first material to the manufacturer of the terminal device, the manufacturer of the terminal device obtains the material information of the first material by scanning the material code on the first material. The material code may be any coding mode capable of being scanned by the terminal device and distinguishing different materials, including but not limited to a two-dimensional code, a barcode, and the like. The identification code of the first material may be used to characterize the material as being the first material, such as the name of the first material.
Optionally, after the material information of each first material is obtained, the embodiment of the application further includes:
acquiring the identification code of each first material from the material information of each first material,
detecting whether each first material is a material assembled with the second material or not according to the identification code of each first material;
correspondingly, the obtaining the size of the first portion of each first material from the material information of each first material includes:
and if the first materials are assembled with the second materials, acquiring the size of the first part of each first material from the material information of each first material.
In the embodiment of the application, when the inter-component materials are searched, the number of the used first materials is large, the materials which are not the first materials may exist in the plurality of first materials, in order to screen out the materials which are not the first materials from the plurality of first materials, the identification code of each first material in the plurality of first materials can be obtained, whether the identification code of each first material is a preset identification code is detected, if the identification code of each first material is not the preset identification code, it is determined that the first material is not the first material assembled with the second material, and if the identification code of each first material is the preset identification code, it is determined that the first material is the first material assembled with the second material. Wherein the preset identification code is an identification code of a first material assembled with a second material. For example, if the identification codes (i.e., the preset identification codes) of the first materials assembled with the second material are a, the plurality of first materials are a1, a2, A3, a4, and a5, and the identification codes of the five first materials are respectively obtained, it is detected that the identification code of a2 is b, and the identification codes of the other four first materials are a, it may be determined that a2 is not the correct first material.
Step S102, the size of the second part of the second material is obtained.
The first part and the second part are parts which are matched with each other when the first material and the second material are assembled.
In this embodiment, the second portion of the second material may refer to a portion of all portions of the second material that is matched with the first portion of the first material, and when the first material and the second material are assembled, the first portion of the first material is matched with the second portion of the second material, and after the first material and the second material are matched, the assembly between the first material and the second material is completed.
Optionally, the obtaining the size of the second portion of the second material includes:
acquiring material information of the second material;
and acquiring the size of the second part of the second material from the material information of the second material.
In this embodiment, in the process of producing the first material, a manufacturer of the second material may measure the size of the second portion of the second material by using the size measuring device, record the size of the second portion of the second material in the database, generate a material code that can be scanned by the terminal device according to the material information of the second material, such as the size of the second portion of the second material and the identification code of the second material, stored in the database, and print or paste the material code on the material, so that after the manufacturer transports the second material to the manufacturer of the terminal device, the manufacturer of the terminal device obtains the material information of the second material by scanning the material code on the second material. The material code may be any coding mode capable of being scanned by the terminal device and distinguishing different materials, including but not limited to a two-dimensional code, a barcode, and the like. The identification code of the second material may be used to indicate that the material is the second material, such as the name of the second material.
In this application embodiment, can set up the collecting box that can place the material in terminal equipment, put into collecting box with a plurality of first materials and a second material, terminal equipment scans the material sign indicating number of putting into every material in collecting box, obtains the material information of every material from the material sign indicating number of every material.
Step S103, acquiring a size matched with the size of the second part from the sizes of the plurality of first parts according to the sizes of the plurality of first parts and the size of the second part.
In this embodiment, the size of the first portion where the gap size of the first portion of the first material and the second portion of the second material is closest to the gap size requirement may be obtained according to the size of the first portions and the size of the second portions, where the closest gap size requirement may be that the absolute value of the difference between the gap size and the target gap size is the smallest. Wherein, the size matching with the size of the second part can refer to the size of the first part matching with the size of the second part.
And step S104, obtaining a first material with a size matched with the size of the second part.
The first material corresponding to the size of the second part is the first material which is most matched with the second material in the plurality of first materials, or the first material of which the gap size is closest to the gap size requirement after the first material and the second material are assembled.
Optionally, after obtaining the first material with a size matching the size of the second portion, the method further includes:
and prompting a user to take out the first materials corresponding to the size matched with the size of the second part from the plurality of first materials in a preset mode.
The preset mode may be a preset mode for prompting a user, such as a voice prompt or a display prompt, and the display prompt may be prompt information displayed on a screen of the terminal device.
In this embodiment, a position sensor may be embedded in a material receiving box of a terminal device, when a plurality of first materials and a second material are placed in the material receiving box, the terminal device obtains position information of each material in the material receiving box through the position sensor, and establishes a corresponding relationship between the position information of the material and the material information of the material, so that a corresponding relationship between the position information of each first material in the plurality of first materials and the material information and a corresponding relationship between the position information of the second material and the material information of the second material may be obtained. According to the corresponding relation between the position information and the material information of each first material in the plurality of first materials and the material information of the first material corresponding to the size of the second part in a matching mode, the position information of the first material corresponding to the size of the second part in the material receiving box can be obtained, the user is prompted to take out the first material corresponding to the size of the second material from the position of the material receiving box in a preset mode, and after the first material is taken out, the first material and the second material can be matched for use.
Optionally, after taking out a first material from the material receiving box of the terminal device, the user may be prompted to put another first material into the material receiving box and replace the second material, and the first material which is matched with the replaced second material is obtained from the plurality of first materials according to the method of the first embodiment.
According to the embodiment of the application, the first materials which are matched with the second materials can be automatically found from the plurality of first materials according to the sizes of the first parts of the plurality of first materials and the sizes of the second parts of the second materials, manual grading of each material is not needed, and the searching efficiency of the matched materials (such as the first materials which are matched with the second materials) is improved.
Referring to fig. 2, it is a schematic diagram of an implementation flow of a material interworking method provided in the second embodiment of the present application, where the material interworking method is applied to a terminal device, and as shown in the figure, the material interworking method may include the following steps:
step S201, obtaining sizes of first portions of a plurality of first materials.
The step is the same as step S101, and specific reference can be made to the related description of step S101, which is not described herein in detail.
Step S202, the size of the second part of the second material is obtained.
The step is the same as step S102, and specific reference can be made to the related description of step S102, which is not described herein in detail.
Step S203, acquiring the target size of the first part according to the size of the second part.
The target size of the first portion may refer to a size of the first portion that is most compatible with a size of the second portion, and the most compatible may be understood as that the second portion meets a target gap size requirement after being assembled with the first portion corresponding to the target size.
Optionally, the obtaining the target size of the first portion according to the size of the second portion includes:
acquiring the target gap size of the first part and the second part;
and acquiring the target size of the first part according to the size of the second part and the size of the target gap.
The target gap size may refer to a preset standard gap size or an error-free gap size.
Step S204, an absolute value of a difference between the sizes of the plurality of first portions and the target size of the first portion is acquired.
In step S205, the size of the first portion corresponding to the minimum absolute value is obtained.
Step S206, determining the size of the first portion corresponding to the minimum absolute value as a size matching the size of the second portion in the sizes of the plurality of first portions.
In the embodiment of the present application, an absolute value of a difference between a size of each of the plurality of first locations and a target size of the first location is obtained, the obtained plurality of absolute values are compared, and a smallest absolute value is obtained from the plurality of absolute values, the smallest absolute value indicating that the size of the first location corresponding to the absolute value is closer to the target size of the first location.
Optionally, after obtaining the size of the first location corresponding to the minimum absolute value, the embodiment of the present application further includes:
acquiring the size of a gap between the first part and the second part corresponding to the minimum absolute value;
correspondingly, the determining that the size of the first portion corresponding to the minimum absolute value is a size which is matched with the size of the second portion in the sizes of the plurality of first portions includes:
and if the gap size of the first part and the second part corresponding to the minimum absolute value is within a preset gap size range, determining the size of the first part corresponding to the minimum absolute value to be a size matched with the size of the second part in the sizes of the plurality of first parts.
In order to further determine whether the size of the first portion corresponding to the minimum absolute value meets the requirement of the gap size, in the embodiment of the present application, the size of the gap between the first portion and the second portion corresponding to the minimum absolute value may be obtained according to the size of the first portion and the size of the second portion corresponding to the minimum absolute value, and it is determined whether the size of the gap is within a preset gap size range, if the size of the gap is within the preset gap size range, the size of the first portion corresponding to the minimum absolute value is determined to be a size that is matched with the size of the second portion, and the first material to which the first portion corresponding to the minimum absolute value belongs may be assembled with the second material; if the gap size is not within the preset gap size range, determining that the size of the first part corresponding to the minimum absolute value is not the size matched with the size of the second part, and the plurality of first materials do not have the first materials capable of being assembled with the second material, so that a user can be prompted to replace the preset number of first materials in the plurality of first materials, and the first materials capable of being assembled with the second material are searched again from the replaced plurality of first materials. Wherein, predetermine the gap size scope and be the gap size scope that sets up in advance, can set for by oneself according to actual need, for example 0 ~ 0.15 mm. The target gap size is within a preset gap size range.
And step S207, obtaining a first material with the size matched with that of the second part.
The step is the same as step S104, and specific reference can be made to the related description of step S104, which is not described herein in detail.
According to the embodiment of the application, the target size of the first part can be obtained according to the size of the second part of the second material, the first material which is matched with the second material is automatically searched from the plurality of first materials according to the sizes of the first parts of the plurality of first materials and the target size of the first part, manual grading of each material is not needed, the searching efficiency of the matched material (for example, the first material which is matched with the second material) is improved, and the material control cost is reduced.
Referring to fig. 3, a schematic diagram of a material interworking apparatus provided in the third embodiment of the present application is shown, and for convenience of explanation, only the parts related to the third embodiment of the present application are shown.
The material interworking device comprises:
a first size obtaining module 31, configured to obtain sizes of first portions of a plurality of first materials;
a second size obtaining module 32, configured to obtain a size of a second portion of a second material, where the first portion and the second portion are portions that are matched with each other when the first material and the second material are assembled;
an interworking size obtaining module 33 configured to obtain a size interworking with the size of the second portion from the sizes of the plurality of first portions according to the sizes of the plurality of first portions and the size of the second portion;
and the blending material obtaining module 34 is used for obtaining the first material with the size matched with the size of the second part.
Optionally, the interworking size obtaining module 33 includes:
a first acquisition unit configured to acquire a target size of the first portion based on a size of the second portion;
a second acquisition unit configured to acquire an absolute value of a difference between sizes of the plurality of first sites and a target size of the first site;
a third acquiring unit configured to acquire a size of the first portion corresponding to the minimum absolute value;
and the determining unit is used for determining the size of the first part corresponding to the minimum absolute value as the size matched with the size of the second part in the sizes of the plurality of first parts.
Optionally, the first obtaining unit is specifically configured to:
acquiring the target gap size of the first part and the second part;
and acquiring the target size of the first part according to the size of the second part and the size of the target gap.
Optionally, the interworking size obtaining module 33 further includes:
a fourth obtaining unit, configured to obtain a gap size between the first location and the second location corresponding to the minimum absolute value;
correspondingly, the determining unit is specifically configured to:
and if the gap size of the first part and the second part corresponding to the minimum absolute value is within a preset gap size range, determining the size of the first part corresponding to the minimum absolute value to be a size matched with the size of the second part in the sizes of the plurality of first parts.
Optionally, the first size obtaining module 31 includes:
a first information obtaining unit, configured to obtain material information of each of the plurality of first materials;
the first size acquisition unit is used for acquiring the size of the first part of each first material from the material information of each first material;
the second size obtaining module 32 includes:
the first information acquisition unit is used for acquiring material information of the second material;
and the second size obtaining unit is used for obtaining the size of the second part of the second material from the material information of the second material.
Optionally, the first size obtaining module 31 further includes:
an identification code acquiring unit for acquiring the identification code of each first material from the material information of each first material,
the material detection unit is used for detecting whether each first material is a material assembled with the second material according to the identification code of each first material;
correspondingly, the first size obtaining unit is specifically configured to:
and if the first materials are assembled with the second materials, acquiring the size of the first part of each first material from the material information of each first material.
Optionally, the material interworking apparatus further includes:
and the prompting module 35 is configured to prompt a user to take out the first material corresponding to the size of the second portion from the plurality of first materials in a preset manner.
The material interworking device provided in the embodiment of the present application can be applied to the first method embodiment and the second method embodiment, and for details, reference is made to the description of the first method embodiment and the second method embodiment, and details are not repeated here.
Fig. 4 is a schematic diagram of a terminal device according to a fourth embodiment of the present application. The terminal device as shown in the figure may include: one or more processors 401 (only one shown); one or more input devices 402 (only one shown), one or more output devices 403 (only one shown), and a memory 404. The processor 401, the input device 402, the output device 403, and the memory 404 are connected by a bus 405. The memory 404 is used for storing instructions and the processor 401 is used for executing the instructions stored by the memory 404. Wherein:
the processor 401 is configured to obtain sizes of first portions of a plurality of first materials; acquiring the size of a second part of a second material, wherein the first part and the second part are mutually matched parts when the first material and the second material are assembled; acquiring a size matched with the size of the second part from the sizes of the first parts according to the sizes of the first parts and the sizes of the second parts; and obtaining the first material with the size matched with that of the second part.
Optionally, the processor 401 is specifically configured to:
acquiring the target size of the first part according to the size of the second part;
acquiring absolute values of differences between sizes of the plurality of first portions and target sizes of the first portions;
acquiring the size of a first part corresponding to the minimum absolute value;
and determining the size of the first part corresponding to the minimum absolute value as the size matched with the size of the second part in the sizes of the plurality of first parts.
Optionally, the processor 401 is specifically configured to:
acquiring the target gap size of the first part and the second part;
and acquiring the target size of the first part according to the size of the second part and the size of the target gap.
Optionally, the processor 401 is further configured to:
acquiring the size of a gap between the first part and the second part corresponding to the minimum absolute value;
and if the gap size of the first part and the second part corresponding to the minimum absolute value is within a preset gap size range, determining the size of the first part corresponding to the minimum absolute value to be a size matched with the size of the second part in the sizes of the plurality of first parts.
Optionally, the processor 401 is specifically configured to:
acquiring material information of each first material in the plurality of first materials;
acquiring the size of a first part of each first material from the material information of each first material;
acquiring material information of the second material;
and acquiring the size of the second part of the second material from the material information of the second material.
Optionally, the processor 401 is further configured to:
acquiring the identification code of each first material from the material information of each first material,
detecting whether each first material is a material assembled with the second material or not according to the identification code of each first material;
optionally, the processor 401 is specifically configured to:
and if the first materials are assembled with the second materials, acquiring the size of the first part of each first material from the material information of each first material.
Optionally, the processor 401 is further configured to:
and prompting a user to take out the first materials corresponding to the size matched with the size of the second part from the plurality of first materials in a preset mode.
It should be understood that, in the embodiment of the present Application, the Processor 401 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 402 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, a data receiving interface, and the like. The output devices 403 may include a display (LCD, etc.), speakers, a data transmission interface, and the like.
The memory 404 may include both read-only memory and random access memory and provides instructions and data to the processor 401. A portion of the memory 404 may also include non-volatile random access memory. For example, the memory 404 may also store device type information.
In a specific implementation, the processor 401, the input device 402, the output device 403, and the memory 404 described in this embodiment may execute the implementation described in the embodiment of the material interworking method provided in this embodiment, or may execute the implementation described in the material interworking apparatus described in the third embodiment, which is not described herein again.
Fig. 5 is a schematic diagram of a terminal device provided in the fifth embodiment of the present application. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the various material interworking method embodiments described above. Alternatively, the processor 50 implements the functions of the modules/units in the above-described device embodiments when executing the computer program 52.
The terminal device 5 may be a computing device with a code scanning function. The terminal device may include, but is not limited to, a processor 50, a memory 51. It will be understood by those skilled in the art that fig. 5 is merely an example of the terminal device 5, and does not constitute a limitation of the terminal device 5, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include input-output devices, network access devices, buses, etc.
The processor 50 may be a central processing unit CPU, but may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned functional units and modules are illustrated as being divided, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to complete all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in the form of a hardware or a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program can implement the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a terminal device, enables the terminal device to implement the steps in the above method embodiments when executed.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described or recited in detail in a certain embodiment, reference may be made to the descriptions of other embodiments.
Those of ordinary skill in the art would appreciate that the elements and algorithm steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when the actual implementation is performed, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above may be implemented by instructing related hardware through a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the methods described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the present disclosure, and are intended to be included within the scope thereof.
Claims (10)
1. A material blending method is characterized by comprising the following steps:
obtaining the sizes of first parts of a plurality of first materials;
acquiring the size of a second part of a second material, wherein the first part and the second part are mutually matched parts when the first material and the second material are assembled;
acquiring a size which is matched with the size of the second part from the sizes of the plurality of first parts according to the sizes of the plurality of first parts and the size of the second part;
and obtaining the first material with the size matched with that of the second part.
2. The material interworking method of claim 1, wherein the obtaining a size from the sizes of the plurality of first locations that matches the size of the second location based on the sizes of the plurality of first locations and the size of the second location comprises:
acquiring the target size of the first part according to the size of the second part;
acquiring absolute values of differences between sizes of the plurality of first portions and target sizes of the first portions;
acquiring the size of a first part corresponding to the minimum absolute value;
and determining the size of the first part corresponding to the minimum absolute value as the size matched with the size of the second part in the sizes of the plurality of first parts.
3. The material interworking method of claim 2, wherein the obtaining the target size of the first portion based on the size of the second portion comprises:
acquiring the target gap size of the first part and the second part;
and acquiring the target size of the first part according to the size of the second part and the size of the target gap.
4. The material interworking method of claim 2, wherein after obtaining the size of the first portion corresponding to the smallest absolute value, further comprising:
acquiring the size of a gap between the first part and the second part corresponding to the minimum absolute value;
correspondingly, the determining that the size of the first portion corresponding to the minimum absolute value is a size which is matched with the size of the second portion in the sizes of the plurality of first portions includes:
and if the gap size of the first part and the second part corresponding to the minimum absolute value is within a preset gap size range, determining the size of the first part corresponding to the minimum absolute value to be a size matched with the size of the second part in the sizes of the plurality of first parts.
5. The material interworking method of claim 1, wherein the obtaining the size of the first portion of the plurality of first materials comprises:
acquiring material information of each first material in the plurality of first materials;
acquiring the size of a first part of each first material from the material information of each first material;
the obtaining of the size of the second portion of the second material comprises:
acquiring material information of the second material;
and acquiring the size of the second part of the second material from the material information of the second material.
6. The material interworking method of claim 5, after obtaining the material information of each first material, further comprising:
acquiring the identification code of each first material from the material information of each first material,
detecting whether each first material is a material assembled with the second material according to the identification code of each first material;
correspondingly, the obtaining the size of the first portion of each first material from the material information of each first material includes:
and if the first materials are assembled with the second materials, acquiring the size of the first part of each first material from the material information of each first material.
7. The material interworking method of any one of claims 1 through 6, further comprising, after acquiring the first material corresponding to a size that matches a size of the second location:
and prompting a user to take out the first materials with the sizes matched with the sizes of the second parts from the plurality of first materials in a preset mode.
8. A material interworking apparatus, characterized in that the material interworking apparatus comprises:
the first size acquisition module is used for acquiring the sizes of first parts of a plurality of first materials;
the second size obtaining module is used for obtaining the size of a second part of a second material, wherein the first part and the second part are matched when the first material and the second material are assembled;
the matching size obtaining module is used for obtaining a size matched with the size of the second part from the sizes of the first parts according to the sizes of the first parts and the sizes of the second parts;
and the blending material obtaining module is used for obtaining the first material with the size corresponding to the size of the second part.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the material interworking method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the material interworking method according to any one of claims 1 through 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911070803.3A CN110909213A (en) | 2019-11-05 | 2019-11-05 | Material interworking method, material interworking device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911070803.3A CN110909213A (en) | 2019-11-05 | 2019-11-05 | Material interworking method, material interworking device and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110909213A true CN110909213A (en) | 2020-03-24 |
Family
ID=69814839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911070803.3A Pending CN110909213A (en) | 2019-11-05 | 2019-11-05 | Material interworking method, material interworking device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110909213A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112718539A (en) * | 2020-12-15 | 2021-04-30 | Oppo广东移动通信有限公司 | Grading method and device for assembly part, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108491952A (en) * | 2018-01-31 | 2018-09-04 | 南京航空航天大学 | Part matching property optimization method and system |
US20180276595A1 (en) * | 2017-03-27 | 2018-09-27 | Clearpath Robotics, Inc. | Systems and methods for autonomous lineside parts delivery to an assembly line process |
CN108960600A (en) * | 2018-06-22 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of production management method and system |
CN109460414A (en) * | 2018-11-12 | 2019-03-12 | 珠海格力智能装备有限公司 | gear box assembling method |
-
2019
- 2019-11-05 CN CN201911070803.3A patent/CN110909213A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180276595A1 (en) * | 2017-03-27 | 2018-09-27 | Clearpath Robotics, Inc. | Systems and methods for autonomous lineside parts delivery to an assembly line process |
CN108491952A (en) * | 2018-01-31 | 2018-09-04 | 南京航空航天大学 | Part matching property optimization method and system |
CN108960600A (en) * | 2018-06-22 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of production management method and system |
CN109460414A (en) * | 2018-11-12 | 2019-03-12 | 珠海格力智能装备有限公司 | gear box assembling method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112718539A (en) * | 2020-12-15 | 2021-04-30 | Oppo广东移动通信有限公司 | Grading method and device for assembly part, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107944285B (en) | Transaction method, device, server and readable storage medium for unique use right of data information | |
CN111858698B (en) | Data checking method, data checking device and terminal equipment | |
CN111797293A (en) | Data adjusting method and device, terminal equipment and storage medium | |
CN110597511A (en) | Page automatic generation method, system, terminal equipment and storage medium | |
CN110222021B (en) | Data processing method, device, server and computer readable storage medium | |
CN114414935A (en) | Automatic positioning method and system for feeder fault area of power distribution network based on big data | |
CN110489826B (en) | Rock slope safety coefficient calculation method and device and terminal equipment | |
CN109087089B (en) | Payment method, payment device and terminal equipment | |
CN110647648A (en) | Page number identification method and device for paper book, family education machine and storage medium | |
CN110909213A (en) | Material interworking method, material interworking device and terminal equipment | |
CN109597745B (en) | Abnormal data processing method and device | |
CN112966719B (en) | Method and device for recognizing instrument panel reading and terminal equipment | |
CN112445769B (en) | Block chain-based on-chain storage method, device, terminal equipment and medium | |
CN112287936B (en) | Optical character recognition test method and device, readable storage medium and terminal equipment | |
CN109359878B (en) | Archive data processing method, computer device and computer readable storage medium | |
CN110487194B (en) | Three-dimensional deformation optical measurement method and device based on single camera | |
CN109299948B (en) | Red packet sending method and device, wearable device and storage medium | |
CN111141263A (en) | Method and device for analyzing and operating perspective between two points | |
CN116246558A (en) | Display performance detection method and device for display, terminal equipment and storage medium | |
CN113806526B (en) | Feature extraction method, device and storage medium | |
CN109522993B (en) | Method for checking consistency of stickers, terminal equipment and storage medium | |
CN111222739B (en) | Nuclear power station task allocation method and nuclear power station task allocation system | |
CN110363744B (en) | Lung age detection method and equipment | |
CN108924179B (en) | On-site inspection method and system for motor vehicle driving examination room | |
CN109344210B (en) | Grid correction method and device and terminal equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200324 |