A system and method for generating traceable target code
By introducing a traceable target code generation method into the equipment coding management system and using two-dimensional parameter relationships to build a dynamic management system for equipment coding, the problem of equipment data dispersion and poor management is solved, and efficient equipment supervision and data management are achieved. Traceability.
Patent Information
- Application Number
- CN202410773112.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-06-17
AI Technical Summary
In the existing equipment coding management system, the equipment data is stored in a dispersed manner, and there is a lack of unified standards and specifications, resulting in inaccurate, incomplete and small amounts of data, especially for mobile special equipment, which cannot achieve effective supervision.
Adopting a traceable target code generation system and method, by calculating the first parameter between the scanning device and the second parameter between the target code and the scanning device, a two-dimensional relationship is constructed to achieve dynamic management of device coding. and effective traceability of data.
It realizes the traceability of device coding, improves the efficiency of device data management and supervision, avoids data loss and inaccuracy, and reduces the load on network equipment and backend systems.
Smart Images

Figure CN118673948B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of equipment coding management, and in particular to a system and method for generating a traceable target code. Background Art
[0002] Professional supervision of equipment safety involves the supervision of the entire process and life cycle of design, manufacturing, installation, modification, repair, operation, use, inspection, and testing. It has strong professional attributes, a wide variety of licenses, and a large amount of daily supervision and inspection and testing business. The data that needs to be collected is very large. The existing system does not have all-round interconnection. Since equipment data is stored in various related business systems of special equipment, the data lacks unified standards and specifications, resulting in the inability to collect equipment data in a unified manner. There are situations where the data is inaccurate, incomplete, and insufficient. Especially for mobile special equipment, it is impossible to grasp the dynamics of the equipment and achieve effective supervision of the equipment. In recent years, although various districts have promoted the use of units in forklifts, boilers, large amusement facilities, etc. to make preliminary explorations in smart supervision, a replicable and popularizable application model has not yet been formed.
[0003] In order to solve the problems existing in the traditional management model, many enterprises and institutions are gradually turning to digital management systems, such as using QR code management systems to manage IoT devices. Usually, static QR codes can be used arbitrarily by scanning devices, making it difficult to effectively sort out the data uploaded to the background data, and it is difficult for relevant managers to grasp the device data of the device. If dynamic QR codes are used to manage devices, it will cause a large load on network devices and the background device management system, affecting the response time of user requests to use the device. Summary of the invention
[0004] The object of the present invention is to provide a system and method for generating a traceable target code to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solution: a method for generating a traceable target code, the method comprising:
[0006] Step S100: in a system where each device is associated with a unique static device code, obtaining scanning records of different scanning devices for the same static device code, calculating the relative interval between any two scanning devices, and obtaining a first parameter;
[0007] Step S200: taking a static device code as a target code, forming a code scanning sequence with the code scanning records of a code scanning device, obtaining the relationship between the position of the target code in the code scanning sequence and the length of the code scanning sequence, and obtaining a second parameter;
[0008] Step S300: obtaining the positions represented by the first parameter and the second parameter in the plane, and using the positions as address marks corresponding to the first parameter and the second parameter;
[0009] Step S400: Divide the data storage space associated with the target code into a number of unit storage spaces, obtain an address list corresponding to the unit storage space, correspond the address mark to the unit storage space, and obtain the unit storage space corresponding to each address mark;
[0010] Step S500: Obtain the network associated position of the target code, associate the network associated position with the address mark storage space, and when the scanning device that calls the target code changes, replace the address mark in the address mark storage space. Record the process of replacing each address mark of the target code and submit it to relevant management personnel.
[0011] Further step S100 comprises:
[0012] Step S101: Divide the target code scanning record into N sampling periods with a period length of R. One scanning record of the scanning device corresponds to a sampling position in the sampling period. Arrange the sampling positions according to the time sequence of the scanning records.
[0013] Step S102: In a certain sampling period, obtain the sampling position d of the code scanning device A A , the sampling position d of the scanning device B B , calculate the distance D between scanning device A and scanning device B AB =d A -d B , the interval between traversing all code scanning devices A and B from N sampling cycles is D AB The number is denoted as K AB ;
[0014] Step S103: Count the number of intervals between the code scanning device A and the code scanning device B according to the interval length, where the number of statistics corresponding to the jth interval Dj is Kj, and the total number of intervals between the code scanning device A and the code scanning device B is obtained. total , calculate the mathematical expectation value of the interval between the code scanning device A and the code scanning device B, and use the mathematical expectation value as the first parameter between the code scanning device A and the code scanning device B;
[0015] The first parameter represents the logical distance between the two scanning devices. The interval between the two devices describes the difference between the two devices in the workflow process. Taking into account the front and back relationship of the two scanning devices in actual use, the first parameter can be a positive number, a negative number or 0. The first parameter expands the value range of the address mark in the coordinate system, so that the discrete positions in the subsequent steps have a certain degree of separation, and increases the change distance of the unit storage position in the storage space after each address mark change, so that each change of the storage position has a degree of separation, thereby improving the traceability of the device code call.
[0016] Further step S200 comprises:
[0017] Step S201: assemble each scanning record in a workflow of a scanning device into a scanning sequence, and mark the scanning record of the target code in the scanning sequence;
[0018] Step S202: Normalize the length of the scanned code sequence, obtain the corresponding position of the target code in each normalized scanned code sequence, and calculate the position relationship p of the target code in the scanned code sequence, p=x num / X0, where x num Indicates the position of the target code in any normalized scan sequence, and X0 indicates the length of the normalized scan sequence;
[0019] Step S203: obtaining the positional relationship of m target codes in the code scanning sequence, calculating the average of the positional relationship as P, setting the magnification μ, and calculating the second parameter Q2 of the target code of the code scanning device, Q2=μ×P;
[0020] The second parameter indicates the association between the target code and the code scanning device. A code scanning device may scan multiple device codes in a device calling process. The average position of the target code in the device calling process is calculated to describe the association between the target code and the code scanning device. In order to unify the measurement relationship and prevent the influence of device calling processes of different lengths on the statistical results of the position of the target code, the device calling processes of different lengths are normalized.
[0021] In the code scanning sequence, the distance and length are measured by the number of code scanning records. The first code scanning position in the code scanning sequence is recorded as 1 to overcome the situation of 0. The first target parameter may be 0. If the second parameter cannot overcome the situation of 0, then after obtaining the first parameter and the second parameter, there is a possibility of obtaining the point (0,0) in the coordinate system. The unit storage position will not change with the change of the code scanning device, which will affect the traceability of the device use.
[0022] In the second parameter, μ represents the magnification, and μ controls the separation degree of the second parameter. However, when μ increases, the separation degree between the address marks obtained in the coordinate system will increase, and vice versa, the separation degree between the address marks will decrease.
[0023] Further step S300 comprises:
[0024] Step S301: Take an axis including a positive semi-axis and a negative semi-axis in a plane as a reference axis of a first parameter, recorded as a first reference axis, take an axis including a positive semi-axis as a reference axis of a second parameter, recorded as a second reference axis, the second reference axis is perpendicular to the intersection of the positive semi-axis and the negative semi-axis of the first reference axis, and establish a target coordinate system according to the first reference axis and the second reference axis;
[0025] Step S302: After the next barcode scanning device scans the target code, obtain the previous barcode scanning device that scanned the target code, calculate the first parameter of the next barcode scanning device and the previous barcode scanning device, and the second parameter of the next barcode scanning device and the target code, obtain the coordinate position corresponding to the next device in the target coordinate system, and use the coordinate position as the address mark of the next barcode scanning device.
[0026] Further step S500 comprises:
[0027] Step S501: the target code is associated with a fixed network location, the network location is associated with an address tag storage space, and the unit storage interval corresponding to the address tag of the next scanning device is obtained;
[0028] Step S502: Record the change process of the storage space by the next scanning device as a change record, where the i-th change record rec i Includes the device code and corresponding address tag of the latter device;
[0029] Step S503: collect all the change records of the target device to form a usage traceability sequence of the target code, and submit it to the relevant management personnel.
[0030] In order to better implement the above method, a system for generating a traceable target code is also proposed, the system comprising:
[0031] A first parameter management module, a second parameter management module, an address tag management module, a storage correspondence module and an information recording module, wherein the first parameter management module is used to calculate the first parameter between two code scanning devices, the second parameter management module is used to calculate the second parameter between the code scanning device and the target code, the address tag management module is used to obtain the address tag of the code scanning device, the storage correspondence module is used to correspond the address tag with the unit storage space, and the information recording module is used to manage the traceability record of the target code submitted by the traceability sequence.
[0032] The first parameter management module further includes: a code scanning record management unit, an interval management unit and a first parameter calculation unit, wherein the code scanning record management unit is used to arrange the sampling positions in the time sequence of the code scanning records, the interval management unit is used to manage the interval between two code scanning devices, and the first parameter calculation unit is used to calculate the first parameter;
[0033] The further second parameter management module includes: a code scanning sequence management unit, a code position management unit and a second parameter management unit, wherein the code scanning sequence management unit is used to mark the code scanning record of the target code in the code scanning sequence, the code position management unit is used to calculate the position relationship of the target code in the code scanning sequence, and the second parameter management unit is used to calculate the second parameter;
[0034] The further address mark management module comprises: a coordinate management unit and an address mark management unit, wherein the coordinate management unit is used to manage the coordinate system constructed by the first reference axis and the second reference axis, and the address mark management unit is used to obtain the address mark through the first parameter and the second parameter;
[0035] The further information recording module includes: an adjustment record unit, a traceability sequence management unit and an information reminder unit. The adjustment record unit is used to record the adjustment record of the unit storage space, the traceability sequence management unit is used to collect various change records of the target code, and the information reminder unit is used to submit the traceability management record of the target code.
[0036] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention constructs the relationship between the code scanning device and the target code through two dimensions to reflect the different results produced by different code scanning devices after calling the same device code; including the degree of association between the latter code scanning device and the former code scanning device, and the degree of association between the latter code scanning device and the target code, and analyzes the two dimensions to adjust the upload location of the data generated during the use of the device, thereby realizing the recording of the use process of the same device code. Furthermore, the present invention adopts a solution for dynamic management of static device codes, which overcomes the difficulty of unified management of static device codes in traditional technologies, and overcomes the problem of huge amount of calculation and large amount of computer resources generated during the management and issuance of dynamic device codes. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0038] Figure 1 It is a schematic diagram of the structure of a system for generating a traceable target code according to the present invention;
[0039] Figure 2 It is a flow chart of a method for generating a traceable target code according to the patent of the present invention;
[0040] Figure 3 It is a schematic diagram of the network structure of a method for generating a traceable target code according to the patent of the present invention. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the implementation cases described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] See also Figure 1 , Figure 2 and Figure 3 , the present invention provides a technical solution:
[0043] Step S100: in a system where each device is associated with a unique static device code, obtaining scanning records of different scanning devices for the same static device code, calculating the relative interval between any two scanning devices, and obtaining a first parameter;
[0044] Commonly used device codes include barcodes and QR codes, which can be used to store information such as text or URLs. URL (uniform resource locator) is a method of specifying the location of information on the World Wide Web service program of the Internet. The uniform resource locator is a concise representation of the location and access method of resources available on the Internet. It is the address of standard resources on the Internet. Every file on the Internet has a unique URL, which contains information indicating the location of the file and how the browser should handle it;
[0045] Wherein, step S100 includes:
[0046] Step S101: Divide the target code scanning record into N sampling periods with a period length of R. One scanning record of the scanning device corresponds to a sampling position in the sampling period. Arrange the sampling positions according to the time sequence of the scanning records.
[0047] Step S102: In a certain sampling period, obtain the sampling position d of the code scanning device A A , the sampling position d of the scanning device B B , calculate the distance D between scanning device A and scanning device B AB =d A -d B , the interval between traversing all code scanning devices A and B from N sampling cycles is D AB The number is denoted as K AB ;
[0048] When scanning device A is in front of scanning device B, D AB The value of D is negative. When scanning device A is behind scanning device B, ABThe value of is positive;
[0049] For example, the spacing between each scan record is recorded as 1 unit length, and the length of a sampling cycle is N-1. When the position of the scan device A in the sampling cycle is 3, and the position of the scan device B in the sampling cycle is 5, D AB =-2;
[0050] Step S103: Count the number of intervals between the code scanning device A and the code scanning device B according to the interval length, where the number of statistics corresponding to the jth interval Dj is Kj, and the total number of intervals between the code scanning device A and the code scanning device B is obtained. total , calculate the mathematical expectation value of the interval between the code scanning device A and the code scanning device B, and use the mathematical expectation value as the first parameter between the code scanning device A and the code scanning device B;
[0051] The number of intervals between the code scanning device A and the code scanning device B is collected 10 times. Preferably, the closest distance between the code scanning device A and the code scanning device B is selected for statistics, among which, distance -2 has 3 times, distance 3 has 1 time, distance -3 has 2 times, and distance 1 has 4 times. The frequency of each distance is calculated respectively, and the frequency of distance -3 is 0.1, the frequency of distance -2 is 0.3, the frequency of distance 1 is 0.4, and the frequency of distance 3 is 0.1;
[0052] Calculate the mathematical expectation of scanning device A relative to scanning device B, -3×0.1+(-2)×0.3+1×0.4+3×0.1=-0.2;
[0053] When scanning device A is the next scanning device and scanning device B is the previous scanning device, the first parameter of scanning device A is -0.2;
[0054] Step S200: taking a static device code as a target code, forming a code scanning sequence with the code scanning records of a code scanning device, obtaining the relationship between the position of the target code in the code scanning sequence and the length of the code scanning sequence, and obtaining a second parameter;
[0055] Wherein, step S200 includes:
[0056] Step S201: assemble each scanning record in a workflow of a scanning device into a scanning sequence, and mark the scanning record of the target code in the scanning sequence;
[0057] Step S202: Normalize the length of the scanned code sequence, obtain the corresponding position of the target code in each normalized scanned code sequence, and calculate the position relationship p of the target code in the scanned code sequence, p=x num / X0, where x numIndicates the position of the target code in any normalized scan sequence, and X0 indicates the length of the normalized scan sequence;
[0058] Step S203: obtaining the positional relationship of m target codes in the code scanning sequence, calculating the average of the positional relationship as P, setting the magnification μ, and calculating the second parameter Q2 of the target code of the code scanning device, Q2=μ×P;
[0059] The occupied length of each scan record is recorded as 1;
[0060] In the scan code sequence l1 with a length of 5, the position of the target code is 1, in the scan code sequence l2 with a length of 7, the position of the target code is 3, and in the scan code sequence l3 with a length of 4, the position of the target code is 2;
[0061] The lengths of the scan sequences l1, l2, and l3 are unified into a normalized scan sequence of length 1. The corresponding positions of the target codes are 1 / 5, 3 / 7, and 1 / 2, respectively. The average of these three values yields P = 0.376.
[0062] Step S300: obtaining the positions represented by the first parameter and the second parameter in the plane, and using the positions as address marks corresponding to the first parameter and the second parameter;
[0063] Wherein, step S300 includes:
[0064] Step S301: Take an axis including a positive semi-axis and a negative semi-axis in a plane as a reference axis of a first parameter, recorded as a first reference axis, take an axis including a positive semi-axis as a reference axis of a second parameter, recorded as a second reference axis, the second reference axis is perpendicular to the intersection of the positive semi-axis and the negative semi-axis of the first reference axis, and establish a target coordinate system according to the first reference axis and the second reference axis;
[0065] Step S302: After the next barcode scanning device scans the target code, the previous barcode scanning device that scanned the target code is obtained, the first parameter of the next barcode scanning device and the previous barcode scanning device, and the second parameter of the next barcode scanning device and the target code are calculated, and the coordinate position corresponding to the next device is obtained in the target coordinate system, and the coordinate position is used as the address mark of the next barcode scanning device;
[0066] Step S400: Divide the data storage space associated with the target code into a number of unit storage spaces, obtain an address list corresponding to the unit storage space, correspond the address mark to the unit storage space, and obtain the unit storage space corresponding to each address mark;
[0067] In an embodiment, the selected corresponding method includes: placing a list corresponding to the unit storage space in a coordinate system composed of a first reference axis and a second reference axis, obtaining a coordinate position in the coordinate system by acquiring a first parameter and a second parameter, and corresponding the acquired coordinate position to the unit storage space; if the list corresponding to the unit storage space is smaller than the occurrence range of the coordinate, the list corresponding to the unit storage space may be arranged in a circular manner so that the coordinate point falls into the unit storage space;
[0068] Step S500: Obtain the network associated position of the target code, associate the network associated position with the address tag storage space, and when the code scanning device that calls the target code changes, replace the address tag in the address tag storage space, record the process of replacing the address tag of the target code each time, and submit it to the relevant management personnel;
[0069] Wherein, step S500 includes:
[0070] Step S501: the target code is associated with a fixed network location, the network location is associated with an address tag storage space, and the unit storage interval corresponding to the address tag of the next scanning device is obtained;
[0071] Step S502: Record the change process of the storage space by the next scanning device as a change record, where the i-th change record rec i including a device code and a corresponding address tag of the latter device;
[0072] Step S503: collect all the change records of the target device to form a target code usage traceability sequence, and submit it to the relevant management personnel;
[0073] Figure 3 It shows a network structure of a traceable two-dimensional code, where QR represents a target code, W represents a network location, and NS represents a data storage space; the network location W includes a network target F1 and an address tag storage space F2, and the address tag in the address tag storage space F2 points to a unit storage space in the data storage space NS;
[0074] A URL associated with the network target F1 in W is stored in QR. After the scanning device scans the QR, the unit storage space corresponding to the scanning device is opened, and the data generated by the device associated with the QR will be stored in the corresponding unit storage space. After the next scanning device scans the QR, another unit storage space is opened.
[0075] The system includes:
[0076] A first parameter management module, a second parameter management module, an address mark management module, a storage corresponding module and an information recording module;
[0077] The first parameter management module is used to calculate the first parameter between the two code scanning devices, wherein the first parameter management module includes: a code scanning record management unit, an interval management unit and a first parameter calculation unit, wherein the code scanning record management unit is used to arrange the sampling positions in the order of the time of the code scanning records, the interval management unit is used to manage the interval between the two code scanning devices, and the first parameter calculation unit is used to calculate the first parameter;
[0078] The second parameter management module is used to calculate the second parameter between the code scanning device and the target code, wherein the second parameter management module includes: a code scanning sequence management unit, a code position management unit and a second parameter management unit, wherein the code scanning sequence management unit is used to mark the code scanning record of the target code in the code scanning sequence, the code position management unit is used to calculate the position relationship of the target code in the code scanning sequence, and the second parameter management unit is used to calculate the second parameter;
[0079] The address mark management module is used to obtain the address mark of the code scanning device, wherein the address mark management module includes: a coordinate management unit and an address mark management unit, wherein the coordinate management unit is used to manage the coordinate system constructed by the first reference axis and the second reference axis, and the address mark management unit is used to obtain the address mark through the first parameter and the second parameter;
[0080] The storage correspondence module is used to correspond the address mark to the unit storage space;
[0081] The information recording module is used to manage the traceability record of the target code submitted by the traceability sequence, wherein the information recording module includes: an adjustment record unit, a traceability sequence management unit and an information reminder unit, the adjustment record unit is used to record the adjustment record of the unit storage space, the traceability sequence management unit is used to collect the various change records of the target code, and the information reminder unit is used to submit the traceability management record of the target code.
[0082] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0083] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for generating a traceable target code, characterized in that: The method comprises the following steps: Step S100: in a system where each device is associated with a unique static device code, obtaining scanning records of different scanning devices for the same static device code, calculating the relative interval between any two scanning devices, and obtaining a first parameter; Step S100 includes: Step S101: Divide the target code scanning record into N sampling periods with a period length of R. One scanning record of the scanning device corresponds to a sampling position in the sampling period. Arrange the sampling positions according to the time sequence of the scanning records. Step S102: In a certain sampling period, obtain the sampling position d of the code scanning device A A , the sampling position d of the scanning device B B , calculate the distance D between scanning device A and scanning device B AB =d A -d B , the interval between traversing all code scanning devices A and B from N sampling cycles is D AB The number is denoted as K AB ; Step S103: Count the number of intervals between the code scanning device A and the code scanning device B according to the interval length, where the number of statistics corresponding to the jth interval Dj is Kj, and the total number of intervals between the code scanning device A and the code scanning device B is obtained. total , calculating the mathematical expectation value of the interval between the code scanning device A and the code scanning device B, and using the mathematical expectation value as the first parameter between the code scanning device A and the code scanning device B; Step S200: taking a static device code as a target code, forming a code scanning sequence with the code scanning records of a code scanning device, obtaining the relationship between the position of the target code in the code scanning sequence and the length of the code scanning sequence, and obtaining a second parameter; Step S300: obtaining positions represented by the first parameter and the second parameter in the plane, and using the positions as address marks corresponding to the first parameter and the second parameter; Step S400: Divide the data storage space associated with the target code into a number of unit storage spaces, obtain an address list corresponding to the unit storage space, correspond the address mark to the unit storage space, and obtain the unit storage space corresponding to each address mark; Step S500: Obtain the network associated position of the target code, associate the network associated position with an address mark storage space, and when the scanning device that calls the target code changes, replace the address mark in the address mark storage space. Record the process of replacing each address mark of the target code and submit it to relevant management personnel.
2. The method for generating a traceable target code according to claim 1, characterized in that: Step S200 includes: Step S201: assemble each scanning record in a workflow of the scanning device into a scanning sequence, and mark the scanning record of the target code in the scanning sequence; Step S202: Normalize the length of the scanned code sequence, obtain the corresponding position of the target code in each normalized scanned code sequence, and calculate the position relationship p of the target code in the scanned code sequence, p=x num / X0, where x num Indicates the position of the target code in any normalized scan sequence, and X0 indicates the length of the normalized scan sequence; Step S203: Obtain the positional relationship of m target codes in the code scanning sequence, calculate the average of the positional relationship and record it as P, set the magnification μ, and calculate the second parameter Q2 of the target code of the certain code scanning device, Q2=μ×P.
3. The method for generating a traceable target code according to claim 2, characterized in that: Step S300 includes: Step S301: Take an axis including a positive semi-axis and a negative semi-axis in a plane as a reference axis of a first parameter, recorded as a first reference axis, take an axis including a positive semi-axis as a reference axis of a second parameter, recorded as a second reference axis, the second reference axis is perpendicular to the intersection of the positive semi-axis and the negative semi-axis of the first reference axis, and establish a target coordinate system according to the first reference axis and the second reference axis; Step S302: After the next barcode scanning device scans the target code, obtain the previous barcode scanning device that scanned the target code, calculate the first parameter of the next barcode scanning device and the previous barcode scanning device, and the second parameter of the next barcode scanning device and the target code, obtain the coordinate position corresponding to the next device in the target coordinate system, and use the coordinate position as the address mark of the next barcode scanning device.
4. The method for generating a traceable target code according to claim 3, characterized in that: Step S500 includes: Step S501: the target code is associated with a fixed network location, the network location is associated with an address tag storage space, and the unit storage interval corresponding to the address tag of the next scanning device is obtained; Step S502: Record the change process of the storage space by the next scanning device as a change record, where the i-th change record rec i including a device code and a corresponding address tag of the latter device; Step S503: collect all the change records of the target device to form a usage traceability sequence of the target code, and submit it to the relevant management personnel.
5. A generation system for a method for generating a traceable target code according to any one of claims 1 to 4, characterized in that: The system includes the following modules: a first parameter management module, a second parameter management module, an address tag management module, a storage correspondence module and an information recording module, wherein the first parameter management module is used to calculate the first parameter between two code scanning devices, the second parameter management module is used to calculate the second parameter between the code scanning device and the target code, the address tag management module is used to obtain the address tag of the code scanning device, the storage correspondence module is used to correspond the address tag with the unit storage space, and the information recording module is used to manage the traceability record of the target code submitted by the traceability sequence.
6. The generation system according to claim 5, characterized in that: The first parameter management module includes: a code scanning record management unit, an interval management unit and a first parameter calculation unit, wherein the code scanning record management unit is used to arrange the sampling positions in the chronological order of the code scanning records, the interval management unit is used to manage the interval between two code scanning devices, and the first parameter calculation unit is used to calculate the first parameter.
7. The generation system according to claim 5, characterized in that: The second parameter management module includes: a code scanning sequence management unit, a coding position management unit and a second parameter management unit, wherein the code scanning sequence management unit is used to mark the scanning records of the target code in the code scanning sequence, the coding position management unit is used to calculate the position relationship of the target code in the code scanning sequence, and the second parameter management unit is used to calculate the second parameter.
8. The generation system according to claim 5, characterized in that: The address mark management module includes: a coordinate management unit and an address mark management unit, wherein the coordinate management unit is used to manage the coordinate system constructed by the first reference axis and the second reference axis, and the address mark management unit is used to obtain the address mark through the first parameter and the second parameter.
9. The generation system according to claim 5, characterized in that: The information recording module includes: an adjustment record unit, a traceability sequence management unit and an information reminder unit. The adjustment record unit is used to record the adjustment record of the unit storage space, the traceability sequence management unit is used to collect various change records of the target code, and the information reminder unit is used to submit the traceability management record of the target code.
Citation Information
Patent Citations
Method and system for replacing product ID through code scanning
CN111259024A
Equipment batch adding method and device, equipment and medium
CN113206864A