Merchant management method, device, equipment, medium and program product
By receiving the sub-merchant login request and determining the main merchant based on its basic information, configuring the function application menu and permission allocation, it solves the problem of difficulty in managing multi-level merchant relationships in the existing system, realizes function allocation and data isolation between merchants, and improves to manage complexity and efficiency.
Patent Information
- Application Number
- CN202111280017.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-10-29
AI Technical Summary
The existing merchant management system is difficult to implement function allocation and data isolation for sub-merchants, and cannot effectively manage multi-level merchant relationships.
By receiving the sub-merchant login request, obtain its basic information, query whether the first identification information is recorded in the sub-merchant table, respond to the login request and determine the main merchant based on the second identification information, configure the function application menu based on the main merchant's function options, and perform Permission distribution realizes the affiliation and data isolation between the main merchant and sub-merchant.
It realizes the function allocation and data isolation of sub-merchant, ensures the authority management and data isolation between different sub-merchant under the same main merchant, and improves the complexity and efficiency of merchant management.
Smart Images

Figure CN113947329B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the financial field, and more specifically to a merchant management method, device, equipment, medium and program product. Background Art
[0002] Merchants need to be managed in industries such as the mining industry. Take the mining industry as an example: each mining merchant is an independent merchant. An independent merchant may correspond to multiple sub-merchants that have business relationships such as transactions with the independent merchant. Independent merchants need to allocate functions to sub-merchants, and independent merchants can view all sub-merchant transactions, balances and other information, and data between sub-merchants is isolated. However, the existing merchant management system can only achieve level management of different merchants and simple data isolation. Summary of the invention
[0003] In view of the above problems, the present disclosure provides a merchant management method, apparatus, device, medium and program product.
[0004] According to a first aspect of the present disclosure, there is provided a merchant management method, comprising: receiving a sub-merchant login request, and acquiring basic information of the sub-merchant according to the login request;
[0005] Check whether the first identification information in the basic information is recorded in the sub-merchant table. If so, respond to the login request of the sub-merchant and determine the main merchant in charge of the sub-merchant according to the second identification information in the sub-merchant table; configure a function application menu for the sub-merchant based on the function options of the main merchant; and allocate permissions to the sub-merchant based on the review of the function application menu by the main merchant.
[0006] According to an embodiment of the present disclosure, the merchant management method further includes: signing a contract with the main merchant, and configuring a first identification information filling menu of a sub-merchant for the main merchant on a contract signing interface;
[0007] Based on the record result of filling in the menu with the first identification information, multiple first identification information are respectively stored in the pre-created sub-merchant table.
[0008] According to an embodiment of the present disclosure, the querying whether the first identification information in the basic information is recorded in the sub-merchant table includes: generating an SQL query statement based on the first identification information; traversing the sub-merchant table and outputting the query result; and judging whether the first identification information exists in the sub-merchant table according to the query result.
[0009] According to an embodiment of the present disclosure, the merchant management method further includes: creating a merchant table of the main merchant, and performing an association operation on the merchant table and the sub-merchant table; determining the main merchant for managing the sub-merchant according to the second identification information in the sub-merchant table includes: determining the merchant table associated with the sub-merchant table according to the primary key information of the sub-merchant table; and determining the main merchant according to the merchant table.
[0010] According to an embodiment of the present disclosure, after determining the merchant table associated with the sub-merchant table according to the primary key of the sub-merchant table, the method further includes: updating basic information of the sub-merchant into the merchant table, wherein the basic information of the sub-merchant includes at least user information, merchant information, and merchant status identification.
[0011] According to an embodiment of the present disclosure, the merchant management method also includes: creating multiple functional roles and assigning different functional options to different functional roles; the allocating permissions to the sub-merchants based on the main merchant's review of the function application menu includes: matching the functional roles of the sub-merchants based on the application results of the function application menu.
[0012] According to an embodiment of the present disclosure, obtaining the basic information of the sub-merchant according to the login request includes: calling single sign-on interface information according to the login request; and obtaining the basic information of the sub-merchant from a third-party platform according to the interface information.
[0013] According to an embodiment of the present disclosure, the basic information includes at least a company name and a unified social credit code, and the first identification information is configured as the unified social credit code.
[0014] According to an embodiment of the present disclosure, signing a contract with the main merchant includes: importing a signing version at a signing interface in an existing merchant management system.
[0015] A second aspect of the present disclosure provides a merchant management device, including: a login module, used to receive a login request from a sub-merchant, and obtain basic information of the sub-merchant according to the login request; a main merchant determination module, used to query whether first identification information in the basic information is recorded in a sub-merchant table, and if so, respond to the login request of the sub-merchant and determine the main merchant in charge of the sub-merchant according to second identification information in the sub-merchant table; a function application module, used to configure a function application menu for the sub-merchant based on function options of the main merchant; and a permission configuration module, used to allocate permissions to the sub-merchant based on the review of the function application menu by the main merchant.
[0016] According to an embodiment of the present disclosure, it also includes a signing module, which is used to sign a contract with the main merchant and configure a first identification information filling menu for the sub-merchant for the main merchant on the signing interface; and a storage module, which is used to store multiple first identification information in a pre-created sub-merchant table based on the record results of the first identification information filling menu.
[0017] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned merchant management method.
[0018] A fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned merchant management method.
[0019] The fifth aspect of the present disclosure further provides a computer program product, including a computer program, which implements the above-mentioned merchant management method when executed by a processor.
[0020] In the embodiment of the present disclosure, by receiving a login request from a sub-merchant, the basic information of the sub-merchant is obtained according to the login request; it is queried whether the first identification information in the basic information is recorded in the sub-merchant table, and if so, the login request of the sub-merchant is responded to and the main merchant in charge of the sub-merchant is determined according to the second identification information in the sub-merchant table; a function application menu is configured for the sub-merchant based on the function options of the main merchant; and the authority of the sub-merchant is allocated based on the review of the function application menu by the main merchant. In the present disclosure, the allocation of the subordinate relationship between the sub-merchant and the main merchant is realized by setting the second identification information, and the hierarchical management between the main merchant and the sub-merchant is realized. By setting the function application menu, the main merchant can realize the allocation of functional authority of the sub-merchant when entering the system platform according to the function application menu to ensure the data isolation between different sub-merchants under the same main merchant. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0022] Figure 1 The application scenario diagram of the merchant management method, apparatus, device, medium and program product according to the embodiment of the present disclosure is schematically shown;
[0023] Figure 2 A flowchart of a merchant management method according to an embodiment of the present disclosure is schematically shown;
[0024] Figure 3A flowchart schematically shows another embodiment of the merchant management method according to an embodiment of the present disclosure;
[0025] Figure 4 A flowchart schematically shows another embodiment of the merchant management method according to an embodiment of the present disclosure;
[0026] Figure 5 A flowchart schematically shows another embodiment of the merchant management method according to an embodiment of the present disclosure.
[0027] Figure 6 The structure block diagram of the merchant management device according to the embodiment of the present disclosure is schematically shown;
[0028] Figure 7 A structural block diagram schematically shows another embodiment of the merchant management device according to an embodiment of the present disclosure; and
[0029] Figure 8 A block diagram of an electronic device suitable for implementing a merchant management method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0030] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0031] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0032] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0033] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0034] An embodiment of the present disclosure provides a merchant management method, including: receiving a login request from a sub-merchant, and obtaining basic information of the sub-merchant according to the login request; querying whether first identification information in the basic information is recorded in a sub-merchant table, and if so, responding to the login request of the sub-merchant and determining a main merchant in charge of the sub-merchant according to second identification information in the sub-merchant table; configuring a function application menu for the sub-merchant based on function options of the main merchant; and allocating permissions to the sub-merchant based on the review of the function application menu by the main merchant.
[0035] The merchant management method in the embodiments of the present disclosure can be applied to the management between different merchants under the shopping platform, and can also be applied to the management between different merchants under the spot trading platform. Taking the e-commerce platform in the large shopping platform as an example, with the evolution of the e-commerce platform business, the e-commerce platform authority management business is becoming more and more complicated. There are two more complex multi-store business scenarios: one is the group model, that is, there are multiple companies under a group, and each company has an independent store; the other is a single company multi-store model, that is, a company opens multiple stores, the company has limited staff, and multiple people jointly manage multiple stores. Based on this, the main merchant of the present disclosure is equivalent to the group or single company mentioned above, and the sub-merchant is equivalent to the subsidiary of the group or the shop under the single company mentioned above.
[0036] In a more specific application scenario, the embodiments of the present disclosure can be applied to the management of mining merchants in the mining industry as described in the background technology. For example, there are A, B, C, and D mines under the Mining Bureau, and their corresponding main merchants are A Mineral Group, B Mineral Group, C Mineral Group, and D Mineral Group. Under each mineral group, there can be multiple sub-merchants, such as A Mineral Group can correspond to A Mining Company, B Mining Company, C Transportation Company, etc. In the embodiments of the present disclosure, hierarchical management of the above merchants and data isolation operations between sub-merchants can be realized.
[0037] Figure 1 The application scenario diagram of the merchant management method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown.
[0038] like Figure 1As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0039] The main merchant and the sub-merchant can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to sign contracts and settle in the merchant platform. Various communication client applications can be installed on the terminal devices 101, 102, 103, such as merchant platform applications, shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0040] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0041] The server 105 may be a server that provides various services, such as a backend management server (only an example) that provides support for websites browsed by the main merchant and the sub-merchants using the terminal devices 101, 102, and 103. The backend management server may analyze and process the received data such as the sub-merchant request, and feed back the main merchant information corresponding to the sub-merchant (such as the web page, information, or data obtained or generated according to the user request, etc.) to the terminal device.
[0042] It should be noted that the merchant management method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the merchant management device provided in the embodiment of the present disclosure can generally be set in the server 105. The merchant management method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the merchant management device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.
[0043] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0044] The following will be based on Figure 1 The scene described by Figure 2 to Figure 5 The merchant management method of the disclosed embodiment is described in detail.
[0045] Figure 2 The flowchart of the merchant management method according to the embodiment of the present disclosure is schematically shown.
[0046] like Figure 2 As shown, the merchant management method of this embodiment includes operations S210 to S240, and the transaction processing method can be executed by a server.
[0047] In operation S210, a sub-merchant login request is received, and basic information of the sub-merchant is acquired according to the login request.
[0048] It should be noted that the management platform in the embodiments of the present disclosure may be constructed based on a server, and the management platform may be application software installed on a backend server, or may be a cloud service platform stored in the cloud.
[0049] The sub-merchants in the embodiments of the present disclosure can access the management platform through a third-party platform, such as a common matchmaking platform, through the communication connection between the third-party platform and the management platform.
[0050] It is understandable that the communication between the third-party platform and the management platform can adopt the single sign-on method. When the sub-merchant logs in to the third-party platform, the third-party platform sends an access request to the management platform. When the management platform obtains the access request, it will obtain the basic information of the sub-merchant from the third-party login platform through the access interface in the single sign-on, such as the account information, company name, unified social credit code, etc. of the sub-merchant when registering and logging in on the third-party platform.
[0051] It is understandable that in some other implementations, the management platform can also be downloaded and used by sub-merchants in the form of an APP. In this way, the server can directly call the basic information of the sub-merchants when they register and log in.
[0052] In operation S220, it is checked whether the first identification information in the basic information is recorded in the sub-merchant table. If so, respond to the login request of the sub-merchant and determine the main merchant for managing the sub-merchant according to the second identification information in the sub-merchant table;
[0053] In the embodiment of the present disclosure, the first identification information of the sub-merchant is stored in a database based on the management platform. When the basic information of the sub-merchant is obtained in step S210, the first identification information is determined by field recognition. An SQL query statement is generated according to the SQL language in the database management system and the first identification information; then, the sub-merchant table stored in the database is traversed through the basic data query method in the database management system until the sub-merchant table with the first identification information of the current sub-merchant is found, and the corresponding sub-merchant table information is output, indicating that the current sub-merchant is a sub-merchant of the main merchant that has signed a contract.
[0054] It should be noted that the first identification information is the unified social credit code of the sub-merchant. The unified social credit code of each sub-merchant is unique and can identify the identity characteristics of the sub-merchant.
[0055] It can be understood that the first identification information can also be other basic information that can uniquely identify the identity characteristics of the sub-merchant, such as the detailed address information of the sub-merchant, the ID card information of the household owner, etc.
[0056] It can be understood that after determining that the current sub-merchant is a sub-merchant of a main merchant that has signed a contract through the first identification information, responding to the login request of the current sub-merchant means allowing the current sub-merchant to log in to the management platform to facilitate the next step of operation.
[0057] It is understood that when it is detected that the first identification information of the current sub-merchant does not exist in any sub-merchant table, the current sub-merchant may be allowed to log in to the trial version in the management platform. This is to achieve the distinction between sub-merchants with a main merchant and sub-merchants without a main merchant or sub-merchants that have not yet been recorded in the system, so as to better achieve data isolation. It is understood that the management platform can distinguish between the official version and the trial version, and the sub-merchant that has been recorded in the management platform through the main merchant can directly log in to the official version.
[0058] Based on the above, in order to facilitate the query of the first identification information, it is necessary to create a sub-merchant table in the management system in advance. Figure 3 The flowchart of another embodiment of the merchant management method according to the embodiment of the present disclosure is schematically shown.
[0059] like Figure 3 As shown, the merchant management method of this embodiment includes operations S250 to S260.
[0060] In operation S250, a contract is signed with the main merchant, and a menu is filled in with first identification information of a sub-merchant configured for the main merchant on a contract signing interface.
[0061] The management platform in the embodiments of the present disclosure can be established on the server of an institution with relevant financial management qualifications such as a bank or insurance company. The management platform provides a user operation interface on the operating terminal equipment such as a bank. The main merchant can go to the bank's business hall to sign the contract on site. The bank's staff can assist the main merchant in completing the signing activity on site.
[0062] It can be understood that, taking the existing treasury cloud platform built by the bank based on the merchants on the mine as an example, the merchant management method disclosed in the present invention can be based on the further improvement of the treasury cloud platform. Specifically, the management platform corresponding to the method disclosed in the present invention is designed as one of the versions of the treasury cloud platform, such as named as the industry version. The industry version is added to the contract version interface on the original operation interface of the treasury cloud. When signing the contract, the main merchant enters the user operation interface of the treasury cloud platform through the bank's operating terminal device, and selects the industry version at the contract version interface of the user operation interface. After the main merchant selects the industry version, the relevant data of the industry version is imported into the treasury cloud system and displayed to the main merchant. In the user operation interface of the industry version, a menu for filling in the first identification information of the sub-merchant is configured. The main merchant fills in the first identification information of the sub-merchant into the menu accordingly according to the situation of the sub-merchant that it manages or cooperates with.
[0063] In operation S260, based on the record result of filling in the menu with the first identification information, a plurality of the first identification information are respectively stored in a pre-created sub-merchant table.
[0064] In an embodiment of the present disclosure, a sub-merchant table template is pre-created in the management platform. When the main merchant completes filling out the first identification information menu, the system can identify and extract the information filled out in the first identification information menu into the sub-merchant table, and then form different sub-merchant tables based on different first identification information, or directly export the information in the first identification information menu with one click to generate a sub-merchant table.
[0065] Returning to operation S220, a main merchant for managing the sub-merchant is determined according to the second identification information of the sub-merchant table.
[0066] To achieve the above steps, Figure 4 The flowchart of another embodiment of the merchant management method according to the embodiment of the present disclosure is schematically shown.
[0067] like Figure 4 As shown, the merchant management method of this embodiment includes operation S270.
[0068] In operation S270, a merchant table of the main merchant is created, and an association operation is performed on the merchant table and the sub-merchant table.
[0069] In the embodiment of the present disclosure, when the main merchant performs a contract signing operation, the main merchant fills in the basic information of the main merchant on the contract signing interface, such as the merchant information and user information of the main merchant, and creates a merchant table about the main merchant based on the above information.
[0070] In an embodiment of the present disclosure, when the merchant table is created, the sub-merchant table can be associated with the corresponding merchant table. The association method can be through a primary key constraint, such as setting ID information in the columns or rows of the sub-merchant table and the merchant table respectively, defining the ID information as the primary key, and ensuring the uniqueness of the ID information identification data table, so as to achieve the association between the sub-merchant table and the main merchant table.
[0071] Returning to operation S220, the main merchant in charge of the sub-merchant is determined according to the second identification information in the sub-merchant table. In the embodiment of the present disclosure, the second identification information is the primary key information. After the sub-merchant table of the current sub-merchant is determined according to the first identification information, the corresponding merchant table is determined according to the primary key information of the sub-merchant table. The merchant table records the basic information of the main merchant. The main merchant to which the current sub-merchant belongs is determined by reading and parsing the information in the main merchant table.
[0072] It can be understood that after determining the main merchant of the sub-merchant, the basic information, user information, merchant information and merchant status identification of the sub-merchant can be updated to the merchant table of the main merchant, so that the main merchant has the right to view the sub-merchant information.
[0073] In operation S230, a function application menu is configured for the sub-merchant based on the function options of the main merchant.
[0074] In the embodiment of the present disclosure, after the sub-merchant determines its main merchant, a sub-merchant configuration function application menu will be displayed on the operation interface, and the configuration function application menu includes the functions that the sub-merchant can apply for from the main merchant. Different main merchants have different function options. When configuring the function application menu, preferably, according to the attributes and business nature of the main merchant, the function application menu related to the main merchant function can be configured for the corresponding sub-merchant.
[0075] In operation S240, authority is allocated to the sub-merchant based on the review of the function application menu by the main merchant.
[0076] In the embodiment of the present disclosure, the main merchant confirms the filling of the function application menu submitted by the sub-merchant and allocates corresponding permissions to the sub-merchant. After the permission allocation is completed, when the sub-merchant logs into the system again, it can use the relevant functions of the system according to its own permissions.
[0077] Figure 5 The flowchart of another embodiment of the merchant management method according to the embodiment of the present disclosure is schematically shown.
[0078] like Figure 5 As shown, the merchant management method of this embodiment includes operation S280.
[0079] In operation S280, a plurality of functional roles are created, and different functional options are allocated to different functional roles.
[0080] In the embodiment of the present disclosure, the permission allocation to the sub-merchant based on the review of the function application menu by the main merchant includes: matching the sub-merchant with a functional role based on the application result of the function application menu, and associating the sub-merchant with the functional role so that the sub-merchant can execute the functional permissions possessed by the functional role.
[0081] Based on the above merchant management method, the present disclosure also provides a merchant management device. Figure 6 The device is described in detail.
[0082] Figure 6 The structural block diagram of the merchant management device according to the embodiment of the present disclosure is schematically shown.
[0083] like Figure 6 As shown, the merchant management device 300 of this embodiment includes a login module 301 , a main merchant determination module 302 , a function application module 303 and a permission configuration module 304 .
[0084] The login module 301 is used to receive a login request from a sub-merchant, and obtain basic information of the sub-merchant according to the login request. In one embodiment, the login module 301 can be used to perform the operation S210 described above, which will not be described in detail here.
[0085] The main merchant determination module 302 is used to query whether the first identification information in the basic information is recorded in the sub-merchant table. If so, it responds to the login request of the sub-merchant and determines the main merchant in charge of the sub-merchant according to the second identification information in the sub-merchant table. In one embodiment, the main merchant determination module 302 can be used to perform the operation S220 described above, which will not be repeated here.
[0086] The function application module 303 is used to configure a function application menu for the sub-merchant based on the function options of the main merchant. In one embodiment, the function application module 303 can be used to perform the operation S230 described above, which will not be described in detail here.
[0087] The authority configuration module 304 is used to allocate authority to the sub-merchant based on the main merchant's review of the function application menu. In one embodiment, the function application module 304 can be used to perform the operation S240 described above, which will not be described in detail here.
[0088] like Figure 7 As shown, the merchant management device in the embodiment of the present disclosure may also include:
[0089] The contract signing module 305 is used to configure a function application menu for the sub-merchant based on the function options of the main merchant. In one embodiment, the contract signing module 305 can be used to perform the operation S250 described above, which will not be described in detail here.
[0090] The storage module 306 is used to store the plurality of first identification information into the pre-created sub-merchant table based on the record result of filling in the menu with the first identification information. In one embodiment, the storage module 306 can be used to perform the operation S260 described above, which will not be described in detail here.
[0091] The merchant table creation module creates a merchant table of the main merchant and performs association operations on the merchant table and the sub-merchant table. In one embodiment, the merchant table creation module can be used to perform the operation S270 described above, which will not be described in detail here.
[0092] The function role configuration module is used to create multiple function roles and assign different function options to different function roles. In one embodiment, the function role configuration module can be used to perform the operation S280 described above, which will not be described in detail here.
[0093] According to an embodiment of the present disclosure, by receiving a login request from a sub-merchant, the basic information of the sub-merchant is obtained according to the login request; it is queried whether the first identification information in the basic information is recorded in the sub-merchant table, and if so, the login request of the sub-merchant is responded to and the main merchant in charge of the sub-merchant is determined according to the second identification information in the sub-merchant table; a function application menu is configured for the sub-merchant based on the function options of the main merchant; and permissions are allocated to the sub-merchant based on the review of the function application menu by the main merchant. In the present disclosure, the second identification information is set to realize the allocation of the subordinate relationship between the sub-merchant and the main merchant, and the hierarchical management between the main merchant and the sub-merchant is realized. By setting the function application menu, the main merchant can realize the allocation of functional permissions of the sub-merchant when entering the system platform according to the function application menu to ensure data isolation between different sub-merchants under the same main merchant.
[0094] According to an embodiment of the present disclosure, any multiple modules of the login module 301, the main merchant determination module 302, the function application module 303 and the authority configuration module 304 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the login module 301, the main merchant determination module 302, the function application module 303 and the authority configuration module 304 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, at least one of the login module 301, the main merchant determination module 302, the function application module 303 and the authority configuration module 304 may be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function may be executed.
[0095] Figure 8 A block diagram of an electronic device suitable for implementing a merchant management method according to an embodiment of the present disclosure is schematically shown.
[0096] like Figure 8 As shown, the electronic device 400 according to an embodiment of the present disclosure includes a processor 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage part 408 to a random access memory (RAM) 403. The processor 401 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 401 may also include an onboard memory for caching purposes. The processor 401 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0097] In RAM 403, various programs and data required for the operation of electronic device 400 are stored. Processor 401, ROM 402 and RAM 403 are connected to each other via bus 404. Processor 401 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 402 and / or RAM 403. It should be noted that the program can also be stored in one or more memories other than ROM 402 and RAM 403. Processor 401 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0098] According to an embodiment of the present disclosure, the electronic device 400 may further include an input / output (I / O) interface 405, which is also connected to the bus 404. The electronic device 400 may further include one or more of the following components connected to the I / O interface 405: an input portion 406 including a keyboard, a mouse, etc.; an output portion 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 408 including a hard disk, etc.; and a communication portion 409 including a network interface card such as a LAN card, a modem, etc. The communication portion 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage portion 408 as needed.
[0099] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0100] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 402 and / or RAM 403 described above and / or one or more memories other than ROM 402 and RAM 403.
[0101] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the item recommendation method provided by the embodiment of the present disclosure.
[0102] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 401. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0103] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 409, and / or installed from the removable medium 411. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0104] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the processor 401, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by a computer program module.
[0105] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0106] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0107] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0108] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A merchant management method, characterized in that: include: Receiving a login request from a sub-merchant, and obtaining basic information of the sub-merchant according to the login request; query whether the first identification information in the basic information is recorded in the sub-merchant table, and if so, respond to the login request of the sub-merchant and determine the main merchant in charge of the sub-merchant according to the second identification information in the sub-merchant table; Configuring a function application menu for the sub-merchant based on the function options of the main merchant; The authority is allocated to the sub-merchant based on the main merchant's review of the function application menu.
2. The merchant management method according to claim 1, characterized in that: Also includes: Sign a contract with the main merchant, and fill in a menu for configuring the first identification information of the sub-merchant for the main merchant on the contract signing interface; Based on the record result of filling in the menu with the first identification information, multiple first identification information are respectively stored in the pre-created sub-merchant table.
3. The merchant management method according to claim 2, characterized in that: The querying whether the first identification information in the basic information is recorded in the sub-merchant table includes: Generate an SQL query statement based on the first identification information; Traverse the sub-merchant table and output the query results; It is determined according to the query result whether the first identification information exists in the sub-merchant table.
4. The merchant management method according to claim 1, characterized in that: Also includes: Creating a merchant table of the main merchant, and performing an association operation on the merchant table and the sub-merchant table; The determining, according to the second identification information in the sub-merchant table, a main merchant for managing the sub-merchant comprises: Determine the merchant table associated with the sub-merchant table according to the primary key information of the sub-merchant table; The main merchant is determined according to the merchant table.
5. The merchant management method according to claim 4, characterized in that: After determining the merchant table associated with the sub-merchant table according to the primary key of the sub-merchant table, the method further includes: The basic information of the sub-merchant is updated into the merchant table, wherein the basic information of the sub-merchant includes at least user information, merchant information, and merchant status identification.
6. The merchant management method according to claim 1, characterized in that: Also includes: Creating multiple functional roles, and assigning different functional options to different functional roles; The allocating authority to the sub-merchant based on the main merchant's review of the function application menu includes: Functional roles are matched for the sub-merchants based on the application results of the function application menu.
7. The merchant management method according to any one of claims 1 to 6, characterized in that: The acquiring the basic information of the sub-merchant according to the login request includes: Calling single sign-on interface information according to the login request; The basic information of the sub-merchant is obtained from the third-party platform according to the interface information.
8. The merchant management method according to any one of claims 1 to 6, characterized in that: The basic information includes at least a company name and a unified social credit code, and the first identification information is configured as the unified social credit code.
9. The merchant management method according to any one of claims 2 to 6, characterized in that: The contract with the main merchant includes: Import the contract version into the contract interface in the existing merchant management system.
10. A merchant management device, comprising: A login module, used to receive a login request from a sub-merchant, and obtain basic information of the sub-merchant according to the login request; a main merchant determining module, used for querying whether the first identification information in the basic information is recorded in the sub-merchant table, and if so, responding to the login request of the sub-merchant and determining the main merchant for managing the sub-merchant according to the second identification information in the sub-merchant table; A function application module, used for configuring a function application menu for the sub-merchant based on the function options of the main merchant; The authority configuration module is used to allocate authority to the sub-merchant based on the review of the function application menu by the main merchant.
11. The merchant management device according to claim 10, characterized in that: Also includes: A contract signing module, used for signing a contract with the main merchant, and filling in a menu for configuring the first identification information of the sub-merchant for the main merchant on the contract signing interface; The storage module is used to store the plurality of first identification information into a pre-created sub-merchant table respectively based on the record result of filling in the menu with the first identification information.
12. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 9.
13. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 9.
14. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
