Business processing method and device, equipment and medium
The service gateway receives and parses service requests, determines configuration data based on identification information and executes processing strategies, solving the problem that each manufacturer user needs to independently deploy service instances in the traditional solution, realizing personalized service processing and cost savings.
Patent Information
- Application Number
- CN202411669197.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-02-21
AI Technical Summary
In an ecosystem of multi-vendor user cooperation, traditional solutions require the deployment of independent service instances for each vendor user, increasing operational costs and system management complexity.
The service gateway receives the service request of the target user, parses the request to obtain identification information, determines the configuration data based on the identification information, and executes corresponding processing strategies to perform personalized service processing.
It realizes personalized business processing for different target users based on the identification information in the service request, reducing operational costs and saving system management resources.
Smart Images

Figure CN119496829A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to a business processing method, device, equipment and medium. Background Art
[0002] In the wave of modern digital transformation, enterprise services are gradually migrating to the cloud, forming an ecosystem of multi-vendor user cooperation. In this ecosystem, service providers need to connect to the systems of different vendor users, each of which may have unique business rules and configuration requirements.
[0003] Traditional solutions usually require the deployment of independent service instances for each vendor user, which not only increases operating costs but also increases the complexity of system management. Summary of the invention
[0004] The present invention provides a business processing method, device, equipment and medium, which can perform personalized business processing on different target users according to identification information in a business request, thereby reducing operating costs and saving system management resources.
[0005] According to one aspect of the present invention, there is provided a service processing method, comprising:
[0006] Receiving a service request from at least one target user through a service gateway;
[0007] Parsing the service request of the at least one target user to obtain identification information of the at least one target user;
[0008] Determine the configuration data corresponding to the target user according to the identification information;
[0009] A corresponding processing strategy is executed according to the configuration data to perform personalized service processing for the target user.
[0010] Optionally, the configuration data includes at least an authentication strategy, an encryption strategy, and a business logic execution strategy;
[0011] Determining configuration data corresponding to the target user according to the identification information includes:
[0012] Determine the authentication policy, encryption policy and business logic execution policy corresponding to the target user based on the identification information.
[0013] Optionally, the business logic execution strategy includes an arrangement order of multiple processors;
[0014] Executing a corresponding processing strategy according to the configuration data includes:
[0015] The corresponding processors are executed according to the arrangement order of the multiple processors of the target user.
[0016] Optionally, also include:
[0017] If the processor displays abnormal data, the abnormal data is input to the abnormal processor so that the abnormal processor processes the abnormal data.
[0018] Optionally, parsing the service request of the at least one target user to obtain identification information of the at least one target user includes:
[0019] Parsing the service request of the at least one target user to obtain a request header parameter of the at least one target user;
[0020] The identification information of at least one target user is obtained according to the request header parameter of the at least one target user.
[0021] Optionally, before receiving the service request of at least one target user through the service gateway, the method further includes:
[0022] Configure new target users through the configuration center, or update the configuration data of existing target users.
[0023] Optionally, configure the newly added target user through the configuration center, including:
[0024] If the newly added target user includes multiple applications, corresponding identification information is configured for each application so that each application is personalized.
[0025] According to another aspect of the present invention, there is provided a service processing device, comprising:
[0026] A request receiving module, used for receiving a service request of at least one target user through a service gateway;
[0027] an identification information acquisition module, configured to parse the service request of the at least one target user and obtain the identification information of the at least one target user;
[0028] A configuration data determination module, used to determine the configuration data corresponding to the target user according to the identification information;
[0029] The service processing module is used to execute the corresponding processing strategy according to the configuration data to perform personalized service processing for the target user.
[0030] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0031] at least one processor; and
[0032] a memory communicatively connected to the at least one processor; wherein,
[0033] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the business processing method described in any embodiment of the present invention.
[0034] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the business processing method described in any embodiment of the present invention when executed.
[0035] The technical solution of the embodiment of the present invention receives a service request of at least one target user through a service gateway; parses the service request of the at least one target user to obtain identification information of the at least one target user; determines configuration data corresponding to the target user according to the identification information; executes a corresponding processing strategy according to the configuration data to perform personalized service processing for the target user. This technical solution can perform personalized service processing for different target users according to the identification information in the service request, thereby reducing operating costs and saving system management resources.
[0036] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 is a flow chart of a service processing method provided according to Embodiment 1 of the present invention;
[0039] Figure 2 is a flow chart of a service processing method provided according to Embodiment 2 of the present invention;
[0040] Figure 3 is a schematic diagram of the structure of a service processing device provided according to Embodiment 3 of the present invention;
[0041] Figure 4 It is a schematic diagram of the structure of an electronic device provided according to Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0043] It should be noted that the terms "first", "second" and "target" in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] Embodiment 1
[0045] Figure 1 1 is a flowchart of a service processing method provided according to the first embodiment of the present invention. This embodiment is applicable to the case of processing services. The method can be executed by a service processing device. The service processing device can be implemented in the form of hardware and / or software. The service processing device can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:
[0046] The technical solution of this embodiment can be used in the scenario of connecting to the ecosystem of multiple manufacturer users, connecting to multiple different target users through a service provider, and performing corresponding processing operations based on the identification information of the manufacturer users to adapt to the personalized needs of different manufacturers.
[0047] S110: Receive a service request of at least one target user through a service gateway.
[0048] Among them, the service gateway is mainly used to encapsulate the complexity of the internal system and provide a unified, secure and manageable interface to the outside world. Specifically, in this embodiment, the service gateway acts as a unified entrance to the system to the outside world, and can be responsible for common functions across services such as routing, filtering, security, current limiting, and fuses. Exemplarily, the service gateway in this embodiment can be an API gateway. The target user can be understood as a manufacturer user who needs to access operations or docking operations. In this embodiment, the target user can be one or more, and this embodiment is not limited to this. A business request can be understood as a request sent to the server, which can obtain or submit data and perform specific operations or service requests. In this embodiment, the business request may include corresponding identification parameters of the target user.
[0049] In this embodiment, the execution entity may receive service requests sent by one or more manufacturer users through an entry point of the service gateway.
[0050] S120: Parse the service request of at least one target user to obtain identification information of at least one target user.
[0051] Among them, the identification information can be understood as the identification parameters set for the target user. The identification information in this embodiment can be used to identify the configuration parameters of different target users, etc. Exemplarily, the identification information in this embodiment can be an appId parameter. It can be understood that each target user corresponds to one identification information; however, if a target user includes multiple different application functions, different identification information can also be configured for different application functions in a target user, which can be set according to actual needs, and this embodiment does not limit this.
[0052] In this embodiment, the received service requests of each target user may be parsed to extract the information in the request header to obtain the identification parameters corresponding to each target user.
[0053] In this embodiment, optionally, parsing the business request of at least one target user to obtain identification information of at least one target user includes: parsing the business request of at least one target user to obtain request header parameters of at least one target user; obtaining identification information of at least one target user based on the request header parameters of at least one target user.
[0054] The request header parameters may be determined by parsing the service request. The request header parameters may include information of the request itself, such as identification information, request method, content type, and authentication information. Specifically, in this embodiment, the request header parameters may be parameter information in the request Header.
[0055] In this embodiment, the service requests of each manufacturer user can be parsed to obtain the parameter information contained in the request header of each manufacturer user, so as to obtain the identification parameters of each manufacturer user through the parameter information contained in the request header of each manufacturer user. In this embodiment, through such a setting, unique corresponding identification information can be set for different manufacturer users in a system, so as to correspond to different execution operations based on the identification parameter information. In this embodiment, the identification information (appId parameter) of each manufacturer user can be used to ensure that the data and policies of different manufacturers are isolated from each other, prevent data confusion and security risks, and are easy to expand and maintain.
[0056] S130: Determine configuration data corresponding to the target user according to the identification information.
[0057] Among them, the configuration data can be understood as the data content that is pre-configured in the configuration center. The configuration data in this embodiment may at least include data such as authentication strategy, encryption strategy, and business logic execution strategy. The configuration data in this embodiment may also include other data, which can be set according to actual needs, and this embodiment does not limit this. The configuration data in this embodiment may correspond to the identification information, and the authentication strategy, encryption strategy, and business logic execution strategy corresponding to each target user can be determined based on the determined identification information.
[0058] S140: Execute a corresponding processing strategy according to the configuration data to perform personalized service processing for the target user.
[0059] The processing strategy can be understood as performing corresponding processing operations on various strategies included in the configuration data. In this embodiment, corresponding processing and execution operations can be performed according to the authentication strategy, encryption strategy, and business logic execution strategy included in the configuration data, so as to ensure that the business requests based on each manufacturer user are processed according to their personalized needs.
[0060] In this embodiment, optionally, before receiving the service request of at least one target user through the service gateway, the method further includes: configuring a newly added target user through the configuration center, or updating the configuration data of an existing target user.
[0061] The newly added target users can be understood as the target manufacturer users who are first connected to the service provider, and the existing target users can be understood as the manufacturer users whose personalized data have been configured by the current service provider.
[0062] In this embodiment, the configuration center can be used to configure corresponding personalized processing policies or group management configurations for newly added manufacturer users. Specifically, this can be done by adding parameters for newly added manufacturer users in the configuration management; or the configuration center can be used to update the configuration data and other contents of the already configured manufacturer users.
[0063] In this embodiment, a centralized configuration center can be established to store and manage personalized configuration information of users from different manufacturers; specifically, the configuration center can provide corresponding configuration policies based on appId. The configuration center can also include configuration management, group management, appId management, version management, routing management, processor Filter configuration, and whitelist management. Specifically, version management can also include interface version management and SDK version management.
[0064] In this embodiment, through such a setting, a centralized configuration center can be used to manage personalized configurations of different manufacturers, which simplifies the configuration management process. Centralized configuration management simplifies maintenance work and reduces system failures caused by configuration errors. Moreover, when adding a new manufacturer or updating the configuration of an existing manufacturer, it only needs to be updated in the configuration center without modifying the code or redeploying the service, which reduces operating costs.
[0065] In this embodiment, optionally, the newly added target user is configured through the configuration center, including: if the newly added target user includes multiple applications, corresponding identification information is configured for each application, so that each application is personalized.
[0066] Among them, the application can be understood as the application included in the manufacturer's user. In this embodiment, if a target user includes an application, an identification information, that is, an appid parameter, can be configured for the target user; if a target user includes multiple applications, corresponding identification information, that is, multiple appid parameters, are configured for each application included in the target user, so that each application can be personalized. It can be understood that each application can correspond to an appid, so that each application can be personalized.
[0067] In this embodiment, through such a setting, personalized configuration operations can be performed on multiple application programs of the target user respectively to meet the personalized needs of different application programs of users of different manufacturers.
[0068] The technical solution of the embodiment of the present invention receives a service request of at least one target user through a service gateway; parses the service request of at least one target user to obtain identification information of at least one target user; determines configuration data corresponding to the target user according to the identification information; executes a corresponding processing strategy according to the configuration data to perform personalized service processing for the target user. This technical solution can perform personalized service processing for different target users according to the identification information in the service request, thereby reducing operating costs and saving system management resources.
[0069] Embodiment 2
[0070] Figure 2 This is a flowchart of a business processing method provided according to Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiment. The specific optimization is: the configuration data at least includes authentication strategy, encryption strategy and business logic execution strategy; the configuration data corresponding to the target user is determined according to the identification information, including: the authentication strategy, encryption strategy and business logic execution strategy corresponding to the target user are determined according to the identification information. Figure 2 As shown, the method includes:
[0071] S210: Receive a service request from at least one target user through a service gateway.
[0072] S220: Parse the service request of at least one target user to obtain identification information of at least one target user.
[0073] The configuration data includes at least authentication strategy, encryption strategy and business logic execution strategy.
[0074] S230: Determine an authentication policy, an encryption policy, and a business logic execution policy corresponding to the target user according to the identification information.
[0075] Among them, the authentication policy can be understood as the rules and mechanisms for target user identity authentication and access control formulated according to the security needs of the target user. In this embodiment, the authentication policy can specifically include the target user's access rights and verification methods to resources. The encryption policy can be understood as the encryption method of the target user formulated according to the security needs of the target user. Exemplarily, user A selects the IC encryption method, user B selects the AES symmetric encryption algorithm, etc., and different encryption policies can be set according to the different needs of the target user. The business logic execution policy can be understood as the corresponding operation policy executed for the business needs and data status of the target user. In this embodiment, processors with different functions can be configured according to the business needs of the target user, and then different business logic execution policies can be executed. In this embodiment, the authentication method, encryption method, and business logic execution method corresponding to the target user can be determined according to the identification information to ensure that the request of each manufacturer is processed according to its personalized needs.
[0076] In this embodiment, optionally, the business logic execution strategy includes an arrangement order of multiple processors; executing the corresponding processing strategy according to the configuration data includes: executing the corresponding processor according to the arrangement order of the multiple processors of the target user.
[0077] Among them, the processor can be understood as a filter with various business functions. In this embodiment, each specific processor filter can be dynamically configured by the page, and each processor can be equivalent to an independent function, which can enable any function by configuring it, similar to a pluggable plug-in. Exemplarily, the processor filter can implement multiple functions such as authentication and logging. The business logic execution strategy can include the arrangement order of processors with multiple different business functions, and the corresponding business logic can be executed according to the arrangement order of the processors. The arrangement order can be understood as the order in which multiple processors are arranged according to business needs, and the arrangement order can be arranged according to actual business needs.
[0078] In this embodiment, different business logic execution strategies can be pre-configured according to the business needs of the target user, and then executed based on the business logic execution strategy corresponding to the identification information in the business request. Specifically, the corresponding processors can be executed in the order of the sequence of processors with different functions in the business logic execution strategy of the target user, thereby completing the business logic execution strategy.
[0079] Exemplarily, in this embodiment, business requirements can be received, the current thread can be initialized according to the business requirements, and corresponding processing can be performed in the order of different filter processors. The processors can be arranged in the order of the first being the pre filter, the second being the route filter, and the third being the post filter. These three filters can be executed in sequence in the order in which they are arranged. If any filter finds that the data is abnormal during execution, the exception handler, that is, the error filter process, can be entered to continue processing until the business process is completed.
[0080] In this embodiment, before the actual request to execute a specific business is made, a series of custom filter processors will be passed. Each specific filter can be dynamically configured by the page, which is equivalent to an independent function. Whatever function is set can be enabled, similar to a plug-in. When the page enables a function of the target manufacturer user, the filter information currently configured by the manufacturer user is automatically refreshed, and the ipp-gateway service receives the specific filter configuration information. In this way, when the front-end request comes, it will read the filter configuration information, execute the filter in order, and execute the specific logic until the business logic execution strategy is completed.
[0081] Through such a setting in this embodiment, processors with different functions can be configured according to different business needs of manufacturer users, and then different business logic execution strategies can be determined, which is more convenient to adapt to the personalized needs of different manufacturer users.
[0082] In this embodiment, optionally, the method further includes: if the processor displays abnormal data, inputting the abnormal data into the abnormal processor, so that the abnormal processor processes the abnormal data.
[0083] Among them, abnormal data can be understood as data that is inconsistent with the data range of the corresponding function when the processor is executed. The abnormal processor can be understood as an error processor, which can be used to execute the processor of the error data. In this embodiment, the abnormal processor can continue to judge the abnormal data, and then operate the corresponding processing flow corresponding to the abnormal data until the abnormal data is finally executed.
[0084] In this embodiment, if the data output by the processor does not conform to the set data range, it can be considered that the processor displays abnormal data, and the corresponding abnormal data is input into the abnormal processor, and processed according to the process of processing the abnormal data corresponding to the abnormal processor. In this embodiment, through such a setting, the processing data of the processor can be judged, and if abnormal data appears, the business operation process corresponding to the abnormal data can continue to be executed for processing, so as to ensure the accuracy of data processing.
[0085] S240: Execute a corresponding processing strategy according to the configuration data to perform personalized service processing for the target user.
[0086] This embodiment provides a universal business processing strategy for target manufacturer users, so that a set of deployed services can dynamically adjust the configuration according to the Header parameters (such as appId) in the request to adapt to the personalized needs of different manufacturers, and realizes data and policy isolation between different manufacturers through Header parameters, thereby enhancing the security of the system and reducing the risk of data leakage and misuse; it solves the risk of data and policy confusion in a multi-vendor environment in the prior art. The technical method of this embodiment can also allow the use of a single service deployment to meet the needs of multiple manufacturers. Since a set of services can connect to multiple manufacturers, the server and operation and maintenance costs are reduced, and resource utilization is improved; it can also easily add or modify the manufacturer configuration without modifying the existing code or redeploying the service, thereby improving the flexibility and scalability of the system and thus improving development efficiency.
[0087] The technical solution of the embodiment of the present invention receives a service request of at least one target user through a service gateway; parses the service request of at least one target user to obtain identification information of at least one target user; determines the authentication policy, encryption policy and service logic execution policy corresponding to the target user according to the identification information; executes the corresponding processing policy according to the configuration data to perform personalized service processing for the target user. This technical solution can perform personalized service processing for different target users according to the identification information in the service request, reduces operating costs, and saves system management resources.
[0088] Embodiment 3
[0089] Figure 3 It is a structural diagram of a service processing device provided according to Embodiment 3 of the present invention.
[0090] like Figure 3 As shown, the device comprises:
[0091] A request receiving module 310, configured to receive a service request of at least one target user through a service gateway;
[0092] The identification information acquisition module 320 is used to parse the service request of at least one target user and obtain the identification information of at least one target user;
[0093] The configuration data determination module 330 is used to determine the configuration data corresponding to the target user according to the identification information;
[0094] The service processing module 340 is used to execute the corresponding processing strategy according to the configuration data to perform personalized service processing for the target user.
[0095] Optionally, the configuration data includes at least an authentication strategy, an encryption strategy, and a business logic execution strategy;
[0096] The configuration data determination module 330 is specifically used to determine the authentication policy, encryption policy and business logic execution policy corresponding to the target user according to the identification information.
[0097] Optionally, the business logic execution strategy includes an arrangement order of the plurality of processors;
[0098] The business processing module 340 is specifically configured to execute corresponding processors according to the arrangement order of multiple processors of the target user.
[0099] Optionally, the device further includes: an exception processing module, which is used to input the exception data into the exception processor if the processor displays exception data, so that the exception processor processes the exception data.
[0100] Optionally, the identification information acquisition module 320 is specifically used to parse the service request of at least one target user to obtain the request header parameter of at least one target user; and obtain the identification information of at least one target user according to the request header parameter of at least one target user.
[0101] Optionally, the device further includes a configuration module, which is used to configure a newly added target user or update configuration data of an existing target user through a configuration center before receiving a service request of at least one target user through the service gateway.
[0102] Optionally, the configuration module is specifically used to configure corresponding identification information for each application if the newly added target user includes multiple applications, so as to perform personalized configuration for each application.
[0103] A service processing device provided by an embodiment of the present invention can execute a service processing method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0104] Embodiment 4
[0105] Figure 4 1 is a schematic diagram of the structure of an electronic device provided according to Embodiment 4 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0106] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0107] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0108] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a business processing method.
[0109] In some embodiments, the business processing method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the business processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the business processing method in any other appropriate manner (e.g., by means of firmware).
[0110] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0111] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0112] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0113] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0114] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0115] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0116] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0117] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A business processing method, characterized in that: include: Receiving a service request from at least one target user through a service gateway; Parsing the service request of the at least one target user to obtain identification information of the at least one target user; Determine the configuration data corresponding to the target user according to the identification information; A corresponding processing strategy is executed according to the configuration data to perform personalized service processing for the target user.
2. The method according to claim 1, characterized in that The configuration data includes at least an authentication strategy, an encryption strategy, and a business logic execution strategy; Determining configuration data corresponding to the target user according to the identification information includes: Determine the authentication policy, encryption policy and business logic execution policy corresponding to the target user based on the identification information.
3. The method according to claim 2, characterized in that The business logic execution strategy includes an arrangement order of multiple processors; Executing a corresponding processing strategy according to the configuration data includes: The corresponding processors are executed according to the arrangement order of the multiple processors of the target user.
4. The method according to claim 3, characterized in that Also includes: If the processor displays abnormal data, the abnormal data is input to the abnormal processor so that the abnormal processor processes the abnormal data.
5. The method according to claim 1, characterized in that Parsing the service request of the at least one target user to obtain identification information of the at least one target user includes: Parsing the service request of the at least one target user to obtain a request header parameter of the at least one target user; The identification information of at least one target user is obtained according to the request header parameter of the at least one target user.
6. The method according to claim 1, characterized in that Before receiving a service request of at least one target user through the service gateway, the method further includes: Configure new target users through the configuration center, or update the configuration data of existing target users.
7. The method according to claim 6, characterized in that Configure the newly added target users through the configuration center, including: If the newly added target user includes multiple applications, corresponding identification information is configured for each application so that each application is personalized.
8. A service processing device, characterized in that: include: A request receiving module, used for receiving a service request of at least one target user through a service gateway; an identification information acquisition module, configured to parse the service request of the at least one target user and obtain the identification information of the at least one target user; A configuration data determination module, used to determine the configuration data corresponding to the target user according to the identification information; The service processing module is used to execute the corresponding processing strategy according to the configuration data to perform personalized service processing for the target user.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the business processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the business processing method according to any one of claims 1 to 7 when executed.