Configuration data processing method and device, readable storage medium and computer device

By obtaining the initial configuration file and selecting the target parameters on the configuration page, and registering it to the update configuration file, the problem of poor flexibility in traditional technologies is solved, and flexible configuration and efficient business process management are achieved.

CN110244987BActive Publication Date: 2025-12-16TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN201910526343.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-18
Publication Date
2025-12-16
Estimated Expiration
2039-06-18

AI Technical Summary

Technical Problem

In traditional technologies, when faced with customized business needs from customers, it is necessary to rewrite the business code, which is inflexible and cannot flexibly configure exclusive business processes that meet customer needs.

Method used

The system obtains the initial configuration file by sending a configuration request, displays candidate configuration items on the configuration page, receives selection instructions to determine the target configuration parameters, registers them to the initial configuration file to form an updated configuration file, and sends them to the server to generate updated configuration item data.

Benefits of technology

It enables flexible configuration based on customer customization needs, improves the configuration efficiency of business processes, eliminates the need to rewrite business code, and meets customers' exclusive business requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110244987B_ABST
    Figure CN110244987B_ABST
Patent Text Reader

Abstract

The application relates to a configuration data processing method and device, a computer readable storage medium and a computer device, the method comprising the following steps: sending a configuration request, obtaining an initial configuration file from a server according to the configuration request, the initial configuration file comprising a plurality of independent configuration items; displaying a configuration page corresponding to the configuration items, the configuration page comprising a plurality of candidate configuration items; receiving a selection instruction acting on the configuration page, determining a target configuration parameter corresponding to the candidate configuration items according to the selection instruction; registering the target configuration parameter into the initial configuration file to form an updated configuration file, and sending the updated configuration file to the server through an update configuration request, so that the server generates corresponding update configuration item data according to the updated configuration file. The scheme provided by the application can be flexibly configured according to customer customization requirements.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a configuration data processing method and device, computer readable storage medium and computer equipment. BACKGROUND

[0002] In the traditional technology, the corresponding business process is realized by writing fixed code according to the business needs of the customer by the background personnel, however, with the continuous development of computers, the customized business needs of customers are more and more, in the face of customer customized business needs, the traditional way needs to re-write business code according to the customized business needs, poor flexibility. SUMMARY

[0003] Therefore, it is necessary to provide a configuration data processing method and device, computer readable storage medium and computer equipment which can be flexibly configured according to the customized needs of customers.

[0004] An embodiment of the present application provides a configuration data processing method, comprising:

[0005] sending a configuration request, obtaining an initial configuration file from a server according to the configuration request, the initial configuration file comprising a plurality of independent configuration items;

[0006] displaying a configuration page corresponding to the configuration item, the configuration page comprising a plurality of candidate configuration items;

[0007] receiving a selection instruction acting on the configuration page, determining a target configuration parameter corresponding to the candidate configuration item according to the selection instruction;

[0008] registering the target configuration parameter in the initial configuration file to form an updated configuration file, and sending the updated configuration file to the server through an update configuration request, so that the server generates corresponding updated configuration item data according to the updated configuration file.

[0009] An embodiment of the present application provides a configuration data processing device, which comprises:

[0010] a configuration request sending module configured to send a configuration request, obtain an initial configuration file from a server according to the configuration request, the initial configuration file comprising a plurality of independent configuration items;

[0011] a configuration page display module configured to display a configuration page corresponding to the configuration item, the configuration page comprising a plurality of candidate configuration items;

[0012] a selection instruction receiving module configured to receive a selection instruction acting on the configuration page, and determine a target configuration parameter corresponding to the candidate configuration item according to the selection instruction;

[0013] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0014] An embodiment of the present application provides a computer device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program:

[0015] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0016] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0017] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0018] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0019] An embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executable on a processor to make the processor execute the following steps:

[0020] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0021] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0022] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0023] An initial configuration file updating module is configured to register the target configuration parameter into the initial configuration file to form an updating configuration file, and send the updating configuration file to the server through an updating configuration request, so that the server generates corresponding updating configuration item data according to the updating configuration file.

[0024] The configuration data processing method, device, computer readable storage medium and computer equipment provided by the above embodiments of the present application display multiple candidate configuration items on the configuration page of each configuration item, which not only realizes the configurable configuration data processing method, but also can be flexibly configured according to the customized needs of customers to configure the exclusive business process meeting the needs of customers. Further, by obtaining an initial configuration file, performing customized configuration on the basis of the initial configuration file, updating the initial configuration file, and forming an updated configuration file, the business code does not need to be re-written due to the change of business needs, and the configuration efficiency of the business process can be improved by realizing flexible configuration through the candidate configuration items corresponding to the configuration items in the initial configuration file. BRIEF DESCRIPTION OF DRAWINGS

[0025] Figure 1 An application environment diagram of the configuration data processing method in one embodiment;

[0026] Figure 2A A flowchart of the configuration data processing method in one embodiment;

[0027] Figure 2B An interface diagram of the configuration page in one embodiment;

[0028] Figure 3 A flowchart of the configuration data processing method in another embodiment;

[0029] Figure 4 A flowchart of the initial configuration file obtaining step in one embodiment;

[0030] Figure 5A A flowchart of the configuration data processing method in another embodiment;

[0031] Figure 5B A business process interface diagram corresponding to the target application in one embodiment;

[0032] Figure 5C A business process interface diagram corresponding to the target application in another embodiment;

[0033] Figure 5D A business process interface diagram corresponding to the target application in another embodiment;

[0034] Figure 5E A business process interface diagram corresponding to the target application in another embodiment;

[0035] Figure 6A A flowchart of the configuration data processing method in another embodiment;

[0036] Figure 6B An interface diagram of the modified configuration page in one embodiment;

[0037] Figure 6C interface diagram of a modification configuration page in another embodiment;

[0038] Figure 7A interface diagram of a modification configuration page in another embodiment;

[0039] Figure 7B interface diagram of a modification configuration page in another embodiment;

[0040] Figure 8A flow diagram of a modification configuration page display step in an embodiment;

[0041] Figure 8B interface diagram of a modification configuration page in an embodiment;

[0042] Figure 9 structure block diagram of a configuration data processing apparatus in an embodiment;

[0043] Figure 10 structure block diagram of a configuration data processing apparatus in another embodiment;

[0044] Figure 11 structure block diagram of a configuration data processing apparatus in yet another embodiment;

[0045] Figure 12 structure block diagram of a configuration data processing apparatus in still another embodiment;

[0046] Figure 13 structure block diagram of a configuration request sending module in an embodiment;

[0047] Figure 14 structure block diagram of a configuration data processing apparatus in an embodiment;

[0048] Figure 15 structure block diagram of a computer device in an embodiment. DETAILED DESCRIPTION

[0049] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not used to limit the present application.

[0050] Figure 1 application environment diagram of a configuration data processing method in an embodiment. Refer to Figure 1The configuration data processing method is applied to a configuration data processing system. The configuration data processing system comprises a client terminal 110, a server 120 and a service terminal 130. The client terminal 110, the service terminal 130 and the server 120 are connected through a network. The client terminal 110 and the service terminal 130 can be specifically desktop terminals or mobile terminals, and the mobile terminals can be specifically at least one of a mobile phone, a tablet computer, a notebook computer and the like. The server 120 can be implemented by an independent server or a server cluster composed of multiple servers, wherein the client terminal 110 is a terminal of a client, and the service terminal 130 is a terminal of an auditor.

[0051] Specifically, the client terminal 110 sends a configuration request to the server 120, the server 120 returns an initial configuration file to the client terminal 110 according to the configuration request, the initial configuration file comprises multiple independent configuration items; the client terminal 110 displays a configuration page corresponding to the configuration items, the configuration page comprises multiple candidate configuration items; a selection instruction acting on the configuration page is received, and a target configuration parameter corresponding to the candidate configuration items is determined according to the selection instruction; the target configuration parameter is registered in the initial configuration file to form an updated configuration file, and the updated configuration file is sent to the server 120 through an update configuration request, so that the server 120 generates corresponding update configuration item data according to the updated configuration file. Further, the service terminal 130 can send a configuration modification instruction to the server 120, the server 120 returns a to-be-modified configuration file corresponding to the configuration modification instruction to the service terminal 130, and the service terminal 130 displays a modification configuration page corresponding to the to-be-modified configuration file for the auditor to perform auditing.

