Data processing method, apparatus, system, and electronic device
By introducing a Redis high-concurrency cluster, CDN static cache, and cloud computing module, the mortgage loan limit management system was optimized, solving the system pressure problem caused by high concurrency and improving system stability and response efficiency.
Patent Information
- Application Number
- CN202211335490.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2042-10-28
AI Technical Summary
In the process of managing mortgage loan quotas, existing technology can lead to high concurrency calls when account managers rush to claim mortgage loan quotas at the beginning of the month, increasing system pressure, potentially causing system crashes, and affecting system stability.
A high-concurrency cluster-based data processing system is adopted, which introduces a Redis high-concurrency cluster and a CDN static cache, and connects to a cloud computing module. The mortgage transaction mode is optimized into service modules such as appointment, cancellation, and order query to avoid high-concurrency calls.
It effectively alleviated system pressure, improved the robustness and response efficiency of the data processing system, and enhanced the market responsiveness of commercial banks.
Smart Images

Figure CN115695519B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to big data and data processing technology, and in particular to a data processing method, device, system and electronic equipment. BACKGROUND
[0002] Most of the profits of commercial banks come from credit business, and the most important loan category in credit business is housing loan. In order to limit the amount of loan flowing into the housing market, a specific housing loan quota is given at the beginning of each month according to the loan situation of each bank, and the housing loan is limited by the quota.
[0003] Therefore, bank customer managers will seize the housing loan quota at the beginning of each month, which leads to high concurrent calls to the credit management system, increases the system pressure, and easily causes system paralysis. SUMMARY
[0004] The present application provides a data processing method, device, system and electronic equipment to solve the problem of too many concurrent tasks in data processing, large system pressure and easy collapse, and achieve the technical effect of simplifying the operation process and reducing the calculation pressure of the system.
[0005] In one aspect, the present application provides a data processing system, the system comprising:
[0006] a client, configured to generate dynamic request data in response to a customer's request for virtual asset quota allocation operation;
[0007] at least one service function module, connected with the client, configured to receive the dynamic request data to call a service function corresponding to the dynamic request data;
[0008] a dynamic cache, connected with the at least one service function module, configured to provide a concurrent service interface for a plurality of the function modules;
[0009] a calculation module, connected with the dynamic cache, configured to determine a virtual asset allocation quota corresponding to the dynamic request data according to pre-determined virtual asset quota configuration data.
[0010] In another aspect, the present application provides a data processing method, the method comprising:
[0011] receiving dynamic request data from a client to call a service function module corresponding to the dynamic request data, wherein the client is configured to generate the dynamic request data in response to a customer's request for virtual asset quota allocation operation;
[0012] using a dynamic cache to provide a concurrent service interface for the service function module, so as to use a plurality of the service function modules to process the dynamic request data.
[0013] According to the predetermined virtual asset quota configuration data, a virtual asset quota corresponding to the dynamic request data is determined.
[0014] In another aspect, the application provides a data processing device, the device comprising:
[0015] The calling module is configured to receive dynamic request data from a client to call a service function module corresponding to the dynamic request data, wherein the client is configured to generate the dynamic request data in response to a user's request for virtual asset quota control.
[0016] The processing module is configured to provide a concurrent service interface for the service function module using a dynamic cache to process the dynamic request data using a plurality of service function modules.
[0017] The determination module is configured to determine a virtual asset quota corresponding to the dynamic request data according to predetermined virtual asset quota configuration data.
[0018] In another aspect, the application provides an electronic device comprising a processor and a memory connected to the processor, wherein the memory stores computer execution instructions, and the processor executes the computer execution instructions stored in the memory to implement the method of any one of the above aspects.
[0019] In another aspect, the application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a processor to implement the method of any one of the above aspects.
[0020] In another aspect, the application provides a computer program product comprising a computer program, wherein the computer program is executed by a processor to implement the method of any one of the above aspects.
[0021] The data processing method, device, system and electronic device provided by the application receive dynamic request data from a client to call a service function module corresponding to the dynamic request data, wherein the client is configured to generate the dynamic request data in response to a user's request for virtual asset quota control, and a dynamic cache is used to provide a concurrent service interface for the service function module to process the dynamic request data using a plurality of service function modules. The virtual asset quota corresponding to the dynamic request data is determined according to predetermined virtual asset quota configuration data. The application can solve the problem of a large number of concurrent data processing tasks and the pressure on the data processing system, and achieve the technical effects of simplifying the operation process and reducing the computing pressure of the system. BRIEF DESCRIPTION OF DRAWINGS
[0022] The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate embodiments consistent with the application and, together with the description, further serve to explain the principles of the application.
[0023] Figure 1 An architecture schematic diagram of a data processing system provided by an embodiment of the application is shown in the following figure.
[0024] Figure 2 An architecture schematic diagram of an optional data processing system provided by an embodiment of the application is shown in the following figure.
[0025] Figure 3 A flow schematic diagram of a data processing method provided by an embodiment of the application is shown in the following figure.
[0026] Figure 4 A structure block diagram of a data processing apparatus provided by an embodiment of the application is shown in the following figure.
[0027] Figure 5 A structure schematic diagram of an electronic device provided by an embodiment of the application is shown in the following figure.
[0028] The above figures have shown the specific embodiments of the application, which will be described in more detail hereinafter. These figures and the written description are not intended to limit the scope of the inventive concept in any way, but to illustrate the inventive concept to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0029] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The following description is made with reference to the accompanying drawings in which like reference numerals refer to like elements in the several figures. The following description is made with reference to the accompanying drawings in which like reference numerals refer to like elements in the several figures. The embodiments described in the following exemplary embodiments are not meant to represent all embodiments consistent with the application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the application as detailed in the appended claims.
[0030] First, the terms involved in the application are explained:
[0031] CDN: Content Delivery Network, by placing node servers in various places on the network, by publishing website content to a large number of acceleration nodes all over the country, users can access the required content nearby, suitable for static data caching.
[0032] Redis: Redis is one of the most popular NoSQL databases, supports distributed, high performance, suitable for high-frequency read-write data.
[0033] Cloud computing: Cloud, widely said is a platform that can connect to global network resources, and cloud computing is to provide IT resources, computing power, data and applications as services to the outside through a large number of distributed computers.
[0034] Load balancing: a computer technology used to distribute load among multiple computers (computer clusters), network connections, CPUs, disk drives or other resources to optimize resource usage, maximize throughput, minimize response time, and avoid overload.
[0035] Although the prior art can normally meet the demand of quota control, in actual application process, the mode of directly calling housing loan transaction increases system pressure and easily causes system paralysis, which is not conducive to stable operation of the system.
[0036] With the rapid change of technology, the cross-industry competition faced by the banking industry is becoming increasingly fierce, which requires major banks to keep pace with the times, follow the cutting-edge technology, and realize rapid response, stable and efficient, and timely maintenance.
[0037] Based on the current situation of the industry's customer managers seizing housing loan quotas in a certain period of time, the data processing system based on high-concurrency cluster, i.e. the housing loan quota control system, is adopted in the embodiments of the present application; the traditional mode of customer managers directly calling housing loan transactions is optimized, and the housing loan transaction is split into reservation, cancellation of reservation, order inquiry and other service modules, avoiding high-concurrency calling of housing loan transactions in a certain period of time, and fundamentally relieving the pressure on the system.
[0038] The data processing method provided by the present application aims to solve the above technical problems of the prior art. The data processing method can be applied to Figure 1 As shown in the schematic diagram of the architecture of a data processing system. Figure 1 As shown in the schematic diagram of the architecture of a data processing system.
[0039] The client 10 is used to generate dynamic request data in response to the customer's request for virtual asset quota control operation;
[0040] At least one service function module 12 is connected with the above-mentioned client 10, and is used to receive the above-mentioned dynamic request data to call the service function corresponding to the above-mentioned dynamic request data.
[0041] The dynamic cache 14 is connected with the above-mentioned at least one service function module 12, and is used to provide concurrent service interfaces for multiple above-mentioned function modules.
[0042] The calculation module 16 is connected with the above-mentioned dynamic cache 14, and is used to determine the virtual asset control quota corresponding to the above-mentioned dynamic request data according to the pre-determined virtual asset quota configuration data.
[0043] The specific application scenarios of the present application can include but are not limited to financial, commercial and other business scenarios, in which any type of old data system migrates data to a new data system.
[0044] Optionally, the client can be a commercial bank client, and the customer can be a business staff such as a manager of the commercial bank. The commercial bank client is configured to generate dynamic request data in response to a customer's request for control of a virtual asset quota.
[0045] In an example, as shown in a schematic diagram of an optional data processing system, Figure 2 The service function module 12 includes:
[0046] The reservation function module 121 is configured to process reservation request data in the dynamic request data.
[0047] The cancel reservation function module 122 is configured to process cancel reservation request data in the dynamic request data.
[0048] The query module 123 is configured to process query request data in the dynamic request data.
[0049] As described above, the reservation function module can provide a reservation request service function for the virtual asset quota, the cancel reservation function module can provide a cancel reservation request service function for the virtual asset quota, and the query module can provide a service function for querying the virtual asset quota.
[0050] With the rapid development of the Internet industry, more and more scenarios require high concurrency of the system, and therefore multiple technologies for solving high concurrency problems have emerged.
[0051] Based on the current situation of industry mortgage control and combined with the rapid development of computer technology, in the present application, based on the characteristics of the reservation business, a Redis high-concurrency cluster dynamic cache and a CDN static cache are introduced, and a cloud computing device is connected, which greatly improves the system robustness and response efficiency and improves the market response ability of the commercial bank.
[0052] In an example, Redis uses memory as a data storage medium, so the efficiency of reading and writing data is extremely high, and it is one of the most popular NoSQL databases at present, supports distribution, and is often used to store some frequently accessed data, which can greatly improve the speed.
[0053] In another example, a CDN (content delivery network) is a basic idea of avoiding as much as possible the bottlenecks and links on the Internet that can affect the speed and stability of data transmission, so as to make the content transmission faster and more stable. A CDN static cache can redirect the user's request to the nearest service node according to the network traffic, the connection and load of each node, the distance to the user and the response time, etc. The purpose is to enable users to obtain the required content nearby, solve the congestion of the Internet network, and improve the response speed of user access to the website.
[0054] Optionally, the computing module can be a cloud computing module connected with the dynamic cache, configured to determine the virtual asset allocation corresponding to the dynamic request data according to the pre-determined virtual asset quota configuration data.
[0055] Embodiments of the present application propose a data processing system (mortgage quota control system) based on high-concurrency clusters, which optimizes the traditional mortgage system directly called by the customer manager at the beginning of the month to a data processing system including reservation, cancellation, order query and other service modules, avoiding high-concurrency calls to mortgage transactions at a certain time, and fundamentally relieving the pressure on the system.
[0056] Meanwhile, the embodiments of the present application introduce Redis high-concurrency clusters for dynamic data caching, CDN for static data caching, and access to a cloud computing module, which greatly improves the robustness and response efficiency of the data processing system of commercial banks.
[0057] In one example, the client is further configured to generate static cache data in response to the allocation request operation.
[0058] As shown in Figure 2 In another example, the system further includes:
[0059] The static cache 18 is connected with the client and is configured to obtain static cache data and dynamic request data from the client and store the static cache data.
[0060] The load balancer 20 is connected with the static cache 18 and the at least one service function module 12 and is configured to receive the dynamic request data sent by the static buffer and send the dynamic request data to the at least one service function module.
[0061] As shown in Figure 2As shown, client 10 is connected to static cache 18. Static cache 18 needs to receive data from client 10. Static cache 18 is a CDN static cache, which can cache static data and pass dynamic request data to the next device, namely the load balancer, in order to improve data transmission speed and stability.
[0062] Still Figure 2 As shown, the static cache 18 is connected to the load balancer 20. The load balancer 20 distributes the dynamic request data from the static cache 18 to the corresponding server functional modules through the server closest to it. Therefore, the load balancer 20 needs to be connected to the reservation function module 121, the cancellation reservation function module 122, and the query module 123 respectively. The three functional modules call the corresponding service transactions respectively. The service requests need to be sent to the dynamic cache 14, i.e., the Redis high-concurrency cluster, to improve read and write efficiency and support high-concurrency service requests.
[0063] In an alternative example, the system further includes:
[0064] The management client 22 is connected to the aforementioned calculation module 16 and is used to provide the aforementioned calculation module with a pre-determined virtual asset quota configuration algorithm.
[0065] The memory 24, connected to the aforementioned computing module 16, is used to store reservation request data.
[0066] In this embodiment, the reservation function module 121, the cancellation reservation function module 122, and the query module 123 are connected to the dynamic cache 14. The dynamic cache 14 is connected to the calculation unit 16 to send dynamic request data to the calculation unit for virtual asset quota calculation. The calculation unit 16 can also use the virtual asset quota configuration algorithm of the management terminal 22 and the reservation request data in the memory 24 to calculate the virtual asset allocation quota corresponding to the above dynamic request data. Therefore, the calculation unit 16 is also connected to the management terminal 22 and the memory 24 respectively.
[0067] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0068] Figure 3 This is a flowchart illustrating a data processing method provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the method includes:
[0069] S101, receiving dynamic request data from a client to call a service function module corresponding to the dynamic request data.
[0070] The client is configured to generate the dynamic request data in response to a request of the client to control the virtual asset quota.
[0071] The application can be applied to, but not limited to, financial and e-commerce scenarios, in which any type of old data system migrates data to a new data system.
[0072] Optionally, the client can be a commercial bank client, and the client can be a business staff such as a manager of the commercial bank. The commercial bank client is configured to generate the dynamic request data in response to a request of the client to control the virtual asset quota.
[0073] S102, using a dynamic cache to provide a concurrent service interface for the service function module, so as to use a plurality of service function modules to process the dynamic request data.
[0074] S103, determining a virtual asset control quota corresponding to the dynamic request data according to predetermined virtual asset quota configuration data.
[0075] With the rapid development of the Internet industry, more and more scenarios require high concurrency of the system, and therefore, a plurality of technologies for solving high concurrency problems have emerged.
[0076] Based on the current situation of mortgage control in the industry and combined with the rapid development of computer technology, in the embodiment of the application, based on the characteristics of the reservation business, a dynamic cache of Redis high-concurrency cluster and a CDN static cache are introduced, and a cloud computing device is connected, which greatly improves the system robustness and response efficiency and improves the market response ability of the commercial bank.
[0077] In an example, Redis uses memory as a data storage medium, so the efficiency of reading and writing data is extremely high, and it is one of the most popular NoSQL databases at present, supports distribution, and is often used to store some frequently accessed data, which can greatly improve the speed.
[0078] Optionally, the computing module can be a cloud computing module, configured to determine a virtual asset control quota corresponding to the dynamic request data according to predetermined virtual asset quota configuration data.
[0079] The embodiment of the application provides a data processing system (a mortgage quota control system) based on a high-concurrency cluster, and optimizes a traditional mortgage system directly called by a customer manager at the beginning of a month into a data processing system including a reservation, a reservation cancellation, an order query and the like, so that high-concurrency calling of a mortgage transaction in a certain time period is avoided, and the pressure of the system is fundamentally relieved.
[0080] Meanwhile, the embodiment of the application introduces a Redis high-concurrency cluster for dynamic data caching, a CDN for static data caching, and a cloud computing module, so that the robustness and response efficiency of the data processing system of a commercial bank are greatly improved.
[0081] In an optional embodiment, the method further includes:
[0082] S201, using a static cache, obtaining static cache data and dynamic request data from the client, and storing the static cache data, and the client is further used for generating static cache data in response to the domination request operation.
[0083] S202, using a load balancer, distributing the dynamic request data to the at least one service function module.
[0084] In another example, a layer of intelligent virtual network is constructed on the basis of the existing Internet by placing node servers at various positions in the network, and the CDN static cache can redirect the request of the user to the nearest service node according to the network traffic, the connection and load of each node, the distance to the user and the response time and the like, so that the user can obtain the required content nearby, the congestion of the Internet network is solved, and the response speed of the user accessing the website is improved.
[0085] The CDN is a content distribution network, and the basic idea is to avoid as many bottlenecks and links as possible that may affect the data transmission speed and stability on the Internet, so that the content transmission is faster and more stable.
[0086] In another example, in the embodiment of the application, the dynamic request data from the client is received to call the service function module corresponding to the dynamic request data, and the following method steps can be used to realize the calling:
[0087] S301, obtaining a request data type of the dynamic request data, wherein the request data type includes a reservation request, a reservation cancellation request and a query request.
[0088] S302, calling a corresponding service function module based on the request data type.
[0089] An example, as described above, the data processing system can be known as the above service function module includes:
[0090] Reservation function module, for processing the reservation request in the dynamic request data;
[0091] Cancel reservation function module, for processing the cancel reservation request in the dynamic request data;
[0092] Query module, for processing the query request in the dynamic request data.
[0093] Among them, the reservation function module can provide the reservation request service function of the virtual asset quota; and the cancel reservation function module can provide the cancel reservation request service function of the virtual asset quota; the query module can provide the service function of querying the virtual asset quota.
[0094] In the embodiment of the application, the virtual asset allocation data is determined according to the predetermined virtual asset allocation data, and the virtual asset allocation data corresponding to the dynamic request data is determined.
[0095] S401, according to the virtual asset allocation data, determine the current configurable virtual asset quota.
[0096] S402, obtain the virtual asset request quota or the virtual asset cancel request quota in the dynamic request data;
[0097] S403, select all or part of the virtual asset quota from the current configurable virtual asset quota to obtain the virtual asset request quota; or re-enter the virtual asset cancel request quota into the current configurable virtual asset quota to obtain the virtual asset request quota.
[0098] In the embodiment of the application, according to the virtual asset allocation data determined by the management terminal (management client), the current configurable virtual asset quota is determined, that is, the remaining virtual asset quota.
[0099] Then, the virtual asset request quota or the virtual asset cancel request quota in the dynamic request data is obtained, that is, the virtual asset quota requested by the client or the virtual asset quota canceled by the client.
[0100] If the client is a virtual asset quota request, all or part of the virtual asset quota is selected from the current configurable virtual asset quota to obtain the virtual asset request quota; if the client is a virtual asset quota cancellation request, the virtual asset cancellation request is reclassified into the current configurable virtual asset quota to obtain the virtual asset request quota. Thus, the application can solve the problem of data processing and concurrent tasks, and the data processing system is prone to collapse under pressure. The technical effect of simplifying the operation process and reducing the computing pressure of the system is realized.
[0101] According to one or more embodiments of the application, a data processing apparatus is provided, Figure 4 The structure block diagram of a data processing apparatus provided for the embodiments of the application is shown in Figure 4 The apparatus comprises:
[0102] The calling module 601 is configured to receive dynamic request data from a client to call a service function module corresponding to the dynamic request data, wherein the client is configured to generate the dynamic request data in response to a client's request for virtual asset quota.
[0103] The processing module 602 is configured to provide a concurrent service interface for the service function module using a dynamic cache, and to process the dynamic request data using a plurality of service function modules.
[0104] The determination module 603 is configured to determine a virtual asset quota corresponding to the dynamic request data according to predetermined virtual asset quota configuration data.
[0105] According to one or more embodiments of the application, the apparatus further comprises:
[0106] The acquisition module is configured to acquire static cache data and dynamic request data from the client using a static cache, and store the static cache data, wherein the client is also configured to generate static cache data in response to the request operation.
[0107] The data delivery module is configured to deliver the dynamic request data to the at least one service function module using a load balancer.
[0108] According to one or more embodiments of the application, the service function module comprises:
[0109] The reservation function module is configured to process reservation requests in the dynamic request data.
[0110] The cancel reservation function module is configured to process cancel reservation requests in the dynamic request data.
[0111] The query module is configured to process a query request in the dynamic request data.
[0112] According to one or more embodiments of the present application, the calling module comprises:
[0113] The first obtaining sub-module is configured to obtain a request data type of the dynamic request data, wherein the request data type comprises a reservation request, a reservation cancellation request, and a query request.
[0114] The calling sub-module is configured to call a corresponding service function module based on the request data type.
[0115] According to one or more embodiments of the present application, the determining module comprises:
[0116] The first determining sub-module is configured to determine a current configurable virtual asset quota according to the virtual asset quota configuration data.
[0117] The second obtaining sub-module is configured to obtain a virtual asset request quota or a virtual asset cancellation request quota in the dynamic request data.
[0118] The second determining sub-module is configured to select all or part of the virtual asset quota from the current configurable virtual asset quota to obtain the virtual asset request quota, or reclassify the virtual asset cancellation request quota into the current configurable virtual asset quota to obtain the virtual asset request quota.
[0119] In an example embodiment, the embodiments of the present application further provide an electronic device, comprising a processor and a memory connected to the processor.
[0120] The memory stores computer execution instructions.
[0121] The processor executes the computer execution instructions stored in the memory to implement the method according to any one of the above.
[0122] In an example embodiment, the embodiments of the present application further provide a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a processor to implement the method according to any one of the above.
[0123] In an example embodiment, the embodiments of the present application further provide a computer program product, comprising a computer program, and the computer program is executed by a processor to implement the method according to any one of the above.
[0124] In order to implement the above-mentioned embodiments, the embodiments of the present application further provide an electronic device.
[0125] Reference Figure 5The diagram illustrates a structural schematic of an electronic device 700 suitable for implementing embodiments of this application. The electronic device 700 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), portable Android devices (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0126] like Figure 5 As shown, the electronic device 700 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 707 is also connected to the bus 704.
[0127] Typically, the following devices can be connected to I / O interface 707: input devices 707 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 707. Communication device 707 allows electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 700 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0128] In particular, according to embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 505, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the methods of the embodiments of the present application are performed.
[0129] It should be noted that the computer readable medium described above in the present application can be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium may, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, 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 thereof. In the present application, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In the present application, the computer readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer readable program code. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer readable signal medium can also be any computer readable medium that is not a computer readable storage medium and that can transmit, propagate or transport a program for use by or in connection with an instruction execution system, device or apparatus. The program code contained on the computer readable medium can be transmitted by any suitable medium, including but not limited to a wire, an optical fiber, an RF (radio frequency) or the like, or any suitable combination thereof.
[0130] The computer readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device and be not assembled into the electronic device.
[0131] The computer readable medium described above carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the embodiments described above.
[0132] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0133] The computer program instructions can also be loaded onto a computer or other programmable information processing apparatus to cause a series of operations to be performed on the computer or other programmable information processing apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable information processing apparatus implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0134] The units described in the embodiments of the present application can be implemented by software, or by hardware. In some cases, the names of the units do not constitute a limitation on the units themselves. For example, the first obtaining unit can also be described as a unit for obtaining at least two Internet protocol addresses.
[0135] The functions described in this specification can be implemented in part or in whole by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0136] In the context of this application, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
Claims
1. A data processing system, characterized in that, The system includes: The client is used to respond to the client's request to control the virtual asset limit, and to generate dynamic request data and static cache data. A static cache, connected to the client, is used to obtain static cache data and dynamic request data from the client and store the static cache data. The static cache is a content publishing network. A load balancer, connected to the static buffer and at least one service function module, is used to receive the dynamic request data sent by the static buffer, so as to distribute the dynamic request data to the service function module through the server closest to the location of the load balancer. A service function module, connected to the load balancer, is used to receive the dynamic request data and invoke the service function corresponding to the dynamic request data. A dynamic cache, connected to the service function module, is used to provide concurrent service interfaces for multiple function modules; the dynamic cache is Redis. A computing module, connected to the dynamic cache, is used to determine the virtual asset allocation amount corresponding to the dynamic request data based on pre-determined virtual asset allocation configuration data. The computing module is a cloud computing module. The service function modules include: The appointment function module is used to process appointment request data in the dynamic request data; The cancellation appointment function module is used to process cancellation appointment request data in the dynamic request data; The query module is used to process the query request data in the dynamic request data.
2. The system according to claim 1, characterized in that, The system also includes: A management client, connected to the computing module, is used to provide the computing module with a pre-determined algorithm for configuring the virtual asset quota. A memory, connected to the computing module, is used to store reservation request data.
3. A data processing method, applied to the data processing system according to any one of claims 1-2, characterized in that, The method includes: The system receives dynamic request data from a client to invoke the service function module corresponding to the dynamic request data. The client is used to generate the dynamic request data and static cache data in response to the client's request to control the virtual asset quota. A static cache is used to obtain static cache data and dynamic request data from the client and store the static cache data. The static cache is a content publishing network. A load balancer is used to receive the dynamic request data sent by the static buffer and to send the dynamic request data to the service function module. A dynamic cache is used to provide concurrent service interfaces for the service function modules, so that multiple service function modules can process the dynamic request data accordingly. The dynamic cache is Redis. Based on the pre-determined virtual asset quota configuration data, the virtual asset allocation quota corresponding to the dynamic request data is determined, and the calculation module is a cloud computing module; The service function module includes: The appointment function module is used to process appointment request data in the dynamic request data; The cancellation appointment function module is used to process cancellation appointment request data in the dynamic request data; The query module is used to process the query request data in the dynamic request data.
4. The method according to claim 3, characterized in that, The step of receiving dynamic request data from the client to invoke the service function module corresponding to the dynamic request data includes: The request data type for obtaining the dynamic request data includes: appointment request, cancellation request, and query request; The corresponding service function module is invoked based on the requested data type.
5. The method according to claim 3, characterized in that, The step of determining the virtual asset allocation limit corresponding to the dynamic request data based on pre-determined virtual asset allocation data includes: Based on the virtual asset quota configuration data, determine the currently configurable virtual asset quota; Obtain the virtual asset request limit or virtual asset cancellation request limit from the dynamic request data; Select all or part of the virtual asset quota from the currently configurable virtual asset quota to obtain the virtual asset request quota; or return the virtual asset cancellation request quota to the currently configurable virtual asset quota to obtain the virtual asset request quota.
6. A data processing apparatus, applied to the data processing system according to any one of claims 1-2, characterized in that, The device includes: The calling module is used to receive dynamic request data from the client to call the service function module corresponding to the dynamic request data. The client is used to generate the dynamic request data and static cache data in response to the client's request to control the virtual asset quota. The processing module is used to obtain static cache data and dynamic request data from the client using a static cache, and store the static cache data, wherein the static cache is a content publishing network; to receive the dynamic request data sent by the static cache using a load balancer, and distribute the dynamic request data to the service function modules; and to provide a concurrent service interface for the service function modules using a dynamic cache, wherein multiple service function modules are used to process the dynamic request data, wherein the dynamic cache is Redis. The determining module is used to determine the virtual asset allocation amount corresponding to the dynamic request data based on the pre-determined virtual asset allocation configuration data; the calculation module is a cloud computing module. The service function module includes: The appointment function module is used to process appointment request data in the dynamic request data; The cancellation appointment function module is used to process cancellation appointment request data in the dynamic request data; The query module is used to process the query request data in the dynamic request data.
7. An electronic device, characterized in that, include: A processor, and a memory connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 3 to 5.
8. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 3 to 5.
Citation Information
Patent Citations
Service data processing method and processing system, electronic equipment and storage medium
CN114428680A