Method and apparatus for twin-bin packaging activity status
By creating the association between target packaging event objects and sub-event objects, the lack of universality of digital twin technology for warehouse packaging activities is solved, enabling refined management and information integrity of warehouse packaging activities and improving warehouse operational efficiency.
Patent Information
- Application Number
- CN202510668061.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2026-11-24
AI Technical Summary
Existing digital twin technologies for warehouse packaging activities lack universality and are difficult to model in a complete manner, and are also difficult to trace packaging material consumption and material ownership.
This paper provides a method for creating a digital twin of the packaging activity status. By creating a target packaging event object and child event objects, establishing a parent-child relationship, recording the full life cycle status of the packaging activity, and associating it with information on packaging material consumption, outputs, personnel, and equipment, a generalized modeling method for digital twins is achieved.
It improves the feasibility and universality of packaging activities in digital twin warehouses, enables refined management of packaging activities, ensures the accuracy and completeness of information, and simplifies warehouse management.
Smart Images

Figure CN123160004A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, specifically to a method and apparatus for understanding the packaging activity status of a twin warehouse. Background Technology
[0002] Digital twins (DT), also known as "digital mapping" or "digital mirroring," are simulation processes that fully utilize data from physical models, sensor updates, and operational history. They integrate multidisciplinary, multi-physical, multi-scale, and multi-probabilistic approaches to create a virtual representation that reflects the entire lifecycle of the corresponding physical equipment. In short, a digital twin is a virtual "digital twin" or "digital clone" of a real-world entity in a virtual digital space. Originating in the industrial manufacturing sector, digital twins have gained increasing popularity with the rapid development of industrial informatization, automation, and the Internet of Things (IoT), and are considered a key technology for the interconnection of everything.
[0003] In the field of warehouse production, the packaging activities carried out by packaging units in various warehouses involve multiple elements of "people, machines, materials, methods, and environment." Specifically, the ownership of materials in packaging activities and the consumption of packaging materials are usually quite complex. Without recording the consumption of packaging materials and the ownership of packaged materials, it is difficult to trace the destination of packaged materials and the packaging costs in the warehouse. Furthermore, the actual quantity of packaging materials consumed and the ownership of materials in the warehouse are variable, requiring a dedicated digital twin of warehouse packaging activities.
[0004] However, most current digital twin technologies for warehouse packaging activities are customized by users according to their specific needs and lack universal applicability. Therefore, there is an urgent need for a method to create a virtual twin of warehouse packaging activity states in order to achieve a generalized model of the entire packaging activity. Summary of the Invention
[0005] This application provides a method and apparatus for creating twin warehouse packaging activity states, which can be used to achieve generalized modeling of complete warehouse packaging activities.
[0006] Firstly, this application provides a method for creating a twin warehouse packaging activity status. The method specifically includes: creating a target packaging event object for a target packaging activity conducted within the warehouse; wherein the target packaging event object is used to describe the full-cycle activity status of the target packaging activity; creating at least one sub-event object for at least one sub-project activity included in the target packaging activity; wherein the at least one sub-event object corresponds one-to-one with the at least one sub-project activity, and the at least one sub-event object is used to describe the at least one sub-project activity; establishing a first association relationship between the target packaging event object and the at least one sub-event object, the first association relationship being used to associate the at least one sub-event object with the target packaging event object.
[0007] This solution provides a general model creation method for warehouse packaging activities using digital twin technology. It involves creating packaging object events to describe the overall packaging activity and sub-object events to describe sub-projects within the packaging activity. By associating these two, different dimensions of the packaging activity can be described through various sub-event objects, or different sub-object events can be created to meet diverse user recording needs. While ensuring the accuracy and comprehensiveness of the information recorded in the generated digital twin model, this solution also effectively improves the feasibility and universality of digital twin warehouse packaging activities.
[0008] Optionally, the first association is used to indicate that the target packaged event object and the at least one child event object have a parent-child relationship.
[0009] This approach clearly defines the hierarchical relationship between the target packaging event object and at least one sub-event object. Through the association between the sub-event object and the target packaging event object, it is possible to comprehensively record the entire lifecycle status data of packaging activities and concisely display the overall status of all packaging activities within the warehouse. In subsequent use, users only need to query the target packaging event object at the first level to obtain the data of the sub-event objects contained in the second level and fully understand the status data of the target packaging activity.
[0010] Optionally, the target packaging event object and the at least one sub-event object include association attributes for describing the subordinate relationship between the event objects; wherein, the association attribute of the target packaging event object includes the object identifier of the event object to which the target packaging event object belongs, and the object identifier of at least one sub-event object under the target packaging event object; the association attribute of the at least one sub-event object includes the object identifier of the target packaging event object to which the at least one sub-event object belongs.
[0011] This approach clarifies the association between the target packaging event object and at least one child event object, thus improving the feasibility of the solution.
[0012] Optionally, the target packaging event object further includes a time attribute for describing the time information of the target packaging activity and a spatial attribute for describing the spatial information of the target packaging activity; creating the target packaging event object includes: assigning a value to the start time attribute included in the time attribute according to the start time of the target packaging activity; assigning a value to the duration attribute included in the time attribute according to the duration of the target packaging activity; and assigning a value to the spatial attribute according to the spatial location information of the target packaging activity.
[0013] This approach assigns temporal and spatial attributes to the target packaging event object and records the corresponding temporal and spatial information of the target packaging activity, effectively improving the completeness and accuracy of the data twin information of the target packaging activity. Simultaneously, recording the basic temporal and spatial information also effectively enhances the versatility of model creation in this solution, maximizing the satisfaction of user needs.
[0014] Optionally, the at least one sub-event object includes a packaging material consumption event object; the packaging material consumption event object further includes packaging material object attributes and a first quantity attribute; creating at least one sub-event object includes: assigning a value to the packaging material object attribute according to the name identifier of the packaging material consumed in the target packaging activity, and assigning a value to the first quantity attribute according to the quantity of packaging material consumed in the target packaging activity; creating a one-to-one correspondence between the name identifier and the first quantity attribute.
[0015] This approach creates packaging material consumption event objects, which clarify the details of packaging materials consumed during packaging activities, enabling refined warehouse management and improving warehouse storage security and operational efficiency.
[0016] Optionally, the method further includes: creating a packaging material object, the packaging material object being used to describe the packaging materials consumed in the target packaging activity, the packaging material object including one or more of the following attributes: name attribute, code attribute, storage location attribute, and warehouse storage quantity attribute; assigning values to the attributes of the packaging material object includes: creating a second association relationship between the packaging material consumption event object and the packaging material object, the second association relationship being used to associate the packaging material object with the packaging material consumption event.
[0017] In this approach, by creating packaging material objects, digital management of packaging materials in the warehouse can be achieved. This not only clarifies the consumption of packaging materials during packaging activities, but also provides detailed information on the packaging materials stored in the warehouse in real time, effectively improving the level of refined warehouse management.
[0018] Optionally, the at least one sub-event object includes an output event object; wherein the output event object further includes a packaging object attribute and a second quantity attribute; creating at least one sub-event object includes: assigning values to the packaged object attribute according to the name information of the packaged object in the target packaging activity; and assigning values to the second quantity attribute according to the quantity information of the packaged object; creating a one-to-one correspondence between the name information of the packaged object and the second quantity attribute.
[0019] In this approach, by creating output event objects, digital management of outputs within the warehouse is achieved, effectively improving the level of refined warehouse management.
[0020] Optionally, the method further includes: creating a packaged object, the packaged object being used to describe the material being packaged in the target packaging activity, the packaged object including one or more of the following attributes: name attribute, code attribute, storage location attribute, and association attribute for describing the association relationship between the packaged object and the packaging material object; and assigning a value to the association attribute of the packaged object according to the name attribute of the packaging material object, so that the packaged object is associated with the packaging material object; the assignment of the packaged object attribute includes: creating a third association relationship between the output event object and the packaged object, the third association relationship being used to associate the packaged object with the output event object.
[0021] In this approach, by creating a packaged object and associating it with an output event object, the ownership of the packaged materials and outputs during and after the packaging activity is clarified. This makes it easier to trace the whereabouts of materials in the warehouse and improves the level of refined warehouse management.
[0022] Optionally, the at least one sub-event object includes a job event object, and the job event object further includes personnel attributes; creating at least one sub-event object includes: assigning values to the personnel attributes contained in the job event object based on the personnel information of at least one person participating in the target packaging activity; wherein, the personnel information includes personnel name and personnel job information.
[0023] In this approach, by creating job-related event objects, the information of the personnel involved in the packaging activity is clearly defined. Furthermore, each job-related event object is associated with its corresponding target packaging object event. Therefore, this approach enriches the record information of the packaging activity, makes the information contained in the target packaging event object more complete, clarifies the allocation of responsibilities for the packaging activity, and makes subsequent tracing and tracking more convenient.
[0024] Optionally, the at least one sub-event object includes a device event object, and the device event object further includes device attributes; creating at least one sub-event object includes: assigning values to the device attributes contained in the device event object according to the device information of at least one device involved in the target packaging activity; wherein, the device information includes device name, device number, and device storage location information.
[0025] In this approach, by creating a device event object and associating it with its corresponding target packaging event object, the recorded information of the packaging activity is further enriched.
[0026] Optionally, the start time attribute of the target packaging event can be set to the current time or any historical time.
[0027] Secondly, this application provides an apparatus for determining the status of a twin warehouse packaging activity. The apparatus includes: a creation module for creating a target packaging event object for a target packaging activity performed within the warehouse; wherein the target packaging event object describes the full-cycle activity status of the target packaging activity; and creating at least one sub-event object for at least one sub-project activity included in the target packaging activity; wherein the at least one sub-event object corresponds one-to-one with the at least one sub-project activity, and the at least one sub-event object describes the at least one sub-project activity respectively; and a processing module for establishing a first association relationship between the target packaging event object and the at least one sub-event object, the first association relationship being used to associate the at least one sub-event object with the target packaging event object.
[0028] Optionally, the first association is used to indicate that the target packaged event object and the at least one child event object have a parent-child relationship.
[0029] Optionally, the target packaging event object and the at least one sub-event object include association attributes for describing the subordinate relationship between the event objects; wherein, the association attribute of the target packaging event object includes the object identifier of the event object to which the target packaging event object belongs, and the object identifier of at least one sub-event object under the target packaging event object; the association attribute of the at least one sub-event object includes the object identifier of the target packaging event object to which the at least one sub-event object belongs.
[0030] Optionally, the target packaging event object further includes a time attribute for describing the time information of the target packaging activity and a spatial attribute for describing the spatial information of the target packaging activity; when the creation module creates the target packaging event object, it is specifically used to: assign a value to the start time attribute included in the time attribute according to the start time of the target packaging activity; and assign a value to the duration attribute included in the time attribute according to the duration of the target packaging activity; and assign a value to the spatial attribute according to the spatial location information of the target packaging activity.
[0031] Optionally, the at least one sub-event object includes a packaging material consumption event object; the packaging material consumption event object further includes packaging material object attributes and a first quantity attribute; when the creation module creates at least one sub-event object, it is specifically used to: assign values to the packaging material object attributes according to the name identifier of the packaging materials consumed in the target packaging activity, and assign values to the first quantity attribute according to the quantity of packaging materials consumed in the target packaging activity; and create a one-to-one correspondence between the name identifier and the first quantity attribute.
[0032] Optionally, the creation module is further configured to: create a packaging material object, the packaging material object being used to describe the packaging materials consumed in the target packaging activity, the packaging material object including one or more of the following attributes: name attribute, code attribute, storage location attribute, and warehouse storage quantity attribute; when the creation module assigns values to the attributes of the packaging material object, it is specifically configured to: create a second association relationship between the packaging material consumption event object and the packaging material object, the second association relationship being used to associate the packaging material object with the packaging material consumption event.
[0033] Optionally, the at least one sub-event object includes an output event object; wherein the output event object further includes a packaging object attribute and a second quantity attribute; when the creation module creates at least one sub-event object, it is specifically used to: assign values to the packaged object attribute according to the name information of the packaged object in the target packaging activity; and assign values to the second quantity attribute according to the quantity information of the packaged object; and create a one-to-one correspondence between the name information of the packaged object and the second quantity attribute.
[0034] Optionally, the creation module is further configured to: create a packaged object, the packaged object being used to describe the material being packaged in the target packaging activity, the packaged object including one or more of the following attributes: name attribute, code attribute, storage location attribute, and association attribute used to describe the association relationship between the packaged object and the packaging material object; and assign values to the association attribute of the packaged object according to the name attribute of the packaging material object, so that the packaged object is associated with the packaging material object; when the creation module assigns values to the attributes of the packaged object, it is specifically configured to: create a third association relationship between the output event object and the packaged object, the third association relationship being used to associate the packaged object with the output event object.
[0035] Optionally, the at least one sub-event object includes a job event object, and the job event object further includes personnel attributes; when the creation module creates at least one sub-event object, it is specifically used to: assign values to the personnel attributes contained in the job event object based on the personnel information of at least one person participating in the target packaging activity; wherein, the personnel information includes personnel name and personnel job information.
[0036] Optionally, the at least one sub-event object includes a device event object, and the device event object further includes device attributes; when the creation module creates at least one sub-event object, it is specifically used to: assign values to the device attributes contained in the device event object according to the device information of at least one device involved in the target packaging activity; wherein, the device information includes device name, device number, and device storage location information.
[0037] Optionally, the start time attribute of the target packaging event can be set to the current time or any historical time.
[0038] Thirdly, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor, by executing the instructions stored in the memory, causes the at least one processor to perform the method described in the first aspect or any optional embodiment of the first aspect.
[0039] Fourthly, a computer-readable storage medium is provided for storing instructions that, when executed, cause a method as described in the first aspect or any alternative embodiment of the first aspect to be implemented.
[0040] The technical effects or advantages of one or more technical solutions provided in the second, third and fourth aspects of this application can all be explained by the corresponding technical effects or advantages of one or more technical solutions provided in the first aspect. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 A flowchart illustrating a method for managing the packaging activities in a twin warehouse, as provided in this application embodiment;
[0043] Figure 2 This is a schematic diagram illustrating a possible application scenario provided by an embodiment of this application;
[0044] Figure 3 A schematic diagram of a device structure for a twin warehouse packaging activity state provided in an embodiment of this application;
[0045] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0046] The technical solution of this application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments and specific features in the embodiments are detailed descriptions of the technical solution of this application, rather than limitations thereof. In the absence of conflict, the embodiments and technical features in the embodiments can be combined with each other.
[0047] It should be understood that in the description of the embodiments of this application, terms such as "first" and "second" are used only for the purpose of distinguishing descriptions and should not be construed as indicating or implying relative importance, nor should they be construed as indicating or implying order. In the description of the embodiments of this application, "multiple" refers to two or more.
[0048] The term "and / or" in the embodiments of this application is merely a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0049] This application provides a method and apparatus for creating twin warehouse packaging activity states, which can be used to achieve generalized modeling of complete warehouse packaging activities.
[0050] See Figure 1 This document presents a flowchart illustrating a method for managing the packaging activities in a virtual warehouse, as provided in an embodiment of this application. The executing entity of this method can be various devices with computing capabilities, such as laptops and desktop computers; it can also be various mobile terminal devices, such as mobile phones, tablets, and other terminal devices with computing capabilities; or it can be a distributed server, etc. This application does not impose any limitations, but for ease of explanation, the embodiments of this application will be described using terminal devices as the executing entity. The specific steps of this method are as follows:
[0051] S101: Create a target packaging event object for the target packaging activity carried out in the warehouse. The target packaging event object is used to describe the full life cycle activity status of the target packaging activity.
[0052] Before explaining the specific implementation steps, let's first introduce the warehouse scenarios where this method can be applied. See [link to relevant documentation]. Figure 2 This is a schematic diagram illustrating a possible application scenario of the method provided in this application embodiment, specifically a possible warehouse scenario. Figure 2 The warehouse 1 shown includes a storage area and a work area. The storage area is used to store materials involved in packaging activities within the warehouse, while the work area provides space for these activities. The work area contains several storage locations, allowing multiple packaging activities to be carried out simultaneously within the warehouse. The warehouse also includes at least one monitoring device to ensure that the terminal equipment of this application can acquire the necessary monitoring data. Furthermore, in... Figure 2 The scenario shown only depicts one warehouse, but in practical applications, users can use this solution to simultaneously generate data on packaging activities for one or more warehouses, depending on their needs. This application does not impose any restrictions on this.
[0053] It should be noted that step S101 above describes creating event objects for packaging activities within the warehouse. In practice, users can create event objects with different warehouse identifiers for different warehouses, and then store these event objects in the same database; alternatively, users can create different databases for different warehouses, ensuring a one-to-one correspondence, and then store the event objects corresponding to packaging activities occurring in different warehouses in the corresponding warehouse database. The specific usage is determined by the user, and this application does not impose any restrictions.
[0054] In addition, the target packaging event object is used to describe the full life cycle status of the target packaging activity, and the data of the full life cycle status of the target packaging activity can be obtained by monitoring equipment installed in the warehouse. In this way, the terminal device can create the target packaging event object based on the monitoring data provided by the warehouse monitoring equipment.
[0055] Optionally, the created target packaging event object may also include a time attribute for describing the timing information of the target packaging activity and a spatial attribute for describing the spatial information of the target packaging activity.
[0056] Specifically, when creating a target packaging event object, the terminal device needs to assign values to the time attributes of the target packaging event object based on the time information of the target packaging activity. Specifically, depending on the time attribute, the terminal device needs to assign a value to the start time attribute (containing the start time of the target packaging activity) and a value to the duration attribute (containing the duration of the target packaging activity). In this way, the start time attribute and the duration attribute can satisfy all the time recording requirements of the target packaging activity. For example, suppose a target packaging activity occurs in warehouse 1 at 10:00 on January 1, 2020, and this packaging activity lasts for 10 minutes. Then, the terminal device can obtain the corresponding monitoring data from the monitoring equipment set up in warehouse 1 and assign values to the time attributes of the target packaging event object corresponding to the target packaging activity: specifically, assign the start time attribute to "2020.1.1-10:00" and the duration attribute to "10min".
[0057] Furthermore, when creating a target packaging event object, the terminal device also needs to assign values to the spatial attributes of the target packaging event object based on the spatial information of the target packaging activity. For example, if the target packaging activity occurs in storage location 1 of warehouse 1, the terminal device will record the spatial information of warehouse 1 - storage location 1 in the spatial attributes of the target packaging event object corresponding to the target packaging activity based on the monitoring data obtained from the monitoring equipment, thus completing the assignment of values to the spatial attributes.
[0058] This approach assigns temporal and spatial attributes to the target packaging event object and records the corresponding temporal and spatial information of the target packaging activity, effectively improving the completeness and accuracy of the data twin information of the target packaging activity. Simultaneously, recording the basic temporal and spatial information also effectively enhances the versatility of model creation in this solution, largely meeting user needs.
[0059] Optionally, packaging activities occurring within the warehouse can be categorized into real-time packaging activities within the warehouse and historical packaging activities that occurred at any time prior to the current time within the warehouse. Therefore, corresponding to the target packaging event object, the start time attribute value can be the current time or any historical time.
[0060] In this way, by differentiating the values of the start time attribute, users can create real-time twin databases and historical twin databases for the same warehouse in actual use, so as to record the twin data of the packaging activities that are currently taking place in the warehouse and the packaging activities that have taken place in the warehouse over a historical period.
[0061] S102: For at least one sub-project activity included in the target packaging activity, create at least one sub-event object, wherein these at least one sub-event objects correspond one-to-one with at least one sub-project activity included in the target packaging activity, and each of these at least one sub-event objects is used to describe the corresponding sub-project activity.
[0062] A complete packaging activity typically includes multiple sub-activities, such as packaging material consumption, personnel activities, and equipment usage. Therefore, to create a digital twin of a packaging activity's entire lifecycle, different sub-event objects can be created to describe these activities based on their respective sub-activities. The collection of all sub-event objects can then be used to describe the target packaging activity.
[0063] After completing the creation of the target packaged event object and at least one sub-event object, the terminal device can perform the following step S103 to associate the target packaged event object with at least one sub-event object.
[0064] S103: Establish a first association between the target packaged event object and at least one child event object, the first association being used to associate at least one child event object with the target packaged event object.
[0065] Optionally, the first association created above can be used to indicate that the target packaging event object and its corresponding at least one child event object have a parent-child relationship. This parent-child relationship indicates that the at least one child event object is subordinate to the target packaging event object. That is, the target packaging event object can complete the recording of the entire lifecycle activity status of the packaging activity through its at least one subordinate child event object.
[0066] Furthermore, when establishing the first association, the terminal device can create an association attribute in both the target package event object and at least one sub-event object to describe the association relationship between the event objects. Assuming the target package activity includes sub-project activity 1, sub-project activity 2, and sub-project activity 3, when creating the target package event object for the target package activity and sub-event object a for sub-project activity 1, sub-event object b for sub-project activity 2, and sub-event object c for sub-project activity 3, the terminal device can add object identifiers for sub-event object a, sub-event object b, and sub-event object c to the association attribute in the target package event object. This indicates that the target package event object corresponds to three sub-project activities under the target package activity.
[0067] In this way, by associating sub-event objects with target packaging event objects, this system can not only comprehensively record the full-cycle activity status data of packaging activities, but also concisely display the overall status of all packaging activities in the warehouse. In subsequent use, users only need to query the target packaging event object at the first level to obtain the data of the sub-event objects contained in the second level and fully perceive the status data of the target packaging activity.
[0068] The solution provided in this application provides a model creation method applicable to digital twin technology for packaging activities within a warehouse. This involves creating packaging object events to describe the overall packaging activity and sub-object events to describe sub-projects within the packaging activity. By associating these two, different dimensions of the packaging activity can be described using several sub-event objects, or various user recording needs can be met by creating different sub-object events. While ensuring the accuracy and comprehensiveness of the information recorded in the generated digital twin model, this method also effectively improves the feasibility and universality of digital twin warehouse packaging activities.
[0069] The above describes the creation and association methods of the target packaging event object and the sub-event object provided in the embodiments of this application. The specific contents that the sub-event object may contain will be described in the following description.
[0070] Optionally, the aforementioned at least one sub-event object includes a packaging material consumption event object, used to describe various aspects of packaging material consumption in the target packaging activity. The packaging material consumption event object further includes packaging material object attributes and a first quantity attribute. The packaging material object attributes specifically describe the packaging materials consumed in the target packaging activity, while the first quantity attribute describes the quantity of packaging materials consumed in the target packaging activity.
[0071] Therefore, when creating a packaging material consumption event object within at least one sub-event object, the terminal device needs to assign values to the packaging material object attributes in the packaging material consumption event object based on the name identifier of the packaging materials (i.e., packaging materials) consumed in the target packaging activity. It also needs to assign values to the first quantity attribute in the packaging material consumption event object based on the quantity of packaging materials consumed in the target packaging activity. After the assignment is complete, the terminal device creates a one-to-one correspondence between the name identifier and the first quantity attribute, thereby clarifying the consumption quantity of each packaging material.
[0072] For example, the creation of packaging material consumption event objects can be in the form of a table, as shown in Table 1 below:
[0073] Table 1:
[0074] Packaging label First quantity AAA 2 BBB 5 CCC 3
[0075] It should be noted that the table above is only an example of a recording format. In actual use, the packaging material identification and the first quantity can also be recorded in the form of text or images, and this application does not impose any restrictions. When recording through a table, each target packaging object event will include its corresponding table record. Therefore, the table's own identifier will indicate its corresponding target packaging object event and sub-event objects.
[0076] This approach creates packaging material consumption event objects, which clarify the details of packaging materials consumed during packaging activities, enabling refined warehouse management and improving warehouse storage security and operational efficiency.
[0077] Optionally, before creating the packaging material consumption event object, the method provided in this embodiment further includes: creating a packaging material object to describe the packaging materials consumed during the target packaging activity. This packaging material object includes one or more of the following attributes: name attribute, code attribute, storage location attribute, and warehouse storage quantity attribute. The name attribute describes the name of the packaging material, the code attribute describes the numerical code corresponding to the packaging material, the storage location attribute describes the storage location of the packaging material in the warehouse, and the warehouse storage quantity attribute describes the quantity of the packaging material stored in the warehouse before the target packaging activity. Therefore, the terminal device creates different packaging material objects based on the information of all types of packaging materials stored in the warehouse.
[0078] The process of assigning values to the packaging material object attributes of the packaging material consumption event object, as mentioned above, specifically involves creating a second association between the packaging material consumption event object and the packaging material object. This second association is used to link the aforementioned packaging material object to the packaging material consumption event object. In other words, when creating the packaging material consumption event object, the packaging material object corresponding to the packaging materials consumed in the packaging activity can be associated with the packaging material consumption event object, thereby enabling the system to display various information about packaging material consumption in the packaging activity more comprehensively and in detail.
[0079] In this approach, by creating packaging material objects, digital management of packaging materials in the warehouse can be achieved. This not only clarifies the consumption of packaging materials during packaging activities, but also provides detailed information on the packaging materials stored in the warehouse in real time, effectively improving the level of refined warehouse management.
[0080] Optionally, the aforementioned at least one sub-event object further includes an output event object, used to describe various information about the output in the target packaging activity. This output event object includes a packaging object attribute and a second quantity attribute. The packaging object attribute specifically describes various information about the output in the target packaging activity, while the second quantity attribute describes the quantity of the output in the target packaging activity.
[0081] Therefore, when creating an output event object within at least one sub-event object, the terminal device assigns values to the packaging object attributes based on the name information of the packaged object produced in the target packaging activity, and assigns a value to the second quantity attribute based on the quantity information of the output. Simultaneously, after assigning values to the packaging object attributes and the second quantity attribute, the terminal device also establishes a one-to-one correspondence between the name information of the packaged object and the second quantity attribute to ensure that even with different packaged objects, their corresponding quantity information can be accurately displayed.
[0082] The specific creation method of this output event object can be referenced from the creation method of the packaging material consumption event object, which will not be elaborated on here.
[0083] Optionally, similar to the packaging material consumption event object, before creating the output event object among the at least one of the above sub-event objects, the terminal device can also create a packaged object to describe the specific information of the packaged object during the target packaging activity. This packaged object also includes one or more of the following attributes: name attribute, code attribute, storage location attribute, and association attribute. The name attribute describes the name of the packaged material; the code attribute is the same as the code attribute of the packaging material object, describing the numerical code corresponding to the packaged material; the storage location attribute describes the storage location of the packaged material in the warehouse before the target packaging activity; and the association attribute describes the association between the packaged object and the packaging material object. It should be noted that, generally, the association attribute indicates that the packaged object belongs to the packaging material object, but it cannot be ruled out that the user may set this association to the packaging material object belonging to the packaged object.
[0084] Thus, given the creation of the wrapped object, when creating at least one output event object from a child event object, assigning values to the properties of the wrapped object can specifically involve creating a third association between the output event object and the wrapped object. This third association is used to associate the wrapped object with the output event object. Therefore, when displaying detailed information about the output event object, the various information of the wrapped object can be displayed in detail based on the third association between the output event object and the wrapped object.
[0085] Corresponding to the packaged object, the terminal device can also create an output object to describe the specific information of the output after the packaging activity is completed, and further associate the packaging material object, the packaged object, and the output object. The output object can include name attributes, encoding attributes, storage location attributes, and association attributes. The association attributes describe that the packaging material object and the packaged object belong to this output object. Furthermore, since the quantity of packaging material and the packaged object consumed in a single packaging activity varies, the correspondence between the output object and the packaging material object and the packaged object can be a one-to-many correspondence.
[0086] Provided that the output object has been created, when the terminal device creates the output event object, the output event object may also include output attributes and a third quantity attribute. In this way, during the process of the terminal device assigning values to the output attributes, the terminal device may specifically associate the output object with the output event object.
[0087] In this approach, by creating packaged objects and output objects and associating them with output event objects, the ownership of packaged materials and outputs during and after the packaging process is clarified. This makes it easier to trace the whereabouts of materials in the warehouse and improves the level of refined warehouse management.
[0088] Optionally, at least one of the sub-event objects mentioned above includes a job event object, used to describe the personnel job information deployed in the warehouse when the target packaging activity occurs. Therefore, the job event object includes personnel attributes to describe the personnel information participating in the target packaging activity.
[0089] When creating a job event object in at least one sub-event object, the terminal device assigns values to the personnel attributes contained in the job event object based on the personnel information of at least one person in the target package activity. The personnel information includes the personnel name, employee number, and job information.
[0090] For example, suppose the target packaging activity requires the cooperation of both worker A and worker B. When creating the sub-event object of the job event object of the target packaging object event, the terminal device can determine the specific information of worker A and worker B, including name, employee number, job position, etc., based on the monitoring data obtained from the monitoring device, and fill in the personnel attributes in the job event object with this information respectively.
[0091] In this approach, by creating job-related event objects, the information of the personnel involved in the packaging activity is clearly defined. Furthermore, each job-related event object is associated with its corresponding target packaging object event. Therefore, this approach enriches the record information of the packaging activity, makes the information contained in the target packaging event object more complete, clarifies the allocation of responsibilities for the packaging activity, and makes subsequent tracing and tracking more convenient.
[0092] Optionally, the aforementioned at least one sub-event object also includes a device event object, used to describe the equipment information used in the warehouse when the target packaging activity occurs. Therefore, this device event object also includes device attributes. When creating a device event object, the terminal device needs to assign values to the device attributes in the device event object based on the device information of at least one device involved in the target packaging activity. It should be noted that the device information includes device name, device number, device storage location information, etc. For example, in a packaging activity, the equipment used may include printers, conveyor belts, and sealers. Therefore, when creating the device event object corresponding to this packaging activity, it is necessary to record the name, number, and pre-use storage location of the printer, conveyor belt, sealer, etc., and then save this information to the device event object to complete the creation of the device event object.
[0093] In this approach, by creating a device event object and associating it with its corresponding target packaging event object, the recorded information of the packaging activity is further enriched.
[0094] Based on the same inventive concept, embodiments of this application also provide a device for the active state of twin warehouse packaging.
[0095] See Figure 3 This application provides an apparatus for tracking the packaging activity status of a twin warehouse. The apparatus may be the aforementioned terminal device or a chip or integrated circuit within the device. The apparatus includes modules / units / technical means for executing the method performed by the terminal device in the above method embodiments.
[0096] For example, the device 300 includes:
[0097] A creation module 301 is used to create a target packaging event object for a target packaging activity carried out in the warehouse; wherein the target packaging event object is used to describe the full life cycle activity status of the target packaging activity; and to create at least one sub-event object for at least one sub-project activity included in the target packaging activity; wherein the at least one sub-event object corresponds one-to-one with the at least one sub-project activity, and the at least one sub-event object is used to describe the at least one sub-project activity respectively.
[0098] Processing module 302 is used to establish a first association relationship between the target packaging event object and the at least one sub-event object, wherein the first association relationship is used to associate the at least one sub-event object with the target packaging event object.
[0099] As one example, Figure 3 The device described can be used to perform Figure 1 The method described in the illustrated embodiment is therefore relevant to the functions that each functional module of the device can achieve. Figure 1 The description of the embodiments shown will not be repeated here.
[0100] It should be noted that although several modules or sub-modules of the device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units described above can be embodied in a single module. Conversely, the features and functions of a module described above can be further divided and embodied by multiple modules.
[0101] As one possible product form of the aforementioned device, see [link to product description]. Figure 4 This application also provides an electronic device 400, comprising:
[0102] At least one processor 401; and a communication interface 403 communicatively connected to the at least one processor 401; the at least one processor 401 causes the electronic device 400 to perform the method steps performed by any device in the above method embodiments through the communication interface 403 by executing instructions stored in the memory 402.
[0103] Optionally, the memory 402 is located outside the electronic device 400.
[0104] Optionally, the electronic device 400 includes the memory 402, which is connected to the at least one processor 401, and stores instructions executable by the at least one processor 401. (Appendix) Figure 4 The dashed line indicates that memory 402 is optional for electronic device 400.
[0105] The processor 401 and the memory 402 can be coupled through an interface circuit or integrated together; no restriction is imposed here.
[0106] This application embodiment does not limit the specific connection medium between the processor 401, memory 402, and communication interface 403. This application embodiment... Figure 4 The processor 401, memory 402, and communication interface 403 are connected via a bus 404. Figure 4 The connections between other components are shown in bold and are for illustrative purposes only, not as limiting information. The bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, Figure 4 The text uses only a single thick line to represent a bus, but this does not imply that there is only one bus or one type of bus. It should be understood that the processor mentioned in the embodiments of this application can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0107] For example, the processor can be a Central Processing Unit (CPU), or other general-purpose 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, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0108] It should be understood that the memory mentioned in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct RAM (DR RAM).
[0109] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) can be integrated into the processor.
[0110] It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
[0111] As another possible product form, this application embodiment also provides a computer-readable storage medium for storing instructions that, when executed, cause a computer to perform the method steps performed by any of the devices in the above method examples.
[0112] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0113] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0114] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0115] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1The steps of the functions specified in one or more boxes. Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, this application also intends to include such modifications and variations if they fall within the scope of the claims of this application and their equivalents.
Claims
1. A method for managing the active state of twin warehouse packaging, characterized in that, include: For target packaging activities carried out in the warehouse, a target packaging event object is created; wherein, the target packaging event object is used to describe the full life cycle activity status of the target packaging activity; For at least one sub-project activity included in the target packaging activity, at least one sub-event object is created; wherein, the at least one sub-event object corresponds one-to-one with the at least one sub-project activity, and the at least one sub-event object is used to describe the at least one sub-project activity respectively; Establish a first association between the target packaged event object and the at least one sub-event object, wherein the first association is used to associate the at least one sub-event object with the target packaged event object.
2. The method as described in claim 1, characterized in that, The first association is used to indicate that the target packaged event object and the at least one child event object have a parent-child relationship.
3. The method as described in claim 1, characterized in that, The target packaged event object and the at least one sub-event object contain association attributes for describing the subordinate relationship between the event objects; The associated attribute of the target packaged event object includes the object identifier of the event object to which the target packaged event object belongs, and the object identifier of at least one sub-event object under the target packaged event object; The associated attribute of the at least one sub-event object includes the object identifier of the target wrapper event object to which the at least one sub-event object belongs.
4. The method according to any one of claims 1-3, characterized in that, The target packaging event object also includes a time attribute for describing the time information of the target packaging activity and a spatial attribute for describing the spatial information of the target packaging activity; The creation of the target wrapper event object includes: Assign a value to the start time attribute contained in the time attribute based on the start time of the target packaging activity; as well as, Assign a value to the duration attribute included in the time attribute based on the duration of the target packaging activity; and, The spatial attributes are assigned values based on the spatial location information of the target packaging activity.
5. The method according to any one of claims 1-3, characterized in that, The at least one sub-event object includes a packaging material consumption event object; the packaging material consumption event object further includes packaging material object attributes and a first quantity attribute; Creating at least one child event object includes: Assign a value to the packaging material object attribute based on the name identifier of the packaging material consumed in the target packaging activity, and assign a value to the first quantity attribute based on the quantity of the packaging material consumed in the target packaging activity; Create a one-to-one correspondence between the name identifier and the first quantity attribute.
6. The method as described in claim 5, characterized in that, The method further includes: Create a packaging material object, which describes the packaging material consumed in the target packaging activity. The packaging material object includes one or more of the following attributes: name attribute, code attribute, storage location attribute, and warehouse storage quantity attribute. Assigning values to the attributes of the packaging material object includes: A second association is created between the packaging material consumption event object and the packaging material object, the second association being used to associate the packaging material object with the packaging material consumption event.
7. The method according to any one of claims 1-3, characterized in that, The at least one sub-event object includes an output event object; wherein, the output event object further includes a packaging object attribute and a second quantity attribute; Creating at least one child event object includes: Based on the name information of the packaged object in the target packaging activity, assign values to the attributes of the packaged object; and based on the quantity information of the packaged object, assign values to the second quantity attribute. Create a one-to-one correspondence between the name information of the packaged object and the second quantity attribute.
8. The method as described in claim 7, characterized in that, The method further includes: Create a packaged object, which describes the material being packaged in the target packaging activity. The packaged object includes one or more of the following attributes: name attribute, code attribute, storage location attribute, and association attribute describing the relationship between the packaged object and the packaging material object; and assign values to the association attribute of the packaged object according to the name attribute of the packaging material object, so that the packaged object is associated with the packaging material object. Assigning values to the properties of the wrapped object includes: A third association is created between the output event object and the packaged object, the third association being used to associate the packaged object with the output event object.
9. The method according to any one of claims 1-3, characterized in that, The at least one sub-event object includes a job event object, and the job event object also includes personnel attributes; Creating at least one child event object includes: Based on the personnel information of at least one person participating in the target packaging activity, assign values to the personnel attributes contained in the job event object; wherein, the personnel information includes personnel name and personnel job information.
10. The method according to any one of claims 1-3, characterized in that, The at least one sub-event object includes a device event object, and the device event object further includes device attributes; Creating at least one child event object includes: Based on the device information of at least one device involved in the target packaging activity, assign values to the device attributes contained in the device event object; wherein, the device information includes device name, device number, and device storage location information.
11. The method as described in claim 4, characterized in that, The start time attribute of the target packaging event has a value that is either the current time or any historical time.
12. A device for monitoring the active state of twin warehouse packaging, characterized in that, include: A creation module is used to create target packaging event objects for target packaging activities carried out in the warehouse; wherein, the target packaging event object is used to describe the full life cycle activity status of the target packaging activity; for at least one sub-project activity included in the target packaging activity, at least one sub-event object is created; wherein, the at least one sub-event object corresponds one-to-one with the at least one sub-project activity, and the at least one sub-event object is used to describe the at least one sub-project activity respectively; The processing module is used to establish a first association relationship between the target packaged event object and the at least one sub-event object, wherein the first association relationship is used to associate the at least one sub-event object with the target packaged event object.
13. An electronic device, characterized in that, include: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions executable by the at least one processor, which executes the instructions stored in the memory to perform the method as described in any one of claims 1-11.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store instructions that, when executed, cause the method as described in any one of claims 1-11 to be implemented.