[0052] As shown in FIG. 1, Figure 2A In one embodiment, a configuration data processing method is provided. This embodiment mainly takes the method applied to the client terminal 110 or the service terminal 130 in the above Figure 1 for example. Referring to FIG. 2, Figure 2A The configuration data processing method specifically comprises the following steps:

[0053] Step 202, a configuration request is sent, and an initial configuration file is obtained from a server according to the configuration request, the initial configuration file comprising multiple independent configuration items.

[0054] The configuration request is used to request a configuration file, and the configuration request can be generated by triggering a related application, or the configuration request can be generated by triggering a website address returned by the server through a click operation, or the configuration request can be generated by triggering a related page of an information system through the Internet. The information system SaaS is all network infrastructures and software and hardware operation platforms required by enterprises to build informatization, and is responsible for a series of services such as all previous implementation and later maintenance. The enterprises do not need to purchase software and hardware, build a computer room, or recruit IT personnel.

[0055] The configuration file is a file for configuring different objects. Different objects in the product application program can be configured through the configuration file. When the configuration file is configured, the product application program can be started.

[0056] The configuration file includes a plurality of independent configuration items. The configuration item is the configuration data corresponding to each business process of the product. The relevant process can be implemented through the configuration data corresponding to the business process. For example, the face recognition product includes two business processes, i.e., identity information acquisition and living body detection. The implementation process of each business process is implemented through the configuration data of the corresponding configuration item, i.e., the configuration data of each business process constitutes the corresponding configuration item.

[0057] In an embodiment, the configuration file includes a plurality of independent configuration items. Each configuration item corresponds to a business process. The configuration item includes all key-value pairs for implementing the business process. The key-value pair includes the configuration information and data used when the business process is executed. Each key has a corresponding value, i.e., when the corresponding key is pressed, the corresponding result is output. For example, the business process is identity information acquisition. The configuration item corresponding to the business process includes all key-value pairs for implementing the identity information acquisition, such as the key "key" for inputting the identity card and the value "value" corresponding to the key for uploading the front and back of the identity card.

[0058] Specifically, the server pre-stores an initial configuration file. The initial configuration file includes a plurality of independent configuration items. The configuration item includes the configuration information and data used when the business process is executed. The configuration item can be in the form of a key-value pair. That is, the server stores an initial configuration file composed of a plurality of key-value pairs. Each key in the initial configuration file has a corresponding initial value.

[0059] Further, the terminal sends a configuration request to the server. The server obtains the pre-stored initial configuration file according to the configuration request sent by the terminal, returns the initial configuration file to the terminal, and stores the initial configuration file in the static file after the terminal receives the initial configuration file. The initial configuration file includes a plurality of independent configuration items. Each configuration item corresponds to a business process configuration of the product, i.e., the initial configuration file includes all business process configurations of the product.

[0060] In step 204, the configuration page corresponding to the configuration item is displayed. The configuration page includes a plurality of candidate configuration items.

[0061] The configuration page is used to display a configuration template corresponding to the configuration file. The configuration page can be a web page or a sub-application page running on a parent application. The sub-application is an application running in dependence on the parent application. The sub-application page is displayed in an environment provided by the parent application. The sub-application can be downloaded, started, run, and closed through the parent application. The parent application can be a social application, a special application supporting the sub-application, a file management application, a mail application, or a game application, etc. The social application includes an instant messaging application, an SNS (Social Network Service) application, or a live broadcast application, etc. The sub-application is an application that can be implemented in the environment provided by the parent application. The sub-application can be a social application, a file management application, a mail application, or a game application, etc.

[0062] The candidate configuration item includes configuration information and data of a candidate implementation mode corresponding to a business process of the configuration item. For example, the configuration item is identity information acquisition. The identity information acquisition is performed by inputting the identity information. The inputting of the identity information includes four modes: capturing the front and back of the identity card, capturing the front of the identity card, manually inputting the name and the identity card number, and inputting the name and the identity card number when calling an interface. The four modes of inputting the identity information are candidate configuration items of the identity information acquisition.

[0063] In an embodiment, the configuration item is composed of a key-value pair. The candidate configuration item is a candidate value, which is a variable. The key of the configuration item is constant, and the value is a variable, which can be changed according to the selection of the customer. For example, the key of the configuration item is inputting the identity information. The default configuration item of the configuration item is capturing the front of the identity card. Therefore, the value corresponding to the key of the configuration item in the initial configuration file is capturing the front of the identity card. When the customer selects “capturing the front and back of the identity card” according to the business requirement, the value of the key of the configuration item is changed from “capturing the front of the identity card” to “capturing the front and back of the identity card”.

[0064] In an embodiment, as shown in FIG. 1, Figure 2B Figure 2B is a schematic diagram of the interface of the configuration page in an embodiment. After the terminal receives the initial configuration file returned by the server, the terminal displays the configuration page corresponding to each configuration item through a front-end page. Figure 2B is a configuration page corresponding to the identity information acquisition configuration item, as shown in FIG. 2, Figure 2B Figure 2B The configuration page displays four candidate acquisition modes of the identity information acquisition, specifically, capturing the front and back of the identity card, capturing the front of the identity card, manually inputting the name and the identity card number, and inputting the name and the identity card number when calling an interface. Each candidate acquisition mode has corresponding configuration information and data. The configuration information and data of each candidate acquisition mode form a corresponding candidate configuration item. ​​

[0065] Wherein, since each configuration item in the initial configuration file has a default configuration item, when displaying the configuration page corresponding to the configuration item, the default configuration item of the configuration item can be marked on the configuration page, such as Figure 2B The default configuration item in the above is "shooting the front of the ID card".

[0066] Step 206, receiving a selection instruction acting on the configuration page, determining the corresponding target configuration parameter from the candidate configuration item according to the selection instruction.

[0067] Wherein, the selection instruction is triggered by acting on the candidate configuration item displayed on the configuration page, which can be triggered by clicking the target configuration item from the candidate configuration item, or can be triggered by voice control, etc.

[0068] Wherein, the target configuration parameter refers to the configuration parameter related to the target candidate configuration item, and the target candidate configuration item refers to the configuration item selected by the customer according to the actual business demand. By setting the candidate configuration item on the configuration page, the candidate configuration item can meet the customized needs of the customer. The configuration parameter here refers to the variable value corresponding to the configuration item. When the configuration parameter corresponding to the configuration item is determined, the business process corresponding to the configuration item can be executed.

[0069] Specifically, after the terminal displays the configuration page corresponding to the configuration item, the configuration page includes a plurality of candidate configuration items. The customer can trigger the selection instruction by clicking the target configuration item from the candidate configuration item, or can trigger the selection instruction by voice control. The terminal determines the target configuration item from the candidate configuration item according to the selection instruction, and obtains the target configuration parameter corresponding to the target configuration item.

[0070] Step 208, registering the target configuration parameter to the initial configuration file to form an updated configuration file, and sending the updated configuration file to the server through an update configuration request, so that the server generates corresponding update configuration item data according to the updated configuration file.

[0071] Wherein, after obtaining the target configuration parameter, the target configuration parameter is registered to the initial configuration file, which can be a variable of the corresponding configuration item in the initial configuration file, and the target configuration parameter is registered to the initial configuration file. The target configuration parameter registered to the initial configuration file can also be registered to the global variable in the initial configuration file. The so-called global variable refers to a variable that can be referenced by all objects or functions of the related product. Registering the target configuration parameter to the global variable not only can be referenced by all objects or functions of the related product, but also can improve the efficiency of product operation.

[0072] In one embodiment, after obtaining the target configuration parameter, the terminal takes the target configuration parameter as the value of the corresponding key in the initial configuration file. For example, the key of the configuration item identity information acquisition in the initial configuration file is: the way of passing in the ID card, and the default value is the configuration parameter corresponding to the front of the ID card. At this time, the target configuration item selected from the candidate configuration items is: taking a photo of the front and back of the ID card. Therefore, the configuration parameter of taking a photo of the front and back of the ID card is obtained, and the configuration parameter of taking a photo of the front and back of the ID card is taken as the value corresponding to the key of the way of passing in the ID card, that is, the value of the key of the way of passing in the ID card is updated from the default value of the configuration parameter of taking a photo of the front of the ID card to the configuration parameter of taking a photo of the front and back of the ID card.

[0073] Further, after registering the target configuration parameter in the initial configuration file, the initial configuration file is updated to form an updated configuration file. Since the updated configuration file cannot take effect in the terminal, the terminal needs to send the updated configuration file to the server. Specifically, the terminal can send the updated configuration file to the server through an update configuration request. The update configuration request is used to request to send the updated configuration file. The server generates update configuration item data corresponding to the configuration request after receiving the updated configuration file. The update configuration item data refers to configuration data related to the updated configuration file. Since the target configuration parameter corresponding to each configuration item is recorded in the updated configuration file, the target configuration parameter corresponding to each configuration item can be included in the update configuration item data. The corresponding configuration item data is generated according to the target configuration parameter corresponding to each configuration item. Therefore, the customer can select all business processes through the configuration page by using the update configuration item data.

[0074] The above configuration data processing method displays multiple candidate configuration items on the configuration page of each configuration item. Not only can the configuration data processing method be configured, but also can be flexibly configured according to the customer's customization needs to configure a dedicated business process that meets the customer's needs. Further, by obtaining the initial configuration file, the initial configuration file is customized and configured, and the initial configuration file is updated to form an updated configuration file. Without the need to recompile the business code due to changes in business needs, the initial configuration file can be flexibly configured by the candidate configuration items corresponding to the configuration items in the initial configuration file, thereby improving the configuration efficiency of the business process.

[0075] In one embodiment, as shown in Figure 3 Before sending the configuration request, the method further includes:

[0076] At step 302, a user login request is sent to the server, the user login request carrying user identity information, so that the server verifies the user identity information according to the user login request, generates a user session identifier corresponding to the user identity information after successful verification, and returns the user session identifier.

[0077] At step 304, the user identity information and the corresponding user session identifier are stored.

[0078] The terminal sends a configuration request to obtain an initial configuration file from the server. Not all terminal users can send a configuration request to obtain an initial configuration file from the server, but only terminal users authenticated by the server can send a configuration request to obtain an initial configuration file. That is, only terminal users with permission can obtain an initial configuration file from the server. Therefore, before the terminal sends a configuration request, the server needs to authenticate the permission, and only terminal users authenticated and authorized by the server can send a configuration request to obtain an initial configuration file.

[0079] The user login request is used to request login. Specifically, the user login request can be triggered to be generated after a username and password are input through a related login interface, or the user login request can also be triggered to be generated through voice control. Since the terminal can trigger the generation of the user login request after inputting the username and password through the related login interface, the user login request carries the user identity information. The user identity information herein is information related to the identity of the logged-in user, and the user identity information can include the username and the corresponding password, and can also include a terminal identifier, which is used to uniquely identify the logged-in terminal.

[0080] Specifically, after the terminal inputs the username and password through the related login interface, the login button displayed on the login page is clicked to trigger the generation of the user login request. At this time, the user login request carries the user identity information, and the terminal sends the user login request carrying the user identity information to the server.

[0081] Further, after the server receives the user identity information sent by the terminal, the server verifies the user identity information according to the user login request. The verification can be storing the user identity information. After successful verification, a user session identifier corresponding to the user identity information is generated, and the user session identifier is used to uniquely identify the user identity information. That is, the corresponding user identity information, including the login username and password, can be known through the user session identifier. Finally, the server returns the generated user session identifier to the terminal.

[0082] Finally, after receiving the user session identifier, the terminal stores the user identity information and the corresponding user session identifier, which can be stored in a terminal database or in a browser cache space cookie, etc. The cookie is also data stored in the user's local terminal. Therefore, when the terminal needs to verify the identity to the server, the stored user session identifier can be directly sent to the server for verification.

[0083] In one embodiment, after the user inputs the username and password through the relevant login interface and clicks the login button displayed on the login page, a user login request is triggered. At this time, the user login request carries the user identity information, and the terminal sends the user login request carrying the user identity information to the server. After receiving the user login request, the server verifies the username and password in the user identity information to determine whether they match. After successful verification, the server generates a token value corresponding to the user identity information, which can be used as a user session identifier. Then, the server returns the token value to the terminal, and the terminal stores the token value in the cookie. Therefore, the terminal will carry this globally unique token value to the server to verify the identity every time it sends a configuration request. Only the terminal that successfully verifies the identity to the server can obtain the initial configuration file.

[0084] In one embodiment, as shown in Figure 4 the configuration request to obtain the initial configuration file from the server, including:

[0085] Step 402, obtaining a current user login request, which carries a current user session identifier.

[0086] Step 404, obtaining corresponding current user identity information according to the current user session identifier.

[0087] The current user login request is a request for the current terminal user to log in. Since the terminal user may have logged in and registered before but has not logged in for a period of time, it is necessary to re-verify the identity information of the terminal user. However, since the terminal user has registered and logged in before, the identity information of the terminal user has been stored in the storage space of the terminal, so the identity information of the terminal user can be directly obtained. Specifically, the terminal user triggers the generation of the current user login request through the relevant login interface, and can obtain the matching current session identifier from the terminal storage space according to the current user login request. Specifically, the token value corresponding to the current user login request can be obtained from the cookie of the terminal, and the obtained token value is used as the current session identifier matching the current user login request.

[0088] Since the terminal pre-stores the correspondence between user session identifiers and user identity information, the current user identity information corresponding to the current user session identifier can be obtained based on this correspondence. In one embodiment, the corresponding token value is obtained from the terminal's cookie based on the current user login request. The obtained token value is used as the current session identifier matching the current user login request. Since the token value under the cookie serves as an authentication credential to determine user identity and permissions, the user identity information carried in the token value can be obtained through the token value, and the user identity information carried in the token value is used as the current user identity information.

[0089] Step 406: Send the current user's identity information to the server via a configuration request so that the server can verify the current user's identity information according to the configuration request. If the verification is successful, retrieve the initial configuration file from the database and return the initial configuration file.

[0090] Step 408: Receive the initial configuration file returned by the server.

[0091] Specifically, after obtaining the current user identity information corresponding to the current session identifier, the current user identity information is carried in the configuration request and sent to the server through the configuration request so that the server can verify the current user identity information according to the configuration request. Only after the server verifies that the current user identity information has the permission to obtain the configuration file can the server pull the initial configuration file from the server's database and return the initial configuration file to the terminal.

[0092] The server can verify the current user's identity information based on the configuration request. This can be done by verifying whether the current user has previously logged in or registered. Specifically, it can be done by verifying whether the current user's identity information matches the same user identity information in the database. If the same user identity information is matched, the verification is considered successful; otherwise, the verification is considered to have failed.

[0093] Furthermore, the terminal receives the initial configuration file returned by the server and updates and modifies the initial configuration file.

[0094] In one embodiment, when the configuration page of the previous configuration item is completed, before jumping to the configuration page corresponding to the next configuration item, the "next" button set through the configuration page of the previous configuration item can trigger a verification request to the server, and the verification request carries the current user session identifier. The server verifies the legality of the corresponding current session identity information according to the current session identifier, and can jump to the configuration page corresponding to the next configuration item only after the verification is successful, and the target configuration parameter selected by the configuration page of the previous configuration item is bound to the current session identity information. That is, for example, when the next configuration page is loaded, the token value stored in the terminal cookie as the current user session identifier is used by the user to enter the process each time, and the self-service access interface is called to pass the token value to the server as an authentication credential to determine the current user identity and permission.

[0095] In one embodiment, as shown in Figure 5A the configuration data processing method further comprises:

[0096] Step 502, send an application acquisition request to the server, and the application acquisition request carries a user identifier, so that the server acquires a candidate configuration file set corresponding to the user identifier according to the user identifier, determines a target configuration file from the candidate configuration file set according to an item file identifier in the updated configuration item data, embeds target configuration item data corresponding to the target configuration file into a target application, and returns the target application.

