Filter stick structure chart determination method and device, electronic equipment and storage medium

By obtaining the basic information of the filter rod entered by the user and determining the basic structure and optional attributes of the filter rod, the problem of low efficiency of artificially drawing the schematic diagram of the filter rod structure is solved, and the flexible adjustment and efficient determination of the filter rod structure diagram.

CN119379859APending Publication Date: 2025-01-28NANTONG CIGARETTE FILTER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411407231.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-01-28

Smart Images

  • Figure CN119379859A_ABST
    Figure CN119379859A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a filter rod structure diagram determination method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring filter stick basic information corresponding to a target filter stick input by a user; determining a filter stick basic structure and optional additional attributes corresponding to the target filter stick based on the filter stick basic information, so that a user inputs attribute values for the optional additional attributes; according to the method, the target filter stick structure chart corresponding to the target filter stick is accurately and conveniently determined on the basis of the additional attribute value and the filter stick basic structure input by the user, the determination efficiency of the target filter stick structure chart is improved, and the user can flexibly adjust the target filter stick structure chart by adjusting the input filter stick basic information and the additional attribute value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, device, electronic device and storage medium for determining a filter rod structure diagram. Background Art

[0002] With the development of technology, more and more industries are focusing on automation technology to reduce labor costs.

[0003] At present, the tobacco industry still uses manual drawing to draw filter rod structure diagrams, which is time-consuming and laborious. When drawing filter rod structure diagrams manually, special drawing software is required, which requires the drawing personnel to be proficient in using the drawing software, and filter rods with different structures need to be drawn separately, and other existing filter rod structure diagrams cannot be used as reference, resulting in low drawing efficiency and difficulty in adjustment. Summary of the invention

[0004] The embodiments of the present invention provide a filter rod structure diagram determination method, device, electronic device and storage medium to accurately and conveniently determine a target filter rod structure diagram corresponding to a target filter rod, thereby improving the efficiency of determining the target filter rod structure diagram, and a user can flexibly adjust the target filter rod structure diagram by adjusting the input filter rod basic information and additional attribute values.

[0005] In a first aspect, an embodiment of the present invention provides a method for determining a filter rod structure diagram, comprising:

[0006] Obtain basic filter rod information corresponding to the target filter rod input by the user;

[0007] Determine the filter rod basic structure and optional additional attributes corresponding to the target filter rod based on the filter rod basic information, so that the user can input attribute values ​​for the optional additional attributes;

[0008] Based on the additional attribute value input by the user and the filter rod basic structure, a target filter rod structure diagram corresponding to the target filter rod is determined.

[0009] Optionally, the method further comprises: the basic information of the filter rod comprises: the length, number of elements and number of cutters of a single filter rod;

[0010] Based on the length of the single filter rod and the number of cutters, a filter rod basic structure corresponding to the target filter rod is determined; based on the number of elements, an optional additional attribute corresponding to the target filter rod is determined.

[0011] Optionally, the method further includes: determining a total length of a filter rod corresponding to the target filter rod based on the length of the single filter rod and the number of cutters; and determining a filter rod basic structure corresponding to the target filter rod based on the total length of the filter rod and a preset filter rod width.

[0012] Optionally, the method also includes: if the number of elements is one, the near smoke segment attributes are determined as the optional additional attributes corresponding to the target filter rod; if the number of elements is two, the near smoke segment attributes and the near lip segment attributes are determined as the optional additional attributes corresponding to the target filter rod; if the number of elements is greater than or equal to three, the near smoke segment attributes, the near lip segment attributes and the middle segment attributes are determined as the optional additional attributes corresponding to the target filter rod; wherein the middle segment is located between the near smoke segment and the near lip segment.

[0013] Optionally, the method also includes: the near-smoke segment attributes include: the near-smoke segment length and the structure type and filling color of the near-smoke segment length; the near-lip segment attributes include: the near-lip segment length and the structure type and filling color of the near-lip segment length; the middle segment attributes include: the middle segment length and the structure type and filling color of the middle segment length.

[0014] Optionally, the method also includes: structurally adjusting the filter rod basic structure based on the attribute value corresponding to the near-smoke segment attribute input by the user to obtain a selected filter rod structure corresponding to the target filter rod; if it is detected that there are no other additional attribute values, then the selected filter rod structure diagram corresponding to the selected filter rod structure is determined as the target filter rod structure diagram corresponding to the target filter rod.

[0015] Optionally, the method further includes: when there are at least two single filter rods in the target filter rod structure diagram, adjacent single filter rods are connected by near-smoke segments connected to each other or near-lip segments connected to each other.

[0016] In a second aspect, an embodiment of the present invention further provides a filter rod structure diagram determining device, the device comprising:

[0017] A filter rod basic information acquisition module is used to acquire the filter rod basic information corresponding to the target filter rod input by the user;

[0018] A filter rod basic structure determination module, used to determine the filter rod basic structure and optional additional attributes corresponding to the target filter rod based on the filter rod basic information, so that the user can input attribute values ​​for the optional additional attributes;

[0019] The target filter rod structure diagram determining module is used to determine the target filter rod structure diagram corresponding to the target filter rod based on the additional attribute value input by the user and the filter rod basic structure.

[0020] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0021] one or more processors;

[0022] A memory for storing one or more programs;

[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the filter rod structure diagram determination method provided by any embodiment of the present invention.

[0024] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a filter rod structure diagram determination method as provided in any embodiment of the present invention.

[0025] In a fifth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements the filter rod structure diagram determination method provided in any embodiment of the present invention.

[0026] The technical solution of the embodiment of the present invention obtains the basic information of the filter rod corresponding to the target filter rod input by the user; determines the basic filter rod structure and optional additional attributes corresponding to the target filter rod based on the basic filter rod information, so that the user can input attribute values ​​for the optional additional attributes; based on the additional attribute values ​​input by the user and the basic filter rod structure, accurately and conveniently determines the target filter rod structure diagram corresponding to the target filter rod, thereby improving the efficiency of determining the target filter rod structure diagram, and the user can flexibly adjust the target filter rod structure diagram by adjusting the input basic filter rod information and additional attribute values.

[0027] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 is a flow chart of a method for determining a filter rod structure diagram provided in Embodiment 1 of the present invention;

[0030] Figure 2 is a flow chart of a method for determining a filter rod structure diagram provided by Embodiment 2 of the present invention;

[0031] Figure 3 This is an example diagram of basic information and optional additional attributes of a filter rod involved in the second embodiment of the present invention;

[0032] Figure 4This is an example diagram of basic information and optional additional attributes of a filter rod involved in the second embodiment of the present invention;

[0033] Figure 5 is a structural schematic diagram of a filter rod structure diagram determination device provided in Embodiment 3 of the present invention;

[0034] Figure 6 It is a structural schematic diagram of an electronic device for implementing the filter rod structure diagram determination method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0037] Embodiment 1

[0038] Figure 1 A flowchart of a filter rod structure diagram determination method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of determining a target filter rod structure diagram corresponding to a target filter rod. The method can be executed by a filter rod structure diagram determination device. The filter rod structure diagram determination device can be implemented in the form of hardware and / or software. The filter rod structure diagram determination device can be configured in an electronic device. Figure 1 As shown, the method includes:

[0039] S110, obtaining basic filter rod information corresponding to the target filter rod input by the user.

[0040] Among them, the target filter rod may refer to the cigarette holder filter rod that the user expects to obtain. For example, the target filter rod may be a filter rod to be drawn designed by the user. The basic information of the filter rod may refer to the appearance information of the filter rod. For example, the basic information of the filter rod may include the length and element number of a single filter rod. The length of a single filter rod may refer to the length of a complete filter rod. The element number may refer to the number of segments of a single filter rod. For example, the element number may be the number of segments of different attributes in the filter rod. Attributes may include, but are not limited to, color and material.

