CN117370466B - Data synchronization method, equipment and medium based on industrial lake bin - Google Patents
Data synchronization method, equipment and medium based on industrial lake bin Download PDFInfo
- Publication number
- CN117370466B CN117370466B CN202311441461.8A CN202311441461A CN117370466B CN 117370466 B CN117370466 B CN 117370466B CN 202311441461 A CN202311441461 A CN 202311441461A CN 117370466 B CN117370466 B CN 117370466B
- Authority
- CN
- China
- Prior art keywords
- type
- groove
- batch
- data structure
- filling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004519 manufacturing process Methods 0.000 claims abstract description 86
- 230000001360 synchronised effect Effects 0.000 claims abstract description 69
- 238000012163 sequencing technique Methods 0.000 claims abstract description 18
- 238000007689 inspection Methods 0.000 claims description 10
- 238000005192 partition Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 4
- 239000000758 substrate Substances 0.000 claims 2
- 239000000047 product Substances 0.000 description 103
- 238000012545 processing Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
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/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/26—Visual data mining; Browsing structured data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/283—Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/54—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/5866—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0838—Historical data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0621—Item configuration or customization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/04—Manufacturing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Human Resources & Organizations (AREA)
- Tourism & Hospitality (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Library & Information Science (AREA)
- Manufacturing & Machinery (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a data synchronization method, equipment and medium based on an industrial lake and warehouse, which are used for receiving a customization request of a demand end, determining a plurality of associated ends corresponding to each customization link according to the customization request, sequencing the associated ends and sequentially connecting the associated ends to obtain a synchronization structure; determining the terminal type in the synchronous structure, and determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production groove and a transport groove and/or a goods checking groove; obtaining batch information corresponding to each associated end, copying the reference data structure according to the batch information, and generating a real-time data structure corresponding to the associated end; and extracting filling data corresponding to each associated end in the industrial lake bin, updating the real-time data structure based on the filling data, obtaining synchronous data and sending the synchronous data to the demand end.
Description
Technical Field
The present invention relates to data synchronization technologies, and in particular, to a method, an apparatus, and a medium for data synchronization based on an industrial lake bin.
Background
The industrial lake bin is a novel open architecture, the data warehouse and the data lake are opened, and mass data of processing links of various products are stored in the industrial lake bin.
As is well known, the production of a product may require multiple manufacturers and multiple links to complete, and when a consumer needs to customize the desired product, it may be necessary to select multiple manufacturers to achieve the desired product. In the prior art, a user needs to dock and process data with a plurality of factories one by one, when the number of the factories is large and the number of the data is large, the problems of complicated flow, low docking efficiency and the like can be caused, and even the data can be lost.
Therefore, how to customize manufacturers of required products according to the customization needs of users and automatically generate synchronous data in the customization process for users to view becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a data synchronization method, equipment and medium based on an industrial lake and warehouse, which can customize manufacturers for products according to the customization demands of users and automatically generate synchronous data in the customization process for the users to check.
In a first aspect of the embodiment of the present invention, a data synchronization method based on an industrial lake storehouse is provided, including:
receiving a customization request of a demand end, determining a plurality of associated ends corresponding to each customization link according to the customization request, and sequentially connecting the associated ends after sequencing to obtain a synchronous structure;
determining the terminal type in the synchronous structure, and determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production tank and a transport tank and/or a goods inspection tank;
acquiring batch information corresponding to each associated end, copying the reference data structure according to the batch information, and generating a real-time data structure corresponding to the associated end;
and extracting filling data corresponding to each associated end in the industrial lake bin, updating the real-time data structure based on the filling data, and obtaining synchronous data and sending the synchronous data to the demand end.
Optionally, in one possible implementation manner of the first aspect, a customization request of a demand end is received, a plurality of associated ends corresponding to each customization link are determined according to the customization request, and after sequencing, the associated ends are sequentially connected to obtain a synchronization structure, including:
receiving a customization request of the demand end, and calling a customization interface to be sent to the demand end, wherein the customization interface comprises a plurality of customization links and a plurality of customization ends corresponding to the customization links;
acquiring a custom-made end selected by the demand end for each custom-made link based on the custom-made interface as an associated end corresponding to the corresponding custom-made link;
determining a customizing sequence corresponding to each customizing link, sequencing each associated end according to the customizing sequence, and then sequentially connecting to obtain a synchronous structure.
Optionally, in a possible implementation manner of the first aspect, determining a terminal type in the synchronization structure, and determining a reference data structure corresponding to each associated end according to the terminal type, where the reference data structure includes a production tank and a transportation tank and/or a cargo inspection tank, and includes:
determining the terminal type of each associated end in the synchronous structure, wherein the terminal type comprises a start type, an intermediate type and an end type;
the initial shaft is called, and a first slot type corresponding to the start type and a second slot type corresponding to the intermediate type and the end type are determined;
wherein the first slot type comprises a production type and a transportation type, and the second slot type comprises a production type, a transportation type and a checking type;
constructing a production groove and a transport groove on the initial shaft according to the first groove type, obtaining a reference data structure corresponding to the corresponding associated end, and adding corresponding groove labels for the corresponding production groove and transport groove according to the first groove type;
and constructing a production groove, a transportation groove and a goods checking groove on the initial shaft according to the second groove type, obtaining a reference data structure corresponding to the corresponding associated end, and adding corresponding groove labels for the corresponding production groove, transportation groove and goods checking groove according to the second groove type.
Optionally, in one possible implementation manner of the first aspect, obtaining batch information corresponding to each associated end, copying the reference data structure according to the batch information, and generating a real-time data structure corresponding to the associated end, including:
obtaining the batch quantity of all batch products corresponding to the relevant end and the product quantity of each batch product according to the batch information;
copying the reference data structure based on the batch number to obtain a plurality of reference data structures corresponding to the corresponding associated ends;
updating the reference data structure according to the product quantity to obtain filling data structures corresponding to the batches of products, and generating real-time data structures corresponding to the relevant ends according to the filling data structures.
Optionally, in one possible implementation manner of the first aspect, updating the reference data structure according to the product quantity to obtain a filling data structure corresponding to each batch of products, and generating a real-time data structure corresponding to the relevant end according to the filling data structure includes:
generating batch images corresponding to the batch products according to the product quantity, and updating the reference data structure based on the batch images to obtain filling data structures corresponding to the batch products;
and acquiring the batch sequence of each batch of products, sequencing each filling data structure according to the batch sequence, and sequentially connecting to obtain the real-time data structure corresponding to the corresponding associated end.
Optionally, in one possible implementation manner of the first aspect, generating a batch image corresponding to the batch product according to the product quantity, updating the reference data structure based on the batch image, to obtain a filling data structure corresponding to each batch product, including:
the method comprises the steps of calling a preset filling image corresponding to the batch of products, wherein the preset filling image comprises a quantity filling area, and updating the quantity filling area according to the quantity of the products to obtain a batch image corresponding to the batch of products;
and constructing a batch groove at the beginning position of each reference data structure, and filling each batch image into each batch groove to obtain a filling data structure corresponding to each batch product.
Optionally, in one possible implementation manner of the first aspect, extracting filling data corresponding to each associated end in the industrial lake storehouse, updating the real-time data structure based on the filling data, and sending obtained synchronization data to the demand end, where the method includes:
obtaining a plurality of filling images of each batch of products corresponding to the associated end according to the filling data, and obtaining an image label of each filling image, wherein the image label is a production label, a transportation label or a goods inspection label;
determining that a filling data structure corresponding to each batch of products in the real-time data structure is a target data structure corresponding to the corresponding batch of products;
according to the image tag and the slot position tag, determining a slot position corresponding to the slot position tag corresponding to the image tag in the target data structure as a target slot corresponding to the filling image;
filling the corresponding filling image into the target groove to obtain sub-synchronous data corresponding to the corresponding associated end;
and generating synchronous data according to the sub-synchronous data corresponding to each associated terminal and sending the synchronous data to the demand terminal.
Optionally, in one possible implementation manner of the first aspect, generating synchronization data according to sub-synchronization data corresponding to each associated end, and sending the generated synchronization data to the demand end includes:
and acquiring a partition image corresponding to the preset associated end, sequencing the sub-synchronous data according to a customized sequence, sequentially connecting the sub-synchronous data, inserting the partition image into the beginning position of the sub-synchronous data corresponding to the associated end, and transmitting the obtained synchronous data to the demand end.
In a second aspect of the embodiment of the present invention, there is provided a data synchronization device based on an industrial lake storehouse, including:
the customization module is used for receiving a customization request of a demand end, determining a plurality of associated ends corresponding to each customization link according to the customization request, sequencing the associated ends and then sequentially connecting the associated ends to obtain a synchronous structure;
the reference module is used for determining the terminal type in the synchronous structure, determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production groove and a transport groove and/or a goods checking groove;
the batch module is used for obtaining batch information corresponding to each associated end, copying the reference data structure according to the batch information and generating a real-time data structure corresponding to the associated end;
and the filling module is used for extracting filling data corresponding to each associated end in the industrial lake and warehouse, updating the real-time data structure based on the filling data, obtaining synchronous data and sending the synchronous data to the demand end.
In a third aspect of the embodiments of the present invention, there is provided a readable storage medium having stored therein a computer program for implementing the method of the first aspect and the various possible aspects of the first aspect when executed by a processor.
The beneficial effects of the invention are as follows:
1. the invention can customize manufacturers of required products according to the customization demands of users, and automatically generate synchronous data in the customization process for the users to check. The invention firstly determines a plurality of associated ends according to the customization request of the demand end, and then generates the synchronous structure according to the associated ends, thereby correspondingly customizing the plurality of associated ends according to the customization demand of the user. The invention can determine the corresponding reference data structure of each associated end according to the terminal type of each associated end in the synchronous structure, and can update the reference data structure according to the batch information of the associated end to obtain the corresponding real-time data structure of each associated end, thereby customizing the corresponding data display structure for each associated end by combining the type data and batch data of each associated end.
2. When the synchronous structure is generated, the invention can call the customizing interface according to the customizing request of the demand end and send the customizing interface to the demand end for selecting the corresponding associated end, thereby customizing a plurality of associated ends according to the demands of users. After the associated ends are obtained, the method and the device also can sort the associated ends according to the customizing sequence of the associated ends and then connect the associated ends to obtain a synchronous structure, so that the production positions of the associated ends in the production process can correspond to the processing links of the corresponding products.
3. When the invention generates the reference data structure corresponding to each associated end, the corresponding production groove and transport groove and/or inspection groove are constructed for each associated end according to the terminal type to obtain the reference data structure, so that different types of product data can be displayed correspondingly according to the reference data structure. The invention also copies the reference data structure according to the batch information of the associated end to obtain a real-time data structure, so that the product data of each batch of products can be displayed through the real-time data structure. After the real-time data structure is obtained, the real-time data structure is updated according to the filling data of each associated end to obtain the synchronous data, and the synchronous data is sent to the demand end, wherein the filling data is image data, so that the actual progress data of each manufacturer can be more intuitively recorded through the synchronous data, the data corresponds to the progress, and the data obtained by the demand end is more fit with the actual situation.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data synchronization device based on an industrial lake cabin according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, an application scenario is schematically shown in the embodiment of the present invention. After receiving the customization request of the demand end, the invention determines a plurality of associated ends according to the customization request, and then generates a synchronous structure according to the associated ends, thereby being capable of correspondingly customizing the plurality of associated ends according to the customization demand of the user. The invention can determine the corresponding reference data structure of each associated end according to the terminal type of each associated end in the synchronous structure, and can update the reference data structure according to the batch information of the associated end to obtain the corresponding real-time data structure of each associated end, thereby customizing the corresponding structure for filling the display data for each associated end by combining the type data and batch data of each associated end.
The execution bodies of the present application may include, but are not limited to, at least one of: user equipment, network equipment, etc. The user equipment may include, but is not limited to, computers, smart phones, personal digital assistants (Personal Digital Assistant, abbreviated as PDA), and the above-mentioned electronic devices. The network device may include, but is not limited to, a single network server, a server group of multiple network servers, or a cloud of a large number of computers or network servers based on cloud computing, where cloud computing is one of distributed computing, and a super virtual computer consisting of a group of loosely coupled computers. This embodiment is not limited thereto. The method comprises the steps S1 to S4, and specifically comprises the following steps:
s1, receiving a customization request of a demand end, determining a plurality of associated ends corresponding to each customization link according to the customization request, and sequentially connecting the associated ends after sequencing to obtain a synchronous structure.
In practical application, the associated end may be a manufacturer corresponding to the corresponding customizing link, and the customizing link may be a processing link of the product. For example, for a part, the first process step may be to process the product body, the second process step may be to electroplate the product body, the third process step may be to color the electroplated product, and so on. For different links, the user may need different manufacturers to be responsible for realizing the customization of the products.
In some embodiments, the above synchronization structure may be obtained by the following steps, which are specifically as follows:
s11, receiving a customization request of the demand end, and calling a customization interface to send to the demand end, wherein the customization interface comprises a plurality of customization links and a plurality of customization ends corresponding to the customization links.
It can be understood that in practical application, the processing links of each product may correspond to more than one manufacturer, that is, the customization end, so that in order to enable a user to select the associated end corresponding to each customization link, a customization interface may be invoked to send to the demand end, so that the user can select the corresponding associated end through the customization interface.
S12, acquiring a custom-made end selected by the demand end for each custom-made link based on the custom-made interface as an associated end corresponding to the corresponding custom-made link.
In some embodiments, when determining the associated end, the corresponding customized end may be determined to be the associated end according to click information of the required end on the corresponding customized end.
S13, determining a customizing sequence corresponding to each customizing link, sequencing each associated end according to the customizing sequence, and then sequentially connecting the associated ends to obtain a synchronous structure.
The customization sequence refers to a production sequence, and it can be understood that each customization link generally has a corresponding production sequence in the production process, so that when the associated ends are arranged, the associated ends can be arranged according to the customization sequence, and therefore, the production positions of the associated ends in the production process can be corresponding to the processing links of the corresponding products.
S2, determining the terminal type in the synchronous structure, and determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production groove and a transport groove and/or a goods checking groove.
It can be understood that the production data of each associated end in the synchronous structure may be different, so that in order to enable a user to view the production data of each associated end in the production link, the user can trace back the production data of each associated end, and the scheme can correspondingly display the production data of each associated end in the synchronous structure later.
When the production data of each associated end is displayed, the method can firstly generate the reference data structure corresponding to each associated end according to the terminal type of each associated end, then obtain the real-time data structure after the corresponding processing of the reference data structure is carried out, and then obtain the synchronous data to be sent to the demand end after the updating of the real-time data structure through the filling data, so that the production data of each associated end can be displayed correspondingly through the synchronous data.
Specifically, step S2 includes steps S21 to S24, and is specifically as follows:
s21, determining the terminal type of each associated end in the synchronous structure, wherein the terminal type comprises a start type, an intermediate type and an end type.
In the present solution, the terminal type refers to the position type of each associated terminal in the production flow, and it can be understood that in practical application, each associated terminal may correspond to a different production position in the production flow, and the corresponding production data may be different, so that when the reference data structure corresponding to each associated terminal is constructed, the present solution constructs each associated terminal according to its terminal type.
It will be appreciated that the positions of the associated ends in the production process will generally be located at the beginning, middle and end positions, so the terminal types may be divided into a start type, a middle type and an end type, for example, a product may need to be processed through the associated end a, the associated end B and the associated end C in sequence, the terminal type of the associated end a may be the start type, the terminal type of the associated end B may be the middle type and the terminal type of the associated end C may be the end type.
S22, the initial shaft is called, and a first slot type corresponding to the start type and a second slot type corresponding to the intermediate type and the end type are determined.
Wherein the first slot type comprises a production type and a transportation type, and the second slot type comprises a production type, a transportation type and a check type.
It will be appreciated that each associated end may perform corresponding production and transportation on the product during the production process, for example, each associated end may transport the product to the associated end corresponding to the processing link of the next product after the production and processing of the product, and then the last associated end may re-transport the final processed product to the corresponding user.
Therefore, each associated terminal may have corresponding production data and transportation data, so that in order to display the corresponding production data and transportation data of each associated terminal, slots of production type and transportation type can be built for the associated terminals of all terminal types when the display slots are built.
For the associated end positioned at the beginning position, products are produced firstly during production, then the products are transported to the associated end corresponding to the processing link of the next product for checking, and then corresponding processing production is carried out, so that the associated end at the beginning position does not need to check the products, and the subsequent associated end does not need to check the products and then corresponding processing production, so that when the display slot of checking data is constructed, the beginning position does not need to construct the display slot of checking type, and the associated ends of the middle type and the ending type need to construct the display slot of checking type.
It can be understood that different slot types can be determined according to the terminal types, so that corresponding display slots can be constructed according to the slot types, actual progress data of each manufacturer can be recorded, the data corresponds to the progress, and the data obtained by the demand end is more fit with the actual situation.
S23, constructing a production groove and a transport groove on the initial shaft according to the first groove type, obtaining a reference data structure corresponding to the corresponding associated end, and adding corresponding groove labels for the corresponding production groove and transport groove according to the first groove type.
It will be appreciated that the addition of the corresponding slot labels to each slot is for the purpose of subsequent display of the corresponding production data that may be filled into the corresponding slots.
S24, constructing a production groove, a transportation groove and a goods checking groove on the initial shaft according to the second groove position type, obtaining a corresponding reference data structure corresponding to the relevant end, and adding corresponding groove position labels for the production groove, the transportation groove and the goods checking groove according to the second groove position type.
Similarly, after the reference data structure corresponding to the corresponding relevant end is built according to the second slot type, corresponding slot labels can be added to a plurality of slots corresponding to the second slot type.
By the method, the corresponding reference data structure can be constructed for each associated terminal according to different terminal types of the associated terminal, so that production data of the corresponding associated terminal can be displayed through the reference data structure later.
And S3, obtaining batch information corresponding to each associated end, copying the reference data structure according to the batch information, and generating a real-time data structure corresponding to the associated end.
In practical application, the associated end may perform production and processing on the product in batches, the batches are different, and the production data corresponding to the product may also be different, so in order to perform corresponding display on the product data of different batches, the scheme further copies the reference data structure according to the batch information of each associated end to obtain a real-time data structure corresponding to the corresponding associated end, so that the production data of multiple batches of each associated end can be displayed correspondingly through the real-time data structure.
The specific implementation manner of step S3 based on the above embodiment may be:
s31, obtaining the batch numbers of all the batch products corresponding to the relevant ends and the product numbers of the batch products according to the batch information.
It can be understood that, for the same type of batch information of the same terminal, the type of the displayed production data is the same, for example, for a plurality of batch information of the initial type, the production data and the transportation data of the products may be displayed, but the number of products of each batch may be different, so when the real-time data structure is constructed, the scheme obtains the number of batches of all the batches of products corresponding to the corresponding associated terminal and the number of products of each batch of products according to the batch information.
And S32, copying the reference data structure based on the batch number to obtain a plurality of reference data structures corresponding to the corresponding associated end.
For example, the number of batches is 3, and the corresponding associated end corresponds to 3 reference data structures.
And S33, updating the reference data structure according to the product quantity to obtain filling data structures corresponding to the batches of products, and generating real-time data structures corresponding to the relevant ends according to the filling data structures.
In some embodiments, step S33 may be implemented through steps S331 to S332, which are specifically as follows:
s331, generating batch images corresponding to the batch products according to the product quantity, and updating the reference data structure based on the batch images to obtain filling data structures corresponding to the batch products.
It can be understood that the product data of each batch of products can be intuitively displayed through the image, so that when the product data corresponding to each batch of products is displayed, the corresponding display can be performed through the image data. The batch images can intuitively display the product quantity of each batch of products.
Specifically, step S331 may be implemented by the following steps:
s3311, calling a preset filling image corresponding to the batch of products, wherein the preset filling image comprises a quantity filling area, and updating the quantity filling area according to the quantity of the products to obtain a batch image corresponding to the batch of products.
In practical applications, product information corresponding to the corresponding lot of products, such as product names, product attributes, etc., may be preset in the preset filling image, and it may be understood that, for the same product, the corresponding amounts of different lots may be different, but other data, such as names, attributes, etc., are generally the same, so a number of filling areas may be preset in the preset filling image, and thus, the number of corresponding lots of products may be filled through the number filling areas.
S3312, constructing a batch groove at the beginning position of each reference data structure, and filling each batch image into each batch groove to obtain a filling data structure corresponding to each batch product.
It will be appreciated that, in order to enable the user to know which lot of products corresponds to the displayed product data, a lot slot may be provided at the beginning of the reference data structure, and then the lot image is filled into the corresponding lot slot, so that the user may be prompted by the lot image which lot of products corresponds to the next product data.
S332, obtaining the batch sequence of each batch of products, sequencing each filling data structure according to the batch sequence, and then sequentially connecting to obtain the real-time data structure corresponding to the corresponding associated end.
In practical application, the batch sequence may be a time sequence corresponding to the production time of each batch of products, and it can be understood that, because there may be more than one filling data structure corresponding to the associated end, when the filling data structures are summarized, each filling data structure may be sequenced through the batch sequence and then sequentially connected, so as to obtain the real-time data structure corresponding to the corresponding associated end.
By the method, the product data of a plurality of batches corresponding to each associated end can be displayed in the follow-up mode according to the obtained real-time data structure.
And S4, extracting filling data corresponding to each associated end in the industrial lake warehouse, updating the real-time data structure based on the filling data, and obtaining synchronous data and sending the synchronous data to the demand end.
In practical application, each associated end can upload data in the production process to the industrial lake storehouse for storage, so that filling data corresponding to each associated end can be extracted through the industrial lake storehouse, then the real-time data structure is updated through the filling data, and synchronous data of each associated end in the production process are obtained and sent to the demand end. The filling data refers to production data corresponding to each associated end.
The specific implementation manner of step S4 based on the above embodiment may be:
s41, obtaining a plurality of filling images of each batch of products corresponding to the associated end according to the filling data, and obtaining image labels of each filling image, wherein the image labels are production labels, transportation labels or inspection labels.
In practical applications, the filling image may be image data generated by product data of each batch of products in the production, transportation or inspection process, for example, may be image data corresponding to a production bill.
When adding image labels to each filling image, a corresponding image label can be added to each filling image according to the corresponding product link, for example, if the filling image corresponds to image data corresponding to a production link, a production label can be added to each filling image.
S42, determining that the filling data structure corresponding to each batch of products in the real-time data structure is a target data structure corresponding to the corresponding batch of products.
It can be understood that, in order to fill the filling image of each batch of products into the display slot corresponding to the corresponding batch of products, the filling data structure corresponding to each batch of products in the real-time data structure can be determined to be the target data structure corresponding to the corresponding batch of products, so that the product data of the corresponding batch of products can be displayed through the target data structure.
S43, determining a slot corresponding to the slot label corresponding to the image label in the target data structure as a target slot corresponding to the filling image according to the image label and the slot label.
For example, if an image tag is a production tag, a production slot corresponding to the production tag may be determined as a target slot corresponding to the respective fill image.
And S44, filling the corresponding filling image into the target groove to obtain sub-synchronous data corresponding to the corresponding associated end.
By the method, the production data of each associated end can be displayed according to the real-time data structure.
S45, generating synchronous data according to the sub-synchronous data corresponding to each associated terminal and sending the synchronous data to the demand terminal.
In some embodiments, the synchronization data may be generated according to the sub-synchronization data corresponding to each associated end and sent to the demand end by:
and acquiring a partition image corresponding to the preset associated end, sequencing the sub-synchronous data according to a customized sequence, sequentially connecting the sub-synchronous data, inserting the partition image into the beginning position of the sub-synchronous data corresponding to the associated end, and transmitting the obtained synchronous data to the demand end.
In practical application, the partition image may be a salient image corresponding to each associated end, for example, the associated end may be highlighted in the partition image of the corresponding associated end, so that the user may be prompted by the partition image to specifically indicate which associated end corresponds to the product data to be displayed next.
By the method, the product data of each associated end can be intuitively displayed, so that a user can trace the product data of each associated end according to the synchronous data.
Referring to fig. 2, a schematic structural diagram of an industrial lake-bin-based data synchronization device according to an embodiment of the present invention includes:
the customization module is used for receiving a customization request of a demand end, determining a plurality of associated ends corresponding to each customization link according to the customization request, sequencing the associated ends and then sequentially connecting the associated ends to obtain a synchronous structure;
the reference module is used for determining the terminal type in the synchronous structure, determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production groove and a transport groove and/or a goods checking groove;
the batch module is used for obtaining batch information corresponding to each associated end, copying the reference data structure according to the batch information and generating a real-time data structure corresponding to the associated end;
and the filling module is used for extracting filling data corresponding to each associated end in the industrial lake and warehouse, updating the real-time data structure based on the filling data, obtaining synchronous data and sending the synchronous data to the demand end.
The present invention also provides a readable storage medium having stored therein a computer program for implementing the methods provided by the various embodiments described above when executed by a processor.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). In addition, the ASIC may reside in a user device. The processor and the readable storage medium may reside as discrete components in a communication device. The readable storage medium may be read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tape, floppy disk, optical data storage device, etc.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, the execution instructions being executed by the at least one processor to cause the device to implement the methods provided by the various embodiments described above.
In the above embodiment of the apparatus, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.
Claims (9)
1. A method for synchronizing data based on an industrial lake bin, comprising:
receiving a customization request of a demand end, determining a plurality of associated ends corresponding to each customization link according to the customization request, and sequentially connecting the associated ends after sequencing to obtain a synchronous structure;
determining the terminal type in the synchronous structure, and determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production tank and a transport tank and/or a goods inspection tank;
acquiring batch information corresponding to each associated end, copying the reference data structure according to the batch information, and generating a real-time data structure corresponding to the associated end;
extracting filling data corresponding to each associated end in the industrial lake bin, updating the real-time data structure based on the filling data, obtaining synchronous data and sending the synchronous data to the demand end;
determining the terminal type in the synchronous structure, and determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production tank and a transport tank and/or a goods inspection tank and comprises the following steps:
determining the terminal type of each associated end in the synchronous structure, wherein the terminal type comprises a start type, an intermediate type and an end type;
the initial shaft is called, and a first slot type corresponding to the start type and a second slot type corresponding to the intermediate type and the end type are determined;
wherein the first slot type comprises a production type and a transportation type, and the second slot type comprises a production type, a transportation type and a checking type;
constructing a production groove and a transport groove on the initial shaft according to the first groove type, obtaining a reference data structure corresponding to the corresponding associated end, and adding corresponding groove labels for the corresponding production groove and transport groove according to the first groove type;
and constructing a production groove, a transportation groove and a goods checking groove on the initial shaft according to the second groove type, obtaining a reference data structure corresponding to the corresponding associated end, and adding corresponding groove labels for the corresponding production groove, transportation groove and goods checking groove according to the second groove type.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
receiving a customization request of a demand end, determining a plurality of associated ends corresponding to each customization link according to the customization request, sequencing each associated end and then sequentially connecting to obtain a synchronous structure, wherein the method comprises the following steps:
receiving a customization request of the demand end, and calling a customization interface to be sent to the demand end, wherein the customization interface comprises a plurality of customization links and a plurality of customization ends corresponding to the customization links;
acquiring a custom-made end selected by the demand end for each custom-made link based on the custom-made interface as an associated end corresponding to the corresponding custom-made link;
determining a customizing sequence corresponding to each customizing link, sequencing each associated end according to the customizing sequence, and then sequentially connecting to obtain a synchronous structure.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
obtaining batch information corresponding to each associated end, copying the reference data structure according to the batch information, and generating a real-time data structure corresponding to the associated end, wherein the method comprises the following steps:
obtaining the batch quantity of all batch products corresponding to the relevant end and the product quantity of each batch product according to the batch information;
copying the reference data structure based on the batch number to obtain a plurality of reference data structures corresponding to the corresponding associated ends;
updating the reference data structure according to the product quantity to obtain filling data structures corresponding to the batches of products, and generating real-time data structures corresponding to the relevant ends according to the filling data structures.
4. The method of claim 3, wherein the step of,
updating the reference data structure according to the product quantity to obtain filling data structures corresponding to the batches of products, and generating real-time data structures corresponding to the relevant ends according to the filling data structures, wherein the method comprises the following steps:
generating batch images corresponding to the batch products according to the product quantity, and updating the reference data structure based on the batch images to obtain filling data structures corresponding to the batch products;
and acquiring the batch sequence of each batch of products, sequencing each filling data structure according to the batch sequence, and sequentially connecting to obtain the real-time data structure corresponding to the corresponding associated end.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
generating a batch image corresponding to the batch of products according to the product quantity, updating the reference data structure based on the batch image to obtain a filling data structure corresponding to each batch of products, wherein the method comprises the following steps:
the method comprises the steps of calling a preset filling image corresponding to the batch of products, wherein the preset filling image comprises a quantity filling area, and updating the quantity filling area according to the quantity of the products to obtain a batch image corresponding to the batch of products;
and constructing a batch groove at the beginning position of each reference data structure, and filling each batch image into each batch groove to obtain a filling data structure corresponding to each batch product.
6. The method of claim 3, wherein the step of,
extracting filling data corresponding to each associated end in the industrial lake storehouse, updating the real-time data structure based on the filling data, obtaining synchronous data and sending the synchronous data to the demand end, wherein the method comprises the following steps:
obtaining a plurality of filling images of each batch of products corresponding to the associated end according to the filling data, and obtaining an image label of each filling image, wherein the image label is a production label, a transportation label or a goods inspection label;
determining that a filling data structure corresponding to each batch of products in the real-time data structure is a target data structure corresponding to the corresponding batch of products;
according to the image tag and the slot position tag, determining a slot position corresponding to the slot position tag corresponding to the image tag in the target data structure as a target slot corresponding to the filling image;
filling the corresponding filling image into the target groove to obtain sub-synchronous data corresponding to the corresponding associated end;
and generating synchronous data according to the sub-synchronous data corresponding to each associated terminal and sending the synchronous data to the demand terminal.
7. The method of claim 6, wherein the step of providing the first layer comprises,
generating synchronous data according to the sub-synchronous data corresponding to each associated terminal and sending the synchronous data to the demand terminal, wherein the method comprises the following steps:
and acquiring a preset partition image corresponding to each associated end, sequencing the sub-synchronous data according to a customized sequence, sequentially connecting the sub-synchronous data, inserting the partition image into the beginning position of the sub-synchronous data corresponding to the corresponding associated end, obtaining synchronous data, and sending the synchronous data to the demand end, wherein the partition image is a salient image corresponding to each associated end.
8. An industrial lake storehouse-based data synchronization device, comprising:
the customization module is used for receiving a customization request of a demand end, determining a plurality of associated ends corresponding to each customization link according to the customization request, sequencing the associated ends and then sequentially connecting the associated ends to obtain a synchronous structure;
the reference module is used for determining the terminal type in the synchronous structure, determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production groove and a transport groove and/or a goods checking groove;
the batch module is used for obtaining batch information corresponding to each associated end, copying the reference data structure according to the batch information and generating a real-time data structure corresponding to the associated end;
the filling module is used for extracting filling data corresponding to each associated end in the industrial lake and warehouse, updating the real-time data structure based on the filling data, obtaining synchronous data and sending the synchronous data to the demand end;
determining the terminal type in the synchronous structure, and determining a reference data structure corresponding to each associated end according to the terminal type, wherein the reference data structure consists of a production tank and a transport tank and/or a goods inspection tank and comprises the following steps:
determining the terminal type of each associated end in the synchronous structure, wherein the terminal type comprises a start type, an intermediate type and an end type;
the initial shaft is called, and a first slot type corresponding to the start type and a second slot type corresponding to the intermediate type and the end type are determined;
wherein the first slot type comprises a production type and a transportation type, and the second slot type comprises a production type, a transportation type and a checking type;
constructing a production groove and a transport groove on the initial shaft according to the first groove type, obtaining a reference data structure corresponding to the corresponding associated end, and adding corresponding groove labels for the corresponding production groove and transport groove according to the first groove type;
and constructing a production groove, a transportation groove and a goods checking groove on the initial shaft according to the second groove type, obtaining a reference data structure corresponding to the corresponding associated end, and adding corresponding groove labels for the corresponding production groove, transportation groove and goods checking groove according to the second groove type.
9. A readable storage medium, characterized in that the readable storage medium has stored therein a computer program for implementing the method of any of claims 1 to 7 when being executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311441461.8A CN117370466B (en) | 2023-11-01 | 2023-11-01 | Data synchronization method, equipment and medium based on industrial lake bin |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311441461.8A CN117370466B (en) | 2023-11-01 | 2023-11-01 | Data synchronization method, equipment and medium based on industrial lake bin |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117370466A CN117370466A (en) | 2024-01-09 |
CN117370466B true CN117370466B (en) | 2024-03-29 |
Family
ID=89396406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311441461.8A Active CN117370466B (en) | 2023-11-01 | 2023-11-01 | Data synchronization method, equipment and medium based on industrial lake bin |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117370466B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113901588A (en) * | 2021-10-26 | 2022-01-07 | 广域铭岛数字科技有限公司 | Vehicle personalized customization method, device, equipment and medium |
CN115271360A (en) * | 2022-06-29 | 2022-11-01 | 上海羚数智能科技有限公司 | System and method for generating batches in universal production process |
WO2023030513A1 (en) * | 2021-09-05 | 2023-03-09 | 汉熵通信有限公司 | Internet of things system |
CN116166757A (en) * | 2022-12-06 | 2023-05-26 | 浪潮通用软件有限公司 | Multi-source heterogeneous lake and warehouse integrated data processing method, equipment and medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2835733A1 (en) * | 2011-05-11 | 2012-11-15 | Mark Itwaru | Mobile image payment system using short codes |
-
2023
- 2023-11-01 CN CN202311441461.8A patent/CN117370466B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023030513A1 (en) * | 2021-09-05 | 2023-03-09 | 汉熵通信有限公司 | Internet of things system |
CN113901588A (en) * | 2021-10-26 | 2022-01-07 | 广域铭岛数字科技有限公司 | Vehicle personalized customization method, device, equipment and medium |
CN115271360A (en) * | 2022-06-29 | 2022-11-01 | 上海羚数智能科技有限公司 | System and method for generating batches in universal production process |
CN116166757A (en) * | 2022-12-06 | 2023-05-26 | 浪潮通用软件有限公司 | Multi-source heterogeneous lake and warehouse integrated data processing method, equipment and medium |
Non-Patent Citations (2)
Title |
---|
基于物联网的工业定制化生产***设计;谢仁栩;陈丹;徐哲壮;刘兴;刘安国;高佩裕;;信息技术与网络安全;20181010(10);全文 * |
离散制造业APS生产数据结构的研究及应用;王丹;张浩;;机电一体化;20070320(02);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN117370466A (en) | 2024-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111104635B (en) | Method and device for generating form webpage | |
CN111090532B (en) | Application service calling method, device, electronic equipment and computer storage medium | |
CN109542878B (en) | List creation method and device | |
CN115391219A (en) | Test case generation method and device, electronic equipment and storage medium | |
CN117370466B (en) | Data synchronization method, equipment and medium based on industrial lake bin | |
CN116911746B (en) | Warehouse management method and management system | |
CN117035798B (en) | Monitoring method for message sending quality detection | |
CN112559646A (en) | Report downloading method and device | |
CN110264035B (en) | Workflow configuration method, workflow configuration device, terminal and storage medium | |
CN110048940A (en) | Sending method, device, server and the readable storage medium storing program for executing of instant communication message | |
CN111400058B (en) | Method, device, computer equipment and storage medium for calling message | |
CN115170152A (en) | Data distribution method, device, equipment and storage medium | |
CN114579555A (en) | Real-time data calibration method and system based on 7 x 24 hours | |
CN111338624A (en) | Data processing method and related equipment | |
CN117151449B (en) | Data platform chain type information interaction method based on full scene linkage | |
CN111950679A (en) | Electronic tag display method and device and computer readable storage medium | |
CN113819989B (en) | Article packaging method, apparatus, electronic device and computer readable medium | |
CN116684494A (en) | Resource processing method, device and storage medium based on distributed cloud platform | |
CN110008283B (en) | Data processing method and device based on data tag | |
CN118261498A (en) | Data testing method, device, computer equipment and computer readable storage medium | |
CN118113336A (en) | Peripheral parameter configuration method, device, system and storage medium | |
CN116957735A (en) | Contract information processing method, apparatus, electronic device and storage medium | |
CN116614463A (en) | Document processing method and device | |
CN116089112A (en) | Calling method and device | |
CN114356943A (en) | Database synchronization method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |