Whole-process traceable management method, device and system for book cost information
By analyzing the cost process sequence and serial number position in the book management system, the QR code of book cost information is dynamically updated, which solves the problem of poor traceability accuracy of book cost information and achieves more efficient cost information traceability management.
Patent Information
- Application Number
- CN202411248395.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-09-06
AI Technical Summary
In the whole-process traceability management of book cost information, important cost information is easily overwritten or lost by aliasing during the dynamic update process of QR codes, resulting in poor traceability accuracy.
By obtaining the cost process sequence in the library management system in real time, analyzing the change range and serial number position of the cost information, determining the necessary indicators for dynamic adjustment, selecting the type of books to be adjusted, and using the information replacement evaluation value to dynamically update the cost information QR code at each stage , ensuring accurate traceability of cost information.
It improves the accuracy of the whole process traceability of book cost information, avoids overlapping or loss of cost information during the QR code update process, and enhances the numerical accuracy of dynamically adjusted indicators and the traceability of information.
Smart Images

Figure CN118761784A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a full-process traceability management method, equipment and system for book cost information. Background Art
[0002] The traceability management of book cost information involves the collection, encryption and traceability of cost information at multiple stages from book design to final shipment. Book cost information can be book design cost information, book paper cost information, and manufacturing process cost information of each process. The average cost of each stage depends on multiple factors, such as material cost, process complexity, labor cost, etc. For the convenience of management, a multi-round encryption algorithm is used for each stage, and a unique QR code is produced for each stage to ensure that the traceability QR code can be accurately read throughout the entire process, realizing the full-process traceability of book cost.
[0003] In the existing full-process traceability management of book cost information, in some specific circumstances, for example, improvements in book publishing processes and technologies lead to reduced production costs, increased logistics costs lead to price increases at book retail outlets, or changes in publishers, publishing countries or regions, error corrections, etc. lead to changes in the product unique identifier. All change information is used to update the specific QR code of the cost information at each stage. In the process of updating the QR code, important cost information is overlapped or lost, resulting in poor accuracy in the full-process traceability of book cost information. Summary of the invention
[0004] In order to solve the technical problem that important cost information is overlapped or lost during the dynamic update of the above-mentioned two-dimensional code, resulting in poor accuracy of the whole process traceability of book cost information, the purpose of the present invention is to provide a full process traceability management method, device and system for book cost information, and the technical scheme adopted is as follows: An embodiment of the present invention provides a full-process traceability management method for book cost information, the method comprising the following steps: Real-time acquisition of several cost process sequences of each type of book in the book management system, wherein the elements in the cost process sequence are representative values of cost information at each stage; Analyze the change range of cost information according to each element and the serial number of each element in each cost process sequence, and determine the necessary indicators for dynamic adjustment of each type of book; select the type of book to be adjusted according to the necessary indicators for dynamic adjustment; According to the necessary dynamic adjustment indicators of each type of book to be adjusted and each element in the two cost process sequences with the collection time closest to the current moment, determine the information change evaluation value of each type of book to be adjusted; Using the information change evaluation value, dynamically update the current cost information QR code of each stage of each type of book to be adjusted to obtain the updated cost information QR code of each stage; Based on the updated cost information QR code of each type of book to be adjusted at each stage, full-process traceability management of book cost information is carried out.
[0005] Furthermore, the cost information change range is analyzed according to each element and the sequence number of each element in each cost process sequence, and the necessary indicators for dynamic adjustment of each type of book are determined, including: Take any type of book as the target type of book, and determine the degree of qualitative change of the cost of the target type of book according to the difference between the elements with the same sequence number in each two adjacent cost process sequences of the target type of book and the sequence number of each stage of the target type of book in the cost process sequence; According to the qualitative change degree of the cost of target type books and two selected sequences, the necessary indicators for dynamic adjustment of target type books are determined; wherein the selected sequences are two cost process sequences whose collection time is closest to the current moment.
[0006] Furthermore, the determination of the degree of qualitative change of the cost of the target type book according to the difference between the elements with the same sequence number in each two adjacent cost process sequences of the target type book and the sequence number of each stage of the target type book in the cost process sequence includes: Take any stage as the target stage, calculate the absolute value of the difference between the representative values of the cost information of the target stage in each two adjacent cost process sequences, and take the cumulative sum of all the absolute values of the difference as the degree of change of the cost information corresponding to the target stage of the target type book; The serial number of each stage of the target type of book in the cost process sequence is negatively correlated to obtain the negative correlation value of each stage as the weight of each stage; the weight of each stage is used to perform weighted summation processing on the degree of change of the cost information corresponding to each stage to determine the degree of qualitative change of the cost of the target type of book.
[0007] Furthermore, the necessary indicators for dynamic adjustment of target type books are determined according to the qualitative change degree of the cost of target type books and the two selected sequences, including: Calculate the cumulative sum of the differences between the elements with the same serial number in the two selected sequences of target type books as the coefficient of the degree of qualitative change of the cost; Calculate the product of the degree of qualitative change of the cost of target type books and its coefficient, and normalize the product of the degree of qualitative change of the cost and its weight to obtain a normalized value; The normalized value is used as a necessary indicator for dynamic adjustment of target type books.
[0008] Furthermore, the selecting of books of the type to be adjusted according to the necessary indicators for dynamic adjustment includes: A dynamic adjustment threshold is set, and books of a type whose dynamic adjustment necessary index is greater than the dynamic adjustment threshold are regarded as books of a type to be adjusted.
[0009] Furthermore, the information change evaluation value of each type of book to be adjusted is determined according to the necessary dynamic adjustment index of each type of book to be adjusted and each element in the two cost process sequences whose collection time is closest to the current moment, including: For any type of books to be adjusted, two selected sequences of books of the type to be adjusted are determined, and each non-general information specific element is artificially selected in the selected sequence; Calculate the average value of the differences between the non-universal information specific elements with the same serial number in the two selected sequences as the non-universal information addition index for the type of books to be adjusted; The non-general information addition indicators of the books of the type to be adjusted and the necessary indicators for dynamic adjustment are integrated to obtain the information change evaluation value of the books of the type to be adjusted.
[0010] Furthermore, the information change evaluation value is used to dynamically update the current cost information QR code of each stage of each type of book to be adjusted to obtain the updated cost information QR code of each stage, including: Based on the information change evaluation value, sort each type of book to be adjusted in descending order to obtain a type book sequence; based on the type book sequence and the non-general information of each type of book to be adjusted, obtain the corresponding added cost information of each type of book to be adjusted at each stage; The added cost information corresponding to each stage is encrypted to obtain the encrypted data of each stage; a QR code is generated based on the encrypted data to obtain the updated cost information QR code of each type of book to be adjusted at each stage.
[0011] Furthermore, the method of obtaining the added cost information corresponding to each type of book to be adjusted at each stage based on the type of book sequence and the non-universal information of each type of book to be adjusted includes: According to the arrangement order of each element in the type book sequence, the type books to be adjusted with the same information change evaluation value in the type book sequence are divided into a group to obtain each group of type books to be adjusted; a group of type books to be adjusted contains at least one type book to be adjusted; For any type of book to be adjusted in the first group of the type of book sequence, the current non-general information data set corresponding to the type of book to be adjusted is added to the cost information of the current cost information QR code of each stage, so as to obtain the added cost information corresponding to the type of book to be adjusted in each stage; wherein the non-general information data set is composed of the cost information after the change in the stage corresponding to each non-general information position; For any type of book to be adjusted in the second group of type books in the type book sequence, add the current non-general information data set corresponding to the type of book to be adjusted to the cost information of the current cost information QR code of q-1 stages, and obtain the added cost information corresponding to the type of book to be adjusted in each stage; wherein q represents the number of stages in the whole process of book cost information; For any type of book to be adjusted in the third group of type books in the type book sequence, add the current non-general information data set corresponding to the type of book to be adjusted to the cost information of the current cost information QR code of q-2 stages, and obtain the added cost information corresponding to the type of book to be adjusted in each stage; And so on, until all the books of the to-be-adjusted type are traversed, and the added cost information corresponding to each book of the to-be-adjusted type at each stage is obtained.
[0012] An embodiment of the present invention further provides a full-process traceability management device for book cost information, including: An acquisition module is used to acquire in real time several cost process sequences of each type of books in the book management system, wherein the elements in the cost process sequence are representative values of cost information at each stage; A selection module is used to analyze the change range of cost information according to each element and the sequence number of each element in each cost process sequence, determine the necessary indicators for dynamic adjustment of each type of book; and select the type of book to be adjusted according to the necessary indicators for dynamic adjustment; A determination module, used to determine the information change evaluation value of each type of book to be adjusted according to the necessary dynamic adjustment index of each type of book to be adjusted and each element in the two cost process sequences whose collection time is closest to the current moment; An updating module, used to dynamically update the current cost information QR code of each stage of each type of book to be adjusted by using the information change evaluation value, and obtain the updated cost information QR code of each stage; The management module is used to conduct full-process traceability management of book cost information based on the updated cost information QR code of each type of book to be adjusted.
[0013] An embodiment of the present invention provides a full-process traceable management system for book cost information, including a memory and a processor, wherein the memory stores a computer program, and when the processor calls and executes the computer program, a full-process traceable management method for book cost information is implemented.
[0014] The present invention has the following beneficial effects: The present invention provides a full-process traceable management method, device and system for book cost information, which quantifies the information iteration evaluation value of each type of book to be adjusted, determines the dynamic update mode of the current cost information QR code of each stage of each type of book to be adjusted, is conducive to adaptively realizing the dynamic QR code update in traceability management, improves the accuracy of the full-process traceability of book cost information, avoids the situation that important cost information is covered or lost during the dynamic update of the QR code, and is mainly applicable to the field of information traceability management. When acquiring data, the cost information of each stage is integrated into a single value, that is, the cost information representative value, which is conducive to the subsequent cost information change analysis and improves the determination efficiency of each indicator; when quantifying the dynamic adjustment of necessary indicators, not only the element value in the cost process sequence is considered, but also the position distribution of each element in the sequence is considered, which effectively enhances the numerical accuracy of the dynamic adjustment of necessary indicators; when analyzing the information iteration evaluation value, by collecting the two cost process sequences closest to the current time, the proportion of the current cost information change in the calculation of the information iteration evaluation value is increased, so that the information iteration evaluation value can increase the traceability of the full-process cost information. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] 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.
[0016] Figure 1 A flowchart of the steps of a full-process traceability management method for book cost information according to an embodiment of the present invention; Figure 2 A flowchart of the steps for determining the dynamic adjustment necessary indicators for target type books in an embodiment of the present invention; Figure 3 A flowchart of the steps for determining the information change evaluation value of the type of books to be adjusted in an embodiment of the present invention; Figure 4 A flowchart of the steps of determining the updating cost information QR code at each stage in an embodiment of the present invention; Figure 5The present invention is a structural framework diagram of a full-process traceability management device for book cost information according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the technical solutions proposed by the present invention are described in detail below in conjunction 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.
[0018] 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.
[0019] Application scenarios targeted by the present invention: The existing method of updating the specific QR code of the cost information of each stage with all the change information causes important cost information to be overlapped or lost, and it is impossible to accurately trace the cost information of the whole process of the book based on the updated encrypted QR code; in order to improve the accuracy of the whole process tracing of the book cost information, the present invention integrates the whole process book cost information to obtain the cost process sequence, analyzes the cost process sequence that changes with time to obtain the degree of qualitative change of the cost; based on the degree of qualitative change of the cost, the dynamic adjustment analysis of the QR code encryption result is performed, and important cost information is added to ensure the accuracy of the dynamic tracing result.
[0020] Specifically, this embodiment provides a full-process traceability management method for book cost information, such as Figure 1 As shown, the following steps are included: S1, real-time acquisition of several cost process sequences for each type of book in the library management system.
[0021] This embodiment aims to manage the book cost information to achieve the purpose of full process traceability. Therefore, before data traceability management, the book cost information data of each type of book in the whole process is obtained first, and the book cost information data of the whole process is integrated into a cost process sequence.
[0022] Specifically, if the influence of the current cost process sequence of each book type on its current cost information QR code is analyzed, the current cost process sequence of each type of book and several cost process sequences whose collection time is before the current cost process sequence are obtained.
[0023] Among them, the elements in the cost process sequence are the representative values of the cost information of each stage, and the representative value of the cost information is the market average corresponding to all dimensions in a single stage. The market average is the cost average. The number of cost process sequences can be set to 5, and the collection frequency of the sequence can be set to collect once every 2 days. The cost process sequences in different periods may be different. The number and collection frequency of the cost process sequences can be set by the implementer according to the specific actual situation, and no specific restrictions are made here.
[0024] Here, the size of the average cost depends on many factors, such as material cost, process complexity, labor cost, etc.; and the basic information of the book will also have an impact on it, such as the product unique identifier: each product should have a unique serial number or identification code, which is the most basic and important information for tracking and identifying individual products; safety and compliance information: including any regulations or safety standards that must be complied with, which is crucial to ensuring that book products comply with industry and national standards.
[0025] The basic cost stages of each book type can include: the design stage, which includes the editing of the book content, the design of the cover and illustrations, etc. Assuming that the design work is completed by professionals, the cost includes copyright and design fees, and the average cost can be taken as an empirical value of 1000; the material procurement stage, which includes the purchase of paper and other printing materials, and the average cost can be taken as an empirical value of 2.5; the printing stage, which includes the cost of printing text and images, which depends on the number of printed pages and printing technology, and the average cost can be taken as an empirical value of 1; the binding stage, which includes the cost of combining the printed pages into a book, based on a simple perfect binding method, and the average cost can be taken as an empirical value of 0. 5; the quality control stage, specifically checking the printing quality and binding quality to ensure that the product meets the standards, including labor and equipment maintenance costs, the average cost can be taken as an empirical value of 0.25; the packaging stage, specifically the cost of packaging books and preparing for transportation, including packaging materials and labor, the average cost can be taken as an empirical value of 0.25; the transportation and distribution stage, specifically the cost of transporting books from the printing plant to various sales points, depends on the transportation distance and method, the average cost can be taken as an empirical value of 1; the marketing and sales stage, specifically the cost of promotion and marketing activities, including advertising fees and promotional activities fees, the average cost can be taken as an empirical value of 2.
[0026] It should be noted that the basic cost stage can also be called the basic information dimension. In addition to the basic information dimension, the cost information of books also has other important or non-general information dimensions, such as the unique identifier of the product, the production batch number, etc. This type of information is relatively important non-general information. When integrating the cost information of books, such important non-general information is integrated into the first half of the cost process sequence, and 10 sequence positions are reserved as special positions for such non-general information. For example, the cost process sequence of book A is The first two elements in the sequence are the unique identifier and production batch value of important or non-common information, the 11th element is the average cost of the book in the design stage, 1000, the 12th element is the average cost of the book acquisition stage, 2.5, and the last element is the average cost of the marketing and sales stage, 2.
[0027] At this point, the full-process cost information of each type of books in different periods of time is collected, and through integration, the cost process sequence of each type of books in different periods of time is obtained.
[0028] S2, analyzing the range of cost information changes according to each element in each cost process sequence and the serial number of each element, and determining the necessary indicators for dynamic adjustment of each type of book; selecting the type of book to be adjusted according to the necessary indicators for dynamic adjustment.
[0029] Here, the dynamic adjustment necessary index is used to evaluate whether the current cost information QR code of each type of book is dynamically updated. The greater the change in the cost information data of the book in different time periods, the greater the possibility of updating the QR code of the book, and the greater the probability of selecting the type of book to be adjusted. The type of book to be adjusted refers to the type of book that needs to update the current cost information QR code. Selecting some types of books from all types of books for subsequent information update analysis reduces the amount of data to a certain extent and improves the efficiency of dynamic update of the traceability QR code.
[0030] The above step S2 can be implemented by the following steps: The first step is to analyze the extent of cost information changes based on each element in each cost process sequence and the serial number of each element, and determine the necessary indicators for dynamic adjustment of each type of book.
[0031] When there are significant changes in the cost information, the traceability QR code is dynamically updated. During the dynamic update process, in order to prevent non-universal important data from being mixed or even lost, it is necessary to add non-universal information to the dynamically updated QR code to achieve accurate dynamic traceability.
[0032] Furthermore, general information has a smaller impact on traceability. For example, the short-term increase in book transportation costs has a smaller impact on traceability than changes in book content or unique identifiers, because it does not affect the traceability results. Dynamically iterating and updating the QR code using general information with a smaller impact will cause the aliasing or loss of non-general information, affecting the accuracy of the traceability results. Therefore, when dynamically adjusting the QR code, it is necessary to analyze the necessary indicators for dynamic adjustment of each type of book.
[0033] In this embodiment, the determination process of the necessary index for dynamic adjustment of each type of book is consistent. In order to reduce unnecessary description, any type of book is taken as the target type of book, and the necessary index for dynamic adjustment of the target type of book is determined by taking the target type of book as an example. The necessary index for dynamic adjustment of the target type of book can be determined by Figure 2 The steps shown achieve: S21, determining the degree of qualitative change of the cost of the target type book according to the difference between the same sequence number elements in every two adjacent cost process sequences of the target type book and the sequence number of each stage of the target type book in the cost process sequence.
[0034] It should be noted that the closer the change in cost information is to general changes, such as transportation costs and binding costs, the smaller the qualitative change in the cost of the target type of book, and the lower the necessity for dynamic adjustment of the QR code; the smaller the numerical difference between two adjacent cost process sequences, the smaller the qualitative change in the cost of the target type of book.
[0035] The above step S21 can be implemented by the following steps: In the first sub-step, any stage is taken as the target stage, and the absolute value of the difference between the representative values of the cost information of the target stage in each two adjacent cost process sequences is calculated, and the cumulative sum of all the absolute values of the difference is taken as the degree of change of the cost information corresponding to the target stage of the target type book.
[0036] It should be noted that the degree of change in cost information refers to the degree of difference in cost information of all types of books of a single type at the same stage. The greater the degree of difference, the greater the degree of change in cost information of this type of book, and the greater the degree of qualitative change in cost.
[0037] As an example, the calculation formula for the change degree of cost information corresponding to the i-th stage of target type books can be: ; In the formula, represents the degree of change of the cost information corresponding to the i-th stage of the target type of book, c represents the number of cost process sequences, k represents the sequence number of the cost process sequence, Represents the representative value of the cost information of the i-th stage in the k-th cost process sequence of the target type of book, Represents the representative value of the cost information of the i-th stage in the k+1-th cost process sequence of the target type of book, Represents the absolute value function.
[0038] In the calculation formula of the degree of change of cost information, the number of cost process sequences can be 5. The larger it is, the greater the difference in cost information between the i-th stage in the two cost process sequences adjacent to the collection time, and the greater the degree of change in the cost information corresponding to the i-th stage; refer to the calculation process of the degree of change in cost information corresponding to the i-th stage of the target type book to obtain the degree of change in cost information corresponding to each stage of the target type book; the degree of change in cost information is one of the important factors in determining the degree of qualitative change in cost, which helps to accurately obtain the degree of qualitative change in cost in the subsequent period.
[0039] In the second sub-step, negative correlation processing is performed on the serial number of each stage of the target type of books in the cost process sequence to obtain the negative correlation value of each stage as the weight of each stage.
[0040] It should be noted that the weight can quantify the importance of changes in cost information at different positions in the cost process sequence. The cost information at the front is more important because the importance and non-universality of the cost information have a greater impact on the degree of qualitative change in the cost, such as changes in the unique identifier.
[0041] Specifically, the reciprocal of the sequence number of each stage in the cost process sequence is taken as the weight of each stage. Of course, the implementer can also use other methods to achieve negative correlation processing, such as exp (-) function.
[0042] It is worth noting that when integrating the cost process information to obtain the cost process sequence, the important non-general information is located at the front of the sequence, so the smaller the sequence number, the greater the corresponding weight, and the sequence number of each stage in the cost process sequence needs to be negatively correlated; the general information is located at the back of the sequence, so the larger the sequence number, the smaller the corresponding weight.
[0043] In the third sub-step, the weight of each stage is used to perform weighted summation processing on the degree of change of the cost information corresponding to each stage to determine the degree of qualitative change in the cost of the target type of books.
[0044] This embodiment quantifies the importance of the cost information change degree corresponding to each stage in analyzing the cost qualitative change degree of the target type of books through the weight of each stage, and then the cost qualitative change degree of the target type of books can be obtained by combining the cost information change degrees of different importance.
[0045] As an example, the calculation formula for the qualitative change degree of the cost of target type books can be: ; In the formula, It represents the degree of qualitative change of the cost of target type books, q represents the number of elements in the cost process sequence, that is, the number of stages in the whole process of book cost information, i represents the element number in the cost process sequence, that is, the stage number, Indicates the degree of change in cost information corresponding to the i-th stage of target type books, Represents the weight of the target type of books in the i-th stage.
[0046] In the calculation formula of the degree of qualitative change in cost, the weight of the stage and the degree of change in cost information are positively correlated with the degree of qualitative change in cost. The greater the weight of the stage and the degree of change in cost information, the greater the degree of qualitative change in cost.
[0047] S22, determining necessary indicators for dynamic adjustment of target type books according to the qualitative change degree of the cost of target type books and two selected sequences.
[0048] Here, the selected sequences are the two cost process sequences whose collection time is closest to the current moment, that is, the current cost process sequence and the previous cost process sequence of the current cost process sequence. The higher the degree of qualitative change in cost, the greater the change in cost information corresponding to the target type of book. In order to ensure the real-time nature of the traceability results, the more necessary it is to dynamically adjust the current cost information QR code of the target type of book.
[0049] The above step S22 can be implemented by the following steps: In the first sub-step, the cumulative sum of the differences between the elements with the same serial number in the two selected sequences of target type books is calculated as the coefficient of the degree of qualitative change of the cost.
[0050] In this embodiment, the coefficient of the degree of qualitative change of cost is determined in order to increase the proportion of current cost information changes. The reason is that the degree of qualitative change of cost is calculated based on every two adjacent cost process sequences, and the weights of every two adjacent cost information changes remain consistent. In order to improve the numerical accuracy of dynamic adjustment of necessary indicators, it is necessary to pay more attention to the impact of current cost information changes.
[0051] The second sub-step is to calculate the product of the degree of qualitative change in the cost of target type books and its coefficient, normalize the product of the degree of qualitative change in the cost and its weight, obtain the normalized value, and use the normalized value as the necessary indicator for dynamic adjustment of target type books.
[0052] In this embodiment, the degree of qualitative change of the cost and the coefficient of the degree of qualitative change of the cost are both positively correlated with the necessary index for dynamic adjustment, so the degree of qualitative change of the cost and its coefficient can be combined by multiplication. In order to facilitate the subsequent threshold analysis, it is necessary to normalize the product of the degree of qualitative change of the cost and its weight to ensure that the value range of the necessary index for dynamic adjustment is between 0 and 1. The implementation process of normalization is a prior art and is not within the scope of protection of the present invention, and will not be elaborated here.
[0053] As an example, the calculation formula for the dynamic adjustment necessary index of the x-th type of book can be: ; In the formula, represents the necessary index for dynamic adjustment of the x-th type of books, Norm represents the linear normalization function, represents the difference between the representative values of the cost information of the i-th stage in the two selected sequences of the x-th type of books, The coefficient representing the degree of qualitative change in the cost of the x-th type of book, Indicates the degree of qualitative change in the cost of the x-th type of book.
[0054] In the calculation formula for dynamically adjusting the necessary indicators, the proportion of changes in current cost information is increased based on the degree of qualitative change in cost. As a coefficient of the degree of qualitative change in construction cost, the larger the coefficient is, the greater the degree of qualitative change in construction cost is, and the larger the necessary indicators for dynamic adjustment will be.
[0055] The second step is to select the types of books to be adjusted based on the necessary indicators for dynamic adjustment.
[0056] In this embodiment, the greater the dynamic adjustment necessary index is, the greater the possibility of adjusting the cost information QR code of the corresponding type of book. In order to ensure the efficiency of the cost information QR code adjustment to a certain extent and increase the real-time and traceability of traceability, only the QR codes of some types of books with high necessity for dynamic adjustment are updated, that is, it is necessary to select the type of books to be adjusted.
[0057] Specifically, a dynamic adjustment threshold is set, and books of a type whose dynamic adjustment necessary index is greater than the dynamic adjustment threshold are taken as books of a type to be adjusted, and all books of a type to be adjusted are obtained. The dynamic adjustment threshold can be set to 0.7, and the dynamic adjustment threshold can be set by the implementer according to the actual situation, and is not specifically limited.
[0058] It is worth noting that, for books of other types except those to be adjusted, changes in cost information will not affect the essence of the book cost. It may only be a small change in dimensions such as book freight, so the original multi-round encrypted cost information QR code result can be maintained.
[0059] So far, this embodiment screens out the books of the type to be adjusted from all the books of the type by analyzing the information changes between the adjacent cost information sequences corresponding to each type of books.
[0060] S3, determining the information change evaluation value of each type of book to be adjusted according to the necessary indicators for dynamic adjustment of each type of book to be adjusted and each element in the two cost process sequences whose collection time is closest to the current moment.
[0061] First of all, it should be noted that the two cost process sequences with the closest collection time to the current moment are the two selected sequences corresponding to each type of book to be adjusted. The selected sequences are obtained to analyze the impact of the current non-general information changes on the information iteration, so as to quantify the information iteration evaluation value. The information iteration evaluation value is used to evaluate the number of stages for QR code adjustment of the type of book to be adjusted. The larger the information iteration evaluation value, the greater the change in the non-general cost information of the type of book to be adjusted, and the more stages need to be added to the result of the non-general cost information change.
[0062] In this embodiment, the calculation process of the information change evaluation value of each type of book to be adjusted is consistent. In order to reduce unnecessary description, the information change evaluation value is determined by taking any type of book to be adjusted as an example. The above step S3 can be Figure 3 The steps shown achieve: S31, determining two selected sequences of books of the type to be adjusted, and manually selecting each non-general information specific element in the selected sequence.
[0063] It should be noted that the selected sequence is the current cost information sequence and the previous cost information sequence of the current cost information sequence. The non-universal information-specific elements refer to relatively important cost data in the traceability process, such as the unique identifier of the book product, safety and compliance information, etc. In order to avoid the phenomenon of aliasing or loss of non-universal information in the cost information corresponding to the QR code of multiple rounds of encryption, the change results of non-universal information need to be added to the information iteration. First, it is necessary to determine each non-universal information-specific element in the selected sequence.
[0064] Specifically, according to artificial regulations, each non-universal information-specific element is selected in the selected sequence. Among them, the selection rules of the non-universal information-specific elements can be set by the implementer according to the specific actual situation, and are not specifically limited here.
[0065] Non-generic information may include: product unique identifier. Each product should have a unique serial number or identification code, which is the most basic and important information for tracking and identifying individual products; production batch number, including production date and batch number, which can help trace back to a specific production batch, which is especially important for food safety, medicines and other products that require precise quality control; safety and compliance information, including any regulations or safety standards that must be complied with, which is critical to ensuring that products meet industry and national standards.
[0066] S32, calculating the average value of the differences between the non-universal information specific elements with the same serial number in the two selected sequences as the non-universal information addition index for the type of books to be adjusted.
[0067] In this embodiment, the greater the degree of change of non-general information, the more it needs to be added to more traceability processes to increase traceability. When quantifying the evaluation value of information change, considering the non-general information addition index can reduce the amount of calculation of encryption rounds and its corresponding storage volume, and improve the pertinence of data traceability at different stages.
[0068] The difference between two non-universal information specific bit elements with the same sequence number can be obtained by calculating the absolute value of the difference between the two elements. Of course, the implementer can also obtain the difference by other calculation means, such as calculating the square of the difference between the two elements.
[0069] S33, integrating the non-general information addition index of the type of books to be adjusted and the dynamic adjustment necessary index to obtain the information change evaluation value of the type of books to be adjusted.
[0070] In this embodiment, the non-general information addition index and the dynamic adjustment necessary index are positively correlated with the information change evaluation value. The positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, or the idempotence of an exponential function, which is determined by actual application.
[0071] As an example, the calculation formula for the information change evaluation value of the xth type of book to be adjusted can be: ; In the formula, represents the information change evaluation value of the x-th type of book to be adjusted, a represents the number of non-general information-specific elements in the selected sequence, e represents the sequence number of the non-general information-specific elements in the selected sequence, Indicates the difference between the non-universal information specific elements with the same sequence number in the two selected sequences of the x-th type of book to be adjusted, Indicates the non-general information addition index of the xth type of book to be adjusted. Indicates the necessary indicators for dynamic adjustment of the x-th type of book to be adjusted.
[0072] In the calculation formula of the information change evaluation value, the larger the non-general information addition index is, the higher the addability of non-general information is; the larger the dynamic adjustment necessary index is, the higher the necessity of dynamic adjustment of the encrypted QR code of the xth type of book to be adjusted is; the larger the information change evaluation value is, the greater the degree of change of non-general information is, and it needs to be added to more traceability processes to increase traceability and improve the accuracy of the full-process traceability management of cost information. Among them, each stage corresponds to a stage, and each stage has its corresponding encrypted cost information QR code.
[0073] So far, this embodiment has obtained the information change evaluation value of each type of book to be adjusted by analyzing the degree of change of non-general information and the necessity of dynamic adjustment.
[0074] S4, using the information change evaluation value, dynamically update the current cost information QR code of each stage of each type of book to be adjusted, and obtain the updated cost information QR code of each stage.
[0075] First of all, it should be noted that the current cost information QR code is the QR code before dynamic update. In order to improve the pertinence of cost information traceability at each stage, the current cost information QR code is dynamically updated in combination with the information change evaluation value, so as to obtain the updated cost information QR code at each stage. The cost information QR code corresponds to the detailed cost information of a production stage. Determining the updated cost information QR code at each stage facilitates tracking and management. For example, when the book circulates to the next production stage, relevant personnel can scan the QR code to quickly obtain detailed information from the previous stage to ensure the continuity and consistency of the information.
[0076] The above step S4 can be performed by Figure 4 The steps shown achieve: S41, based on the information change evaluation value, sort each type of book to be adjusted in order from large to small to obtain a type book sequence.
[0077] In this embodiment, the larger the information iteration evaluation value of a certain type of book to be adjusted, the more stages of non-general cost information of the book to be adjusted are added to ensure the traceability of non-general cost information. Therefore, in order to distinguish the differences in information addition of books of different types to be adjusted, it is necessary to sort each type of book to be adjusted according to the size of the information iteration evaluation value.
[0078] S42, based on the type book sequence and the non-general information of each type book to be adjusted, obtaining the added cost information corresponding to each type book to be adjusted in each stage.
[0079] It should be noted that, through the type book sequence, the stage where non-general information needs to be added is determined, and the cost information corresponding to the addition in each stage is obtained. Non-general information refers to the cost information after the change in the stage corresponding to the non-general information position. All non-general information of the same type of book to be adjusted is grouped into a set to obtain a non-general information data set for each type of book to be adjusted.
[0080] The above step S42 can be implemented by the following steps: In the first sub-step, according to the arrangement order of each element in the type book sequence, the type books to be adjusted with the same information change evaluation value in the type book sequence are divided into a group to obtain each group of type books to be adjusted.
[0081] In this embodiment, there are situations in the type book sequence with the same information change evaluation value, and the type book sequence with the same information change evaluation value has the same corresponding cost information added process in each stage, so it is necessary to divide the type books to be adjusted with the same information change evaluation value into a group, and a group of type books to be adjusted contains at least one type book to be adjusted.
[0082] In the second sub-step, for any type of book to be adjusted in the first group in the type book sequence, the current non-universal information data set corresponding to the type of book to be adjusted is added to the cost information of the current cost information QR code of each stage to obtain the added cost information corresponding to the type of book to be adjusted in each stage.
[0083] In the third sub-step, for any type of book to be adjusted in the second group of type books in the type book sequence, the current non-general information data set corresponding to the type of book to be adjusted is added to the cost information of the current cost information QR code of q-1 stages, and the added cost information corresponding to the type of book to be adjusted in each stage is obtained. Wherein, q represents the number of stages in the whole process of book cost information, and q-1 stages can be any q-1 stages in the q stages of the whole process.
[0084] The fourth sub-step is to add the current non-universal information data set corresponding to any type of book to be adjusted in the third group of type books in the type book sequence to the cost information of the current cost information QR code of q-2 stages, and obtain the added cost information corresponding to the type of book to be adjusted in each stage.
[0085] The fifth sub-step refers to the second to fifth sub-steps mentioned above, and so on, until all the books of the types to be adjusted are traversed to obtain the added cost information corresponding to each type of book to be adjusted at each stage.
[0086] It is worth noting that not every type of book to be adjusted has non-general information added in every stage. For some types of books to be adjusted, the corresponding cost information after adding in some stages is the original cost information. For ease of understanding, the cost information corresponding to the stage without adding non-general information is also called the added cost information.
[0087] S43, performing data encryption processing on the added cost information corresponding to each stage to obtain encrypted data of each stage.
[0088] In this embodiment, data encryption is performed to ensure the security of information during transmission and display and to prevent unauthorized access.
[0089] Specifically, the added cost information corresponding to each stage is encrypted using a highly secure encryption technology to obtain encrypted data for each stage. The encryption technology may be AES (Advanced Encryption Standard, symmetric encryption algorithm) or RSA (Rivest Shamir Adleman, public key encryption algorithm). The implementation process of the encryption technology is a prior art and is not within the scope of protection of the present invention, and will not be elaborated on in detail herein.
[0090] S44, generating a QR code based on the encrypted data, and obtaining a QR code of updated cost information of each type of book to be adjusted at each stage.
[0091] In this embodiment, the process of generating the QR code is prior art and is not within the scope of protection of the present invention, and will not be elaborated here, such as using an online QR code generator to generate the QR code. Each production stage has its corresponding exclusive QR code for updating the cost information.
[0092] It should be noted that in the dynamic tracing iteration process, some important non-general data are affected by the encryption process, and important information is overlapped or even lost, which has an irreversible impact on the accuracy of tracing and its feasibility. In response to the above problems, based on the information change evaluation value of each type of book, important cost information is added to some stages, and dynamic tracing results with important information can be obtained, that is, the updated cost information QR code of each type of book to be adjusted at each stage.
[0093] So far, this embodiment realizes the dynamic update of the current cost information QR code of each stage of each type of book to be adjusted through the information update evaluation value.
[0094] S5, conduct full-process traceability management of book cost information based on the updated cost information QR code of each type of book to be adjusted at each stage.
[0095] In this embodiment, after obtaining the updated cost information QR code of each type of book to be adjusted, the real-time cost information data of each stage of the entire process of the book can be traced based on the updated cost information QR code, and the whole process traceability management is convenient based on the real-time cost information data. By determining the updated cost information QR code, more real and accurate cost traceability information can be reflected, which effectively improves the accuracy of the whole process traceability management of book cost information.
[0096] So far, this embodiment has realized the full-process traceability management of book cost information.
[0097] The embodiment of the present invention also provides a full-process traceability management device for book cost information, the structural framework diagram of which is shown in FIG. Figure 5 As shown, including: The acquisition module 501 is used to acquire in real time several cost process sequences of each type of books in the book management system, wherein the elements in the cost process sequence are representative values of cost information of each stage; The selection module 502 is used to analyze the change range of the cost information according to each element and the sequence number of each element in each cost process sequence, determine the necessary index for dynamic adjustment of each type of book; and select the type of book to be adjusted according to the necessary index for dynamic adjustment; Determination module 503, for determining the information change evaluation value of each type of book to be adjusted according to the necessary dynamic adjustment index of each type of book to be adjusted and each element in the two cost process sequences whose collection time is closest to the current moment; An updating module 504 is used to dynamically update the current cost information QR code of each stage of each type of book to be adjusted by using the information change evaluation value, and obtain an updated cost information QR code of each stage; The management module 505 is used to perform full-process traceability management of the book cost information based on the updated cost information QR code of each type of book to be adjusted.
[0098] An embodiment of the present invention further provides a full-process traceable management system for book cost information, including a memory and a processor, wherein the memory stores a computer program, and when the processor calls and executes the computer program, a full-process traceable management method for book cost information is implemented.
[0099] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A full-process traceability management method for book cost information, characterized in that: The following steps are involved: Real-time acquisition of several cost process sequences of each type of book in the book management system, wherein the elements in the cost process sequence are representative values of cost information at each stage; Analyze the change range of cost information according to each element and the serial number of each element in each cost process sequence, and determine the necessary indicators for dynamic adjustment of each type of book; select the type of book to be adjusted according to the necessary indicators for dynamic adjustment; According to the necessary dynamic adjustment indicators of each type of book to be adjusted and each element in the two cost process sequences with the collection time closest to the current moment, determine the information change evaluation value of each type of book to be adjusted; Using the information change evaluation value, dynamically update the current cost information QR code of each stage of each type of book to be adjusted to obtain the updated cost information QR code of each stage; Based on the updated cost information QR code of each type of book to be adjusted at each stage, full-process traceability management of book cost information is carried out.
2. A full-process traceable management method for book cost information according to claim 1, characterized in that: The cost information change range is analyzed according to each element and the sequence number of each element in each cost process sequence, and the necessary indicators for dynamic adjustment of each type of book are determined, including: Take any type of book as the target type of book, and determine the degree of qualitative change of the cost of the target type of book according to the difference between the elements with the same sequence number in each two adjacent cost process sequences of the target type of book and the sequence number of each stage of the target type of book in the cost process sequence; According to the qualitative change degree of the cost of target type books and two selected sequences, the necessary indicators for dynamic adjustment of target type books are determined; wherein the selected sequences are two cost process sequences whose collection time is closest to the current moment.
3. A full-process traceable management method for book cost information according to claim 2, characterized in that: Determining the degree of qualitative change of the cost of the target type book according to the difference between the elements with the same sequence number in each two adjacent cost process sequences of the target type book and the sequence number of each stage of the target type book in the cost process sequence includes: Take any stage as the target stage, calculate the absolute value of the difference between the representative values of the cost information of the target stage in each two adjacent cost process sequences, and take the cumulative sum of all the absolute values of the difference as the degree of change of the cost information corresponding to the target stage of the target type book; The serial number of each stage of the target type of book in the cost process sequence is negatively correlated to obtain the negative correlation value of each stage as the weight of each stage; the weight of each stage is used to perform weighted summation processing on the degree of change of the cost information corresponding to each stage to determine the degree of qualitative change of the cost of the target type of book.
4. A full-process traceability management method for book cost information according to claim 2, characterized in that: The necessary indicators for dynamic adjustment of target type books are determined according to the qualitative change degree of the cost of target type books and the two selected sequences, including: Calculate the cumulative sum of the differences between the elements with the same serial number in the two selected sequences of target type books as the coefficient of the degree of qualitative change of the cost; Calculate the product of the degree of qualitative change of the cost of target type books and its coefficient, and normalize the product of the degree of qualitative change of the cost and its weight to obtain a normalized value; The normalized value is used as a necessary indicator for dynamic adjustment of target type books.
5. The full-process traceability management method for book cost information according to claim 1 is characterized in that: The step of selecting books of a type to be adjusted according to the dynamic adjustment necessary indicators includes: A dynamic adjustment threshold is set, and books of a type whose dynamic adjustment necessary index is greater than the dynamic adjustment threshold are regarded as books of a type to be adjusted.
6. A full-process traceability management method for book cost information according to claim 2, characterized in that: The information change evaluation value of each type of book to be adjusted is determined according to the necessary dynamic adjustment index of each type of book to be adjusted and each element in the two cost process sequences whose collection time is closest to the current moment, including: For any type of books to be adjusted, two selected sequences of books of the type to be adjusted are determined, and each non-general information specific element is artificially selected in the selected sequence; Calculate the average value of the differences between the non-universal information specific elements with the same serial number in the two selected sequences as the non-universal information addition index for the type of books to be adjusted; The non-general information addition indicators of the books of the type to be adjusted and the necessary indicators for dynamic adjustment are integrated to obtain the information change evaluation value of the books of the type to be adjusted.
7. A full-process traceability management method for book cost information according to claim 6, characterized in that: The method of dynamically updating the current cost information QR code of each stage of each type of book to be adjusted by using the information change evaluation value to obtain the updated cost information QR code of each stage includes: Based on the information change evaluation value, sort each type of book to be adjusted in descending order to obtain a type book sequence; based on the type book sequence and the non-general information of each type of book to be adjusted, obtain the corresponding added cost information of each type of book to be adjusted at each stage; The added cost information corresponding to each stage is encrypted to obtain the encrypted data of each stage; a QR code is generated based on the encrypted data to obtain the updated cost information QR code of each type of book to be adjusted at each stage.
8. A full-process traceability management method for book cost information according to claim 7, characterized in that: The method of obtaining the added cost information corresponding to each type of book to be adjusted at each stage based on the type of book sequence and the non-universal information of each type of book to be adjusted includes: According to the arrangement order of each element in the type book sequence, the type books to be adjusted with the same information change evaluation value in the type book sequence are divided into a group to obtain each group of type books to be adjusted; a group of type books to be adjusted contains at least one type book to be adjusted; For any type of book to be adjusted in the first group of the type of book sequence, the current non-general information data set corresponding to the type of book to be adjusted is added to the cost information of the current cost information QR code of each stage, so as to obtain the added cost information corresponding to the type of book to be adjusted in each stage; wherein the non-general information data set is composed of the cost information after the change in the stage corresponding to each non-general information position; For any type of book to be adjusted in the second group of type books in the type book sequence, add the current non-general information data set corresponding to the type of book to be adjusted to the cost information of the current cost information QR code of q-1 stages, and obtain the added cost information corresponding to the type of book to be adjusted in each stage; wherein q represents the number of stages in the whole process of book cost information; For any type of book to be adjusted in the third group of type books in the type book sequence, add the current non-general information data set corresponding to the type of book to be adjusted to the cost information of the current cost information QR code of q-2 stages, and obtain the added cost information corresponding to the type of book to be adjusted in each stage; And so on, until all the books of the to-be-adjusted type are traversed, and the added cost information corresponding to each book of the to-be-adjusted type at each stage is obtained.
9. A full-process traceability management device for book cost information, characterized in that: include: An acquisition module is used to acquire in real time several cost process sequences of each type of books in the book management system, wherein the elements in the cost process sequence are representative values of cost information at each stage; A selection module is used to analyze the change range of cost information according to each element and the sequence number of each element in each cost process sequence, determine the necessary indicators for dynamic adjustment of each type of book; and select the type of book to be adjusted according to the necessary indicators for dynamic adjustment; A determination module, used to determine the information change evaluation value of each type of book to be adjusted according to the necessary dynamic adjustment index of each type of book to be adjusted and each element in the two cost process sequences whose collection time is closest to the current moment; An updating module, used to dynamically update the current cost information QR code of each stage of each type of book to be adjusted by using the information change evaluation value, and obtain the updated cost information QR code of each stage; The management module is used to conduct full-process traceability management of book cost information based on the updated cost information QR code of each type of book to be adjusted.
10. A full-process traceability management system for book cost information, characterized in that: It includes a memory and a processor, the memory stores a computer program, and when the processor calls and executes the computer program, a full-process traceable management method for book cost information as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Hospital refined anesthesia medicine whole-course tracing management system
CN114023422A
Design file full-life-cycle information management method based on two-dimensional code
CN117291528A
Digital agricultural product service innovation system
CN117592840A
Method and system for evaluating effect of critical thinking learning mode, and storage medium
CN118014440A
Product quality tracing method and system
CN118485452A