[0041] Specifically, the voice information input by the user is obtained, the pre-trained semantic recognition model is used to perform semantic recognition on the voice information, and the basic filter rod information corresponding to the target filter rod input by the user is determined based on the output of the semantic recognition model. The basic filter rod information corresponding to the target filter rod input by the user can also be determined based on the information input by the user in the basic filter rod information control in the information input window.

[0042] S120: Determine a filter rod basic structure and optional additional attributes corresponding to the target filter rod based on the filter rod basic information, so that the user can input attribute values ​​for the optional additional attributes.

[0043] The filter rod basic structure may refer to the external structure of the filter rod. For example, the filter rod basic structure may be understood as the filter rod structural frame. The optional additional attributes may refer to filter rod attributes that can be optionally adjusted. Each numeral corresponds to a different attribute value.

[0044] Specifically, the length of a single filter rod is determined as the basic length of the filter rod corresponding to the target filter rod, and the basic structure of the filter rod corresponding to the target filter rod is constructed based on the preset basic width of the filter rod and the basic length of the filter rod. The basic structure of the filter rod in this embodiment is the basic structure of a single filter rod. The preset basic width of the filter rod can be a default value of the preset width of the filter rod. The optional additional attributes corresponding to each segment are opened according to the segmentation result, so that the user can input the attribute value for the optional additional attributes.

[0045] It should be noted that when the attribute value of the optional additional attribute is not determined, the number of segments of the target filter rod can be determined based on the number of elements, and the filter rod basic structure can be segmented according to the number of segments. The length of each segment is first roughly divided according to the ratio of the length of a single filter rod to the number of elements, and when the attribute value of the optional additional attribute is determined, each segment is adjusted according to the length of each segment in the attribute value. It is also possible to not perform segmentation before determining the attribute value of the optional additional attribute, and when determining the attribute value of the optional additional attribute, directly use the attribute value of the optional additional attribute to perform accurate segmentation, and obtain an accurate segmentation result at one time.

[0046] Based on the above technical solution, "determining the basic filter rod structure and optional additional attributes corresponding to the target filter rod based on the basic filter rod information" may include: determining the basic filter rod structure corresponding to the target filter rod based on the length of a single filter rod and the number of cutters; determining the optional additional attributes corresponding to the target filter rod based on the number of elements.

[0047] Among them, the basic information of the filter rod includes: the length of a single filter rod, the number of elements and the number of cutters. The number of cutters may refer to the number of sections into which the basic structure of the filter rod is cut, that is, the number of cuts. For example, the number of cutters in S120 is one, that is, the basic structure of the filter rod in S120 is the basic structure of a single filter rod and does not need to be cut. In this embodiment, the number of cutters is greater than or equal to two. If the number of cutters is two, the basic structure of the filter rod is the length of two single filter rods, and two complete single filter rods are arranged in sequence. The advantage of setting the number of cutters in this way is that a target filter rod structure diagram with high production efficiency can be constructed according to production requirements, thereby improving the production efficiency of the filter rod.

[0048] Specifically, the length of a single filter rod is multiplied by the number of cutters, the multiplication result is used as the basic length of the filter rod corresponding to the target filter rod, and the basic structure of the filter rod corresponding to the target filter rod is constructed based on the preset basic width and basic length of the filter rod.

[0049] S130 . Determine a target filter rod structure diagram corresponding to the target filter rod based on the additional attribute value input by the user and the filter rod basic structure.

[0050] The additional attribute value may refer to the attribute value of the optional additional attribute input by the user. If the optional additional attribute is the segmented structure type, the additional attribute value may be, but is not limited to, acetate fiber, hollow core, groove, particle, capsule, fragrance line, and paper base. If the optional additional attribute is the segmented fill color, the additional attribute value may be, but is not limited to, white, yellow, and brown.

[0051] Specifically, the filter rod basic structure is segmented according to the additional attribute values ​​input by the user to obtain a target filter rod structure in which each segment is adjusted according to its corresponding additional attribute value, and a target filter rod structure diagram corresponding to the target filter rod is generated using a pre-trained structure diagram generation model and the target filter rod structure, so that the target filter rod structure diagram corresponding to the target filter rod can be displayed.

