ERP management method, device and medium for product retail

By dynamically determining the operation level and permission settings in the ERP management system, combined with the selection of server performance and load conditions, the existing ERP management system has solved the problems of low controllability and low response efficiency in product retail enterprises, and achieved more efficient, secure and flexible ERP management.

CN118780873BActive Publication Date: 2025-03-28SHANDONG XUEJI FOOD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410999136.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2025-03-28
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

The existing ERP management system is difficult to adapt to diversified scenarios in product retail enterprises, resulting in low controllability of the management process, and server overload in multitasking situations and low response efficiency.

Method used

By determining the authority and login role based on the login information of the product retail terminal, dynamically determine the operation level of each module, and determining the account hierarchy through the upstream and downstream product retail tree map to achieve refined permission settings. At the same time, the fields of the triggering instructions and search text are filtered by filtering options, determining whether they are an associated trigger type, generating instructions to be executed, and selecting the most suitable management server for processing based on the server's performance and load conditions.

Benefits of technology

It improves the flexibility and security of the ERP management system, ensures that users can only access modules and functions that their permissions allow, reduces the risk of system misunderstanding, and improves the efficiency and stability of the system by reasonably allocating server resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780873B_ABST
    Figure CN118780873B_ABST
Patent Text Reader

Abstract

The embodiments of the present specification disclose an ERP management method, device and medium for product retail, the method comprising: determining the organization authority and login role information of the terminal according to the current product retail terminal login information, so as to determine the operation level of each module in the ERP management system according to the organization authority and login role information; receiving the option trigger instruction and / or search text of the current product retail terminal to filter its fields, and determining whether it is an associated trigger type based on the fields; if so, generating an instruction to be executed according to the option trigger instruction and / or search text and the module associated with the option trigger instruction and / or search text, and sending the instruction to be executed to a designated management server according to the module corresponding to the instruction to be executed and the historical execution record of the current product retail terminal; calling the data corresponding to the instruction to be executed in the ERP management system through the designated management server, and processing based on the processing logic corresponding to the instruction to be executed, and obtaining the execution result and returning it.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of digital management technology, and in particular to an ERP management method, device and medium for product retail. Background Art

[0002] Product retailers are companies whose main business is selling various products. They may operate physical stores, online stores, or both. These companies are often faced with challenges such as complex supply chain management, inventory control, sales channel management, and customer relationship maintenance. The emergence of Enterprise Resource Planning (ERP) software has enabled product retailers to avoid high-risk information system development. Only by quickly implementing and combining the implementation process with their own characteristics can they efficiently obtain information systems that meet the actual needs of the enterprise and can adapt to future needs, and then integrate and manage complex retail business processes. However, with the increase in the use scenarios and scope of ERP management systems, how to implement ERP management of product retail while ensuring the security of user data has become an important issue for product retailers.

[0003] Currently, for the ERP management system, the function permission control and data permission control of the user are generally determined according to the user login information after receiving the operation instruction. Among them, function permission control refers to allowing or denying system users to use specific functions of the system, and data permission control refers to allowing or denying system users to perform specific business operations on certain data. For enterprises such as product retail with many upstream and downstream organizations, the single permission setting is difficult to adapt to the diverse and different scenarios in product retail, making the use management process of the ERP management system less controllable. In addition, for multi-terminal task processing of product retail enterprises, the server polling allocation method based on task trigger time is easy to cause overload of some management servers in the ERP management system when there are many tasks, which makes the ERP management system processing response efficiency low. Summary of the invention

[0004] In order to solve the above technical problems, one or more embodiments of this specification provide an ERP management method, device and medium for product retail.

[0005] One or more embodiments of this specification adopt the following technical solutions:

[0006] One or more embodiments of this specification provide an ERP management method for product retail, which is applied to an ERP management system including: a master file module, an equipment module, a contract module, a marketing module, an inventory module, a supply chain module, a warehousing module, a financial module, and a report module. The method includes:

[0007] Determine the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, so as to determine the operation level of each module in the ERP management system according to the organization authority and the login role information; wherein each operation level controls the displayable range of the module menu bar options;

[0008] receiving, according to the operation level, an option trigger instruction and / or a search text of the current product retail terminal to filter a field of the option trigger instruction and / or the search text to determine whether the option trigger instruction and / or the search text is an associated trigger type based on the field;

