A method for storing cutting graphic data of intelligent cutting machine system
By analyzing the historical data of fixed patch cropping graphics, determining the clamping and preparation correlation between different categories, and adjusting the storage method according to the necessity of module storage, the problem of wrong storage in the existing technology is solved, and data management efficiency and graphics are improved Display rate.
Patent Information
- Application Number
- CN202411223095.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-09-03
AI Technical Summary
In the prior art, the storage of fixed patch-cut graphics according to the category is prone to incorrect storage, resulting in the inability of users to efficiently manage and make full use of graphics-related data during actual use.
By obtaining historical data of fixed patch cropping patterns, we determine the crop preparation correlation between different types of cropping patterns, based on this, analyze the module storage necessity of each category of cropping patterns, and use the target storage method to analyze the current cropping patterns. Data is stored.
By analyzing the crop preparation correlation of different categories of cropping graphics, the necessity of module storage for each category can be calculated, so as to quickly determine the categories of cropping graphics that can be stored by modules, improve storage accuracy, and improve the graphic display rate.
Smart Images

Figure CN118760776B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method for storing cutting graphic data of an intelligent cutting machine system in the field of data processing technology. Background Art
[0002] Medical catheters are commonly used medical devices in clinical practice, such as urinary catheters, nasogastric tubes, oxygen inhalation tubes, abdominal drainage tubes, chest drainage tubes, etc. In addition to the variety of medical catheters, their specifications are also different, and each catheter has a variety of different specifications. After the patient wears or implants a medical catheter, it needs to be effectively and properly fixed to ensure that the medical catheter does not fall off, dislocate, or cause unplanned extubation. In order to prevent the above situations from happening, the medical catheter needs to be fixed on the body surface using a platform-lifting method to adhere the catheter to the skin.
[0003] The surface fixation dressing currently used in clinical practice can be automatically cut by an intelligent cutting machine, which can cut out the dressing material corresponding to the pattern. The medical tape equipped with the device is low-priced, and the entire equipment does not require manual cutting, which can reduce patients' medical expenses and help medical staff save time costs.
[0004] The storage of fixed patch graphic data is usually classified according to the usage category of the fixed patch, and the fixed patch graphic data of the same category is stored in the database. When there are more categories of fixed patches, more detailed shapes within the category, and possible changes in the storage structure caused by system updates, the storage of fixed patch cutting graphics by category is prone to erroneous storage, resulting in the inability of users to achieve efficient management and full utilization of graphic-related data during actual use. Summary of the invention
[0005] In order to solve the technical problem that the storage of fixed application cutting patterns according to categories in the prior art is prone to erroneous storage, the purpose of the present invention is to provide a cutting pattern data storage method for an intelligent cutting machine system, and the technical solution adopted is as follows:
[0006] In a first aspect, an embodiment of the present invention provides a method for storing cutting graphic data of an intelligent cutting machine system, the method comprising:
[0007] Obtain historical data related to fixed application cutting patterns;
[0008] Determining the cutting preparation correlation between different categories of cutting patterns based on the historical related data;
[0009] Based on the cutting preparation association, determining the necessity of module storage of the different categories of cutting graphics;
[0010] Determining a target storage mode based on the necessity of module storage of the clipped graphics;
[0011] Based on the target storage mode, the current clipping graphic data is stored.
[0012] In combination with the first aspect above, in some possible implementations, obtaining historical data related to the fixed application cutting pattern includes:
[0013] Obtaining user identity information and graphic information of the fixed application cutting graphic match;
[0014] The graphic information is cropped and split based on the user identity information to obtain the historical related data.
[0015] In the above manner, the cutting operations are split according to the user identity information, so that the historical relevant data of the fixed application cutting pattern corresponding to each cutting operation can be obtained more accurately.
[0016] In combination with the first aspect, in some possible implementations, determining the cutting preparation association between different categories of cutting graphics based on the historical related data includes:
[0017] Based on the historical related data, the clipping operations corresponding to the clipping graphics of different categories are processed in segments to obtain a plurality of clipping operation segments;
[0018] Based on the plurality of cutting operation segments, cutting preparation associations between the cutting patterns of different categories are determined.
[0019] In the above manner, by segmenting multiple cutting operations, the cutting preparation correlation between different types of cutting graphics can be analyzed more accurately according to each cutting operation segment.
[0020] In combination with the first aspect, in some possible implementations, segmenting the cropping operations corresponding to the cropping graphics of different categories based on the historical related data to obtain multiple cropping operation segments includes:
[0021] Determining the style of a single clipping graphic in the history-related data;
[0022] Based on the style of the single cropping graphic, the cropping operations corresponding to the cropping graphics of different categories are segmented to obtain the multiple cropping operation segments.
[0023] In the above manner, the changes in multiple cropping operations are segmented by the style of a single cropping graphic, so that multiple cropping operation segments can be obtained more accurately.
[0024] In combination with the first aspect, in some possible implementations, segmenting the cropping operations corresponding to the cropping graphics of different categories based on the style of the single cropping graphic to obtain the multiple cropping operation segments includes:
[0025] Extracting the cropping quantity of the cropping operation corresponding to the single cropping graphic based on the style of the single cropping graphic;
[0026] Determine the operation segmentation point based on the cropping quantities of two adjacent cropping operations in time sequence;
[0027] Based on the operation segmentation points, the cropping operations corresponding to the cropping graphics of different categories are divided into the multiple cropping operation segments.
[0028] In the above method, by analyzing the cropping quantities of two adjacent cropping operations in time sequence, the operation segmentation points are determined on the cropping graph, and then the cropping operation can be quickly and accurately divided into multiple cropping operation segments according to the operation segmentation points.
[0029] In combination with the first aspect, in some possible implementations, determining the cutting preparation association between the different categories of cutting graphics based on the multiple cutting operation segments includes:
[0030] Determining the consistency of the cropping operation areas of the plurality of cropping operation segments;
[0031] Based on the consistency of the cutting operation areas of the plurality of cutting operation segments, the cutting preparation association between the cutting patterns of different categories is determined.
[0032] In the above manner, by analyzing the consistency of the cutting operation areas of each cutting operation segment, the quantity change of the cutting patterns in each cutting operation segment is reflected, so as to more accurately calculate the cutting preparation correlation between different types of cutting patterns.
[0033] In combination with the first aspect, in some possible implementations, determining the consistency of the cropping operation areas of the multiple cropping operation segments includes:
[0034] Determining the length of each cutting operation segment in the plurality of cutting operation segments;
[0035] Based on the lengths of the respective cropping operation segments, the consistency of the cropping operation regions within the respective cropping operation segments is determined.
[0036] In the above manner, by analyzing the length of each cutting operation segment, the quantity change of the cutting patterns in each cutting operation segment can be quickly calculated to obtain the consistency of the cutting operation area in each cutting operation segment.
[0037] In combination with the first aspect, in some possible implementations, determining the cutting preparation association between the different categories of cutting graphics based on the consistency of the cutting operation areas of the multiple cutting operation segments includes:
[0038] Based on the consistency of the cropping operation regions of the plurality of cropping operation segments, determining difference information between the consistency of the cropping operation regions of different cropping operation segments;
[0039] Determine, in chronological order, overlapping operation segments between the cropping operation segments corresponding to the cropping graphics of different categories;
[0040] Determining local cutting preparation associations of the different categories of cutting graphics based on the overlapping operation segments and the difference information;
[0041] Based on the local cutting and preparation relevance and the number of fixed application cutting patterns in the overlapping operation section, the cutting and preparation relevance between the cutting patterns of different categories is determined.
[0042] In the above method, by combining the local cutting and preparation correlation of different categories of cutting patterns with the number of fixed application cutting patterns included in the overlapping operation segment, the mutual influence between different categories of cutting patterns can be accurately analyzed, thereby improving the accuracy of calculating the cutting and preparation correlation.
[0043] In combination with the first aspect, in some possible implementations, determining the necessity of module storage of the different categories of cutting graphics based on the cutting preparation association includes:
[0044] For any category of cutting patterns, determining a difference in cutting preparation relevance between the cutting patterns of any category and cutting patterns of other categories;
[0045] The difference is normalized to obtain the module storage necessity of any category of the clipping graphics.
[0046] In combination with the first aspect, in some possible implementations, determining the target storage mode based on the necessity of module storage of the clipping graphic includes:
[0047] If the necessity of module storage of the cropping pattern is greater than a preset threshold, determining that the target storage mode of the cropping pattern is a module storage mode;
[0048] If the module storage necessity of the cropping pattern is not greater than the preset threshold, it is determined that the target storage mode of the cropping pattern is the historical storage mode of the cropping pattern.
[0049] In the above manner, by setting a threshold, the storage necessity of the analysis module is analyzed to see whether it is greater than the preset threshold, thereby quickly and accurately adjusting the target storage method of the cropping pattern, thereby improving the accuracy of the cropping pattern storage.
[0050] In a second aspect, a cutting graphic data storage device of an intelligent cutting machine system is provided, the device comprising:
[0051] An acquisition module, used to acquire historical data related to the fixed application cutting pattern;
[0052] A first determination module, configured to determine the cutting preparation relevance between different categories of cutting patterns based on the historical related data;
[0053] A second determination module, configured to determine the necessity of module storage of the different categories of cutting patterns based on the cutting preparation association;
[0054] A third determination module, configured to determine a target storage mode based on the necessity of module storage of the clipping graphic;
[0055] The storage module is used to store the current clipping graphic data based on the target storage mode.
[0056] According to a third aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method according to the first aspect or any possible implementation of the first aspect.
[0057] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0058] The present invention has the following beneficial effects: after obtaining the historical relevant data of the fixed application cutting pattern, the cutting preparation correlation between the cutting patterns of different categories is determined through the historical relevant data, so that the mutual influence between the cutting patterns of different categories is reflected through the cutting preparation correlation. Afterwards, based on the cutting preparation correlation, the necessity of module storage of the cutting patterns of different categories is determined; and based on the necessity of module storage of the cutting patterns, the target storage method is determined; in this way, by analyzing the cutting preparation correlation of the cutting patterns of different categories, the necessity of module storage of the cutting patterns of each category is calculated, so that the category of the cutting patterns that can be stored in the module can be quickly determined, and then it is convenient to store the current cutting pattern data according to the target storage method. In this way, by calculating the target storage method of the cutting patterns of each category, the historical storage method of the cutting patterns of each category can be adjusted in time, so that a more reasonable target storage method is adopted to store the cutting patterns of each category, so that the storage accuracy can be improved, and the graphic display rate can also be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. 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 paying creative work.
[0060] Figure 1 It is a schematic diagram of the implementation flow of a method for storing cutting graphic data of an intelligent cutting machine system provided by an embodiment of the present invention;
[0061] Figure 2 It is a schematic diagram of an application scenario of a method for storing cutting graphic data of an intelligent cutting machine system provided by an embodiment of the present invention;
[0062] Figure 3 It is a schematic diagram of the implementation framework of a method for storing cutting graphic data of an intelligent cutting machine system provided by an embodiment of the present invention;
[0063] Figure 4 It is another implementation flow diagram of a method for storing cutting graphic data of an intelligent cutting machine system provided by an embodiment of the present invention;
[0064] Figure 5 It is a schematic diagram of the composition structure of a cutting operation segment of a cutting graphic data storage method of an intelligent cutting machine system provided by an embodiment of the present invention;
[0065] Figure 6It is a schematic diagram of the composition structure of the overlapping operation segment of a cutting graphic data storage method of an intelligent cutting machine system provided by an embodiment of the present invention;
[0066] Figure 7 This is another application scenario schematic diagram of a method for storing cutting graphic data of an intelligent cutting machine system provided by an embodiment of the present invention;
[0067] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0068] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the cutting graphic data storage method of an intelligent cutting machine system proposed by the present invention, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0069] Among them, in the description of the embodiments of the present invention, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present invention, "multiple" refers to two or more than two.
[0070] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0071] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0072] The following is a detailed description of the specific scheme of the cutting graphic data storage method of the intelligent cutting machine system provided by the present invention in conjunction with the accompanying drawings. Figure 1 , which shows a flow chart of a method for storing cutting graphic data of an intelligent cutting machine system provided by an embodiment of the present invention, the method comprising:
[0073] Step 101, obtaining historical data related to the fixed patch cutting pattern.
[0074] Here, in the smart cutting machine system, the relevant data of the smart cutting machine when in use is collected through the application programming interface (API), mainly collecting the data of the user's interaction with the smart cutting machine to obtain the historical relevant data. Figure 2 As shown, the application interface presents cutting graphics 21 and 22, as well as categories 1 to 10, etc. The user terminal inputs corresponding operation instructions on the application interface to implement graphic cutting. The framework of the intelligent cutting machine system is shown in FIG. Figure 3 As shown, the functional modules of the intelligent cutting machine system include: identity authentication module 301, graphic module 302 and user module 303; wherein, the identity authentication module 301 includes: one-key login for identity identification 311. The graphic module 302 includes: graphic cutting 321, graphics to be cut 322 and graphic classification 323; the user module 303 includes: basic user information 331, order information 332 and my collection 333.
[0075] In some possible implementations, the user identity information and graphic information matching the fixed patch cutting graphic are obtained; then the graphic information is split into cutting operations based on the user identity information to obtain the historical related data. Among them, the user identity information includes: the user's identity identification, such as the user's ID number, etc. The graphic information includes: the category of the cutting graphic, the specific size of each cutting graphic (accurate to a specific value) and the time when the operation is performed (accurate to a specific moment). Since each time a user uses the smart cutting machine to cut a patch, there is a process of logging in, adding to a purchase, and placing an order, it is chosen here to split the interactive information according to the logged-in identity identification, and all the information after the split is regarded as a complete cutting operation, thereby obtaining the historical related data of the fixed patch cutting graphic. In this way, the cutting operation is split according to the user identity information, so that the historical related data of the fixed patch cutting graphic corresponding to each cutting operation can be obtained more accurately.
[0076] Step 102: determining the cutting preparation correlation between cutting patterns of different categories based on the historical related data.
[0077] Here, the cutting preparation association represents the association between categories when the fixed application cutting pattern is cut, and is used to adjust the storage method of the cutting pattern.
[0078] In some possible implementations, during the use of the cutting patterns of fixed patches, different categories of cutting patterns of fixed patches are usually cut and stored in batches. And in multiple batch cutting and storage processes, there are often different category combinations. Therefore, it is possible to choose to modularize the cutting patterns according to the category combination change characteristics of multiple batch cutting and storage processes in actual use. In order to cope with changes in the system storage structure and improve the graphic display rate, it is necessary to analyze the impact of the cutting pattern category and the relationship between the cutting together in the cutting and storage process, and adjust the storage relationship between different cutting pattern categories. The above step 102 can be performed by Figure 4 The steps shown achieve:
[0079] Step 401 : Based on the historical related data, the clipping operations corresponding to the clipping graphics of different categories are segmented to obtain a plurality of clipping operation segments.
[0080] Here, the cropping operation is segmented by the style of a single cropping pattern to obtain multiple cropping operation segments. Each cropping operation segment includes at least one cropping quantity of a single cropping pattern. The style of a single cropping pattern refers to a cropping pattern with the same shape and size.
[0081] In some possible implementations, the above step 401 may be implemented by the following steps 411 and 412 (not shown):
[0082] Step 411, determining the style of a single clipping graphic in the history-related data.
[0083] Here, since the historical related data includes the categories of the cropping figures, that is, the size of each cropping figure, the style of a single cropping figure can be obtained through the size of each cropping figure in the historical related data.
[0084] Step 412: Based on the style of the single cropping graphic, the cropping operations corresponding to the cropping graphics of different categories are segmented to obtain the multiple cropping operation segments.
[0085] Here, the cutting quantity of the single cutting pattern in different operations is analyzed through the style of a single cutting pattern, and the operation segmentation point is determined on the cutting operation through the cutting quantity, so that the cutting operations corresponding to the cutting patterns of different categories can be divided into multiple cutting operation segments through the operation segmentation point. In this way, the changes in multiple cutting operations are segmented through the style of a single cutting pattern, so that multiple cutting operation segments can be obtained more accurately.
[0086] In some possible implementations, first, based on the style of the single cropping pattern, the cropping quantity of the cropping operation corresponding to the single cropping pattern is extracted. For example, the style of a single cropping pattern refers to a cropping pattern with the same shape and size. The cropping quantity of the single cropping pattern in different operations is extracted. Extract to get the cropping quantity.
[0087] Then, the operation segmentation point is determined based on the cropping quantities of two cropping operations that are adjacent in time sequence.
[0088] Here, the number of clippings of the clipping graphs of two adjacent operations in time sequence is subtracted. ,in, represents the number of cuts in the i-th cut operation, Indicates the number of cuts in the i-1th cropping operation. , the location of the cropping operation is used as the operation segmentation point.
[0089] Finally, based on the operation segmentation points, the clipping operations corresponding to the clipping graphics of different categories are divided into the multiple clipping operation segments.
[0090] Here, multiple operations are divided into cutting operation segments by operation segmentation points. Different cutting operation segments have different lengths, and only the operation nodes with the cutting quantity in the cutting graph are extracted. Figure 5 As shown, the horizontal axis represents the cutting date, and the vertical axis represents the number of single-category cutting graphics; Figure 5 In the figure, three cropping operation segments are presented, namely, cropping operation segment 1, cropping operation segment 2, and cropping operation segment 3. In this way, by analyzing the cropping quantities of two adjacent cropping operations in time sequence, the operation segmentation points are determined on the cropping graph, and then the cropping operation can be quickly and accurately divided into multiple cropping operation segments according to the operation segmentation points.
[0091] Step 402: determining the cutting preparation association between the cutting graphics of different categories based on the multiple cutting operation segments.
[0092] Here, the consistency of the cutting operation area in each cutting operation segment is analyzed to further calculate the cutting preparation correlation between different types of cutting patterns. In this way, by segmenting multiple cutting operations, the cutting preparation correlation between different types of cutting patterns can be analyzed more accurately according to each cutting operation segment.
[0093] In some possible implementations, since different users have certain differences in type and quantity in the batch preparation process of fixed patch cutting patterns on the smart cutting machine, it is chosen here to regard the operations of multiple users on a single smart cutting machine as the common cutting needs of the relevant departments or corresponding areas in their hospital, that is, as multiple operations of the same user. Due to the chronological order of cutting of the types of fixed patch patterns performed in the same cutting operation, it is meaningless to analyze the cutting preparation correlation between cutting patterns. Only the change in the number of categories in multiple cutting operations can reflect the correlation between certain cutting categories, that is, the categories of cutting patterns are prepared together, reflecting that the consumption speed of the corresponding fixed patches is similar, and it is likely that combined fixation is required during the catheter fixation process, thereby determining the cutting preparation correlation between different cutting patterns. The above step 402 can be implemented by the following steps 421 and 422 (not shown in the figure):
[0094] Step 421: Determine the consistency of the cropping operation regions of the plurality of cropping operation segments.
[0095] Here, the consistency of the cutting operation area of each cutting operation segment is used to indicate the change in the number of cutting patterns within the cutting operation segment. In some possible implementations, the length of each cutting operation segment among the multiple cutting operation segments is determined; and based on the length of each cutting operation segment, the consistency of the cutting operation area within each cutting operation segment is determined. Among them, the number of cutting patterns within each cutting operation segment shows a decreasing or constant trend, and this trend can reflect the replenishment of the cutting reserve after consumption of daily fixed application. For the cutting patterns within the cutting operation segment, the shorter the cutting operation segment, the more accurate the correlation of the cutting patterns analyzed within the cutting operation segment, which can be expressed as the consistency of the cutting operation area. , as shown in formula (1):
[0096] (1);
[0097] in, Indicates the length of the rth cutting operation segment, and the number of cutting graphics categories that are less in this period of time is supplemented in preparation, and exp represents an exponential function with a natural constant as the base. In this way, by analyzing the length of each cutting operation segment, the number change of cutting graphics in each cutting operation segment can be quickly calculated to obtain the consistency of the cutting operation area in each cutting operation segment.
[0098] Step 422: determining the cutting preparation association between the cutting graphics of different categories based on the consistency of the cutting operation areas of the plurality of cutting operation segments.
[0099] Here, the difference information between the consistency of the cutting operation regions of each cutting operation segment is analyzed, and the cutting preparation correlation between the cutting patterns of different categories is calculated by combining the difference information and the overlapping operation segments between the cutting operation segments corresponding to the cutting patterns of different categories. In this way, by analyzing the consistency of the cutting operation regions of each cutting operation segment, the change in the number of cutting patterns in each cutting operation segment is reflected, so as to more accurately calculate the cutting preparation correlation between the cutting patterns of different categories.
[0100] In some possible implementations, the cutting preparation association between the cutting graphics is mainly manifested as the change of cutting categories of multiple operations. The above step 422 can be implemented by the following process:
[0101] First, based on the consistency of the cropping operation regions of the plurality of cropping operation segments, difference information between the consistency of the cropping operation regions of different cropping operation segments is determined.
[0102] Here, based on the consistency of the cropping operation regions of any two cropping operation segments, the difference information between the consistency of the cropping operation regions of the two cropping operation segments is determined. For example, for cropping operation segment a and cropping operation segment b, the cropping graph is calculated. The consistency of the cropping operation area of the cropping operation segment and the cropping graphics The difference between the consistency of the cropping operation areas of the cropping operation segments is calculated, and the absolute value of the difference is used as the difference information.
[0103] Secondly, the overlapping operation segments between the cropping operation segments corresponding to the cropping graphics of different categories are determined in time sequence.
[0104] Here, the cropping operation segments corresponding to cropping graphics of different categories are arranged in chronological order, and the overlapping parts of the cropping operation segments corresponding to the cropping graphics of each category after arrangement are analyzed to obtain overlapping operation segments. Since the cropping operation segments of the corresponding cropping graphics of different categories will have a certain overlap when arranged in chronological order, it is necessary to analyze the overlapping operation segments of the cropping operation segments of the cropping graphics of each category. This overlapping operation segment is the process in which the two cropping graphics in the actual use scenario have cropping backup in the same operation. Among them, the overlapping operation segment is as follows: Figure 6 As shown, the horizontal axis represents the cropping graphic category, and the vertical axis represents the date. For category a and category b, the cropping operation segments of category a include: cropping operation segment 61, cropping operation segment 62 and cropping operation segment 63; the cropping operation segments of category b include: cropping operation segment 64, cropping operation segment 65 and cropping operation segment 66; Figure 6 As shown, the cropping operation segments 64, 65 and 66 are overlapping operation segments between categories a and b.
[0105] Thirdly, based on the overlapping operation segments and the difference information, the local cutting preparation associations of the different categories of cutting patterns are determined.
[0106] Here, the proportion of overlapping operation segments of the cropping operation segments of the cropping graphics is The larger the value is, and the smaller the difference in consistency of the cropping operation area of the cropping operation segment is, the more relevant the local cropping preparation of the cropping operation segments of the two cropping graphics is. , if formula (2) is as follows:
[0107] (2);
[0108] in, Indicates clipping graphics and crop graphics The length of the overlapping operation segment of the cropping operation segment, Indicates clipping graphics The consistency of the cropping operation area of the cropping operation segment, Indicates clipping graphics The consistency of the cropping operation area of the cropping operation segment, Express Find the absolute value, It represents a hyperparameter, and its empirical value can be 0.1. The implementer can set the size of the hyperparameter according to the actual situation. It is used to prevent the special case where the denominator of the fraction is zero.
[0109] Finally, based on the local cutting and preparation correlation and the number of fixed application cutting patterns in the overlapping operation section, the cutting and preparation correlation between the cutting patterns of different categories is determined.
[0110] Here, for the overlapping operation segments of these two categories of cutting graphics, when they are actually consumed and replenished, due to the functional complementarity of the fixation of the catheter and the corresponding medical appliances, the number of overlapping operation segments will change in a certain proportional relationship. For example, a chest drainage tube needs a larger fixed dressing that adapts to the shape of the wound, while the body of the drainage tube requires multiple small fixed dressings. Correspondingly, there is a quantitative proportional relationship between the two types of fixed dressings. The specific steps to obtain the quantitative proportional relationship are as follows:
[0111] The first step is to extract the type through logical and judgment operations Cutting Shapes and Type A collection of overlapping operation segments for clipping graphics. Select a type first. Crop graphics and crop operation segments, logically determine whether the type exists Cut the repeated operation segment of the graphic; then determine the type based on the repeated operation segment Whether there are overlapping cropping operation segments on the cropping graph, that is, as long as two types of overlapping operation segments overlap, they should be considered to belong to the same overlapping operation segment set.
[0112] In the second step, all overlapping operation segment sets are arranged in time sequence, and the ratio of the number of two types of cropped images of each overlapping operation segment set is calculated. The sum of the number of fixed patches of multiple clipping operation segments in a set of overlapping operation segments and , as shown in formula (3):
[0113] (3);
[0114] The third step is that the larger the fluctuation of the number ratio of the corresponding different overlapping operation segment sets, the difference between the number ratio of the corresponding overlapping operation segment sets and the mean of the number ratio is used. Represents that the two types of association extraction are prepared by cutting the cutting operation segments in the overlapping operation segment set Cutting Shapes and Type The lower the confidence level of the crop preparation correlation of the cropped graphics, as shown in formula (4):
[0115] (4);
[0116] in, Indicates the cutting preparation correlation between cutting pattern a and cutting pattern b, Indicates the number of overlapping operation segments, Indicates The first The local cutting preparation correlation of the cutting operation segment, Indicates In this way, by combining the local cutting preparation correlation of different categories of cutting patterns with the number of fixed application cutting patterns included in the overlapping operation segments, the mutual influence between different categories of cutting patterns can be accurately analyzed, thereby improving the accuracy of calculating the cutting preparation correlation.
[0117] Step 103: Based on the cutting preparation association, determine the necessity of module storage of the different categories of cutting graphics.
[0118] Here, the correlation is prepared by cutting any two types of cutting patterns, and the correlation features between the categories when the cutting images are stored are analyzed, so as to analyze the necessity of module storage of cutting patterns of different categories through the correlation features.
[0119] In some possible implementations, for any category of cutting patterns, the difference in cutting preparation correlation between the cutting patterns of any category and other categories is determined; and the difference is normalized to obtain the necessity of modular storage of the cutting patterns of any category. Here, due to the differences in the actual categories of cutting patterns, it is already an effective division of existing shapes and uses. Therefore, if it is not necessary, different types of cutting patterns should not be packaged and stored in modular storage. It is necessary to analyze the correlation between the modular storage of cutting patterns from all categories of cutting patterns as a whole. The specific steps are as follows:
[0120] First, the distribution characteristics of the cropping preparation correlation between any category of cropping patterns and the cropping patterns of other categories are extracted.
[0121] Here, the cutting preparation correlation between the cutting patterns of one category and the cutting patterns of other categories is extracted, and a one-dimensional sample space is constructed. The variable is the value of the cutting preparation correlation of the cutting patterns. All the cutting patterns are dichotomized to obtain the category with a larger mean as the category to be stored in the module.
[0122] Secondly, obtain the necessity of module storage for clipping graphics between category information within the category to be stored in the module .
[0123] Here, for any two categories of information in the category to be modularly stored, the significance of the cutting and preparation relevance of the two categories of information in the category to be modularly stored is analyzed respectively. Only when the preparation relevance of the two categories and other categories shows a relatively stable correlation, is it necessary to carry out modular storage, that is, in the actual use process, the shapes of the fixed patches of the two categories are complementary in use functions and are often used and prepared at the same time, then the necessity of modular storage of cutting patterns is high. , as shown in formula (5):
[0124] (5);
[0125] in, Represents category clipping graphics and The cutting and preparation correlation, that is, the cutting and preparation correlation of cutting pattern a and cutting pattern b, Represents category clipping graphics and The cutting preparation relevance, Indicates the number of category cropping graphs. represents a regularization function, which is used to normalize the difference between the cropping preparation correlation of any category of cropping patterns and other categories of cropping patterns to obtain the module storage necessity of any category of cropping patterns. The cropping preparation correlation of two categories with other categories, such as Figure 7 As shown, the cutting and preparation associations corresponding to category a include: the cutting and preparation associations between category a and category b, and the cutting and preparation associations between category a and other categories. The cutting and preparation associations corresponding to category b include: the cutting and preparation associations between category b and category a, and the cutting and preparation associations between category b and other categories.
[0126] Step 104: Determine a target storage method based on the necessity of module storage of the clipping graphic.
[0127] Here, by setting a preset threshold, if the necessity of module storage of the cropping pattern is greater than the preset threshold, the target storage mode of the cropping pattern is determined to be the module storage mode; if the necessity of module storage of the cropping pattern is not greater than the preset threshold, the target storage mode of the cropping pattern is determined to be the historical storage mode of the cropping pattern. For example, the necessity of module storage of the cropping pattern in all links is obtained, and the preset threshold of 0.85 is used to perform module storage for the corresponding cropping pattern greater than the preset threshold, and the corresponding cropping pattern less than the preset threshold is processed according to the original storage mode. In this way, by setting a threshold, it is analyzed whether the necessity of module storage is greater than the preset threshold, so as to quickly and accurately adjust the target storage mode of the cropping pattern, thereby improving the accuracy of cropping pattern storage.
[0128] Step 105: storing the current clipping graphic data based on the target storage mode.
[0129] Here, according to the determined target storage mode, modular storage of clipped graphic data can be achieved through the following steps:
[0130] In the first step, all the cutout graphics of fixed patches are divided into multiple sets according to categories;
[0131] The second step is to merge the sets of the categories of the clipping graphics that need to be modularly stored according to the determined needs, and obtain the merged set;
[0132] The third step is to build a tree structure based on the merged set. Each merged category set is a node of the tree and is directly connected to the root node. The detailed clipping graphs are sorted as leaf nodes.
[0133] In the fourth step, the actual storage path of each subtree corresponding to the category set stores all the detailed image information of the cropped graphics in the category set, which is convenient for data reading and information update in actual use, and only overall access is required. In this way, modular storage of cropped graphic data is realized through the target storage method.
[0134] In an embodiment of the present invention, the cutting preparation correlation between different categories of cutting graphics is determined through historical related data, so that the mutual influence between different categories of cutting graphics is reflected through the cutting preparation correlation. Afterwards, based on the cutting preparation correlation, the necessity of module storage of the cutting graphics of the different categories is determined; and based on the necessity of module storage of the cutting graphics, the target storage method is determined; in this way, by analyzing the cutting preparation correlation of the cutting graphics of different categories, the necessity of module storage of each category of cutting graphics is calculated, so that the category of cutting graphics that can be stored in the module can be quickly determined, and then it is convenient to store the current cutting graphics data according to the target storage method. In this way, by calculating the target storage method of each category of cutting graphics, the historical storage method of each category of cutting graphics can be adjusted in time, so that a more reasonable target storage method is used to store the cutting graphics of this category, so that the storage accuracy can be improved, and the graphics display rate can also be improved.
[0135] An embodiment of the present invention provides a cutting graphic data storage device of an intelligent cutting machine system, the device comprising:
[0136] An acquisition module, used to acquire historical data related to the fixed application cutting pattern;
[0137] A first determination module, configured to determine the cutting preparation relevance between different categories of cutting patterns based on the historical related data;
[0138] A second determination module, configured to determine the necessity of module storage of the different categories of cutting patterns based on the cutting preparation association;
[0139] A third determination module, configured to determine a target storage mode based on the necessity of module storage of the clipping graphic;
[0140] The storage module is used to store the current clipping graphic data based on the target storage mode.
[0141] In some possible implementations, the acquisition module is further used to acquire user identity information and graphic information matched with the fixed application cutting graphic;
[0142] The graphic information is cropped and split based on the user identity information to obtain the historical related data.
[0143] In some possible implementations, the first determination module is further used to segment the cutting operations corresponding to the different categories of cutting graphics based on the historical related data to obtain multiple cutting operation segments; based on the multiple cutting operation segments, determine the cutting preparation correlation between the different categories of cutting graphics.
[0144] In some possible implementations, the first determination module is further used to determine the style of a single cropping graphic in the historical related data; based on the style of the single cropping graphic, the cropping operations corresponding to the different categories of cropping graphics are segmented to obtain the multiple cropping operation segments.
[0145] In some possible implementations, the first determination module is further used to extract the cropping quantity of the cropping operation corresponding to the single cropping graphic based on the style of the single cropping graphic; determine the operation segmentation points based on the cropping quantities of two cropping operations adjacent in time sequence; and divide the cropping operations corresponding to the different categories of cropping graphics into the multiple cropping operation segments based on the operation segmentation points.
[0146] In some possible implementations, the first determination module is further used to determine the consistency of the cutting operation areas of the multiple cutting operation segments; based on the consistency of the cutting operation areas of the multiple cutting operation segments, determine the cutting preparation association between the different categories of cutting graphics.
[0147] In some possible implementations, the first determining module is further configured to determine a length of each of the multiple cropping operation segments; and based on the length of each cropping operation segment, determine consistency of the cropping operation regions within each cropping operation segment.
[0148] In some possible implementations, the first determination module is further used to determine the difference information between the cutting operation area consistency of different cutting operation segments based on the cutting operation area consistency of the multiple cutting operation segments; determine the overlapping operation segments between the cutting operation segments corresponding to the different categories of cutting graphics in chronological order; determine the local cutting and preparation correlation of the cutting graphics of the different categories based on the overlapping operation segments and the difference information; determine the cutting and preparation correlation between the cutting graphics of the different categories based on the local cutting and preparation correlation and the number of fixed application cutting graphics in the overlapping operation segments.
[0149] In some possible implementations, the second determination module is further used to determine, for any category of cropping graphics, the difference in the cropping preparation association between the cropping graphics of any category and the cropping graphics of other categories; and normalize the difference to obtain the module storage necessity of the cropping graphics of any category.
[0150] In some possible implementations, the third determination module is further used to determine that the target storage mode of the cropping graphic is the module storage mode if the necessity of module storage of the cropping graphic is greater than a preset threshold; if the necessity of module storage of the cropping graphic is not greater than the preset threshold, determine that the target storage mode of the cropping graphic is the historical storage mode of the cropping graphic.
[0151] Optionally, the transmission medium may be a wired link (such as but not limited to coaxial cable, optical fiber and digital subscriber line (DSL), etc.) or a wireless link (such as but not limited to wireless Fidelity (WIFI), Bluetooth and mobile device network, etc.). It should be noted that the device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the method embodiments provided in the above embodiments belong to the same concept. The specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0152] Figure 8 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 8 As shown, the electronic device 800 includes: a memory 801, a processor 802, and a computer program 803 stored in the memory 801 and running on the processor 802, wherein when the processor 802 executes the computer program 803, the device can execute any of the aforementioned methods for storing cutting graphic data of an intelligent cutting machine system. In addition, the embodiment of the present invention also protects a device, which may include a memory and a processor, wherein an executable program code is stored in the memory, and the processor is used to call and execute the executable program code to execute a method for storing cutting graphic data of an intelligent cutting machine system provided by an embodiment of the present invention.
[0153] This embodiment can divide the functional modules of the device according to the above method example. For example, it can correspond to each functional module, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0154] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for storing cutting graphic data of an intelligent cutting machine system, so the same effect as the above-mentioned implementation method can be achieved. In the case of an integrated unit, the device may include a processing module and a storage module. Among them, when the device is applied to a device, the processing module can be used to control and manage the actions of the device. The storage module can be used to support the device to execute mutual program codes, etc. Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logical boxes, modules and circuits described in conjunction with the disclosure of the present invention. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module can be a memory.
[0155] In addition, the device provided in the embodiment of the present invention may be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip may execute the cutting graphic data storage method of the intelligent cutting machine system provided in the above embodiment. This embodiment also provides a computer-readable storage medium, in which a computer program code is stored, and when the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement the cutting graphic data storage method of the intelligent cutting machine system provided in the above embodiment.
[0156] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer executes the above-mentioned related steps to implement a method for storing cutting graphic data of an intelligent cutting machine system provided in the above embodiment. Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here. Through the description of the above implementation mode, the technicians in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiment described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0157] It should be noted that the sequence of the above-mentioned embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-tasking and parallel processing are also possible or may be advantageous. The various embodiments in this specification are described in a progressive manner, and the same and similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. The above content is only a specific implementation method of the present invention, but the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered within the protection scope of the present invention.
Claims
1. A method for storing cutting graphic data of an intelligent cutting machine system, characterized in that: The method comprises: Obtain historical data related to fixed dressing cutting patterns; Determining the cutting preparation correlation between different categories of cutting patterns based on the historical related data; Based on the cutting preparation association, determining the necessity of module storage of the different categories of cutting graphics; Determining a target storage mode based on the necessity of module storage of the clipped graphics; Based on the target storage mode, storing the current clipping graphic data; The method of determining the cutting preparation correlation between different categories of cutting patterns based on the historical related data includes: Based on the historical related data, the clipping operations corresponding to the clipping graphics of different categories are processed in segments to obtain a plurality of clipping operation segments; Based on the plurality of cutting operation segments, determining cutting preparation associations between the cutting patterns of different categories; The step of performing segmented processing on the clipping operations corresponding to the clipping graphics of different categories based on the historical related data to obtain a plurality of clipping operation segments includes: Determining the style of a single clipping graphic in the history-related data; Based on the style of the single cropping graphic, segmenting the cropping operations corresponding to the cropping graphics of different categories to obtain the multiple cropping operation segments; The determining, based on the plurality of cutting operation segments, the cutting preparation associations between the cutting graphics of different categories comprises: Determining the consistency of the cropping operation areas of the plurality of cropping operation segments; Determining the cutting preparation association between the cutting patterns of different categories based on the consistency of the cutting operation areas of the plurality of cutting operation segments; The determining the necessity of module storage of the different types of cutting graphics based on the cutting preparation association includes: For any category of cutting patterns, determining a difference in cutting preparation relevance between the cutting patterns of any category and cutting patterns of other categories; Normalizing the difference to obtain the module storage necessity of any category of clipping graphics; The necessity of module storage based on the clipping graphic and determining the target storage mode include: If the necessity of module storage of the cropping pattern is greater than a preset threshold, determining that the target storage mode of the cropping pattern is a module storage mode; If the module storage necessity of the cropping pattern is not greater than the preset threshold, it is determined that the target storage mode of the cropping pattern is the historical storage mode of the cropping pattern.
2. The method for storing cutting graphic data of an intelligent cutting machine system according to claim 1, characterized in that: The obtaining of historical data related to the fixed application cutting pattern includes: Obtaining user identity information and graphic information of the fixed patch cutting graphic match; The graphic information is cropped and split based on the user identity information to obtain the historical related data.
3. The method for storing cutting graphic data of an intelligent cutting machine system according to claim 1, characterized in that: The step of performing segmentation processing on the cropping operations corresponding to the cropping graphics of different categories based on the style of the single cropping graphic to obtain the multiple cropping operation segments includes: Extracting the cropping quantity of the cropping operation corresponding to the single cropping graphic based on the style of the single cropping graphic; Determine the operation segmentation point based on the cropping quantities of two adjacent cropping operations in time sequence; Based on the operation segmentation points, the cropping operations corresponding to the cropping graphics of different categories are divided into the multiple cropping operation segments.
4. The method for storing cutting graphic data of an intelligent cutting machine system according to claim 1, characterized in that: The determining the consistency of the cropping operation areas of the plurality of cropping operation segments comprises: Determining the length of each cutting operation segment in the plurality of cutting operation segments; Based on the lengths of the respective cropping operation segments, the consistency of the cropping operation regions within the respective cropping operation segments is determined.
5. The method for storing cutting graphic data of an intelligent cutting machine system according to claim 1, characterized in that: The determining the cutting preparation association between the cutting graphics of different categories based on the consistency of the cutting operation areas of the plurality of cutting operation segments includes: Based on the consistency of the cropping operation regions of the plurality of cropping operation segments, determining difference information between the consistency of the cropping operation regions of different cropping operation segments; Determine, in chronological order, overlapping operation segments between the cropping operation segments corresponding to the cropping graphics of different categories; Determining local cutting preparation associations of the different categories of cutting graphics based on the overlapping operation segments and the difference information; Based on the local cutting and preparation relevance and the number of fixed application cutting patterns in the overlapping operation section, the cutting and preparation relevance between the cutting patterns of different categories is determined.
Citation Information
Patent Citations
Content recommendation method and device, electronic equipment and medium
CN113051481A
Classification, recognition and positioning method and device, equipment and computer readable storage medium
CN113570001A