[0052] It should be noted that if the user needs to adjust the structure of the displayed target filter rod structure diagram, the user can modify the input filter rod basic information and / or additional attribute values, thereby adjusting and displaying the target filter rod structure diagram. Until the user is satisfied with the displayed target filter rod structure diagram, that is, no modification is required, the target filter rod structure diagram can be saved based on the user's save operation so that it can be directly called during production, and when a new product is improved, the called target filter rod structure diagram can be modified directly.

[0053] The technical solution of the embodiment of the present invention obtains the basic information of the filter rod corresponding to the target filter rod input by the user; determines the basic filter rod structure and optional additional attributes corresponding to the target filter rod based on the basic filter rod information, so that the user can input attribute values ​​for the optional additional attributes; based on the additional attribute values ​​and the basic filter rod structure input by the user, accurately and conveniently determines the target filter rod structure diagram corresponding to the target filter rod, thereby improving the efficiency of determining the target filter rod structure diagram, and the user can flexibly adjust the target filter rod structure diagram by adjusting the input basic filter rod information and additional attribute values.

[0054] Embodiment 2

[0055] Figure 2 This is a flowchart of a filter rod structure diagram determination method provided in the second embodiment of the present invention. Based on the above embodiments, this embodiment describes in detail the process of determining the filter rod basic structure and optional additional attributes corresponding to the target filter rod. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here. Figure 2 As shown, the method includes:

[0056] S210, obtaining basic filter rod information corresponding to the target filter rod input by the user.

[0057] S220: Determine the total length of the filter rods corresponding to the target filter rod based on the length of a single filter rod and the number of cutters.

[0058] The total length of the filter rod can be understood as the basic length of the filter rod mentioned above.

[0059] Specifically, the length of a single filter rod is multiplied by the number of cutters to obtain a multiplication result, and the multiplication result is used as the total length of the filter rod corresponding to the target filter rod.

[0060] S230: Determine a filter rod basic structure corresponding to the target filter rod based on the total length of the filter rod and a preset filter rod width.

[0061] Specifically, a filter rod base structure corresponding to the target filter rod is constructed based on a preset filter rod base width and a filter rod base length.

[0062] S240: If the number of elements is one, the near smoke segment attribute is determined as an optional additional attribute corresponding to the target filter rod.

[0063] The near-smoke segment attributes include: the near-smoke segment length and the structure type and filling color of the near-smoke segment length. The near-smoke segment may refer to the portion of the filter rod that is next to the tobacco leaf.

[0064] Specifically, the number of elements is detected. If it is detected that the number of elements is one, there is no need to segment the basic structure of the filter rod. The near-smoke segment attribute is determined as an optional additional attribute corresponding to the target filter rod, and the structural type and filling color of the near-smoke segment length are directly used to adjust the structural type and filling color of the filter rod basic structure to obtain the target filter rod structure diagram corresponding to the target filter rod.

[0065] S250. If the number of elements is two, the near-smoke segment attribute and the near-lip segment attribute are determined as optional additional attributes corresponding to the target filter rod.

[0066] The near-lip segment attributes include: the near-lip segment length and the structure type and filling color of the near-lip segment length. The near-lip segment may refer to the portion of the filter rod close to the lips.

[0067] Specifically, the number of elements is detected. If it is detected that the number of elements is two, the basic structure of the filter rod needs to be segmented into two segments, and the near-smoke segment attribute and the near-lip segment attribute are determined as optional additional attributes corresponding to the target filter rod. The additional attribute values ​​of the near-smoke segment attribute and the near-lip segment attribute are used to perform segmentation processing and adjust the structure type and filling color to obtain the target filter rod structure diagram corresponding to the target filter rod.