[0009] If yes, then according to the option trigger instruction and / or search text, the module associated with the option trigger instruction and / or search text generates an instruction to be executed, and according to the module corresponding to the instruction to be executed and the historical execution record of the current product retail terminal, the instruction to be executed is sent to a designated management server;

[0010] The designated management server calls the data corresponding to the to-be-executed instruction in the ERP management system, performs processing based on the processing logic corresponding to the to-be-executed instruction, obtains the execution result and returns it to the current product retail terminal.

[0011] Optionally, in one or more embodiments of the present specification, before determining the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, and determining the operation level of each module in the ERP management system according to the organization authority and the login role information, the method further includes:

[0012] Determine the management outlets and subordinate outlets corresponding to each product retail terminal according to the retail store addresses corresponding to each product retail terminal;

[0013] Determine the upstream and downstream product retail tree map corresponding to the current retail terminal based on the management outlets and subordinate outlets corresponding to each of the product retail terminals;

[0014] Determine the account hierarchy corresponding to the ERP management organization based on the upstream and downstream product retail tree map; wherein the account hierarchy at least includes: a primary management account and a secondary user account;

[0015] According to the account stratification corresponding to each of the product retail terminals, the organization level corresponding to each of the product retail terminals is determined, so as to perform organization level authority setting for each of the product retail terminals through the first-level management account, and determine the authority setting corresponding to each of the product retail terminals;

[0016] Obtaining the permission settings corresponding to each of the product retail terminals, and determining the minimum permission setting range corresponding to each of the product retail terminals;

[0017] The permission range of each login role is determined according to the minimum permission setting range and the role permission inheritance table corresponding to each account hierarchy, so as to associate the operation level within the permission range with the login role.

[0018] Optionally, in one or more embodiments of the present specification, determining the permission range of each login role according to the minimum permission setting range and the role permission inheritance table corresponding to each account hierarchy, so as to associate the operation level within the permission range with the login role, specifically includes:

[0019] According to the role permission inheritance table corresponding to each of the account hierarchies, determining the directly inherited login roles and the indirectly inherited login roles corresponding to each of the login roles;

[0020] Determining an inheritance path for the minimum permission setting range based on the login paths of the directly inherited login role and the indirectly inherited login role;

[0021] The operation level within the authority range is associated with the login role according to the inheritance path.

[0022] Optionally, in one or more embodiments of the present specification, after determining the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, and determining the operation level of each module in the ERP management system according to the organization authority and the login role information, the method further includes:

[0023] Acquire a supportable database corresponding to the operation level in the ERP management system, classify and aggregate the supportable database according to the minimum authority setting range corresponding to each of the product retail terminals, and obtain database data with different authority ranges;

[0024] Determine the authorized scope of database data for each authority scope based on the login role information and organization authority corresponding to each authority scope;

[0025] Determine the authorized access structure corresponding to the authorized scope according to the relationship between the login role information and the organization authority within the authorized scope; wherein the relationship between the login role information and the organization authority includes: the relationship between login role information and login role information, the relationship between organization authority and organization authority; the relationship between login role information and structure authority organization;

[0026] The database data within each authority range is encrypted according to the authorized access structure and the preset public key.

[0027] Optionally, in one or more embodiments of the present specification, screening the fields of the option trigger instruction and / or the search text to determine whether the option trigger instruction and / or the search text is an associated trigger type based on the fields specifically includes:

[0028] Obtaining the field information of the option trigger instruction and the search text; wherein the field information includes: text content, search location, and search time;

[0029] Dividing the text content based on a preset character length to obtain a plurality of text fields, and obtaining text word vectors of the text fields;

[0030] Obtaining a functional word library corresponding to the ERP management system to determine a replacement word for the text content according to the cosine similarity between the text word vector and each word in the functional word library;

[0031] Based on the search position corresponding to the replacement word and the text word vector in the ERP management system, obtaining the context logic of the search position to determine the suspected related corresponding content;

[0032] Determine a difference between the search time corresponding to the suspected associated corresponding content and the search position, and determine whether the option trigger instruction is an associated trigger type based on the difference in search time;

[0033] A preset associated response sequence is queried based on the text content and the search position to determine whether there is an associated response instruction with the option trigger instruction and / or the search text.

[0034] Optionally, in one or more embodiments of the present specification, sending the instruction to be executed to a designated management server according to the module corresponding to the instruction to be executed and the historical execution record of the current product retail terminal specifically includes:

[0035] Determine whether the instruction to be executed is a cross-system instruction according to the module corresponding to the instruction to be executed, and if so, determine whether the current product retail terminal has the operation authority according to the login information of the current product retail terminal;

[0036] If it is determined that the current product retail terminal does not have the operation authority, triggering the verification process of the cross-system instruction;

[0037] If it is determined that the current product retail terminal has the operation authority or it is determined that the instruction to be executed is not a cross-system instruction, then determining multiple history management servers of the module corresponding to the instruction to be executed according to the historical execution record of the current product retail terminal;

[0038] The multiple history management servers are used as candidate management servers for the instructions to be executed, so as to determine the instruction management server corresponding to the instructions to be executed according to the performance parameters and load parameters of the candidate management servers, and send the instructions to be executed to the designated management server.

[0039] Optionally, in one or more embodiments of the present specification, determining the instruction management server corresponding to the to-be-executed instruction according to the performance parameter and load parameter of the to-be-selected management server specifically includes:

[0040] Acquire multiple performance parameters of the management servers to be selected, compare the multiple performance parameters of each of the management servers to be selected, and determine the performance scores corresponding to different performance parameters of each of the management servers to be selected; wherein the performance parameters include: CPU speed, memory size, and network bandwidth;

[0041] Determine the current number of connections corresponding to the management servers to be selected respectively according to the load parameters, so as to determine the load score of each management server to be selected based on the current number of connections; wherein the current number of connections is negatively correlated with the load score;

[0042] Calling the historical load parameters of each of the candidate management servers to determine the change direction and quantity of the number of connections corresponding to each of the candidate management servers, so as to determine the change direction and quantity of the number of connections corresponding to the current number of connections;

[0043] Acquire a historical load parameter for determining that the performance parameter and the load parameter of the management server to be selected match each other;

[0044] According to the connection number change direction and quantity corresponding to each of the judgment history parameters, the connection number change direction and quantity corresponding to the current connection number are corrected, so as to predict the connection number of each of the candidate management servers at the next moment according to the corrected connection number change direction and quantity;

[0045] The scoring coefficient of the load score is determined according to the number of connections at the next moment, so as to determine the best server among the candidate management servers as the designated management server according to the load score, the scoring coefficient and the performance score.

[0046] Optionally, in one or more embodiments of the present specification, obtaining the execution result and returning it to the current product retail terminal specifically includes:

[0047] According to the processing logic corresponding to the to-be-executed instruction, determine the result display position corresponding to the option trigger instruction and / or the search text and perform character placeholders on the result display position;

[0048] If it is determined that the designated management server obtains the execution result of the instruction to be executed, then obtaining a display window path corresponding to the result display position;

[0049] Returning the execution result according to the display window path, and matching the execution result to the character placeholder;

[0050] If the match is completed, the display window path is called to return the execution result to the current product retail terminal for display.

[0051] One or more embodiments of this specification provide an ERP management device for product retail, the device comprising:

[0052] at least one processor; and,

[0053] a memory communicatively connected to the at least one processor; wherein,

[0054] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute any of the above-mentioned methods.

[0055] One or more embodiments of the present specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute any of the above-described methods.

[0056] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0057] According to the current product retail terminal login information, the current product retail terminal's institutional authority and login role information are determined, and the operation level of each module is determined to avoid the problem of lack of management flexibility caused by single authority settings. The current product retail terminal can also be restricted to access only modules and functions within the scope of its authority, thereby ensuring the security of the system and preventing unauthorized operations and information leakage. By determining whether the option trigger instruction and the search text are related trigger types, the possibility of users executing wrong instructions or obtaining irrelevant information due to misoperation can be reduced, reducing the risk of system misunderstanding. Based on comprehensive consideration of the server's performance and load conditions, the most suitable designated management server is selected for management, which improves the efficiency and stability of the ERP management system. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:

[0059] Figure 1 A flowchart of an ERP management method for product retail provided in an embodiment of this specification;

[0060] Figure 2 A schematic diagram of the internal structure of an ERP management device for product retail provided in an embodiment of this specification;

[0061] Figure 3 A schematic diagram of the internal structure of a non-volatile storage medium provided in an embodiment of this specification. DETAILED DESCRIPTION

