Methods, apparatus, systems, devices, and readable storage media for processing user requests
By creating a node library and processing nodes, the problem of repetitive development in the development of intelligent platforms is solved, and development efficiency is improved. In particular, when upgrading algorithms, only the algorithms in the node library need to be upgraded, reducing repetitive work.
Patent Information
- Application Number
- CN202111415236.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-25
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2041-11-25
AI Technical Summary
During the development of intelligent platforms, the differences in user requests lead to numerous repetitive development tasks and low development efficiency.
By creating a node library containing several processing nodes, each node corresponds to a business processing algorithm. After receiving a user request, a matching processing node is selected from the node library, data is obtained through the upload address, processed, and the result is returned to determine the final business data.
It reduces redundant development and improves development efficiency. In particular, when upgrading business processing algorithms, only the algorithms in the node library need to be upgraded, avoiding separate upgrades for each user terminal.
Smart Images

Figure CN114115860B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence technology, and in particular to a method, apparatus, system, device, and readable storage medium for processing user requests. Background Technology
[0002] With the rapid development of technology, intelligentization has become a development trend, leading to the emergence of numerous intelligent platforms that provide people with diverse, multi-faceted, and multi-dimensional services. During the development of intelligent platforms, development teams can write relevant program code based on user requests, enabling the developed intelligent platform to meet those requests. However, as the demands for intelligent platform development continue to rise, and when different users' requests differ, development teams need to perform new interface development for each user's request to ensure the intelligent platform can adapt to each individual user's needs. This results in the creation of numerous development tasks, potentially involving significant repetitive development, leading to low development efficiency. Therefore, how to handle user requests to improve development efficiency has been a persistent concern. Summary of the Invention
[0003] In view of this, this application provides a method, apparatus, system, device, and readable storage medium for processing user requests, so as to improve development efficiency to a certain extent.
[0004] To achieve the above objectives, the following solution is proposed:
[0005] A method for processing user requests, comprising:
[0006] Receive a request sent by the user client, the request containing pending business;
[0007] Select a processing node from a pre-created node library that matches the business to be processed. Each processing node corresponds to a business processing algorithm, and the business processing algorithm matches the business to be processed.
[0008] The upload address corresponding to the processing node is sent to the user terminal so that the processing node can obtain the data to be processed based on the upload address;
[0009] Receive the processing result returned by the processing node, wherein the processing result is obtained by the processing node processing the data to be processed;
[0010] Based on the processing result, the final business data corresponding to the request is determined.
[0011] Optionally, the pending business includes personalized business requirements, and determining the final business data corresponding to the request based on the processing result includes:
[0012] Determine whether the pending business includes personalized business requirements;
[0013] If not, the processing result will be used as the final business data corresponding to the request;
[0014] If so, then according to the personalized business requirements, the processing result is subjected to personalized business processing to obtain the final business data corresponding to the request.
[0015] Optional, also includes:
[0016] When a request to change the processing node is received from the user terminal, a new processing node matching the service to be processed is selected from the pre-created node library.
[0017] The new upload address corresponding to the new processing node is sent to the user terminal so that the processing node can obtain the data to be processed based on the data transmitted by the user terminal through the new upload address.
[0018] Optionally, the request may further include a data receiving address, and the method may further include:
[0019] The final business data is returned to the user terminal through the data receiving address.
[0020] Optional, also includes:
[0021] Receive requests from users to obtain final business data;
[0022] Based on the request to obtain the final business data, the final business data is sent to the user terminal.
[0023] A user request processing apparatus, comprising:
[0024] A request receiving unit is used to receive a request sent by a user terminal, wherein the request contains a service to be processed.
[0025] A node allocation unit is used to select a processing node that matches the service to be processed from a pre-created node library. The processing node corresponds to a service processing algorithm, and the service processing algorithm matches the service to be processed.
[0026] The address sending unit is used to send the upload address corresponding to the processing node to the user terminal, so that the processing node can obtain the data to be processed based on the upload address;
[0027] The result receiving unit is used to receive the processing result returned by the processing node, wherein the processing result is obtained by the processing node processing the data to be processed;
[0028] The final data determination unit is used to determine the final business data corresponding to the request based on the processing result.
[0029] A user request processing system includes: a user terminal, a request processing platform, and processing nodes;
[0030] The user terminal is used to send a request to the request processing platform, the request containing the business to be processed, and to transmit data to the processing node through the upload address sent by the request processing platform.
[0031] The request processing platform is used to receive the request, select a processing node from a pre-created node library that matches the business to be processed, the processing node corresponds to a business processing algorithm, the business processing algorithm matches the business to be processed, send the upload address corresponding to the processing node to the user terminal, receive the processing result returned by the processing node, the processing result is obtained by the processing node from processing the data to be processed, and determine the final business data corresponding to the request based on the processing result;
[0032] The processing node is used to obtain the data to be processed based on the upload address, process the data to obtain the processing result, and send the processing result to the request processing platform.
[0033] Optionally, the process by which the processing node obtains the data to be processed based on the upload address includes:
[0034] The processing node receives the data to be processed transmitted by the user terminal through the upload address;
[0035] or,
[0036] The processing node receives the download address corresponding to the data to be processed transmitted by the user terminal through the upload address;
[0037] The processing node obtains the data to be processed through the download address.
[0038] A user request processing device includes: a memory and a processor;
[0039] The memory is used to store programs;
[0040] The processor is used to execute the program to implement the various steps of the user request processing method described above.
[0041] A readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the user request processing method described above.
[0042] As can be seen from the above technical solutions, the user request processing method, apparatus, system, device, and readable storage medium provided in this application create a plurality of processing nodes, each processing node corresponding to a business processing algorithm. A node library is formed by the created processing nodes and their corresponding upload addresses. When a request containing a business to be processed is received from a user terminal, a processing node matching the business to be processed is selected from the node library, and the upload address corresponding to the processing node is sent to the user terminal so that the processing node can obtain the data to be processed based on the upload address. The processing results returned by the processing node are received, and the final business data corresponding to the request is determined based on the processed data. In this application, when a new user terminal request is received, it is only necessary to select a processing node matching the business to be processed in the request from the node library. Compared to the need for completely new integration development for each user terminal request, this avoids the repeated development of the same business processing algorithm, thereby improving development efficiency to a certain extent.
[0043] Furthermore, if development is carried out separately according to user requests, when the business processing algorithm needs to be upgraded, it is necessary to upgrade it separately for each user. However, this application associates the business processing algorithm with the processing nodes in the node library. When the business processing algorithm needs to be upgraded, only the business processing algorithm corresponding to the processing node in the node library needs to be upgraded, thereby improving development efficiency to a certain extent. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0045] Figure 1 A flowchart illustrating a user request processing method provided in an embodiment of this application;
[0046] Figure 2 A schematic diagram of a user request processing device provided in an embodiment of this application;
[0047] Figure 3 This is a hardware structure block diagram of a user request processing device disclosed in an embodiment of this application. Detailed Implementation
[0048] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0049] Figure 1 A flowchart of a user request processing method provided in this application embodiment is shown below. Figure 1 As shown, the method may include the following steps:
[0050] Step S100: Receive the request sent by the user terminal.
[0051] Specifically, the requests sent by the client may include pending tasks, such as stranger identification, mask identification, hat identification, smoking identification, passenger flow statistics, and VIP customer identification.
[0052] Step S101: Select a processing node that matches the business to be processed from the pre-created node library.
[0053] The aforementioned processing nodes correspond to business processing algorithms, and these algorithms are matched with the business to be processed.
[0054] Specifically, the creation process of the node library can begin by setting corresponding business processing algorithms based on general scenarios, associating these algorithms with corresponding business processing nodes, and then using each business processing node and its respective upload address to form the node library. These business processing algorithms can include: abnormal image detection algorithms, kitchen hat recognition algorithms, mask recognition algorithms, mouse recognition algorithms, license plate recognition algorithms, and face recognition algorithms, etc. Processing nodes can be internally developed and deployed on cloud servers to provide services externally, or they can be externally purchased and provide services externally via HTTPS requests.
[0055] Step S102: Send the upload address corresponding to the processing node to the user terminal.
[0056] Specifically, through the above steps, based on the request sent by the user, a processing node matching the business to be processed can be selected from the node library, and the upload address corresponding to the processing node can be determined and sent to the user. The user can then use the upload address to transmit data with the corresponding processing node, enabling the processing node to obtain the data to be processed based on the upload address, and perform corresponding processing on the data to obtain the processing result.
[0057] Step S103: Receive the processing result returned by the processing node.
[0058] Specifically, in the above steps, the processing node can obtain the data to be processed based on the upload address. After processing the data, the processing node will return the processing result. The processing node's handling of the data is geared towards general scenarios. For example, the processing node for license plate recognition will only recognize license plates appearing in the data after obtaining it, and ultimately output the corresponding text without any other special processing.
[0059] Step S104: Based on the processing results, determine the final business data corresponding to the request.
[0060] Specifically, after receiving the processing result returned by the processing node, the final business data corresponding to the request can be determined based on the processing result.
[0061] In the above embodiments, a method for processing user requests is provided. This involves creating several processing nodes, each corresponding to a business processing algorithm. A node library is formed by these processing nodes and their respective upload addresses. When a request containing pending business data is received from a user, a processing node matching the pending business data is selected from the node library, and the upload address corresponding to the processing node is sent to the user. The processing node then retrieves the data to be processed based on the upload address. The user receives the processing result returned by the processing node and determines the final business data corresponding to the request based on the processed data. In this application, when a new user request is received, only a processing node matching the pending business data in the request needs to be selected from the node library. Compared to developing entirely new interfaces for each user request, this avoids redundant development of the same business processing algorithms, thereby improving development efficiency to some extent.
[0062] Furthermore, if development is carried out separately according to user requests, when the business processing algorithm needs to be upgraded, it is necessary to upgrade it separately for each user. However, this application associates the business processing algorithm with the processing nodes in the node library. When the business processing algorithm needs to be upgraded, only the business processing algorithm corresponding to the processing node in the node library needs to be upgraded, thereby improving development efficiency to a certain extent.
[0063] In some embodiments of this application, the pending business in the request sent by the user terminal may include personalized business requirements. Based on this, the process of determining the final business data corresponding to the request based on the processing result in step S104 is described. This process may include:
[0064] S11. Determine whether the pending business includes personalized business requirements.
[0065] Specifically, the business processing algorithms included in the processing nodes mentioned in the above embodiments are designed for general scenarios. However, user needs may involve personalized customization requirements in actual applications. For example, for VIP user identification, the processing node can analyze the image or video to be processed to obtain relevant facial feature information. Obtaining relevant facial feature information is a general scenario and can be achieved through business processing algorithms. However, for VIP user identification, after obtaining the relevant facial feature information in the data to be processed, it is necessary to compare it with the facial features in the VIP user facial feature database provided by the client in advance to determine whether there is a face matching the VIP user in the image or video to be processed. Using the obtained relevant facial feature information to identify VIP users is a personalized business requirement. When it is determined that the business to be processed does not contain personalized business requirements, S12 is executed; when it is determined that the business to be processed contains personalized business requirements, S13 is executed.
[0066] S12. Use the processing result as the final business data corresponding to the request.
[0067] Specifically, since the pending business request does not include any personalized business requirements, the processing result of the processing node is the data that the user ultimately needs. Therefore, the processing result can be used as the final business data corresponding to the request. For example, if the pending business request from the user is license plate recognition, and only the license plate information appearing in the pending data is required, without any other personalized business requirements, then the processing node corresponding to license plate recognition processes the pending data, and the result obtained is the license plate information. Therefore, the processing result can be used as the final business data.
[0068] S13. Based on personalized business requirements, perform personalized business processing on the processing results to obtain the final business data corresponding to the request.
[0069] Specifically, because the pending business includes personalized business requirements, and the processing results returned by the processing nodes only represent processing for general scenarios, the results cannot meet the personalized business needs. Therefore, it is necessary to perform personalized business processing on the processing results based on the personalized business requirements contained in the pending business to obtain the final business data corresponding to the request. For example, if the pending business in a user's request is license plate recognition, and the personalized requirement is to identify a specific license plate and trigger an alarm, then processing the pending data using the license plate recognition processing node will only obtain the license plate information appearing in the pending data. It is also necessary to compare the data against the specific license plate mentioned in the personalized requirement to determine whether the specific license plate exists in the pending data, thus obtaining the final business data.
[0070] In the above embodiments, since the business processing algorithm corresponding to the processing node is designed for general scenarios, the processing result is also a general processing result. When there are personalized business requirements for the business to be processed, personalized business processing is also required on the processing result. Only then can the final business data corresponding to the request sent by the user end be obtained.
[0071] For the same type of service to be processed, different service processing algorithms may be used for corresponding processing, such as algorithms designed for different platforms, and there may be some differences between the algorithms. Based on this, in some embodiments of this application, the process of changing the service processing algorithm on the user end may include:
[0072] S21. When a request to change the processing node is received from the user terminal, a new processing node matching the business to be processed is selected from the pre-created node library.
[0073] Specifically, upon receiving a request from a user to change a processing node, a new processing node matching the pending business can be selected from a pre-created node library. For the new processing node, only the node matching the requested business needs to be selected from the node library; no entirely new integration development is required. This avoids redundant development of the same business processing algorithms, thereby improving development efficiency to some extent.
[0074] S22. Send the new upload address corresponding to the new processing node to the user terminal.
[0075] Specifically, after sending the new upload address corresponding to the new processing node to the user terminal, the processing node can retrieve the data to be processed based on the new upload address. To ensure a smooth algorithm transition, both the new and old processing nodes can be used simultaneously to process the data within a preset time period; that is, the user terminal synchronously transmits data to both the upload addresses corresponding to the new and old processing nodes.
[0076] For example, a user request might be to count the number of customers who visited the store within 7 days. Previously, Algorithm A was used to count the number of customers who visited the store within 7 days. Later, based on actual needs, the algorithm needs to be adjusted to Algorithm B. Based on this, the upload address of the processing node corresponding to Algorithm B can be sent to the user. The user simultaneously sends the data to be processed to the upload addresses of the processing nodes corresponding to Algorithm A and Algorithm B. The data is then analyzed according to both the old and new algorithms. At this point, the processing results of the old and new algorithms can be obtained. After Algorithm B has been used for 7 days, the use of Algorithm A can be stopped, thus achieving a smooth switch of algorithms.
[0077] In the above embodiments, when a request to change the processing node is received from the user terminal, it is only necessary to select a processing node from the node library that matches the business to be processed in the request. Compared with the need to carry out new integration development for each user terminal request, this can avoid the repeated development of the same business processing algorithm used, thereby improving development efficiency to a certain extent.
[0078] In some embodiments of this application, after determining the final business data, the final business data can be sent to the user terminal. There are multiple ways to send the final business data to the user terminal. This embodiment describes several optional implementation methods as follows:
[0079] The first method involves synchronously sending the final business data to the user's end.
[0080] Specifically, the request sent by the user also includes a data receiving address, through which the final business data is returned to the user.
[0081] The second method is to asynchronously send the final business data to the user terminal.
[0082] Specifically, the system receives a request from the user client to obtain final business data, and then sends the final business data to the user client based on the request. The request to obtain final business data may include a data receiving address, through which the final business data can be sent to the user client.
[0083] The following describes a user request processing apparatus provided in an embodiment of this application. The user request processing apparatus described below can be referred to in correspondence with the user request processing method described above.
[0084] Figure 2 This is a schematic diagram of a user request processing device provided in an embodiment of this application, with reference to... Figure 2 As shown, the user request processing device may include:
[0085] The request receiving unit 10 is used to receive a request sent by the user terminal, wherein the request contains a service to be processed.
[0086] The node allocation unit 20 is used to select a processing node that matches the business to be processed from a pre-created node library. The processing node corresponds to a business processing algorithm, and the business processing algorithm matches the business to be processed.
[0087] Address sending unit 30 is used to send the upload address corresponding to the processing node to the user terminal, so that the processing node can obtain the data to be processed based on the upload address;
[0088] The result receiving unit 40 is used to receive the processing result returned by the processing node, wherein the processing result is obtained by the processing node processing the data to be processed;
[0089] The final data determination unit 50 is used to determine the final business data corresponding to the request based on the processing result.
[0090] In the above embodiments, a user request processing apparatus is provided. This apparatus creates several processing nodes, each corresponding to a business processing algorithm. A node library is formed by the created processing nodes and their corresponding upload addresses. When the request receiving unit 10 receives a request from a user containing a business to be processed, the node allocation unit 20 selects a processing node matching the business from the node library, and the address sending unit 30 sends the upload address corresponding to the processing node to the user, allowing the processing node to retrieve the data to be processed based on the upload address. The result receiving unit 40 receives the processing result returned by the processing node, and the final data determination unit 50 determines the final business data corresponding to the request based on the processed data. In this application, when a new user request is received, it is only necessary to select a processing node matching the business to be processed in the request from the node library. Compared to developing entirely new interfaces for each user request, this avoids redundant development of the same business processing algorithms, thereby improving development efficiency to a certain extent.
[0091] Furthermore, if development is carried out separately according to user requests, when the business processing algorithm needs to be upgraded, it is necessary to upgrade it separately for each user. However, this application associates the business processing algorithm with the processing nodes in the node library. When the business processing algorithm needs to be upgraded, only the business processing algorithm corresponding to the processing node in the node library needs to be upgraded, thereby improving development efficiency to a certain extent.
[0092] Optionally, the pending business includes personalized business requirements, and the final data determination unit 50 performs the step of determining the final business data corresponding to the request based on the processing result, which may include:
[0093] Determine whether the pending business includes personalized business requirements. If not, use the processing result as the final business data corresponding to the request. If so, perform personalized business processing on the processing result according to the personalized business requirements to obtain the final business data corresponding to the request.
[0094] Optionally, the user request processing device may further include:
[0095] The node change unit is used to select a new processing node that matches the service to be processed from a pre-created node library when a request to change the processing node is received from the user terminal.
[0096] The new address sending unit is used to send the new upload address corresponding to the new processing node to the user terminal, so that the processing node can obtain the data to be processed based on the data transmitted by the user terminal through the new upload address.
[0097] Optionally, the request may further include a data receiving address, and the user request processing device may further include:
[0098] The first final data sending unit is used to return the final service data to the user terminal through the data receiving address.
[0099] Optionally, the user request processing device may further include:
[0100] The data request receiving unit is used to receive requests from the user terminal to obtain the final business data.
[0101] The second final data sending unit is used to send the final business data to the user terminal according to the request to obtain the final business data.
[0102] Embodiments of this application provide a user request processing system, which may include: a user terminal, a request processing platform, and a processing node;
[0103] The user terminal is used to send a request to the request processing platform, the request containing the business to be processed, and to transmit data to the processing node through the upload address sent by the request processing platform.
[0104] The request processing platform is used to receive the request, select a processing node from a pre-created node library that matches the business to be processed, the processing node corresponds to a business processing algorithm, the business processing algorithm matches the business to be processed, send the upload address corresponding to the processing node to the user terminal, receive the processing result returned by the processing node, the processing result is obtained by the processing node from processing the data to be processed, and determine the final business data corresponding to the request based on the processing result;
[0105] The processing node is used to obtain the data to be processed based on the upload address, process the data to obtain the processing result, and send the processing result to the request processing platform.
[0106] Optionally, the process by which the processing node obtains the data to be processed based on the upload address may include:
[0107] The processing node receives the data to be processed transmitted by the user terminal through the upload address;
[0108] or,
[0109] The processing node receives the download address corresponding to the data to be processed transmitted by the user terminal through the upload address;
[0110] The processing node obtains the data to be processed through the download address.
[0111] When a user client transmits data to be processed using an upload address, the data can be parsed and transmitted via the intranet. The download address corresponding to the data to be processed transmitted by the user client using the upload address can include the address of a cloud resource pool, a video push device, or a platform, etc.
[0112] This application also provides a user request processing device. Figure 3 The hardware structure block diagram of the user request processing device is shown, with reference to... Figure 3 The hardware structure of the user-requested processing device may include: at least one processor 1, at least one communication interface 2, at least one memory 3, and at least one communication bus 4.
[0113] In this embodiment of the application, the number of processor 1, communication interface 2, memory 3, and communication bus 4 is at least one, and processor 1, communication interface 2, and memory 3 communicate with each other through communication bus 4;
[0114] Processor 1 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
[0115] Memory 3 may include high-speed RAM, and may also include non-volatile memory, such as at least one disk storage device;
[0116] The memory stores a program, which the processor can call. The program is used to implement the various processing flows in the aforementioned user request processing method.
[0117] This application embodiment also provides a storage medium that can store a program suitable for execution by a processor, the program being used to implement various processing flows in the aforementioned user request processing method.
[0118] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0119] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined with each other, and the same or similar parts can be referred to each other.
[0120] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for processing user requests, characterized in that, include: Receive a request sent by the user client, the request containing pending business; A processing node matching the business to be processed is selected from a pre-created node library. Each processing node corresponds to a business processing algorithm, and the business processing algorithm is matched with the business to be processed. When the business processing algorithm needs to be upgraded, the business processing algorithm corresponding to the processing node in the node library is upgraded. The upload address corresponding to the processing node is sent to the user terminal so that the processing node can obtain the data to be processed based on the upload address. When different processing algorithms correspond to the same service to be processed, the request sent by the user terminal includes a request to change the processing node. The processing node corresponding to the service to be processed is the new processing node. The new processing node matching the service to be processed is selected from a pre-created node library. The new upload address corresponding to the new processing node is used by the new processing node to obtain the data to be processed from the user terminal. Within a preset time period, the data to be processed is processed simultaneously by the new processing node and the old processing node. After the preset time period, the data to be processed is processed by the new processing node. Receive the processing result returned by the processing node, wherein the processing result is obtained by the processing node processing the data to be processed; Based on the processing result, the final business data corresponding to the request is determined.
2. The method according to claim 1, characterized in that, The pending business includes personalized business requirements. Determining the final business data corresponding to the request based on the processing result includes: Determine whether the pending business includes personalized business requirements; If not, the processing result will be used as the final business data corresponding to the request; If so, then according to the personalized business requirements, the processing result is subjected to personalized business processing to obtain the final business data corresponding to the request.
3. The method according to claim 1, characterized in that, Also includes: When a request to change the processing node is received from the user terminal, a new processing node matching the service to be processed is selected from the pre-created node library. The new upload address corresponding to the new processing node is sent to the user terminal so that the processing node can obtain the data to be processed based on the new upload address.
4. The method according to any one of claims 1-3, characterized in that, The request also includes a data receiving address, and the method further includes: The final business data is returned to the user terminal through the data receiving address.
5. The method according to any one of claims 1-3, characterized in that, Also includes: Receive requests from users to obtain final business data; Based on the request to obtain the final business data, the final business data is sent to the user terminal.
6. A user request processing apparatus, characterized in that, include: A request receiving unit is used to receive a request sent by a user terminal, wherein the request contains a service to be processed. A node allocation unit is used to select a processing node that matches the service to be processed from a pre-created node library. The processing node corresponds to a service processing algorithm, and the service processing algorithm matches the service to be processed. When the service processing algorithm needs to be upgraded, the service processing algorithm corresponding to the processing node in the node library is upgraded. An address sending unit is used to send the upload address corresponding to the processing node to the user terminal, so that the processing node can obtain the data to be processed based on the upload address; wherein, when different processing algorithms correspond to the same service to be processed, the request sent by the user terminal includes a request to change the processing node, the processing node corresponding to the service to be processed is the new processing node, the new processing node matching the service to be processed is selected from a pre-created node library, and the new upload address corresponding to the new processing node is used by the new processing node to obtain the data to be processed from the user terminal; within a preset time period, the data to be processed is processed simultaneously by the new processing node and the old processing node, and after the preset time period, the data to be processed is processed by the new processing node; The result receiving unit is used to receive the processing result returned by the processing node, wherein the processing result is obtained by the processing node processing the data to be processed; The final data determination unit is used to determine the final business data corresponding to the request based on the processing result.
7. A user request processing system, characterized in that, include: User terminal, request processing platform, and processing nodes; The user terminal is used to send a request to the request processing platform, the request containing the business to be processed, and to transmit data to the processing node through the upload address sent by the request processing platform. The request processing platform is used to receive the request, select a processing node matching the pending business from a pre-created node library, each processing node having a corresponding business processing algorithm that matches the pending business, send the upload address corresponding to the processing node to the user terminal, receive the processing result returned by the processing node (the processing result being the data to be processed by the processing node), and determine the final business data corresponding to the request based on the processing result. When the business processing algorithm needs to be upgraded, the business processing algorithm corresponding to the processing node in the node library is upgraded. When different business processing algorithms correspond to the same pending business, the request sent by the user terminal includes a request to change the processing node. The processing node matching the pending business is the new processing node, selected from the pre-created node library, and the new upload address corresponding to the new processing node is used by the new processing node to obtain the pending data from the user terminal. Within a preset time period, the pending data is processed simultaneously by the new processing node and the old processing node; after the preset time period, the pending data is processed by the new processing node. The processing node is used to obtain the data to be processed based on the upload address, process the data to obtain the processing result, and send the processing result to the request processing platform.
8. The system according to claim 7, characterized in that, The process by which the processing node obtains the data to be processed based on the upload address includes: The processing node receives the data to be processed transmitted by the user terminal through the upload address; or, The processing node receives the download address corresponding to the data to be processed transmitted by the user terminal through the upload address; The processing node obtains the data to be processed through the download address.
9. A user request processing device, characterized in that, include: Memory and processor; The memory is used to store programs; The processor is configured to execute the program to implement the steps of the user request processing method as claimed in any one of claims 1-5.
10. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the user request processing method as claimed in any one of claims 1-5.
Citation Information
Patent Citations
Business instruction processing method and device, computer equipment and storage medium
CN110351342A