[0068] For example, Figure 3 An example diagram of basic filter rod information and optional additional properties is given. Figure 3 , the basic information of the filter rod includes the length of the mouthpiece (the length of a single filter rod), the number of elements and the number of cuts (the number of cutters). Optional additional attributes include the near-smoke segment attributes and the near-lip segment attributes. The near-smoke segment attributes include the length, structure type and filling color of the near-smoke segment. The near-lip segment attributes include the length, structure type and filling color of the near-lip segment. Among them, the user's input includes the mouthpiece length of 30, the number of elements is 2, the number of cuts is 4, that is, 4 cuts, the length of the near-smoke segment is 10, the structure type of the near-smoke segment is acetate fiber, the filling color of the near-smoke segment is white, the length of the near-lip segment is 20, the structure type of the near-lip segment is hollow core, and the filling color of the near-lip segment is yellow. The unit of length is millimeter. At this time, the number of elements is 2, and the attribute values ​​corresponding to the middle segment attributes are prohibited from being filled in. After entering the above values, click the Generate control to generate the target filter rod structure diagram, click the Save control to save the currently drawn target filter rod structure diagram, and click the Clear control to clear all current input values. Therefore, the structural image can be automatically drawn by simply inputting the corresponding basic information of the filter rod and the additional attribute values, and the type and size of each structure segment can be marked, thereby improving the efficiency of drawing the structural diagram.

[0069] S260. If the number of elements is greater than or equal to three, the near-smoke segment attribute, the near-lip segment attribute, and the middle segment attribute are determined as optional additional attributes corresponding to the target filter rod.

[0070] Among them, the middle section is located between the near-smoke section and the near-lip section. The middle section attributes include: the length of the middle section and the structural type and filling color of the middle section length. The middle section may include but is not limited to the middle section one, the middle section two and the middle section three. The middle section one is the filter rod portion next to the near-smoke section. The middle section two is the filter rod portion next to the near-lip section. The middle section three is the filter rod portion next to the middle section one. The middle section four is the filter rod portion next to the middle section two. And so on, the middle n section is the filter rod portion next to the middle n-2 section.

[0071] Specifically, if the number of elements is three, the basic structure of the filter rod needs to be segmented into three parts, and the near-smoke segment attributes, near-lip segment attributes and middle segment attributes are determined as optional additional attributes corresponding to the target filter rod, and the additional attribute values ​​of the near-smoke segment attributes, near-lip segment attributes and middle segment attributes are used to perform segmentation processing and adjust the structure type and filling color to obtain the target filter rod structure diagram corresponding to the target filter rod.

[0072] For example, for example, Figure 4 An example diagram of basic filter rod information and optional additional properties is given. Figure 4 , the basic information of the filter rod includes the length of the mouthpiece (the length of a single filter rod), the number of elements and the number of cuts (the number of cutters). Optional additional attributes include the near-smoke segment attributes, the near-lip segment attributes and the middle segment attributes. The near-smoke segment attributes include the length, structure type and filling color of the near-smoke segment. The near-lip segment attributes include the length, structure type and filling color of the near-lip segment. The middle segment attributes include the length, structure type and filling color of the middle segment. Among them, the user input includes the mouthpiece length of 30, the number of elements is 3, the number of cuts is 6, that is, 6 cuts, the length of the near-smoke segment is 10, the structure type of the near-smoke segment is acetate fiber, the filling color of the near-smoke segment is white, the length of the near-lip segment is 10, the structure type of the near-lip segment is hollow core, the filling color of the near-lip segment is yellow, the length of the middle segment is 10, the structure type of the middle segment is groove, and the filling color of the middle segment is brown. The unit of length is millimeter.

[0073] S270: Determine a target filter rod structure diagram corresponding to the target filter rod based on the additional attribute value input by the user and the filter rod basic structure.

[0074] Among them, when there are at least two single filter rods in the target filter rod structure diagram, the adjacent single filter rods are connected by the near-smoke segments and the near-smoke segments or the near-lip segments and the near-lip segments. The advantage of this arrangement is that it can more clearly show the arrangement of the single filter rods during production, so that each single filter rod is arranged based on a unified arrangement standard, further improving the filter rod production efficiency.