[0062] The embodiments of this specification provide an ERP management method, device and medium for product retail.

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

[0064] like Figure 1 As shown, the embodiment of this specification provides a flowchart of an ERP management method for product retail. Figure 1 It can be seen that in one or more embodiments of this specification, an ERP management method for product retail is applied to an ERP management system including: a master file module, an equipment module, a contract module, a marketing module, an inventory module, a supply chain module, a warehousing module, a financial module, and a report module, and the method includes:

[0065] S101: Determine the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, and determine the operation level of each module in the ERP management system according to the organization authority and the login role information; wherein each operation level controls the displayable range of the module menu bar options.

[0066] By determining the current product retail terminal's institutional authority and login role information based on the current product retail terminal's login information and determining the operation level of each module, the current product retail terminal can be restricted to access only the modules and functions within its authority range, thereby ensuring the security of the system and preventing unauthorized operations and information leakage. In addition, after determining the operation level based on the user's role and authority, the display range of the module menu bar options is controlled, and only the modules and options related to their work are displayed, which can greatly simplify the interface, reduce redundant information, and improve the user's work efficiency and experience.

[0067] Further, in one or more embodiments of the present specification, before determining the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, and determining the operation level of each module in the ERP management system according to the organization authority and the login role information, in order to make the ERP management method adapt to the complex supply chain and composition structure of product retail and avoid the problem of lack of management flexibility caused by single authority setting, the method also includes:

[0068] According to the retail store address corresponding to each product retail terminal, the management outlets and subordinate outlets corresponding to each product retail terminal are determined. Then, based on the management outlets and subordinate outlets corresponding to each product retail terminal, the upstream and downstream product retail tree map corresponding to the current retail terminal is determined. According to the obtained upstream and downstream product retail tree map, the account hierarchy corresponding to the ERP management organization is determined. Among them, it should be noted that the account hierarchy at least includes: a first-level management account and a second-level user account. It can be understood that the authority of the first-level management account is greater than that of the second-level user account, and the second-level user account can be managed. Then, according to the account hierarchy corresponding to each product retail terminal, the organization level corresponding to each product retail terminal is determined, and then the authority setting of the organization level for each product retail terminal is performed through the first-level management account, and the authority setting corresponding to each product retail terminal is determined. By determining the organization level and authority setting of each product retail terminal, more refined management can be achieved and management efficiency can be improved. The first-level management account can manage and supervise the subordinate second-level user accounts, ensuring the smooth operation of each product retail terminal. Based on different permission settings and hierarchical relationships, different permissions can be set for different personnel and terminals to achieve differentiated authorization and protect data security and business processes.

[0069] At the same time, in order to solve the problem that the personnel composition of the product retail industry is complex and the personnel transfer is prone to cause vacancies, it is difficult to carry out retail management. In the embodiment of this specification, the permission settings corresponding to each product retail terminal are obtained, and the minimum permission setting range corresponding to each product retail terminal is determined. By obtaining the permission settings of each product retail terminal and determining the minimum permission setting range, the permissions can be finely controlled according to the actual situation, that is, different terminals and roles can have different permission ranges to adapt to different needs and responsibilities. According to the obtained minimum permission setting range and the role permission inheritance table corresponding to each account hierarchy, the permission range of each login role is determined, so that the operation level within the permission range is associated with the login role. By associating the permission range with the login role, it can be ensured that only roles with corresponding permissions can perform corresponding operations and access specific data. This can effectively prevent unauthorized access and operation and protect data security. In addition, by clarifying the permission range of each login role, management efficiency can be improved. It is not necessary to set separate permissions for specific terminals and roles each time, but to determine the permission range according to the role hierarchy and permission inheritance table, which simplifies the permission management process. And when personnel are transferred or leave, the role allocation and authority scope can be adjusted to ensure continuity and smooth progress of work.

[0070] Further, in one or more embodiments of the present specification, according to the minimum permission setting range and the role permission inheritance table corresponding to each account hierarchy, the permission range of each login role is determined to associate the operation level within the permission range with the login role, specifically including the following process:

[0071] First, according to the role permission inheritance table corresponding to each account hierarchy, the directly inherited login role and the indirectly inherited login role corresponding to each login role are determined. By determining the directly inherited login role and the indirectly inherited login role of each login role, the inheritance relationship between roles can be clearly understood. This helps to clarify the hierarchical relationship of role permissions and facilitates permission management and control. Then, based on the obtained login paths of the directly inherited login role and the indirectly inherited login role, the inheritance path for the minimum permission setting range is determined. Based on the login paths of the directly inherited login role and the indirectly inherited login role, the inheritance path for the minimum permission setting range can be determined. In this way, the inheritance path of permissions can be effectively controlled to avoid permission leakage or improper inheritance. The operation level within the permission range is associated with the login role according to the inheritance path. By associating the operation level within the permission range with the login role according to the inheritance path, the management of the operation level can be simplified. Instead of setting the operation level for each login role separately, its operation level is determined by the role's inheritance path. This improves the efficiency and flexibility of operation level management. In addition, flexible permission management can be achieved by inheriting and associating role permissions. When a new login role or operation level needs to be added, you only need to make corresponding adjustments and associations in the role permission inheritance table and permission scope. This can easily adapt to changes in organizational structure or business needs.

[0072] Further, in one or more embodiments of the present specification, after determining the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, and determining the operation level of each module in the ERP management system according to the organization authority and login role information, the method further includes:

[0073] Obtain the supportable database corresponding to the operation level in the ERP management system, classify and aggregate the supportable database according to the minimum permission setting range corresponding to each product retail terminal, and obtain database data with different permission ranges. Then, determine the authorized scope of the database data of each permission range according to the login role information and institutional authority corresponding to each permission range. Then, determine the authorized access structure corresponding to the authorized scope according to the relationship between the login role information and institutional authority within the authorized range. Among them, it should be noted that the relationship between the login role information and the institutional authority includes: the relationship between the login role information and the login role information, the relationship between the institutional authority and the institutional authority, and the relationship between the login role information and the structural authority. Encrypt the database data of each permission range according to the authorized access structure determined above and the preset public key.

[0074] S102: receiving the option trigger instruction and / or search text of the current product retail terminal according to the operation level to filter the fields of the option trigger instruction and / or search text to determine whether the option trigger instruction and / or search text is an associated trigger type based on the fields.

[0075] Receive the option trigger instruction and / or search text of the current product retail terminal, thereby filtering the fields of the option trigger instruction and / or search text, and then determine whether the option trigger instruction and / or search text are of an associated trigger type based on the field. By determining whether the option trigger instruction and the search text are of an associated trigger type, the possibility of the user executing an erroneous instruction or obtaining irrelevant information due to misoperation can be reduced, and the risk of misunderstanding of the system can be reduced. Specifically, in one or more embodiments of the present specification, filtering the fields of the option trigger instruction and / or search text to determine whether the option trigger instruction and / or search text are of an associated trigger type based on the field specifically includes the following process:

[0076] First, the field information of the option trigger instruction and the search text is obtained; wherein the field information includes: text content, search position, and search time. Then, the text content is divided according to the preset character length to obtain multiple text fields, and the text word vector of the text field is obtained. At the same time, in order to improve the accuracy of the retrieval and realize the expansion of the field, it is necessary to obtain the functional word library corresponding to the ERP management system, and determine the replacement word of the text content according to the cosine similarity between the text word vector and each word in the functional word library. According to the obtained replacement word and the search position corresponding to the text word vector in the ERP management system, the context logic of the search position is obtained to determine the suspected associated corresponding content according to the context logic. The difference between the suspected associated corresponding content and the search time corresponding to the search position is determined, so as to determine whether the option trigger instruction is an associated trigger type according to the difference in search time. According to the difference in search time, determining whether the option trigger instruction is an associated trigger type can avoid the computing power consumed by analyzing the associated operation with a large search time difference. The preset associated response sequence is queried based on the text content and the search position, so as to determine whether the option trigger instruction and / or the search text has an associated response instruction.

[0077] S103: If yes, then based on the option trigger instruction and / or search text, a module associated with the option trigger instruction and / or search text generates an instruction to be executed, and based on the module corresponding to the instruction to be executed and the historical execution record of the current product retail terminal, the instruction to be executed is sent to a designated management server.