[0097] The application acquisition request is used to acquire the target application, and specifically can be triggered by clicking a related website to generate the application acquisition request. The user identifier is carried in the application acquisition request, which is used to uniquely identify the terminal user. Different terminal clients correspond to different user identifiers.

[0098] Specifically, the terminal sends an application acquisition request carrying a user identifier to the server. After the server receives the application acquisition request, it acquires a candidate configuration file set composed of all candidate configuration files corresponding to the user identifier according to the user identifier in the application acquisition request. That is, all candidate configuration files in the candidate configuration file set are configuration files corresponding to the user identifier, and the configuration files corresponding to the user identifier are customized and set by the user according to the actual business requirements.

[0099] Further, after obtaining the candidate profile set corresponding to the user identifier, a target profile is determined from the candidate profile set according to an updated project file identifier in the configuration project data, and the target profile is returned. The target configuration project data corresponding to the target profile is embedded into the target application, and the target application is returned. Specifically, the target configuration project data corresponding to the target profile can be written into the program code corresponding to the target application.

[0100] In one embodiment, for example, the user identifier is an identifier of the Shenzhen Public Security Bureau, and the Shenzhen Public Security Bureau has configured three configuration files that meet its own business needs through the configuration data processing method, and each configuration file has a corresponding project file identifier. Specifically, first, all configuration files corresponding to the Shenzhen Public Security Bureau are obtained according to the user identifier, then a target configuration file is determined from all configuration files of the Shenzhen Public Security Bureau according to the project file identifier corresponding to the configuration file, and finally the target configuration project data corresponding to the target configuration file is embedded into the target application. That is, according to the user identifier and the project file identifier, the configuration scheme corresponding to a certain configuration file of a certain customer can be uniquely determined.

[0101] Step 504, executing a business process corresponding to the target configuration project data through the target application.

[0102] Specifically, the terminal receives the target application returned by the server. Since the server has embedded the target configuration project data corresponding to the target configuration file into the target application, after the terminal receives the target application, the target application can execute the business process corresponding to the target configuration project data after the target application is downloaded and installed. The server can send an installation package or an SDK of the target application to the terminal, and the terminal downloads and installs the corresponding target application by downloading the installation package or the SDK of the target application. That is, the target application concatenates and combines the business processes corresponding to the target configuration project data to form the entire product process of the target application.

[0103] In one embodiment, as shown in Figure 5B , 5C , 5D, and 5E show a business process interface diagram corresponding to the target application in one embodiment. As shown in Figure 5B , 5C , 5D, and 5E show a business process interface diagram corresponding to the target application in one embodiment. As shown in Figure 5B , the target application displays a business home page, Figure 5B The business home page display page title, business name, and business description, and also sets a "quick verification" button, which enters the next business process by clicking the "quick verification" button. The next business process is shown in Figure 5C , Figure 5C The business process is identity information acquisition, Figure 5CThe displayed page is a user information authentication page. The method for entering ID card information is: take a photo of the front and back of the ID card. A "Next" button is provided; clicking the "Next" button will proceed to the next business process. The next business process is as follows: Figure 5D As shown, Figure 5D The illustrated workflow is a liveness detection page. The page displays the liveness detection method: digital mode (according to the page prompts, a number will be read aloud during video recording). A "Next" button is provided; clicking the "Next" button leads to the next workflow. The next workflow is as follows: Figure 5E As shown, Figure 5E The illustrated business process is a verification success page, which displays the verification success result. That is, through... Figure 5B , 5C The business processes of 5D and 5E constitute the product process corresponding to the target application. In other words, using the target application requires executing... Figure 5B , 5C The business processes corresponding to 5D and 5E.

[0104] In one embodiment, the target configuration file includes multiple sub-configuration item data, and the business process is that the server combines the data of each sub-configuration item to obtain the business process corresponding to the updated configuration item data.

[0105] The configuration file includes multiple independent configuration items, with each sub-configuration item's data corresponding to the configuration items in the target configuration file. The business processes corresponding to the sub-configuration item data of each independent configuration item are linked together to obtain the business process corresponding to updating the configuration item data. A business process is a structured, measurable set of activities that produces specific outputs for a specific market or customer.

[0106] Specifically, after the server obtains the target configuration file, it concatenates and combines the data from each sub-configuration item in the target configuration file according to the configuration order to obtain the entire business process corresponding to the updated configuration item data. Each sub-configuration item data has a corresponding business process, and these business processes are combined to form the business process corresponding to the updated configuration item data.

[0107] In one embodiment, it can be as follows Figure 5B , 5C As shown in 5D and 5E, Figure 5B , 5C The business processes shown in 5D and 5E are the business processes corresponding to the data of each sub-configuration project. Figure 5B , 5C The business processes shown in 5D and 5E are combined and linked to form the entire business process corresponding to updating the configuration project data.

[0108] In one embodiment, as shown in Figure 6A The data processing method comprises the following steps:

[0109] In step 602, a configuration modification request is sent to the server, and the configuration modification request carries a configuration file identifier and a modification user identifier, so that the server acquires a corresponding to-be-modified configuration file according to the configuration file identifier, acquires configuration user identity information corresponding to the to-be-modified configuration file, and returns the to-be-modified configuration file when verifying that the modification user identity information corresponding to the modification user identifier is the same as the configuration user identity information.

[0110] The configuration modification request is used to request modification of the configuration file, and the configuration modification request can be triggered by an auditor to be generated, or can be triggered by a customer through a terminal to be generated. The configuration modification request triggered by the auditor to be generated can modify any configuration file stored in the database, and the configuration modification request triggered by the customer through the terminal to be generated can only modify the configuration file corresponding to the user identifier. The configuration modification request triggered to be generated can be triggered to be generated by clicking an operation on a related modification configuration interface, or can be triggered to be generated by a voice operation.

[0111] Specifically, when the terminal acquires the configuration modification request, the configuration modification request carries the configuration file identifier and the modification user identifier. The configuration file identifier is used to uniquely identify the configuration file, and the modification user identifier is used to uniquely identify the terminal user initiating the configuration modification request. The terminal sends the configuration modification request carrying the configuration file identifier and the modification user identifier to the server, and requests the server to issue the to-be-modified configuration file corresponding to the configuration file identifier.

[0112] Further, after the server receives the configuration modification request, the server acquires the corresponding to-be-modified configuration file according to the configuration file identifier in the configuration modification request. Since the server stores a corresponding mapping relationship between the configuration file and the corresponding user identity information, the user identity information of the to-be-modified configuration file is acquired according to the mapping relationship. Since the configuration modification request triggered by the customer through the terminal can only modify the configuration file corresponding to the user identifier, the server verifies whether the modification user identity information corresponding to the user identifier matches the configuration user identity information of the to-be-modified configuration file. Only when the modification user identity information matches the configuration user identity information, it is indicated that the terminal sending the configuration modification request has the permission to modify the configuration file, and the server can return the to-be-modified configuration file to the terminal.

[0113] In step 604, a modification configuration page corresponding to the to-be-modified configuration file is displayed, and the modification configuration page comprises a plurality of candidate to-be-modified configuration items.

[0114] Step 606, receiving a modification instruction acting on the modification configuration page, and determining the corresponding modification configuration parameter from the candidate to-be-modified configuration item according to the modification instruction.

[0115] Specifically, after the terminal receives the to-be-modified configuration file returned by the server, the modification configuration page corresponding to the to-be-modified configuration file is displayed through the front end. The modification configuration page can be a web page or a sub-application page running on the parent application. The modification configuration page includes a plurality of candidate to-be-modified configuration items. The candidate to-be-modified configuration item is a configuration item waiting to be modified. Each candidate to-be-modified configuration item displayed on the modification configuration page has a selected configuration parameter. The previously selected configuration parameter can be modified. The candidate to-be-modified configuration item of the modification configuration page can be clicked or operated by voice to trigger the generation of a modification instruction acting on the modification configuration page. The target to-be-modified configuration item is determined from the plurality of candidate to-be-modified configuration items according to the modification instruction, and the modification configuration parameter corresponding to the target to-be-modified configuration item is obtained.

[0116] In one embodiment, as shown in Figure 6B Figure 6B An interface schematic diagram of the modification configuration page in one embodiment is shown. As shown in Figure 6B Figure 6B The modification configuration page corresponding to the to-be-modified configuration file is shown. Figure 6B The modification configuration page includes a plurality of candidate to-be-modified configuration items and configuration items corresponding to each configuration item, such as the way of inputting ID card information, which is to take a photo of the front side of the ID card, and the live detection mode, which is a digital mode (according to the page prompt, read a segment of numbers when recording a video). Since the customer wants to modify the previously selected configuration item according to the actual business needs, the configuration item of the target configuration item is modified on the modification configuration page. Specifically, the target modification configuration item can be selected from each candidate to-be-modified configuration item, such as modifying the way of inputting ID card information from taking a photo of the front side of the ID card to taking a photo of the front and back sides of the ID card. The modified modification configuration page is shown in Figure 6C Figure 6C The way of inputting ID card information in the modification configuration page has been updated to taking a photo of the front and back sides of the ID card.

[0117] Step 608, registering the modification configuration parameter to the global variable in the to-be-modified configuration file to form a modified to-be-modified configuration file, and sending the modified to-be-modified configuration file to the server through an update configuration request, so that the server generates corresponding configuration item data according to the modified to-be-modified configuration file.

[0118] ​​​In the embodiment, after the modified configuration parameter is obtained, the modified configuration parameter is registered in the to-be-modified configuration file. Specifically, the modified configuration parameter can be registered in the to-be-modified configuration file as a variable of a corresponding configuration item in the to-be-modified configuration file. The modified configuration parameter can also be registered in a global variable in the to-be-modified configuration file. The global variable refers to a variable that can be referenced by all objects or functions of a related product. The modified configuration parameter registered in the global variable can be referenced by all objects or functions of the related product, and the efficiency of product operation can be improved.

[0119] Further, the modified configuration parameter is registered in the global variable in the to-be-modified configuration file to form a modified to-be-modified configuration file. The modified to-be-modified configuration file is sent to the server through an update configuration request. After the server receives the modified to-be-modified configuration file, the server generates corresponding configuration item data according to the modified to-be-modified configuration file and stores the configuration item data. That is, the configuration item data generated by the server includes the configuration modification parameter.

[0120] In an embodiment, before the modified configuration page corresponding to the to-be-modified configuration file is displayed, the server further obtains audit user identity information of an auditor. When the modified user identity information corresponding to the modification user identifier in the configuration modification request matches the audit user identity information, the to-be-modified configuration file is returned to the terminal.

[0121] When the modified user identity information corresponding to the modification user identifier in the configuration modification request matches the audit user identity information of the auditor, it is indicated that the identity information of the terminal user initiating the configuration modification request is the identity information of the auditor. The auditor has the permission to modify all configuration files stored in the server, and thus the to-be-modified configuration file can be returned to the terminal for auditing by the auditor.

[0122] Specifically, after the server receives the configuration modification request, the server obtains the to-be-modified configuration file corresponding to the configuration file identifier according to the configuration file identifier carried in the configuration modification request, and obtains the audit user identity information of the auditor stored in advance. Whether the modified user identity information corresponding to the modification user identifier matches the audit user identity information is verified. When the modified user identity information matches the audit user identity information, the to-be-modified configuration file corresponding to the configuration file identifier is returned to the terminal.

[0123] Further, after the terminal receives the to-be-modified configuration file returned by the server, the terminal displays the modified configuration page corresponding to the to-be-modified configuration file through the front end. Specifically, as shown in FIG. 6, Figure 7A Figure 7A FIG. 6 shows an interface diagram of displaying the to-be-modified configuration file page in an embodiment. Figure 7A ​The modification configuration page shown includes a plurality of configuration files to be modified, each of which is provided with a "modify configuration" button corresponding to the configuration file to be modified. The "modify configuration" button can be clicked to enter the modification configuration page corresponding to the configuration file to be modified. As shown in Figure 7B Figure 7B The interface diagram of the modification configuration page of the configuration file to be modified in an embodiment is shown. Figure 7B The modification configuration page shown displays the configuration parameters corresponding to each configuration item in the configuration file to be modified. The configuration parameters can be modified by Figure 7B The modification configuration page modifies the configuration parameters corresponding to each configuration item and fills in the corresponding audit opinion in the "audit opinion". The audit opinion includes audit success or audit failure. Further, the audit state is displayed on the modification configuration page.

[0124] In an embodiment, as shown in Figure 8A After receiving the selection instruction acting on the configuration page and determining the target configuration parameter corresponding to the selection instruction from the candidate configuration items, the method further includes:

[0125] Step 802: Obtain the exclusive configuration page corresponding to the target configuration parameter according to the selection instruction.

[0126] Step 804: Display the exclusive configuration page.

[0127] To improve the WYSIWYG experience of the customer during configuration and enable the customer to select the target configuration item for exclusive service, after receiving the selection instruction acting on the configuration page and determining the target configuration parameter corresponding to the selection instruction from the candidate configuration items, the exclusive configuration page corresponding to the target configuration parameter can be obtained according to the selection instruction. The exclusive configuration page corresponding to the target configuration parameter can be obtained by sending the selection instruction to the server, and the server obtains the exclusive configuration page corresponding to the target configuration parameter according to the target configuration parameter carried in the selection instruction. The server can pre-store the relationship between the configuration parameter and the configuration page, and obtain the exclusive configuration page corresponding to the target configuration parameter according to the relationship. Further, the server returns the exclusive configuration page to the terminal, and displays the exclusive configuration page through the terminal front end.

[0128] In an embodiment, as shown in Figure 8B Figure 8B The interface diagram of the exclusive configuration page in an embodiment is shown. Figure 8B ​​The schematic diagram shows that the exclusive configuration page is displayed on the configuration page, and the configuration page corresponding to the identity information acquisition configuration item is displayed, and the configuration page includes a plurality of candidate configuration items, such as shooting the front and back of the identity card, shooting the front of the identity card, manually inputting the name and identity card number. When the customer selects the target configuration item from the plurality of candidate configuration items according to the actual business demand, the exclusive configuration page corresponding to the target configuration item is displayed on the left side of the configuration page when the target configuration item is selected. For example, Figure 8B The target configuration item selected by the user is to shoot the front of the identity card, and the exclusive configuration page for shooting the front of the identity card is displayed on the left side of the configuration page.

[0129] In one embodiment, the configuration item includes at least one of the homepage configuration item determined according to the business homepage configuration information, the business configuration item determined according to the business type configuration information, the scene configuration item determined according to the business application scene configuration information, and the result configuration item determined according to the business result configuration information, the business configuration item includes at least one of the business type, the live detection mode, the native plug-in, the comparison source, and the user identity information acquisition mode, the scene configuration item includes at least one of the sub-application page running on the parent application, the web page, and the application page, and different configuration items correspond to a plurality of different candidate configuration items.

[0130] Among them, the business homepage configuration information is the information related to the realization of the product business homepage, and the customer has the right to configure the business homepage, and the business homepage configuration information includes the selection of the input geographical position, the selection of the live detection environment (uploading a photo or manually inputting or adding a verification interface, etc.) and the agreement, the homepage title, the homepage text, etc. The business type configuration information is related to the business type, and the business type can include information related to the product business.

[0131] Among them, the business application scene configuration information is the information related to the realization of the product application scene, and the business application scene is the scene used by the product, and the business application scene includes general h5, WeChat native plug-in, applet, client, etc. The business result configuration information is related to the realization of the product business result, and when all the business processes of the product are completed, how to display the business result.

[0132] Specifically, the configuration file includes a plurality of configuration items, and the configuration items can be at least one of a homepage configuration item determined according to homepage configuration information, a service configuration item determined according to service type configuration information, a scene configuration item determined according to service application scene configuration information, and a result configuration item determined according to service result configuration information. The homepage configuration item is composed of configuration data related to the implementation of the homepage process, the service configuration item is composed of configuration data related to the implementation of the service type, the scene configuration item is composed of configuration data related to the implementation of the application scene, and the result configuration item is composed of configuration data related to the implementation of the result display.