[0075] On the basis of the above technical solution, "determining the target filter rod structure diagram corresponding to the target filter rod based on the additional attribute values ​​input by the user and the basic structure of the filter rod" may include: structurally adjusting the basic structure of the filter rod based on the attribute values ​​corresponding to the near-smoke segment attributes input by the user, and obtaining the selected filter rod structure corresponding to the target filter rod; if it is detected that there are no other additional attribute values, then determining the selected filter rod structure diagram corresponding to the selected filter rod structure as the target filter rod structure diagram corresponding to the target filter rod.

[0076] The filter rod structure to be selected may refer to the filter rod structure obtained after each adjustment according to the additional attribute value. In this embodiment, there is a priority between the selectable additional attributes, the near smoke segment attribute takes precedence over the near lip segment attribute, and the near lip segment attribute takes precedence over the middle segment attribute.

[0077] Specifically, the filter rod basic structure is preferentially adjusted based on the attribute value corresponding to the near-smoke segment attribute input by the user to obtain the filter rod structure to be selected corresponding to the target filter rod. If it is detected that there are other additional attribute values, such as the attribute value corresponding to the near-lip segment attribute, the basic structure to be selected is further adjusted based on the attribute value corresponding to the near-lip segment attribute to obtain the adjusted filter rod structure to be selected. If it is detected that there are no other additional attribute values, such as the attribute value corresponding to the middle segment attribute, the filter rod structure to be selected is used to realize the generation of the filter rod structure diagram to be selected, and the filter rod structure diagram to be selected corresponding to the filter rod structure to be selected is determined as the target filter rod structure diagram corresponding to the target filter rod.

[0078] The technical solution of the embodiment of the present invention determines the total length of the filter rod corresponding to the target filter rod based on the length of a single filter rod and the number of cutters; determines the filter rod basic structure corresponding to the target filter rod based on the total length of the filter rod and the preset filter rod width, so that the number of filter rods contained in the filter rod basic structure can be expanded by using the number of cutters, and then a filter rod basic structure with high production efficiency can be constructed according to production needs, further improving the production efficiency of the filter rod. If the number of elements is one, the near smoke segment attribute is determined as the optional additional attribute corresponding to the target filter rod; if the number of elements is two, the near smoke segment attribute and the near lip segment attribute are determined as the optional additional attributes corresponding to the target filter rod; if the number of elements is greater than or equal to three, the near smoke segment attribute, the near lip segment attribute and the middle segment attribute are determined as the optional additional attributes corresponding to the target filter rod; thus, the optional additional attributes corresponding to different segments can be opened to users according to different numbers of elements, so that users can accurately input the desired additional attribute values, and then accurately generate the target filter rod structure diagram corresponding to the target filter rod, further improving the efficiency and accuracy of determining the target filter rod structure diagram.

[0079] The following is an embodiment of a filter rod structure diagram determination device provided in an embodiment of the present invention. The device and the filter rod structure diagram determination method of the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the filter rod structure diagram determination device, reference can be made to the embodiment of the above-mentioned filter rod structure diagram determination method.

[0080] Embodiment 3

[0081] Figure 5 This is a schematic diagram of the structure of a filter rod structure diagram determination device provided in Embodiment 3 of the present invention. Figure 5 As shown, the device includes: a filter rod basic information acquisition module 510, a filter rod basic structure determination module 520 and a target filter rod structure diagram determination module 530.

[0082] Among them, the filter rod basic information acquisition module 510 is used to obtain the filter rod basic information corresponding to the target filter rod input by the user; the filter rod basic structure determination module 520 is used to determine the filter rod basic structure and optional additional attributes corresponding to the target filter rod based on the filter rod basic information, so that the user can input attribute values ​​for the optional additional attributes; the target filter rod structure diagram determination module 530 is used to determine the target filter rod structure diagram corresponding to the target filter rod based on the additional attribute values ​​and the filter rod basic structure input by the user.