[0078] If it is determined based on the above step S102 that the option trigger instruction and / or the search text have an associated trigger type, then the to-be-executed instruction is generated according to the item trigger instruction and / or the search text, and the associated module of the option trigger instruction and / or the search text. Then, in order to improve the execution efficiency of the to-be-executed instruction, the designated management server corresponding to the to-be-executed instruction is determined according to the module corresponding to the to-be-executed instruction and the historical execution record of the current product retail terminal, and the to-be-executed instruction is sent to the designated management server.

[0079] Specifically, in one or more embodiments of the present specification, sending the instruction to be executed to the designated management server according to the module corresponding to the instruction to be executed and the historical execution record of the current product retail terminal specifically includes the following process:

[0080] First, determine whether the instruction to be executed is a cross-system instruction based on the module corresponding to the instruction to be executed. If so, determine whether the current product retail terminal has the operating authority based on the current product retail terminal login information. If it is determined that the current product retail terminal does not have the operating authority, then trigger the verification process of the cross-system instruction. If it is determined that the current product retail terminal has the operating authority or that the instruction to be executed is not a cross-system instruction, then determine multiple historical management servers of the module corresponding to the instruction to be executed based on the historical execution records of the current product retail terminal. By using multiple historical management servers as the management servers to be selected for the instruction to be executed, the instruction management server corresponding to the instruction to be executed is determined based on the performance parameters and load parameters of the management servers to be selected, and the instruction to be executed is sent to the designated management server.

[0081] Further, in one or more embodiments of the present specification, determining the instruction management server corresponding to the instruction to be executed according to the performance parameters and load parameters of the management server to be selected specifically includes the following process:

[0082] First, multiple performance parameters of the management servers to be selected are obtained, so as to compare the multiple performance parameters of each management server to be selected, and determine the performance scores corresponding to different performance parameters in each management server to be selected. Among them, the performance parameters include: CPU speed, memory size, and network bandwidth. Then, the current number of connections corresponding to the management servers to be selected is determined according to the load parameters, so as to determine the load scores of each management server to be selected based on the current number of connections. Among them, it can be understood that the current number of connections and the load score are negatively correlated. By calling the historical load parameters of each management server to be selected, the change direction and quantity of the number of connections corresponding to each management server to be selected are determined to determine the change direction and quantity of the number of connections corresponding to the current number of connections. Then, the judgment history load parameters matching the performance parameters and load parameters of the management server to be selected are obtained. Then, according to the change direction and quantity of the number of connections corresponding to each judgment history parameter, the change direction and quantity of the number of connections corresponding to the current number of connections are corrected, so as to predict the number of connections of each management server to be selected at the next moment according to the corrected change direction and quantity of the number of connections. According to the change direction and quantity of the number of connections corresponding to the judgment history parameter, the change direction and quantity of the number of connections of the current number of connections are corrected, thereby improving the accuracy and reliability of the prediction. The load score coefficient is determined according to the number of connections at the next moment, so that the best server among the candidate management servers is determined as the designated management server according to the load score, the score coefficient and the performance score. The best server is determined as the designated management server by comprehensive consideration of the performance score and the load score. In this way, the most suitable server can be selected for management based on comprehensive consideration of the server's performance and load conditions, thereby improving the efficiency and stability of the management system.

[0083] S104: calling the data corresponding to the to-be-executed instruction in the ERP management system through the designated management server, and processing the data based on the processing logic corresponding to the to-be-executed instruction to obtain an execution result and return it to the current product retail terminal.

[0084] After the designated management server is determined based on the above step S103, the designated management server calls the data corresponding to the to-be-executed instruction in the ERP management system, and processes the to-be-executed instruction based on the processing logic corresponding to the to-be-executed instruction, and obtains the execution result and returns it to the current product retail terminal. Specifically, in one or more embodiments of this specification, obtaining the execution result and returning it to the current product retail terminal specifically includes the following process:

[0085] First, according to the processing logic corresponding to the instruction to be executed, the result display position corresponding to the option trigger instruction and / or the search text is determined and a character placeholder is made for the result display position. If it is determined that the designated management server obtains the execution result of the instruction to be executed, then the display window path corresponding to the result display position is obtained. Then the execution result is transmitted back according to the display window path, and the execution result is matched to the character placeholder. If the match is completed, the display window path is called to return the execution result to the current product retail terminal for display. The display window corresponding to the result display position is obtained according to the display window path, and the execution result is transmitted back to the window. In this way, the execution result can be quickly returned to the product retail terminal for display, which improves the efficiency of the feedback result, can adapt to different scenarios and functional requirements, and improves the scalability of the system.