[0133] The service configuration item includes at least one of a service type, a live detection method, a native plug-in, a comparison source, and a user identity information acquisition method, the scene configuration item includes at least one of a sub-application page running on a parent application, a web page, and an application page, and different configuration items correspond to a plurality of different candidate configuration items.

[0134] In one specific embodiment, a configuration data processing method is provided, which specifically includes the following steps:

[0135] 1. Send a user login request to the server, the user login request carrying user identity information, so that the server verifies the user identity information according to the user login request, generates a user session identifier corresponding to the user identity information after successful verification, and returns the user session identifier.

[0136] 2. Store the user identity information and the corresponding user session identifier.

[0137] 3. Send a configuration request, and obtain an initial configuration file from the server according to the configuration request, the initial configuration file including a plurality of independent configuration items.

[0138] 3-1. Obtain a current user login request, the current user login request carrying a current user session identifier.

[0139] 3-2. Obtain corresponding current user identity information according to the current user session identifier.

[0140] 3-3. Send the current user identity information to the server through the configuration request, so that the server verifies the current user identity information according to the configuration request, pulls the initial configuration file from the database after successful verification, and returns the initial configuration file.

[0141] 3-4. Receive the initial configuration file returned by the server.

[0142] 4. Display a configuration page corresponding to the configuration item, the configuration page including a plurality of candidate configuration items.

[0143] 5. receiving a selection instruction for the configuration page, and determining a target configuration parameter from the candidate configuration items according to the selection instruction.

[0144] 6. obtaining a dedicated configuration page corresponding to the target configuration parameter according to the selection instruction.

[0145] 7. displaying the dedicated configuration page.

[0146] 8. registering the target configuration parameter into an initial configuration file to form an updated configuration file, and sending the updated configuration file to the server through an update configuration request, so that the server generates corresponding update configuration item data according to the updated configuration file.

[0147] 9. sending an application acquisition request to the server, the application acquisition request carrying a user identifier, so that the server acquires a candidate configuration file set corresponding to the user identifier according to the user identifier, determines a target configuration file from the candidate configuration file set according to a project file identifier in the update configuration item data, embeds target configuration item data corresponding to the target configuration file into a target application, and returns the target application, wherein the target configuration file includes multiple sub-configuration item data, and a business process is obtained by the server combining each sub-configuration item data to obtain a business process corresponding to the update configuration item data.

[0148] 10. executing a business process corresponding to the target configuration item data through the target application.

[0149] 11. sending a configuration modification request to the server, the configuration modification request carrying a configuration file identifier and a modification user identifier, so that the server acquires a to-be-modified configuration file according to the configuration file identifier, acquires configuration user identity information corresponding to the to-be-modified configuration file, and returns the to-be-modified configuration file when verifying that modification user identity information corresponding to the modification user identifier is the same as the configuration user identity information.

[0150] 12. the server acquires audit user identity information of an audit personnel, and returns the to-be-modified configuration file when verifying that the modification user identity information corresponding to the modification user identifier is the same as the audit user identity information.

[0151] 13. displaying a modification configuration page corresponding to the to-be-modified configuration file, the modification configuration page including multiple candidate to-be-modified configuration items.

[0152] 14. receiving a modification instruction for the modification configuration page, and determining a modification configuration parameter from the candidate to-be-modified configuration items according to the modification instruction.

[0153] 15. Register the modified configuration parameters to global variables in the configuration file to be modified, forming the modified configuration file. Send the modified configuration file to the server through an update configuration request so that the server can generate the corresponding configuration item data based on the modified configuration file.

[0154] In a SaaS-based, reconfigurable, adaptable, and multi-service application scenario, the SaaS provider builds all the necessary network infrastructure and software / hardware operating platforms for the enterprise's IT needs, and is responsible for all pre-implementation and post-maintenance services. The enterprise can use the information system via the internet without purchasing hardware and software, building server rooms, or hiring IT personnel. Facial recognition is a suite of services that verifies the authenticity of user identity information, providing various authentication modules, including document OCR recognition, liveness detection, and 1:1 face comparison capabilities. It addresses the widespread need for user identity verification across various industries and is widely used in public security, human resources and social security, and financial insurance sectors.

[0155] Specifically, the following steps can be used to explain in detail how to achieve reconfigurable and adaptable identity verification for multiple services based on SaaS business:

[0156] 1. First, a default template message is set up on the front end and registered in a global variable. All subsequent JavaScript logic is organized based on this configuration message. Each time the project code is accessed, a unique identity information index is obtained by requesting the auth interface. Then, this index is used to request the configuration interface to fetch the pre-defined process configuration file from the server, enabling a configurable SaaS service.

[0157] Specifically, a default core configuration file is set up and stored in a global variable in JSON format. Then, each time the product is accessed, the Auth API is called using a token stored in a cookie to obtain a unique index. This index is then used to retrieve the configuration file from the database via an API call. By overriding the core configuration JSON in the global variable at various points in the product workflow, existing processes are combined to create a lightweight solution that meets customer needs, achieving the design goal of satisfying the needs of customers in various industries with only one codebase.

[0158] 2. Next, we will build an internal platform and improve the configurable and modifiable user project access configuration. We will also monitor user call volume, differentiate the call volume of different user segments, identify problems during customer access, and accurately locate the source of the incident.

[0159] Specifically, the WYSIWYG is realized by combining the interface according to the core configuration file, and the flow selection allows the user to understand the steps of the whole flow during the access process. The business flow under the project configured by the customer is activated by the way of ajax storage configuration file. Each configured project is located by the way of uin+ruleId unique index. The process management is realized during the self-service access process, which greatly speeds up the flexible access and stable delivery of the project.

[0160] 3. Finally, based on the management console, a standardized automated access is realized, allowing the user to effectively fill out the form, claim the customized configuration file, and effectively manage the status and configuration capabilities of the configuration.

[0161] Specifically, the internal management console required by internal personnel is built on the basis of the original. For some specific needs of customers, manual changes can be made to the configuration, the user can call data monitoring and analysis, push audit messages, and sort, review, pass and push notification templates to the project accessed by the user.

[0162] It should be understood that although each step in the above flowchart is displayed in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise specified in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least part of the steps in the above flowchart can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or sub-steps or stages of other steps.

[0163] In one embodiment, as shown in Figure 9 a configuration data processing apparatus 900 is provided, which comprises:

[0164] The configuration request sending module 902 is configured to send a configuration request, and obtain an initial configuration file from a server according to the configuration request, the initial configuration file comprising a plurality of independent configuration items.

[0165] The configuration page display module 904 is configured to display a configuration page corresponding to the configuration item, the configuration page comprising a plurality of candidate configuration items.

[0166] The selection instruction receiving module 906 is configured to receive a selection instruction acting on the configuration page, and determine a target configuration parameter corresponding to the candidate configuration item according to the selection instruction.

[0167] The initial configuration file updating module 908 is configured to register the target configuration parameter into the initial configuration file to form an updated configuration file, and send the updated configuration file to the server through an updated configuration request, so that the server generates corresponding updated configuration item data according to the updated configuration file.

[0168] In one embodiment, as shown in Figure 10 The configuration data processing apparatus 900 further includes:

[0169] The user login request sending module 1002 is configured to send a user login request to the server, the user login request carrying user identity information, so that the server verifies the user identity information according to the user login request, generates a user session identifier corresponding to the user identity information after the verification is successful, and returns the user session identifier.

[0170] The user identity information storage module 1004 is configured to store the user identity information and the corresponding user session identifier.

[0171] In one embodiment, as shown in Figure 11 The configuration data processing apparatus 900 further includes:

[0172] The application acquisition request sending module 1102 is configured to send an application acquisition request to the server, the application acquisition request carrying a user identifier, so that the server acquires a candidate configuration file set corresponding to the user identifier according to the user identifier, determines a target configuration file from the candidate configuration file set according to an item file identifier in the updated configuration item data, embeds target configuration item data corresponding to the target configuration file into a target application, and returns the target application.

[0173] The target configuration item data execution module 1104 is configured to execute a business process corresponding to the target configuration item data through the target application.

[0174] In one embodiment, as shown in Figure 12 The configuration data processing apparatus 900 further includes:

[0175] The exclusive configuration page acquisition module 1202 is configured to acquire an exclusive configuration page corresponding to the target configuration parameter according to the selection instruction.

[0176] The exclusive configuration page display module 1204 is configured to display the exclusive configuration page.

[0177] In one embodiment, as shown in Figure 13 The configuration request sending module 902 includes:

[0178] The user login request acquisition unit 902a is configured to acquire a current user login request, the current user login request carrying a current user session identifier.

[0179] The user identity information obtaining unit 902b is configured to obtain corresponding current user identity information according to the current user session identifier.

[0180] The user identity information sending unit 902c is configured to send the current user identity information to the server through a configuration request, so that the server verifies the current user identity information according to the configuration request, pulls an initial configuration file from a database after the verification is successful, and returns the initial configuration file.

[0181] The configuration file receiving unit 902d is configured to receive the initial configuration file returned by the server.

[0182] In one embodiment, the target configuration file includes a plurality of sub-configuration item data, and the business process is that the server combines the sub-configuration item data to obtain the business process corresponding to the updated configuration item data.

[0183] In one embodiment, as shown in Figure 14 The configuration data processing apparatus 900 further includes:

[0184] The configuration modification request sending module 1402 is configured to send a configuration modification request to the server, the configuration modification request carrying a configuration file identifier and a modification user identifier, so that the server obtains a corresponding to-be-modified configuration file according to the configuration file identifier, obtains configuration user identity information corresponding to the to-be-modified configuration file, and returns the to-be-modified configuration file when verifying that the modification user identity information corresponding to the modification user identifier is the same as the configuration user identity information.

[0185] The modification configuration page display module 1404 is configured to display a modification configuration page corresponding to the to-be-modified configuration file, the modification configuration page including a plurality of candidate to-be-modified configuration items.

[0186] The modification instruction receiving module 1406 is configured to receive a modification instruction acting on the modification configuration page, and determine a corresponding modification configuration parameter from the candidate to-be-modified configuration items according to the modification instruction.

[0187] The modified configuration file sending module 1408 is configured to register the modification configuration parameter to a global variable in the to-be-modified configuration file to form a modified to-be-modified configuration file, and send the modified to-be-modified configuration file to the server through an update configuration request, so that the server generates corresponding configuration item data according to the modified to-be-modified configuration file.

[0188] In one embodiment, the server obtains audit user identity information of an audit personnel, and returns the to-be-modified configuration file when verifying that the modification user identity information corresponding to the modification user identifier is the same as the audit user identity information.

[0189] In one embodiment, the configuration item includes at least one of a homepage configuration item determined according to homepage configuration information of the business, a business configuration item determined according to business type configuration information, a scene configuration item determined according to business application scenario configuration information, and a result configuration item determined according to business result configuration information, the business configuration item includes at least one of a business type, a live detection method, a native plug-in, a comparison source, and a user identity information acquisition method, the scene configuration item includes at least one of a sub-application page running on a parent application, a web page, and an application page, and different configuration items correspond to multiple different candidate configuration items.

[0190] Figure 15 An internal structure diagram of a computer device in one embodiment is shown. The computer device can be specifically a client terminal 110 or a service terminal 130 in Figure 1 As shown in Figure 15 , the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and can also store a computer program, which, when executed by the processor, can enable the processor to implement the configuration data processing method. The internal memory can also store a computer program, which, when executed by the processor, can enable the processor to execute the configuration data processing method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball, or touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse, etc.

[0191] Those skilled in the art can understand Figure 15 that the structure shown in is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0192] Figure 15 In one embodiment, the configuration data processing apparatus provided by the present application can be implemented in the form of a computer program, which can run on the computer device as shown in Figure 9 The memory of the computer device can store various program modules constituting the configuration data processing apparatus, such as the configuration request sending module, the configuration page display module, the selection instruction receiving module, and the initial configuration file updating module shown in The computer program constituted by the various program modules causes the processor to execute the steps in the configuration data processing method of each embodiment of the present application described in the specification.

[0193] For example, Figure 15 The computer device shown can send a configuration request by a configuration request sending module in the configuration data processing apparatus shown, Figure 9 The configuration request sending module sends a configuration request, and obtains an initial configuration file from a server according to the configuration request, the initial configuration file including a plurality of independent configuration items. The configuration page display module displays a configuration page corresponding to the configuration item, the configuration page including a plurality of candidate configuration items. The selection instruction receiving module receives a selection instruction acting on the configuration page, and determines a target configuration parameter from the candidate configuration items according to the selection instruction. The initial configuration file updating module registers the target configuration parameter into the initial configuration file to form an updated configuration file, and sends the updated configuration file to the server through an updated configuration request, so that the server generates corresponding updated configuration item data according to the updated configuration file.

[0194] In one embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, the computer program being executed by the processor to make the processor execute the steps of the configuration data processing method described above. The steps of the configuration data processing method can be the steps in the configuration data processing method of each of the embodiments described above.

[0195] In one embodiment, a computer readable storage medium is provided, storing a computer program, the computer program being executed by the processor to make the processor execute the steps of the configuration data processing method described above. The steps of the configuration data processing method can be the steps in the configuration data processing method of each of the embodiments described above.

[0196] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer readable storage medium, and when the program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, storage, databases, or other media in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0197] The technical features of the above embodiments can be combined in any way. In order to make the description simple, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist, they should be considered as the scope of the present application.

[0198] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A configuration data processing method, comprising: sending a configuration request, obtaining an initial configuration file from a server according to the configuration request, the initial configuration file comprising a plurality of independent configuration items, each configuration item corresponding to a business process configuration of a product, the initial configuration file comprising all business process configurations of the product; displaying a configuration page corresponding to the configuration item, the configuration page comprising a plurality of candidate configuration items, the configuration page being a web page or a sub-application page running on a parent application, the sub-application being an application program running in dependence on the parent application, the sub-application page being displayed in an environment provided by the parent application; receiving a selection instruction acting on the configuration page, determining a target configuration parameter corresponding to the candidate configuration item according to the selection instruction; sending the selection instruction to the server, the server obtaining a dedicated configuration page corresponding to the target configuration parameter according to the target configuration parameter carried in the selection instruction and a relationship between the configuration parameter and the configuration page, and returning the dedicated configuration page, the dedicated configuration page corresponding to the target configuration parameter being displayed in the configuration page; registering the target configuration parameter in a global variable of the initial configuration file, the global variable being used to be referenced by an object or a function of the related product, forming an updated configuration file, and sending the updated configuration file to the server through an update configuration request, so that the server generates corresponding updated configuration item data according to the updated configuration file; wherein, when the configuration page of the previous configuration item is completed, before jumping to the configuration page of the next configuration item, a verification request is generated to the server, the verification request carrying a current user session identifier, the server verifying the legality of the corresponding current session identity information according to the current user session identifier, and jumping to the configuration page of the next configuration item after the verification is successful, and binding the target configuration parameter selected by the configuration page of the previous configuration item and the current session identity information; each time the product is entered, identity information index is obtained by calling an interface, the configuration interface is called by using the identity information index to pull the configuration file in the server, and the existing process is combined to realize product service at each part of the product process by covering the configuration file of the global variable.

2. The method of claim 1, wherein, The sending of the configuration request further comprises: sending a user login request to the server, the user login request carrying user identity information, so that the server verifies the user identity information according to the user login request, generates a user session identifier corresponding to the user identity information after the verification is successful, and returns the user session identifier; storing the user identity information and the corresponding user session identifier.

3. The method of claim 2, wherein, The sending of the configuration request, obtaining an initial configuration file from a server according to the configuration request, comprises: obtaining a current user login request, the current user login request carrying a current user session identifier; obtaining corresponding current user identity information according to the current user session identifier; The current user identity information is sent to the server through the configuration request, so that the server verifies the current user identity information according to the configuration request, pulls the initial configuration file from a database after verification succeeds, and returns the initial configuration file; The initial configuration file returned by the server is received.