[0083] The technical solution of the embodiment of the present invention obtains the basic information of the filter rod corresponding to the target filter rod input by the user; determines the basic filter rod structure and optional additional attributes corresponding to the target filter rod based on the basic filter rod information, so that the user can input attribute values ​​for the optional additional attributes; based on the additional attribute values ​​and the basic filter rod structure input by the user, accurately and conveniently determines the target filter rod structure diagram corresponding to the target filter rod, thereby improving the efficiency of determining the target filter rod structure diagram, and the user can flexibly adjust the target filter rod structure diagram by adjusting the input basic filter rod information and additional attribute values.

[0084] On the basis of the above technical solution, the basic information of the filter rod includes: the length, number of elements and number of cutters of a single filter rod;

[0085] The filter rod basic structure determination module 520 may include:

[0086] A filter rod basic structure determination submodule is used to determine the filter rod basic structure corresponding to the target filter rod based on the length of a single filter rod and the number of cutters;

[0087] The optional additional attribute determination submodule is used to determine the optional additional attributes corresponding to the target filter rod based on the number of elements.

[0088] Based on the above technical solution, the filter rod basic structure determination submodule is specifically used to: determine the total length of the filter rod corresponding to the target filter rod based on the length of a single filter rod and the number of cutters; determine the filter rod basic structure corresponding to the target filter rod based on the total length of the filter rod and the preset filter rod width.

[0089] On the basis of the above technical scheme, the optional additional attribute determination submodule is specifically used for: if the number of elements is one, the near smoke segment attribute is determined as the optional additional attribute corresponding to the target filter rod; if the number of elements is two, the near smoke segment attribute and the near lip segment attribute are determined as the optional additional attributes corresponding to the target filter rod; if the number of elements is greater than or equal to three, the near smoke segment attribute, the near lip segment attribute and the middle segment attribute are determined as the optional additional attributes corresponding to the target filter rod; wherein, the middle segment is located between the near smoke segment and the near lip segment.

[0090] Based on the above technical solution, the near-smoke segment attributes include: the near-smoke segment length and the structural type and filling color of the near-smoke segment length; the near-lip segment attributes include: the near-lip segment length and the structural type and filling color of the near-lip segment length; the middle segment attributes include: the middle segment length and the structural type and filling color of the middle segment length.

[0091] On the basis of the above technical solution, the target filter rod structure diagram determination module 530 is specifically used to: structurally adjust the filter rod basic structure based on the attribute value corresponding to the near-smoke segment attribute input by the user, and obtain the selected filter rod structure corresponding to the target filter rod; if it is detected that there are no other additional attribute values, the selected filter rod structure diagram corresponding to the selected filter rod structure is determined as the target filter rod structure diagram corresponding to the target filter rod.

[0092] On the basis of the above technical solution, when there are at least two single filter rods in the target filter rod structure diagram, adjacent single filter rods are connected by near-smoke segments and near-smoke segments or near-lip segments and near-lip segments.

[0093] The filter rod structure diagram determining device provided in the embodiment of the present invention can execute the filter rod structure diagram determining method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the filter rod structure diagram determining method.

[0094] It is worth noting that in the embodiment determined by the above filter rod structure diagram, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0095] Embodiment 4

[0096] Figure 6A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0097] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0098] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0099] The processor 11 can be various general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the filter rod structure diagram determination method.

[0100] In some embodiments, the filter rod structure diagram determination method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the filter rod structure diagram determination method described above can be executed. Alternatively, in other embodiments, processor 11 can be configured to execute the filter rod structure diagram determination method by any other appropriate means (e.g., by means of firmware).

[0101] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0102] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0103] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0104] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0105] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0106] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0107] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the filter rod structure diagram determination method provided in any embodiment of the present application.