[0086] like Figure 2 As shown, the embodiment of this specification provides a schematic diagram of the structure of an ERP management device for product retail. Figure 2 It can be seen that in one or more embodiments of this specification, an ERP management device for product retail includes:

[0087] at least one processor; and,

[0088] a memory communicatively connected to the at least one processor; wherein,

[0089] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute any of the above-mentioned methods.

[0090] like Figure 3 As shown, the present specification provides a schematic diagram of a non-volatile storage medium structure. Figure 2 It can be seen that in one or more embodiments of the present specification, a non-volatile storage medium stores computer-executable instructions, and the computer-executable instructions can: execute any of the methods described above.

[0091] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0092] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0093] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.

Claims

1. An ERP management method for product retail, applied to an ERP management system including: a master file module, an equipment module, a contract module, a marketing module, an inventory module, a supply chain module, a warehousing module, a financial module, and a report module, characterized in that: The method comprises: Determine the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, so as to determine the operation level of each module in the ERP management system according to the organization authority and the login role information; wherein each operation level controls the displayable range of the module menu bar options; receiving, according to the operation level, an option trigger instruction and / or a search text of the current product retail terminal to filter a field of the option trigger instruction and / or the search text to determine whether the option trigger instruction and / or the search text is an associated trigger type based on the field; If yes, then according to the option trigger instruction and / or search text, the module associated with the option trigger instruction and / or search text generates an instruction to be executed, and according to the module corresponding to the instruction to be executed and the historical execution record of the current product retail terminal, the instruction to be executed is sent to a designated management server; The designated management server calls the data corresponding to the to-be-executed instruction in the ERP management system, processes the to-be-executed instruction based on the processing logic corresponding to the to-be-executed instruction, obtains the execution result and returns it to the current product retail terminal; Screening the fields of the option trigger instruction and / or the search text to determine whether the option trigger instruction and / or the search text is an associated trigger type based on the fields specifically includes: Obtaining the field information of the option trigger instruction and the search text; wherein the field information includes: text content, search location, and search time; Dividing the text content based on a preset character length to obtain a plurality of text fields, and obtaining text word vectors of the text fields; Obtaining a functional word library corresponding to the ERP management system to determine a replacement word for the text content according to the cosine similarity between the text word vector and each word in the functional word library; Based on the search position corresponding to the replacement word and the text word vector in the ERP management system, obtaining the context logic of the search position to determine the suspected related corresponding content; Determine a difference between the search time corresponding to the suspected associated corresponding content and the search position, and determine whether the option trigger instruction is an associated trigger type based on the difference in search time; A preset associated response sequence is queried based on the text content and the search position to determine whether there is an associated response instruction with the option trigger instruction and / or the search text.

2. The ERP management method for product retail according to claim 1, characterized in that: Before determining the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, and determining the operation level of each module in the ERP management system according to the organization authority and the login role information, the method further includes: Determine the management outlets and subordinate outlets corresponding to each product retail terminal according to the retail store addresses corresponding to each product retail terminal; Determine the upstream and downstream product retail tree map corresponding to the current retail terminal based on the management outlets and subordinate outlets corresponding to each of the product retail terminals; Determine the account hierarchy corresponding to the ERP management organization based on the upstream and downstream product retail tree map; wherein the account hierarchy at least includes: a primary management account and a secondary user account; According to the account stratification corresponding to each of the product retail terminals, the organization level corresponding to each of the product retail terminals is determined, so as to perform organization level authority setting for each of the product retail terminals through the first-level management account, and determine the authority setting corresponding to each of the product retail terminals; Obtaining the permission settings corresponding to each of the product retail terminals, and determining the minimum permission setting range corresponding to each of the product retail terminals; The permission range of each login role is determined according to the minimum permission setting range and the role permission inheritance table corresponding to each account hierarchy, so as to associate the operation level within the permission range with the login role.

3. The ERP management method for product retail according to claim 2, characterized in that: Determine the permission range of each login role according to the minimum permission setting range and the role permission inheritance table corresponding to each account hierarchy, so as to associate the operation level within the permission range with the login role, specifically including: According to the role permission inheritance table corresponding to each of the account hierarchies, determining the directly inherited login roles and the indirectly inherited login roles corresponding to each of the login roles; Determining an inheritance path for the minimum permission setting range based on the login paths of the directly inherited login role and the indirectly inherited login role; The operation level within the authority range is associated with the login role according to the inheritance path.

