One-object-one-code intelligent management system and management method thereof
By designing a unique code-based intelligent management system, the problem of the traditional SaaS architecture's inability to be customized was solved, enabling intelligent management of resource optimization and billing strategies, and meeting the personalized needs of multi-tenant SaaS services.
Patent Information
- Application Number
- CN202410738777.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-06-07
AI Technical Summary
Traditional SaaS architectures cannot meet the personalized customization needs of one-item-one-code applications, resulting in each industry needing to deploy independently, low resource utilization, and the billing complexity of multi-tenant SaaS services has not been effectively resolved.
A unique smart management system with one code for each item was designed, including modules for tenant account code data acquisition, allocation processing, early warning analysis, template parsing, and data output. By analyzing the type, status, and activity of tenant accounts, corresponding allocation and early warning instructions are generated to achieve intelligent management of tenant accounts.
It enables the definition of application requirements for different industry modules on a single platform, minimizes enterprise server deployment resources, meets customer customization needs, and optimizes the billing strategy for multi-tenant SaaS services.
Smart Images

Figure CN118552153B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a one-object-one-code intelligent management system and a management method thereof. Background Art
[0002] The traditional SaaS architecture is a unified software service provided through a cloud environment, so the degree of customization is low. Users can usually only choose existing functions and configuration options, and cannot fully customize according to their own needs. For example, the fields stored in the data layer are fixed, and the results displayed by the application layer query results are basically fixed. Since the one-to-one-code is applied to multiple industries, the data field structure of different industries is different, and the data stored is also different; the title and results of the displayed data are also different. Therefore, the current status of the traditional SaaS application of one-to-one-code is that each industry needs to deploy a platform for this platform, and the utilization rate of server resources is low.
[0003] The multi-tenant SaaS model is constantly developing and evolving. With the emergence of new technologies, some cutting-edge technical issues have also emerged. For example, multi-tenant SaaS services usually need to deal with contract management and billing for multiple tenants. How to effectively track the usage of different tenants, formulate billing strategies, and perform accurate billing is a complex issue. Summary of the invention
[0004] To achieve the above objectives, this application provides the following technical solutions:
[0005] According to a first aspect of the present invention, the present invention seeks protection for a one-object-one-code intelligent management system, comprising:
[0006] The tenant account code data acquisition module is used to obtain the tenant account name, tenant account type and tenant account status of the tenant account, and transmit the obtained tenant account basic data to the tenant account allocation processing module;
[0007] The tenant account allocation processing module is used to allocate and process all tenant accounts according to the acquired tenant account types and generate tenant account allocation data, and at the same time, to re-allocate tenant accounts of the same type in the tenant account allocation data according to the tenant account status to obtain the traceability tenant account code data and the storage tenant account code data, and transmit the traceability tenant account code data to the early warning analysis module, and transmit the storage tenant account code data to the tenant account template analysis module;
[0008] The early warning analysis module is used to obtain the transmitted traceability tenant account code data, and make early warning judgments on the traceability tenant account according to the traceability version and anti-counterfeiting version corresponding to the traceability tenant account, and generate early warning data and normal inspection data at the same time, and transmit the two to the template data output module;
[0009] The tenant account template parsing module is used to obtain the transmitted storage tenant account code data, and calculate the active duration of the same type of storage tenant accounts based on the number of traceability times and traceability duration of the storage tenant accounts, and allocate the storage tenant accounts into long active tenant accounts and short active tenant accounts according to the active duration;
[0010] For long-active tenant accounts, the warning version is analyzed in combination with the abnormal proportion of tenant accounts in the storage tenant account to determine whether the warning version needs to be adjusted, and an instruction to reduce the active duration and an instruction to normalize the active duration are generated. Then, the secondary active duration is calculated based on the abnormal proportion of tenant accounts, and the secondary active duration is transmitted to the template data output module.
[0011] Similarly, the warning version is calculated for short-active tenant accounts, and the warning version data is transmitted to the template data output module.
[0012] Furthermore, the specific method in which the early warning analysis module analyzes the traceability tenant account is:
[0013] S1: label all traceability tenant accounts of the same type as i, where i=1, 2, ..., j, and obtain the traceability version Ti and anti-counterfeiting version ti corresponding to the traceability tenant account i;
[0014] S2: When the anti-counterfeiting version is greater than the preset value, version warning data is generated, otherwise normal monitoring data is generated, and the specific value of the preset value is 90% Ti.
[0015] Furthermore, the specific manner in which the tenant account template parsing module allocates storage tenant accounts according to the active duration is:
[0016] P1: All storage tenant accounts of the same type are numbered and recorded as n, where n = 1, 2, ..., m, and the number of traceability times and the traceability duration corresponding to the storage tenant account are recorded as Ln and Yn respectively, and the active duration corresponding to a single traceability number is calculated and recorded as Y1;
[0017] P2: Based on the active duration Y1, storage tenant accounts with an active duration greater than Y1 are allocated as long active tenant accounts, and storage tenant accounts with an active duration less than Y1 are allocated as short active tenant accounts.
[0018] Furthermore, the specific manner in which the tenant account template parsing module parses the long-active tenant account is:
[0019] A1: Label all long-term active tenant accounts of the same type as a, where a=1, 2, ..., b, and obtain the storage version of the long-term active tenant account a as Ta and the number of warnings as Ca. Then substitute the storage version Ta and the number of warnings Ca into the formula to calculate the average value of the warning version Tp;
[0020] A2: Get the tenant account abnormality ratio Za corresponding to the number of warning times Ca, and calculate the difference in tenant account abnormality ratios corresponding to two adjacent warning times as Zc. When the tenant account abnormality ratio difference Zc increases, an instruction to reduce the active duration is generated. Conversely, when the tenant account abnormality ratio difference Zc remains unchanged, a normal active duration instruction is generated.
[0021] Furthermore, the tenant account template parsing module specifically parses the generated instruction to reduce the active duration as follows:
[0022] Substitute the tenant account abnormality ratio difference Zc and the warning version mean Tp into the formula T1=Tp-(TpxZc), calculate the secondary active time T1, and generate the secondary active time instruction.
[0023] Furthermore, the specific manner in which the tenant account allocation processing module allocates tenant accounts is as follows:
[0024] Tenant account types of the same type are allocated and combined, and the allocated tenant account types are marked to obtain the allocated tenant accounts. Then, any group of allocated tenant accounts is obtained as the target type, and all tenant accounts in the target type are parsed. When the tenant account to be queried exists in the tenant database, the corresponding tenant account is allocated as the storage tenant account. Otherwise, when the tenant account to be queried does not exist in the tenant database, the corresponding tenant account is allocated as the tracing tenant account.
[0025] Furthermore, the system also includes a tenant account template parsing module to monitor the generated instruction to reduce the active duration, and the specific monitoring method is:
[0026] The real-time tenant account abnormality ratio is obtained and compared with the abnormal preset value. When the real-time tenant account abnormality ratio exceeds the abnormal preset value, a replacement instruction is generated. Conversely, when the real-time tenant account abnormality ratio does not exceed the abnormal preset value, a normal monitoring instruction is generated and the generated normal monitoring instruction is transmitted to the template data output module.
[0027] Furthermore, the template data output module is used to obtain the transmitted normal monitoring instructions, warning version data, normal active time instructions and secondary active time instructions, and display them to the operator through a display device.
[0028] According to a second aspect of the present invention, the present invention claims protection for a one-object-one-code intelligent management method, comprising:
[0029] Obtain the tenant account name, tenant account type and tenant account status of the tenant account, and perform data allocation processing on the obtained tenant account basic data;
[0030] All tenant accounts are allocated and processed according to the acquired tenant account types and tenant account allocation data is generated. At the same time, tenant accounts of the same type in the tenant account allocation data are secondary allocated according to the tenant account status to obtain the traceability tenant account code data and the storage tenant account code data, and the traceability tenant account code data is transmitted to the early warning analysis module, and the storage tenant account code data is analyzed for tenant accounts;
[0031] Obtain the transmitted traceability tenant account code data, and make an early warning judgment on the traceability tenant account according to the traceability version and anti-counterfeiting version corresponding to the traceability tenant account, and generate early warning data and normal inspection data at the same time, and transmit the two to execute the tenant account template;
[0032] The transmitted storage tenant account code data is obtained, and the active duration of the same type of storage tenant accounts is calculated based on the number of traceability times and traceability duration of the storage tenant accounts. At the same time, the storage tenant accounts are allocated into long active tenant accounts and short active tenant accounts according to the active duration;
[0033] For long-active tenant accounts, the warning version is analyzed in combination with the abnormal proportion of tenant accounts in the storage tenant account to determine whether the warning version needs to be adjusted, and an instruction to reduce the active duration and an instruction to normalize the active duration are generated. Then, the secondary active duration is calculated based on the abnormal proportion of tenant accounts, and the secondary active duration is transmitted to the template data.
[0034] Similarly, the warning version is calculated for short-lived tenant accounts, and the warning version data is output;
[0035] The one-object-one-code intelligent management method is applied to the one-object-one-code intelligent management system as described in any one of claims 1-8.
[0036] The present application relates to the field of computer technology, and in particular to a one-item-one-code intelligent management system and management method thereof, which obtains tenant account information and performs data allocation processing; generates tenant account allocation data, and performs secondary allocation of the same type of tenant accounts in the tenant account allocation data to obtain traceability tenant account code data and storage tenant account code data; obtains the transmitted storage tenant account code data, and stores the number of tenant accounts and the traceability duration to calculate the active duration of the same type of storage tenant accounts; analyzes the warning version in combination with the abnormal proportion of the tenant accounts of the storage tenant accounts, and calculates the secondary active duration according to the abnormal proportion of the tenant accounts; calculates the warning version for the short active tenant accounts and outputs the warning version data. The present invention enables a platform to define the application needs of different industry modules, minimize the deployment resources of the enterprise's server, and meet the customized needs of customers. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A structural diagram of a one-item-one-code intelligent management system claimed for protection in an embodiment of the present application;
[0038] Figure 2 This is a workflow diagram of a one-item-one-code intelligent management method claimed in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] The terms "first", "second" and "third" in this application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second" and "third" can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. All directional indications in the embodiments of the present application (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally also includes steps or modules that are not listed, or optionally also includes other steps or modules inherent to these processes, methods, products or devices.
[0041] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0042] See also Figure 1 The present application provides a one-item-one-code intelligent management system, including: a tenant account code data acquisition module, a tenant account allocation processing module, an early warning analysis module, a tenant account template analysis module and a template data output module.
[0043] The tenant account code data acquisition module is used to obtain the tenant account name, tenant account type and tenant account status of all tenant accounts, and the above-mentioned data is the basic data of the tenant account, and the obtained tenant account basic data is transmitted to the tenant account allocation processing module. Specifically, the tenant account status is represented by whether the tenant account currently exists in the tenant database.
[0044] The tenant account allocation processing module is used to obtain the transmitted tenant account basic data and allocate all tenant accounts according to the tenant account type. The specific allocation processing method is as follows:
[0045] All tenant accounts are labeled and their tenant account types are obtained. Then tenant account types of the same type are allocated and combined, and the allocated tenant account types are marked. All tenant accounts are allocated and processed in this way to obtain tenant account allocation data.
[0046] Based on the actual situation, the specific tenant account allocation has the following allocation methods.
[0047] Allocate by content: Allocate based on the content of the tenant account.
[0048] Allocate by form: Allocate based on the form of the tenant account.
[0049] Allocation by user group attributes: Allocation is based on the user groups of the tenant accounts, such as children, teenagers, adults, etc.
[0050] Allocate by region: Allocate based on the region of the tenant account.
[0051] Allocate by style: Allocate based on the style of the tenant account.
[0052] Therefore, the specific tenant account allocation is reasonably processed according to the actual situation.
[0053] Then, the tenant accounts of the same type are re-allocated according to the tenant account allocation data and tenant account status, and the method of the re-allocation is:
[0054] Obtain any type of tenant account, and mark the obtained tenant account type as the target type, then obtain all tenant accounts in the target type, determine the tenant account status, allocate the tenant account as the source tenant account and the storage tenant account, and obtain the secondary allocation data. Similarly, perform the same secondary allocation processing on the tenant account allocation data.
[0055] Specifically, when assigning a tenant account, the tenant account list that already exists is searched. If the tenant account that is searched exists in the tenant database, the corresponding tenant account is assigned as a storage tenant account. If the tenant account that is searched does not exist in the tenant database, the corresponding tenant account is assigned as a tracing tenant account. At the same time, for the tenant account list, the tenant accounts that exist in the tenant account list are all tenant accounts that exist in the tenant database. Therefore, when the tenant account cannot be found in the tenant database, it means that the tenant account is in the tracing state, and there is no situation where the tenant account is not recorded.
[0056] Then the traceable tenant account code data is transmitted to the early warning analysis module, and the stored tenant account code data is transmitted to the tenant account template analysis module.
[0057] The early warning analysis module is used to obtain the transmitted traceability tenant account code data, and at the same time obtain the traceability version and anti-counterfeiting version corresponding to the traceability tenant account code data, and combine the two for analysis. The specific analysis method is:
[0058] All traceability tenant accounts are numbered and recorded as i, and i=1, 2, ..., j. At the same time, the traceability version corresponding to the traceability tenant account is obtained and recorded as Ti and the anti-counterfeiting version ti. The specific traceability version indicates the original length of the anti-counterfeiting tenant account of the anti-counterfeiting personnel, and the anti-counterfeiting version indicates the past version of the anti-counterfeiting tenant account of the anti-counterfeiting personnel. For example, the anti-counterfeiting version of the traceability tenant account i started on August 1, and the current version date is August 19, so the anti-counterfeiting version ti is 18.
[0059] Then compare the traceability version Ti with the anti-counterfeiting version ti. If the anti-counterfeiting version ti exceeds the preset value, where the preset value is expressed as 90% Ti, for example, if the traceability version is 30 days, the preset value is 24 days, and so on. At the same time, the preset value is an integer, and the value calculated according to the traceability version is rounded, which means that it is necessary to remind the anti-counterfeiting version of the traceability tenant account and generate version warning data. On the contrary, if the anti-counterfeiting version ti does not exceed the preset value, it means that the reminder version has not yet arrived. At the same time, the traceability tenant account is monitored normally, and normal monitoring data is generated. At the same time, the warning data and normal monitoring data are transmitted to the template data output module.
[0060] The tenant account template parsing module is used to obtain the transmitted storage tenant account code data, and comprehensively parse the storage tenant account based on the number of traceability times and traceability duration. The specific parsing method is as follows:
[0061] All storage tenant accounts are labeled as n, where n = 1, 2, ..., m. At the same time, the tracing times Ln and tracing duration Yn corresponding to the storage tenant accounts are obtained. The tracing duration here is represented by the tracing duration corresponding to a single tracing time. Then the total tracing duration corresponding to the tracing times Ln is calculated as Yz, and the active duration corresponding to a single tracing time Ln is calculated as Y1. Specifically, the active duration Y1 is represented by the version activity between two adjacent tracing times, and the average value is used here instead.
[0062] Then, the same type of storage tenant accounts are screened based on the active duration Y1. Storage tenant accounts with an active duration greater than Y1 are assigned as long active tenant accounts, and storage tenant accounts with an active duration less than Y1 are assigned as short active tenant accounts.
[0063] All long-term active tenant accounts of the same type are obtained and labeled as a, where a=1, 2, ..., b. At the same time, the storage version of the long-term active tenant account a is obtained, which is recorded as Ta and the number of warnings is recorded as Ca. The storage version is represented by the length of the version stored in the tenant database. Substitute the two into the formula to calculate the average warning version Tp;
[0064] Then, the tenant account abnormality ratio Za corresponding to the number of warning times Ca is obtained, where the tenant account abnormality ratio is expressed as the ratio of the abnormal part to the whole, and the ratio here is expressed by the area. At the same time, the difference in the tenant account abnormality ratio corresponding to two adjacent warning times is calculated and recorded as Zc, and the two adjacent times here represent the two warning times closest to the current version, and the tenant account abnormality ratio difference Zc is analyzed. When the tenant account abnormality ratio difference Zc increases, an instruction to reduce the active time is generated. Conversely, when the tenant account abnormality ratio difference Zc remains unchanged, a normal active time instruction is generated.
[0065] When an instruction to reduce the active duration is generated, the active duration is calculated. The specific calculation method is T1=Tp-(TpxZc). The secondary active duration T1 is calculated and a secondary active duration instruction is generated. At the same time, the generated instruction is transmitted to the template data output module.
[0066] All short-active tenant accounts of the same type are obtained and their regions are marked. Similarly, the short-active tenant accounts are calculated using the mean value of the warning version of the long-active tenant accounts, and the corresponding warning version data is generated. The warning version data is then transmitted to the template data output module.
[0067] The template data output module is used to obtain the transmitted warning version data, normal active time instruction and secondary active time instruction, and display them to the operator through the display device.
[0068] Embodiment 2, as Embodiment 2 of the present invention, differs from Embodiment 1 in that the tenant account template parsing module monitors the generated instruction to reduce the active duration, and the specific monitoring method is as follows:
[0069] The real-time tenant account abnormality ratio is obtained, and the real-time tenant account abnormality ratio is compared with the abnormal preset value. The abnormal preset value is the judgment standard for judging whether the abnormality degree of the current tenant account can continue to be anti-counterfeiting, and the specific value of the abnormal preset value is defined according to the abnormality degree of the tenant account in actual conditions. When the real-time tenant account abnormality ratio exceeds the abnormal preset value, it means that the tenant account needs to be warned or replaced, and a replacement instruction for the corresponding tenant account is generated. On the contrary, when the real-time tenant account abnormality ratio does not exceed the abnormal preset value, it means that the tenant account has not yet reached the point of replacement, and a corresponding normal monitoring instruction is generated, and the generated replacement instruction and normal monitoring instruction are transmitted to the template data output module.
[0070] The template data output module is used to obtain the transmitted normal monitoring instructions and replacement instructions, and display them to the operator through the display device.
[0071] Embodiment 3, as Embodiment 3 of the present invention, differs from Embodiment 2 in that the tenant account template parsing module performs secondary parsing on the generated normal monitoring instruction, and the specific method of the secondary parsing is:
[0072] For the normal monitoring instructions generated, the system will compare the real-time tenant account abnormality ratio with the warning value. If it is greater than the warning value, it means that the tenant account is seriously damaged and needs to be maintained. Otherwise, if it is less than the warning value, normal monitoring will be performed and normal monitoring instructions will be generated.
[0073] Embodiment 4, as the fourth embodiment of the present invention, focuses on combining the implementation processes of Embodiment 1, Embodiment 2 and Embodiment 3 for implementation.
[0074] Some of the data in the above formulas are numerically calculated by removing their dimensions. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0075] According to another embodiment of the present invention, referring to Figure 2 The present invention claims a method for intelligent management of one object with one code, comprising:
[0076] Obtain the tenant account name, tenant account type and tenant account status of the tenant account, and perform data allocation processing on the obtained tenant account basic data;
[0077] All tenant accounts are allocated and processed according to the acquired tenant account types and tenant account allocation data is generated. At the same time, tenant accounts of the same type in the tenant account allocation data are secondary allocated according to the tenant account status to obtain the traceability tenant account code data and the storage tenant account code data, and the traceability tenant account code data is transmitted to the early warning analysis module, and the storage tenant account code data is analyzed for tenant accounts;
[0078] Obtain the transmitted traceability tenant account code data, and make an early warning judgment on the traceability tenant account according to the traceability version and anti-counterfeiting version corresponding to the traceability tenant account, and generate early warning data and normal inspection data at the same time, and transmit the two to execute the tenant account template;
[0079] The transmitted storage tenant account code data is obtained, and the active duration of the same type of storage tenant accounts is calculated based on the number of traceability times and traceability duration of the storage tenant accounts. At the same time, the storage tenant accounts are allocated into long active tenant accounts and short active tenant accounts according to the active duration;
[0080] For long-active tenant accounts, the warning version is analyzed in combination with the abnormal proportion of tenant accounts in the storage tenant account to determine whether the warning version needs to be adjusted, and an instruction to reduce the active duration and an instruction to normalize the active duration are generated. Then, the secondary active duration is calculated based on the abnormal proportion of the tenant account, and the secondary active duration is transmitted to the template data. Similarly, the warning version is calculated for short-active tenant accounts, and the warning version data is output;
[0081] The one-object-one-code intelligent management method is applied to the one-object-one-code intelligent management system.
[0082] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0083] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The above is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of this application, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
[0084] The specific implementation methods of the invention are described in detail above, but they are only examples, and the present application is not limited to the specific implementation methods described above. For those skilled in the art, any equivalent modification or substitution of the invention is also within the scope of the present application, and therefore, the equalization, modification, and improvement made without departing from the spirit and principle of the present application should be included in the scope of the present application.
Claims
1. An intelligent management system with one item and one code, characterized in that: include: The tenant account code data acquisition module is used to obtain the tenant account name, tenant account type and tenant account status of the tenant account, and transmit the obtained tenant account basic data to the tenant account allocation processing module; The tenant account allocation processing module is used to allocate and process all tenant accounts according to the acquired tenant account types and generate tenant account allocation data, and at the same time, to re-allocate tenant accounts of the same type in the tenant account allocation data according to the tenant account status to obtain the traceability tenant account code data and the storage tenant account code data, and transmit the traceability tenant account code data to the early warning analysis module, and transmit the storage tenant account code data to the tenant account template analysis module; The early warning analysis module is used to obtain the transmitted traceability tenant account code data, and make early warning judgments on the traceability tenant account according to the traceability version and anti-counterfeiting version corresponding to the traceability tenant account, and generate early warning data and normal monitoring data at the same time, and transmit the two to the template data output module; The tenant account template parsing module is used to obtain the transmitted storage tenant account code data, and calculate the active duration of the same type of storage tenant accounts based on the number of traceability times and traceability duration of the storage tenant accounts, and allocate the storage tenant accounts into long active tenant accounts and short active tenant accounts according to the active duration; For long-active tenant accounts, the warning data is analyzed in combination with the abnormal proportion of tenant accounts that store tenant accounts, to determine whether the warning data needs to be adjusted, and an instruction to reduce the active duration and an instruction to normalize the active duration are generated. Then, the secondary active duration is calculated based on the abnormal proportion of tenant accounts, and the secondary active duration is transmitted to the template data output module. Calculate warning data for short-active tenant accounts and transmit the warning data to the template data output module; when assigning tenant accounts, search based on the existing tenant account list. If the tenant account to be searched exists in the tenant database, the corresponding tenant account is assigned as the storage tenant account. Otherwise, if the tenant account to be searched does not exist in the tenant database, the corresponding tenant account is assigned as the tracing tenant account. The specific method in which the early warning analysis module analyzes the traceability tenant account is as follows: S1: label all traceability tenant accounts of the same type as i, where i=1, 2, ..., j, and obtain the traceability version Ti and anti-counterfeiting version ti corresponding to the traceability tenant account i; S2: When the anti-counterfeiting version is greater than the preset value, warning data is generated, otherwise normal monitoring data is generated, and the specific value of the preset value is 90% Ti; The specific method in which the tenant account template parsing module allocates storage tenant accounts according to the active duration is: P1: All storage tenant accounts of the same type are numbered and recorded as n, where n = 1, 2, ..., m, and the number of traceability times and the traceability duration corresponding to the storage tenant account are recorded as Ln and Yn respectively, and the active duration corresponding to a single traceability number is calculated and recorded as Y1; P2: Based on the active duration Y1, the storage tenant accounts with an active duration greater than Y1 are allocated as long active tenant accounts, and the storage tenant accounts with an active duration less than Y1 are allocated as short active tenant accounts; The specific method in which the tenant account template parsing module parses the long-active tenant account is: A1: All long-active tenant accounts of the same type are labeled as a, where a=1, 2, ..., b, and the storage version of the long-active tenant account a is obtained, which is recorded as Ta and the number of warnings is recorded as Ca. The storage version is represented by the length of the version stored in the tenant database. Then, the storage version Ta and the number of warnings Ca are substituted into the formula to calculate the mean value of the warning data Tp; A2: Obtain the tenant account abnormality ratio Za corresponding to the number of warning times Ca, and calculate the difference in tenant account abnormality ratios corresponding to two adjacent warning times as Zc. When the tenant account abnormality ratio difference Zc increases, an instruction to reduce the active duration is generated. Conversely, when the tenant account abnormality ratio difference Zc remains unchanged, a normal active duration instruction is generated. The tenant account template parsing module specifically parses the generated instruction to reduce the active duration as follows: Substitute the tenant account abnormality ratio difference Zc and the warning data mean Tp into the formula Tn=Tp-(Tp*Zc), calculate the secondary active time Tn, and generate the secondary active time instruction.
2. According to claim 1, the intelligent management system of one object and one code is characterized in that: The specific method of allocating tenant accounts by the tenant account allocation processing module is as follows: Tenant account types of the same type are allocated and combined, and the allocated tenant account types are marked to obtain the allocated tenant accounts. Then, any group of allocated tenant accounts is obtained as the target type, and all tenant accounts in the target type are parsed. When the tenant account to be queried exists in the tenant database, the corresponding tenant account is allocated as the storage tenant account. Otherwise, when the tenant account to be queried does not exist in the tenant database, the corresponding tenant account is allocated as the tracing tenant account.
3. The one-item-one-code intelligent management system according to claim 1 is characterized in that: The tenant account template parsing module also monitors the generated instruction to reduce the active duration, and the specific monitoring method is: The real-time tenant account abnormality ratio is obtained and compared with the abnormal preset value. When the real-time tenant account abnormality ratio exceeds the abnormal preset value, it means that the tenant account needs to be warned or replaced, and a replacement instruction for the corresponding tenant account is generated. Conversely, when the real-time tenant account abnormality ratio does not exceed the abnormal preset value, a normal monitoring instruction is generated and the generated normal monitoring instruction is transmitted to the template data output module.
4. The one-item-one-code intelligent management system according to claim 3 is characterized in that: The template data output module is used to obtain the transmitted normal monitoring instructions, early warning data, normal active duration instructions and secondary active duration instructions, and display them to the operator through a display device.
5. A one-item-one-code intelligent management method, characterized in that: include: Obtain the tenant account name, tenant account type and tenant account status of the tenant account, and perform data allocation processing on the obtained tenant account basic data; All tenant accounts are allocated and processed according to the acquired tenant account types and tenant account allocation data is generated. At the same time, tenant accounts of the same type in the tenant account allocation data are secondary allocated according to the tenant account status to obtain the traceability tenant account code data and the storage tenant account code data, and the traceability tenant account code data is transmitted to the early warning analysis module, and the storage tenant account code data is analyzed for tenant accounts; Obtain the transmitted traceability tenant account code data, and make early warning judgments on the traceability tenant account according to the traceability version and anti-counterfeiting version corresponding to the traceability tenant account, and generate early warning data and normal monitoring data at the same time, and transmit the two to the template data output module; The transmitted storage tenant account code data is obtained, and the active duration of the same type of storage tenant accounts is calculated based on the number of traceability times and traceability duration of the storage tenant accounts. At the same time, the storage tenant accounts are allocated into long active tenant accounts and short active tenant accounts according to the active duration; For long-active tenant accounts, the warning data is analyzed in combination with the abnormal proportion of tenant accounts that store tenant accounts, to determine whether the warning data needs to be adjusted, and an instruction to reduce the active duration and an instruction to normalize the active duration are generated. Then, the secondary active duration is calculated based on the abnormal proportion of tenant accounts, and the secondary active duration is transmitted to the template data output module. Calculate warning data for short-lived tenant accounts and output the warning data; The one-object-one-code intelligent management method is applied to the one-object-one-code intelligent management system as described in any one of claims 1-4.