[0108] Computer program product can be written in one or more programming languages ​​or their combination to perform the computer program code of the present invention in the process of realization, and programming language comprises object-oriented programming language, such as Java, Smalltalk, C++, also comprises conventional procedural programming language, such as " C " language or similar programming language.Program code can be executed completely on user's computer, partially on user's computer, executed as an independent software package, partly on user's computer and partly on remote computer, or executed completely on remote computer or server.In the situation relating to remote computer, remote computer can be connected to user's computer by network of any type---comprising local area network (LAN) or wide area network (WAN), or, can be connected to external computer (for example, utilizing Internet service provider to connect by Internet).This program product and the disclosed filter rod structure diagram determination method of each embodiment of the application belong to identical inventive concept, therefore do not repeat them here.

[0109] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0110] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining a filter rod structure diagram, characterized in that: include: Obtain basic filter rod information corresponding to the target filter rod input by the user; Determine the filter rod basic structure and optional additional attributes corresponding to the target filter rod based on the filter rod basic information, so that the user can input attribute values ​​for the optional additional attributes; Based on the additional attribute value input by the user and the filter rod basic structure, a target filter rod structure diagram corresponding to the target filter rod is determined.

2. The method according to claim 1, characterized in that The basic information of the filter rod includes: the length, number of elements and number of cutters of a single filter rod; The determining of the filter rod basic structure and optional additional attributes corresponding to the target filter rod based on the filter rod basic information includes: Determining a filter rod infrastructure corresponding to the target filter rod based on the length of the single filter rod and the number of cutters; An optional additional attribute corresponding to the target filter rod is determined based on the number of digits.

3. The method according to claim 2, characterized in that The step of determining the filter rod infrastructure corresponding to the target filter rod based on the length of the single filter rod and the number of cutters comprises: Determining the total length of filter rods corresponding to the target filter rod based on the length of the single filter rod and the number of cutters; Based on the total length of the filter rod and the preset filter rod width, a filter rod basic structure corresponding to the target filter rod is determined.

4. The method according to claim 2, characterized in that: The step of determining the optional additional attribute corresponding to the target filter rod based on the number of elements includes: If the number is one, the near smoke segment attribute is determined as an optional additional attribute corresponding to the target filter rod; If the number of elements is two, the near-smoke segment attribute and the near-lip segment attribute are determined as optional additional attributes corresponding to the target filter rod; If the number of elements is greater than or equal to three, the near-smoke segment attribute, the near-lip segment attribute and the middle segment attribute are determined as optional additional attributes corresponding to the target filter rod; Wherein, the middle section is located between the smoke-prone section and the lip-prone section.

5. The method according to claim 4, characterized in that The near smoke segment attributes include: the near smoke segment length and the structure type and filling color of the near smoke segment length; The proximal lip segment attributes include: proximal lip segment length, and the structural type and filling color of the proximal lip segment length; The middle segment attributes include: the middle segment length and the structure type and filling color of the middle segment length.

6. The method according to claim 1, characterized in that The step of determining a target filter rod structure diagram corresponding to the target filter rod based on the additional attribute value input by the user and the filter rod basic structure comprises: Adjusting the filter rod basic structure based on the attribute value corresponding to the near-smoke segment attribute input by the user to obtain a filter rod structure to be selected corresponding to the target filter rod; If it is detected that no other additional attribute values ​​exist, the candidate filter rod structure diagram corresponding to the candidate filter rod structure is determined as the target filter rod structure diagram corresponding to the target filter rod.

7. The method according to claim 1, characterized in that When there are at least two single filter rods in the target filter rod structure diagram, adjacent single filter rods are connected by smoke-proximal sections or lip-proximal sections.

8. A filter rod structure diagram determining device, characterized in that: The device comprises: A filter rod basic information acquisition module is used to acquire the filter rod basic information corresponding to the target filter rod input by the user; A filter rod basic structure determination module, used to determine the filter rod basic structure and optional additional attributes corresponding to the target filter rod based on the filter rod basic information, so that the user can input attribute values ​​for the optional additional attributes; The target filter rod structure diagram determining module is used to determine the target filter rod structure diagram corresponding to the target filter rod based on the additional attribute value input by the user and the filter rod basic structure.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the filter rod structure diagram determination method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for determining the filter rod structure diagram as described in any one of claims 1 to 7 is implemented.