4. The ERP management method for product retail according to claim 2, characterized in that: After determining the organization authority and login role information of the current product retail terminal according to the current product retail terminal login information, and determining the operation level of each module in the ERP management system according to the organization authority and the login role information, the method further includes: Acquire a supportable database corresponding to the operation level in the ERP management system, classify and aggregate the supportable database according to the minimum authority setting range corresponding to each of the product retail terminals, and obtain database data with different authority ranges; Determine the authorized scope of database data for each authority scope based on the login role information and organization authority corresponding to each authority scope; Determine the authorized access structure corresponding to the authorized scope according to the relationship between the login role information and the organization authority within the authorized scope; wherein the relationship between the login role information and the organization authority includes: the relationship between login role information and login role information, the relationship between organization authority and organization authority; the relationship between login role information and organization authority; The database data within each authority range is encrypted according to the authorized access structure and the preset public key.

5. The ERP management method for product retail according to claim 1, characterized in that: According to the module corresponding to the to-be-executed instruction and the historical execution record of the current product retail terminal, the to-be-executed instruction is sent to a designated management server, specifically including: Determine whether the instruction to be executed is a cross-system instruction according to the module corresponding to the instruction to be executed, and if so, determine whether the current product retail terminal has the operation authority according to the login information of the current product retail terminal; If it is determined that the current product retail terminal does not have the operation authority, triggering the verification process of the cross-system instruction; If it is determined that the current product retail terminal has the operation authority or it is determined that the instruction to be executed is not a cross-system instruction, then determining multiple history management servers of the module corresponding to the instruction to be executed according to the historical execution record of the current product retail terminal; The multiple history management servers are used as candidate management servers for the instructions to be executed, so as to determine the instruction management server corresponding to the instructions to be executed according to the performance parameters and load parameters of the candidate management servers, and send the instructions to be executed to the designated management server.

6. The ERP management method for product retail according to claim 5, characterized in that: Determining the instruction management server corresponding to the to-be-executed instruction according to the performance parameter and the load parameter of the to-be-selected management server specifically includes: Acquire multiple performance parameters of the management servers to be selected, compare the multiple performance parameters of each of the management servers to be selected, and determine the performance scores corresponding to different performance parameters of each of the management servers to be selected; wherein the performance parameters include: CPU speed, memory size, and network bandwidth; Determine the current number of connections corresponding to the management servers to be selected respectively according to the load parameters, so as to determine the load score of each management server to be selected based on the current number of connections; wherein the current number of connections is negatively correlated with the load score; Calling the historical load parameters of each of the candidate management servers to determine the change direction and quantity of the number of connections corresponding to each of the candidate management servers, so as to determine the change direction and quantity of the number of connections corresponding to the current number of connections; Acquire a historical load parameter for determining that the performance parameter and the load parameter of the management server to be selected match each other; According to the change direction and quantity of the number of connections corresponding to each of the determined historical load parameters, the change direction and quantity of the number of connections corresponding to the current number of connections are corrected, so as to predict the number of connections of each of the candidate management servers at the next moment according to the corrected change direction and quantity of the number of connections; The scoring coefficient of the load score is determined according to the number of connections at the next moment, so as to determine the best server among the candidate management servers as the designated management server according to the load score, the scoring coefficient and the performance score.

7. The ERP management method for product retail according to claim 1, characterized in that: The obtaining of the execution result and returning it to the current product retail terminal specifically includes: According to the processing logic corresponding to the to-be-executed instruction, determine the result display position corresponding to the option trigger instruction and / or the search text and perform character placeholders on the result display position; If it is determined that the designated management server obtains the execution result of the to-be-executed instruction, then obtaining a display window path corresponding to the result display position; Returning the execution result according to the display window path, and matching the execution result to the character placeholder; If the match is completed, the display window path is called to return the execution result to the current product retail terminal for display.

8. An ERP management device for product retail, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: execute any of the methods described in claims 1-7.

9. A non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions can: execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Account management method and device

    CN113065106A

  • Multi-cloud-based device interaction method, device and readable storage medium

    CN117459537A