4. The method of claim 1, wherein, The method further comprises: An application acquisition request is sent to the server, and the application acquisition request carries a user identifier, so that the server acquires a candidate configuration file set corresponding to the user identifier according to the user identifier, determines a target configuration file from the candidate configuration file set according to a project file identifier in the updated configuration item data, embeds target configuration item data corresponding to the target configuration file into a target application, and returns the target application; A business process corresponding to the target configuration item data is executed through the target application.

5. The method of claim 4, wherein, The target configuration file comprises a plurality of sub-configuration item data, and the business process is a business process obtained by combining each sub-configuration item data by the server and corresponding to the updated configuration item data.

6. The method of claim 1, wherein, The method further comprises: A configuration modification request is sent to the server, and the configuration modification request carries a configuration file identifier and a modification user identifier, so that the server acquires a corresponding to-be-modified configuration file according to the configuration file identifier, acquires configuration user identity information corresponding to the to-be-modified configuration file, and returns the to-be-modified configuration file when verifying that modification user identity information corresponding to the modification user identifier is the same as the configuration user identity information. A modification configuration page corresponding to the to-be-modified configuration file is displayed, and the modification configuration page comprises a plurality of candidate to-be-modified configuration items. A modification instruction acting on the modification configuration page is received, and a corresponding modification configuration parameter is determined from the candidate to-be-modified configuration items according to the modification instruction. The modification configuration parameter is registered to a global variable in the to-be-modified configuration file to form a modified to-be-modified configuration file, and the modified to-be-modified configuration file is sent to the server through an updated configuration request, so that the server generates corresponding configuration item data according to the modified to-be-modified configuration file.

7. The method of claim 6, wherein, Before the modification configuration page corresponding to the to-be-modified configuration file is displayed, the method further comprises: The server acquires audit user identity information of an audit personnel, and returns the to-be-modified configuration file when verifying that modification user identity information corresponding to the modification user identifier is the same as the audit user identity information.

8. The method of claim 1, wherein, The configuration items include at least one of a homepage configuration item determined according to homepage configuration information of a business, a business configuration item determined according to business type configuration information, a scene configuration item determined according to business application scene configuration information, and a result configuration item determined according to business result configuration information, the business configuration item includes at least one of a business type, a live body detection mode, a native plug-in, a comparison source, and a user identity information acquisition mode, the scene configuration item includes at least one of a sub-application page running on a parent application, a web page, and an application page, and different configuration items correspond to multiple different candidate configuration items.

9. A configuration data processing apparatus, the apparatus comprising: a configuration request sending module configured to send a configuration request and obtain an initial configuration file from a server according to the configuration request, the initial configuration file including multiple independent configuration items, each configuration item corresponding to a business process configuration of a product, and the initial configuration file including all business process configurations of the product; a configuration page display module configured to display a configuration page corresponding to the configuration item, the configuration page including multiple candidate configuration items, and the configuration page being a web page or a sub-application page running on a parent application, the sub-application being an application program running in dependence on the parent application and displaying the sub-application page in an environment provided by the parent application; a selection instruction receiving module configured to receive a selection instruction acting on the configuration page and determine a target configuration parameter corresponding to the candidate configuration items according to the selection instruction; a dedicated configuration page obtaining module configured to send the selection instruction to the server, the server obtaining a dedicated configuration page corresponding to the target configuration parameter according to the target configuration parameter carried in the selection instruction and a relationship between configuration parameters and configuration pages, and returning the dedicated configuration page; a dedicated configuration page display module configured to display the dedicated configuration page corresponding to the target configuration parameter in the configuration page; an initial configuration file updating module configured to register the target configuration parameter in a global variable of the initial configuration file, the global variable being used to be referenced by objects or functions of related products to form an updated configuration file, and sending the updated configuration file to the server through an update configuration request, so that the server generates corresponding updated configuration item data according to the updated configuration file; the apparatus is further configured to generate a verification request to the server before jumping to a configuration page corresponding to a next configuration item after a configuration page of a previous configuration item is completed, the verification request carrying a current user session identifier, the server verifying legality of corresponding current session identity information according to the current user session identifier, jumping to the configuration page corresponding to the next configuration item after the verification is successful, and binding the target configuration parameter selected by the configuration page of the previous configuration item and the current session identity information. The device is also used to obtain an identity information index by calling an interface each time the product is entered, call a configuration interface to pull a configuration file in the server through the identity information index, and combine an existing process to implement product service through the configuration file of the global variable at various parts of the product process.

10. The apparatus of claim 9, wherein, The device further comprises: A user login request sending module configured to send a user login request to the server, the user login request carrying user identity information, so that the server verifies the user identity information according to the user login request, generates a user session identifier corresponding to the user identity information after the verification is successful, and returns the user session identifier; A user identity information storage module configured to store the user identity information and the corresponding user session identifier.

11. The apparatus of claim 9, wherein, The device further comprises: An application acquisition request sending module configured to send an application acquisition request to the server, the application acquisition request carrying a user identifier, so that the server acquires a candidate configuration file set corresponding to the user identifier according to the user identifier, determines a target configuration file from the candidate configuration file set according to a project file identifier in the updated configuration item data, returns the target configuration file, embeds target configuration item data corresponding to the target configuration file into a target application, and returns the target application; A target configuration item data execution module configured to execute a business process corresponding to the target configuration item data through the target application.

12. The apparatus of claim 10, wherein, The configuration request sending module comprises: A user login request acquisition unit configured to acquire a current user login request, the current user login request carrying a current user session identifier; A user identity information acquisition unit configured to acquire corresponding current user identity information according to the current user session identifier; A user identity information sending unit configured to send the current user identity information to the server through a configuration request, so that the server verifies the current user identity information according to the configuration request, pulls an initial configuration file from a database after the verification is successful, and returns the initial configuration file; A configuration file receiving unit configured to receive the initial configuration file returned by the server.

13. The apparatus of claim 11, wherein, The target configuration file comprises a plurality of sub-configuration item data, and the business process is a business process obtained by combining each sub-configuration item data corresponding to the updated configuration item data by the server.

14. The apparatus of claim 9, wherein, The device further comprises: A configuration modification request sending module configured to send a configuration modification request to the server, the configuration modification request carrying a configuration file identifier and a modification user identifier, so that the server acquires a corresponding to-be-modified configuration file according to the configuration file identifier, acquires configuration user identity information corresponding to the to-be-modified configuration file, returns the to-be-modified configuration file when the modification user identity information corresponding to the modification user identifier is verified to be the same as the configuration user identity information; A modification configuration page display module configured to display a modification configuration page corresponding to the to-be-modified configuration file, the modification configuration page comprising a plurality of candidate to-be-modified configuration items; A modification instruction receiving module configured to receive a modification instruction acting on the modification configuration page, and determine a corresponding modification configuration parameter from the candidate to-be-modified configuration items according to the modification instruction; The modified configuration file sending module is configured to register the modified configuration parameter into a global variable in the to-be-modified configuration file, form a modified modified configuration file, and send the modified modified configuration file to the server through an update configuration request, so that the server generates corresponding configuration item data according to the modified modified configuration file.

15. The apparatus of claim 14, wherein, The server obtains the audit user identity information of the audit personnel, and returns the to-be-modified configuration file when it is verified that the modified user identity information corresponding to the modified user identifier is the same as the audit user identity information.

16. The apparatus of claim 9, wherein, The configuration item includes at least one of a homepage configuration item determined according to business homepage configuration information, a business configuration item determined according to business type configuration information, a scene configuration item determined according to business application scene configuration information, and a result configuration item determined according to business result configuration information, the business configuration item includes at least one of a business type, a live detection mode, a native plug-in, a comparison source, and a user identity information acquisition mode, the scene configuration item includes at least one of a sub-application page running on a parent application, a web page, and an application page, and different configuration items correspond to multiple different candidate configuration items. 17.A computer readable storage medium storing a computer program, wherein the computer program is executed by a processor to make the processor perform the steps of the method of any one of claims 1 to 8. 18.A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program is executed by the processor to make the processor perform the steps of the method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • Data processing method and electronic equipment

    CN103809854A

  • Process engine implementation method and process engine system

    CN106155718A

  • Business processing and business process configuration method, device and equipment

    CN108228252A

  • Method, device, electronic device, server, and storage medium for loading interface

    CN108897582A

  • A data loading method and terminal

    CN109032694A