Data processing method, system, device, medium and product among different framework servers

By dividing functional modules between the management framework server and the business framework server, and by performing multiple encryption processes on session management information, the load pressure problem of server clusters in high-concurrency scenarios is solved, thereby improving user experience and data security.

CN119676288BActive Publication Date: 2026-02-13INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411855192.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2026-02-13
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

Existing session management systems can put significant load on server clusters in high-concurrency, frequent access scenarios, impacting service timeliness.

Method used

By dividing functional modules between the management framework server and the business framework server, servers with different technology stacks are used to process session management information separately, including performing multiple encryption processes on the initial session management information, and parsing and processing the target session management information on the business framework server.

Benefits of technology

This reduces the load on the server when users use the target program, improves the user experience, and enhances data transmission security and server response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676288B_ABST
    Figure CN119676288B_ABST
Patent Text Reader

Abstract

The disclosure provides a data processing method, system, device, medium and product between different framework servers, which can be applied to the technical fields of data processing and financial technology. The method comprises: obtaining initial session management information uploaded by a terminal device by using a management framework server in the case that a user logs in an account on the terminal device; generating business management information by the terminal device in response to a business operation instruction of the user, and obtaining the initial session management information and the business management information by using a business framework server, wherein the management framework server and the business framework server are constructed based on different technology stacks; analyzing the initial session management information by using the business framework server to create target session management information; and processing the business management information by using the business framework server based on the target session management information.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of data processing and financial technology, in particular to a data processing method between different framework servers, a data processing system, an electronic device, a computer readable storage medium and a computer program product. BACKGROUND

[0002] With the development of the Internet, people require server systems to have higher performance and stability, thereby making the application of server cluster systems more and more extensive. The Session (session management) management mode in the server cluster system is gradually expanded from single machine management mode to cluster management mode, and the synchronization and storage of Session between cluster nodes become the core technical problems.

[0003] However, the existing Session will bring great load pressure to the server cluster in the scene of high concurrency and frequent access, thereby possibly affecting the timeliness of providing services. SUMMARY

[0004] In view of the above problems, the present disclosure provides a data processing method between different framework servers, a data processing system, an electronic device, a computer readable storage medium and a computer program product.

[0005] According to a first aspect of the present disclosure, a data processing method between different framework servers is provided, comprising:

[0006] In the case that a user logs in an account on a terminal device, an initial session management information uploaded by the terminal device is obtained by using a management framework server;

[0007] In response to a business operation instruction of the user, the terminal device generates business management information, and the initial session management information and the business management information are respectively obtained by using a business framework server, wherein the management framework server and the business framework server are constructed based on different technology stacks;

[0008] The initial session management information is parsed by using the business framework server to create target session management information;

[0009] Based on the target session management information, the business management information is processed by using the business framework server.

[0010] According to an embodiment of the present disclosure, before the business framework server obtains the initial session management information, it further comprises:

[0011] The initial session management information is processed by the management framework server to obtain encrypted initial session management information, and the encrypted initial session management information is transmitted to the service framework server.

[0012] According to an embodiment of the present disclosure, the initial session management information is processed by the management framework server to obtain encrypted initial session management information, and the encrypted initial session management information is transmitted to the service framework server.

[0013] The initial session management information is processed by the management framework server to obtain symmetric encryption information.

[0014] The symmetric encryption information is processed by the management framework server to obtain asymmetric encryption information, and the asymmetric encryption information represents the encrypted initial session management information.

[0015] According to an embodiment of the present disclosure, the service framework server generates target session management information based on the initial session management information, and the method comprises the following steps.

[0016] The encrypted initial session management information is processed by the service framework server to obtain the target decryption result.

[0017] When the target decryption result comprises decrypted session management information, the service framework server creates the target session management information according to the decrypted session management information.

[0018] According to an embodiment of the present disclosure, the service framework server generates target session management information based on the initial session management information, and the method comprises the following steps.

[0019] The encrypted initial session management information is processed by the service framework server to obtain the target decryption result.

[0020] When the asymmetric decryption result represents a decryption failure, the service framework server generates a first sub-decryption result, wherein the first sub-decryption result does not comprise the decrypted session management information, the first sub-decryption result represents that the encrypted initial session management information is not generated by the management framework server based on the initial session management information uploaded by the terminal device, and the target decryption result comprises the first sub-decryption result.

[0021] According to an embodiment of the present disclosure, the service framework server generates target session management information based on the initial session management information, and the method comprises the following steps.

[0022] In a case where the asymmetric decryption result represents that the decryption is successful, the service framework server is used to generate asymmetric decryption information;

[0023] The service framework server is used to perform symmetric decryption processing on the asymmetric decryption information to obtain a second sub-decryption result including the decryption session management information, and the target decryption result further includes the second sub-decryption result.

[0024] According to an embodiment of the present disclosure, the data processing method further includes:

[0025] In a case where the user changes the basic configuration information on the terminal device, the management framework server is used to obtain new initial session management information uploaded by the terminal device, so that the service framework server creates new target session management information based on the new initial session management information, wherein the new initial session management information is generated by the terminal device based on the changed basic configuration information.

[0026] According to an embodiment of the present disclosure, the data processing method further includes:

[0027] In a case where a first business handling duration between the generation time of the business management information and the current time meets a first preset duration threshold, the business management information and the target session management information in the service framework server are deleted.

[0028] According to an embodiment of the present disclosure, the data processing method further includes:

[0029] In a case where the number of target session management information in the service framework server meets a preset threshold, a second business handling duration between the generation time of each target session management information and the current time is calculated.

[0030] In a case where the second business handling duration meets a second preset duration threshold, the business management information and the target session management information in the service framework server are deleted.

[0031] A second aspect of the present disclosure provides a data processing system between different framework servers, comprising:

[0032] The terminal device is configured to generate initial session management information in a case where a user logs in an account on the terminal device.

[0033] The management framework server is configured to obtain the initial session management information uploaded by the terminal device; and

[0034] The service framework server, the management framework server and the service framework server are constructed based on different technology stacks, and the service framework server is configured to:

[0035] generating service management information in response to the service operation instruction of the user, and obtaining the initial session management information and the service management information respectively;

[0036] parsing the initial session management information to create target session management information;

[0037] processing the service management information based on the target session management information.

[0038] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method.

[0039] A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon a computer program or instructions, which, when executed by a processor, implement the steps of the method.

[0040] A fifth aspect of the present disclosure also provides a computer program product comprising a computer program or instructions, which, when executed by a processor, implement the steps of the method.

[0041] According to the embodiments of the present disclosure, by utilizing the management framework server and the service framework server to be responsible for different functional modules, the initial session management information uploaded by the terminal device is obtained by the management framework server when the user logs in, and the initial session management information and the service management information are obtained by the service framework server from the management framework server and the terminal device when the user handles the service, so that the service framework server processes the initial session management information to create target session management information, and finally processes the service management information. By dividing the servers of different technical stacks based on functional modules, the load pressure caused by the user using the target program on the server can be reduced, so that the user can get a fast response when using the target program, thereby improving the user experience of using the target program. BRIEF DESCRIPTION OF DRAWINGS

[0042] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure, taken in conjunction with the accompanying drawings, in which:

[0043] Figure 1 A schematic application scenario diagram of a data processing method between different framework servers according to an embodiment of the present disclosure is shown;

[0044] Figure 2 A schematic flowchart of a data processing method between different framework servers according to an embodiment of the present disclosure is shown;

[0045] Figure 3 A flowchart of a data processing method between different framework servers according to another embodiment of the present disclosure is schematically shown;

[0046] Figure 4 A structural block diagram of a data processing system according to an embodiment of the present disclosure is schematically shown; and

[0047] Figure 5 A block diagram of an electronic device suitable for implementing the above method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0048] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood, however, that the description which follows is merely exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description of the embodiments of the present disclosure, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it would be apparent to one skilled in the art that the present disclosure can be practiced without these specific details. In other instances, well-known structures and functions have not been described in detail in order to avoid obscuring the concepts of the present disclosure.

[0049] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used herein, the term "includes" and tautological expressions thereof, such as "including," "includes," "include," "contains," "containing," and so on, mean the term "comprises," unless otherwise noted.

[0050] All terms used herein (including technical and scientific terms) have the meanings commonly understood by one of ordinary skill in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of the specification, and should not be interpreted in an idealized or overly formal way.

[0051] In the case of using expressions similar to "at least one of A, B, and C, etc.", it should generally be interpreted to include any of one, or two or more of the items enumerated, unless otherwise noted. For example, "a system having at least one of A, B, and C" should be interpreted to include a system having A alone, a system having B alone, a system having C alone, a system having both A and B, a system having both A and C, a system having both B and C, and / or a system having A, B, and C, etc.

[0052] Currently common distributed session management methods include Session replication, Token-based session management, and IP_HASH-based session management, etc., but each has its own shortcomings.

[0053] Session replication is a method of replicating session information from one server to other servers, so that all servers have the same session data. This method can ensure the consistency of session data, but may bring additional network overhead and server load.

[0054] Token-based session management is a method of using token technology such as JWT (JSON Web Token) to manage sessions. After user login, the server generates a Token containing user information and returns it to the client. The client carries this Token in subsequent requests, and the server identifies the user identity by verifying the Token. This method can avoid storing session data on the server side, thereby reducing the server load and storage pressure.

[0055] IP_HASH-based session management is a method of using the IP_HASH strategy of load balancer to always route requests with the same IP to the same server, thereby ensuring the consistency of session data. However, this method may cause uneven server load, and when the number of servers changes, it may cause some users' sessions to be lost.

[0056] The above session management methods either require that the session synchronization between groups be performed within a unified technology stack, or cause a huge load and pressure on the server, or only synchronize sessions between different servers within the same group. Therefore, the above session management methods are not suitable for session synchronization management between groups in multiple frameworks.

[0057] Therefore, the embodiments of the present disclosure provide a data processing method, system, device, medium and product between servers of different frameworks, which comprises: in the case that a user logs in an account on a terminal device, obtaining initial session management information uploaded by the terminal device by using a management framework server; generating business management information by the terminal device in response to a business operation instruction of the user, and obtaining the initial session management information and the business management information by using a business framework server, wherein the management framework server and the business framework server are constructed based on different technology stacks; analyzing the initial session management information by using the business framework server to create target session management information; and processing the business management information based on the target session management information by using the business framework server.

[0058] In the technical solutions of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information such as location information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of related data comply with relevant laws, regulations and standards, take necessary security measures, do not violate public order and good customs, and provide corresponding operation portal for user selection authorization or refusal.

[0059] In the scenario of making automated decisions using personal information, the method, device and system provided by the embodiments of the present disclosure all provide corresponding operation portal for the user to select to agree or refuse the automated decision result; if the user chooses to refuse, the expert decision process is entered. The expression "automated decision" here refers to the activity of automatically analyzing and evaluating a person's behavior habits, interests and hobbies, or economic, health, credit status, etc. by a computer program, and making decisions. The expression "expert decision" here refers to the activity of making decisions by personnel who are engaged in a certain field of work, have special experience, knowledge and skills, and have reached a certain professional level.

[0060] It should be noted that the data processing method and data processing system provided by the present disclosure can be used in the field of financial technology, such as banks and other financial institutions, and can also be used in any field other than the field of financial technology, such as the field of health and safety in hospitals, and therefore the application field of the data processing method and data processing system provided by the present disclosure is not limited.

[0061] Figure 1 The application scenario diagram of the data processing method between different framework servers according to an embodiment of the present disclosure is schematically shown.

[0062] As shown in Figure 1 The application scenario 100 according to this embodiment can include a financial product purchase scenario. The network 104 is a medium for providing communication links between the first terminal device 101, the second terminal device 102, the third terminal device 103, the management framework server 105 and the business framework server 106. The network 104 can include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0063] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages and the like. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, and the like (only as examples).

[0064] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smartphones, tablet computers, laptop computers, desktop computers, and the like.

[0065] The management framework server 105 and the business framework server 106 can be servers providing various services, such as the management framework server 105 providing a basic configuration information storage service for a website browsed by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103, and the business framework server 106 providing a business handling type service. The management framework server 105 and the business framework server 106 are built based on different technology stacks. The management framework server 105 and the business framework server 106 can analyze and process received user requests and the like, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0066] It should be understood that Figure 1 The number of terminal devices, networks, and servers in the above description is only illustrative. Any number of terminal devices, networks, and servers can be provided according to implementation needs.

[0067] Figure 2 A flowchart of a data processing method between different framework servers according to an embodiment of the present disclosure is illustratively shown.

[0068] As Figure 2 shown, the data processing method between different framework servers of the embodiment includes operations S210-S240.

[0069] In operation S210, in a case where a user logs in an account on a terminal device, initial session management information uploaded by the terminal device is obtained by using a management framework server;

[0070] In operation S220, in a case where the terminal device generates business management information in response to a business operation instruction of the user, the initial session management information and the business management information are respectively obtained by using a business framework server, wherein the management framework server and the business framework server are built based on different technology stacks;

[0071] In operation S230, the initial session management information is parsed by the service framework server to create target session management information.

[0072] In operation S240, based on the target session management information, the service management information is processed by the service framework server.

[0073] According to an embodiment of the present disclosure, the management framework server and the service framework server are divided from each other by means of physical isolation deployment, and are responsible for corresponding function modules. The management framework server is responsible for channel login, program startup, program framework loading service, and other basic framework services. The service framework server is responsible for using the related service handling function of the target program, such as "recharge", "balance inquiry", and the like.

[0074] According to an embodiment of the present disclosure, the technology stack refers to a collection of various technologies and tools used in the software development process, including programming languages, development frameworks, databases, servers, operating systems, version control tools, and the like. The selection of the technology stack is crucial for the success of the project, as it is directly related to the development efficiency, product stability, and maintainability.

[0075] According to an embodiment of the present disclosure, in the case that the user logs in an account on a target program such as software or a browser on a terminal device, the target program generates corresponding session information based on the basic information of the account. The session information is used in network applications to store basic configuration data such as user attributes, configuration information, request status, and the like generated when the user interacts with the background system. For example, when the user jumps between web pages of the application program, the variables stored in the session information will not be lost, thereby realizing the login state maintenance, transaction continuity, and the like. The session information generates a Session object in combination with the encoding information, i.e., initial session management information, which can be stored in the target program by Cookie. The initial session management information is automatically obtained from the header and Cookie by the framework interface such as RequestBodyAdvice and is updated to the management framework server by the request object.

[0076] According to an embodiment of the present disclosure, when the user performs service handling, for example, clicks the "recharge" control on the target program to perform the recharge, the target program generates a service operation instruction based on the clicking operation. In response to the service operation instruction, the target program generates service management information about the recharge based on the "recharge" control. The target program sends the service management information to the service framework server, and the management framework server synchronously transmits the stored initial session management information to the service framework server.

[0077] According to an embodiment of the present disclosure, after obtaining the service management information and the initial session management information, the service framework server needs to first parse the initial session management information to construct the target session management information used by the service framework server, because there is no session information related to the account of the user in the service framework server. Finally, the service framework server can process the service management information based on the target session management information.

[0078] According to an embodiment of the present disclosure, by using the management framework server and the service framework server to be responsible for different functional modules, the management framework server is used to obtain the initial session management information uploaded by the terminal device when the user logs in, and the service framework server is used to obtain the initial session management information and the service management information from the management framework server and the terminal device when the user handles the service. Therefore, the service framework server creates the target session management information based on the initial session management information, and finally processes the service management information. By dividing the servers of different technical stacks based on functional modules, the load pressure on the server caused by the user using the target program can be reduced, so that the user can get a fast response when using the target program, thereby improving the user experience of using the target program.

[0079] Figure 3 A flowchart of a data processing method between different framework servers according to another embodiment of the present disclosure is schematically shown.

[0080] According to an embodiment of the present disclosure, as shown in Figure 3 Before the service framework server obtains the initial session management information, it further includes:

[0081] The management framework server is used to perform multiple encryption processing on the initial session management information to obtain encrypted initial session management information, so as to transmit the encrypted initial session management information to the service framework server.

[0082] According to an embodiment of the present disclosure, before the initial session management information is sent to the service framework server, the initial session management information can be subjected to multiple encryption processing. Therefore, after the service framework server obtains the encrypted initial session management information, it needs to first perform multiple decryption processing, and then create the target session management information based on the decrypted information.

[0083] According to an embodiment of the present disclosure, by performing multiple encryption processing on the initial session management information, the security in the data transmission process can be improved, and the leakage of user information caused by the theft of the initial session management information by others can be avoided, thereby improving the security of the user information.

[0084] According to an embodiment of the present disclosure, as shown in Figure 3As shown, the initial session management information is subjected to multiple encryption processes using the management framework server to obtain the encrypted initial session management information, including:

[0085] The initial session management information is symmetrically encrypted using the management framework server to obtain symmetrically encrypted information.

[0086] The symmetric encrypted information is processed by the management framework server to obtain asymmetric encrypted information, which represents the encrypted initial session management information.

[0087] According to embodiments of this disclosure, the keys used for symmetric encryption and decryption are sufficiently long to increase the difficulty of cracking; for example, the key length can be 128 bits, and it is more secure than the triple encryption algorithm. This is because the triple encryption algorithm uses a 32-bit key length and employs a non-linear iterative structure for encryption operations. The same key is required for decryption on the business framework server.

[0088] According to embodiments of this disclosure, asymmetric encryption and decryption use two different keys: a public key and a private key. Its security relies on a relatively complex algorithm, which makes its encryption and decryption speed slower than symmetric encryption and decryption.

[0089] According to embodiments of this disclosure, the management framework server sequentially performs symmetric and asymmetric encryption on the initial session management information, thereby ensuring that the management framework server sends the encrypted initial session management information to the business framework server.

[0090] According to the embodiments of this disclosure, by using a process of first symmetric encryption and then asymmetric encryption, other users will find it difficult to crack the asymmetric encryption information in a short time after stealing the encrypted initial session management information. Even if they crack the asymmetric encryption information, it will still take a long time to crack the symmetric encryption information. This further improves the data security during data transmission and further improves the security of user information.

[0091] According to embodiments of this disclosure, such as Figure 3 As shown, the business framework server generates target session management information based on the initial session management information, including:

[0092] The encrypted initial session management information is double-decrypted using the business framework server to obtain the target decryption result.

[0093] If the target decryption result includes decrypted session management information, the business framework server is used to create the target session management information based on the decrypted session management information.

[0094] According to the embodiment of the present disclosure, since the management framework server transmits the encrypted initial session management information, the business framework server needs to firstly perform decryption processing after receiving the encrypted initial session management information, and then can create target session management information based on the decrypted session management information obtained by decryption.

[0095] According to the embodiment of the present disclosure, by performing double decryption processing on the encrypted initial session management information by the business framework server, the program stolen by other users can be identified, and the program that can run without decryption is intercepted, thereby further improving the security of the data stored by the business framework server.

[0096] According to the embodiment of the present disclosure, as shown in Figure 3 , the double decryption processing on the encrypted initial session management information by the business framework server obtains a target decryption result, including:

[0097] The asymmetric decryption processing on the encrypted initial session management information by the business framework server obtains an asymmetric decryption result.

[0098] In the case that the asymmetric decryption result represents decryption failure, the business framework server generates a first sub-decryption result, wherein the first sub-decryption result does not include the decrypted session management information, the first sub-decryption result represents that the encrypted initial session management information does not belong to the encrypted initial session management information generated by the management framework server based on the initial session management information uploaded by the terminal device, and the target decryption result includes the first sub-decryption result.

[0099] According to the embodiment of the present disclosure, after the business framework server receives the encrypted initial session management information, the business framework server needs to firstly perform asymmetric decryption processing, if the asymmetric decryption is unsuccessful, the encrypted file at this time may belong to the virus file uploaded by other users for stealing data, rather than the encrypted initial session management information generated by the management framework server based on the initial session management information uploaded by the terminal device, thereby the business framework server can suspend the subsequent processing of the encrypted file, thereby ensuring the security of the data stored by the business framework server.

[0100] According to the embodiment of the present disclosure, as shown in Figure 3 , the double decryption processing on the encrypted initial session management information by the business framework server obtains a target decryption result, further including:

[0101] In the case that the asymmetric decryption result represents decryption success, the business framework server generates asymmetric decryption information.

[0102] The asymmetrically decrypted information is symmetrically decrypted by using the service framework server to obtain a second sub-decrypted result including decrypted session management information, wherein the target decrypted result further includes the second sub-decrypted result.

[0103] According to the embodiments of the present disclosure, in the case of successful asymmetric decryption, it can be initially confirmed that the encrypted initial session management information belongs to a normal file transmitted by the management framework server, and then the asymmetrically decrypted information can be symmetrically decrypted based on the same key as used for encryption, and if the symmetric decryption is successful, it is further determined that the encrypted initial session management information belongs to a normal file transmitted by the management framework server, and the target session management information is created based on the decrypted session management information obtained by double decryption.

[0104] According to the embodiments of the present disclosure, the security of the encrypted initial session management information transmitted by the management framework server is verified by asymmetric decryption and symmetric decryption in sequence, so that the security of the data stored by the service framework server can be ensured, and the leakage of other user information is avoided.

[0105] According to the embodiments of the present disclosure, the data processing method further comprises:

[0106] In the case that the user changes the basic configuration information on the terminal device, the management framework server is used to obtain the new initial session management information uploaded by the terminal device, so that the service framework server creates new target session management information based on the new initial session management information, wherein the new initial session management information is generated by the terminal device based on the changed basic configuration information.

[0107] According to the embodiments of the present disclosure, if the user wants to change the basic configuration information, such as the security contact information, the registered contact information, the security question, and the account name, the management framework server needs to reacquire the new initial session management information changed by the terminal device, and the service framework server also needs to create new target session management information based on the new initial session management information in the subsequent business process.

[0108] According to the embodiments of the present disclosure, in the case that the basic configuration information does not change, the management framework server and the service framework server only need to generate and process the session management information once, and the management framework server does not need to acquire the initial session management information from the terminal device multiple times or the service framework server does not need to acquire the initial session management information from the management framework server multiple times, so as to reduce the memory pressure of the server.

[0109] According to the embodiments of the present disclosure, the data processing method further comprises:

[0110] In a case where the first service processing duration between the generation time of the service management information and the current time meets the first preset duration threshold, the service management information and the target session management information in the service framework server are deleted.

[0111] According to an embodiment of the present disclosure, the first preset duration threshold can be set according to the type of the target program on the terminal device, for example, the shopping software can be set to 1 hour, and the bank software can be set to 10 minutes.

[0112] According to an embodiment of the present disclosure, after the user logs in the account on the terminal device, the user may not operate the terminal device for a long time due to personal reasons, or operate for a long time after logging in the account, at this time, in order to protect the user account security, the first service processing duration between the generation time of the service management information generated by the initial login account and the current time can be calculated. If the first service processing duration is greater than the first preset duration threshold, the service management information and the target session management information in the service framework server can be deleted to ensure that the idle memory resources in the service framework server can meet the use of other users and the business response efficiency.

[0113] According to an embodiment of the present disclosure, after deletion, the terminal device can pop up a re-login option to facilitate the user to continue using the terminal device to process the business.

[0114] According to an embodiment of the present disclosure, by calculating whether the first service processing duration between the generation time of the service management information and the current time meets the first preset duration threshold, it is determined whether to delete the service management information and the target session management information in the service framework server, thereby avoiding the leakage of user information caused by abnormal user accounts, and reducing the memory pressure of the service framework server.

[0115] According to an embodiment of the present disclosure, the data processing method further comprises:

[0116] In a case where the number of target session management information in the service framework server meets a preset threshold, a second service processing duration between the generation time of each target session management information and the current time is calculated;

[0117] In a case where the second service processing duration meets a second preset duration threshold, the service management information and the target session management information in the service framework server are deleted.

[0118] According to an embodiment of the present disclosure, the preset threshold and the second preset duration threshold can be set according to actual needs, for example, the preset threshold is 10000, and the second preset duration threshold is 20 minutes.

[0119] According to the embodiment of the present disclosure, when more users use the target program on the terminal device to handle the business, the business framework server will face greater memory pressure, at this time, in order to avoid the business framework server from being down, the target session management information in the business framework server can be cleaned when the number of target session management information is greater than a preset threshold, and the specific cleaning method is to delete the target session management information whose second business handling duration is greater than a second preset duration threshold.

[0120] According to the embodiment of the present disclosure, when the number of target session management information is large, the target session management information in the business framework server is deleted based on the deletion standard, thereby ensuring that the business framework server retains sufficient computing power to provide services for other users.

[0121] According to the embodiment of the present disclosure, the terminal device creates a basic framework service group session when starting, loads the business group configuration parameters returned by the basic framework service group, including the interface path of business group session creation, session update, and session signing out, and actively performs session creation, session update, and session update processing in the session timeout scenario of the reconstruction session and the main session data update when accessing the business framework server.

[0122] Figure 4 The structure block diagram of the data processing system according to the embodiment of the present disclosure is schematically shown.

[0123] As Figure 4 shown, the data processing system between different framework servers of the embodiment includes a terminal device 410, a management framework server 420, and a business framework server 430.

[0124] The at least one terminal device 410 is configured to generate initial session management information when a user logs in an account on the terminal device;

[0125] The management framework server 420 is configured to obtain the initial session management information uploaded by the terminal device; and

[0126] The business framework server 430, the management framework server, and the business framework server are constructed based on different technology stacks, and the business framework server includes an obtaining module 431, a constructing module 432, and a processing module 433.

[0127] The obtaining module 431 is configured to generate business management information in response to a business operation instruction of a user by the terminal device, and obtain the initial session management information and the business management information respectively;

[0128] The constructing module 432 is configured to parse the initial session management information to create target session management information;

[0129] The processing module 433 is configured to process the service management information based on the target session management information.

[0130] According to the embodiments of the present disclosure, by utilizing the management framework server and the service framework server to be responsible for different functional modules, the initial session management information uploaded by the terminal device is acquired by the management framework server when the user logs in, and the initial session management information and the service management information are acquired by the service framework server from the management framework server and the terminal device when the user handles the service, so that the service framework server creates the target session management information based on the initial session management information, and finally processes the service management information. By dividing the servers based on different technology stacks according to the functional modules, the load pressure caused by the user using the target program on the server can be reduced, so that the user can obtain a fast response when using the target program, and the user experience of using the target program is improved.

[0131] According to the embodiments of the present disclosure, any one of the acquisition module 431, the construction module 432, and the processing module 433 can be combined in one module, or any one of the modules can be split into multiple modules. Alternatively, at least part of the function of one or more of the modules can be combined with at least part of the function of the other modules, and implemented in one module. According to the embodiments of the present disclosure, at least one of the acquisition module 431, the construction module 432, and the processing module 433 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or any other reasonable manner that can be integrated or packaged by a circuit, such as a hardware or firmware, or any one of software, hardware, and firmware or any appropriate combination of any of them. Alternatively, at least one of the acquisition module 431, the construction module 432, and the processing module 433 can be at least partially implemented as a computer program module that can perform corresponding functions when the computer program module is run.

[0132] Figure 5 A block diagram of an electronic device suitable for implementing the above method according to an embodiment of the present disclosure is schematically shown.

[0133] As Figure 5As shown, the electronic device 500 according to an embodiment of the present disclosure includes a processor 501 that can perform various appropriate actions and processes according to a program stored in a read only memory (ROM) 502 or a program loaded into a random access memory (RAM) 503 from a storage section 508. The processor 501 can include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor, and / or a related chipset, and / or a special purpose microprocessor (e.g., an application specific integrated circuit (ASIC)), and so on. The processor 501 can also include an on-board memory for cache use. The processor 501 can include a single processing unit or multiple processing units for executing different actions of the method processes according to embodiments of the present disclosure.

[0134] In the RAM 503, various programs and data required for the operation of the electronic device 500 are stored. The processor 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. The processor 501 performs various operations of the method processes according to embodiments of the present disclosure by executing the programs in the ROM 502 and / or the RAM 503. Note that the programs can also be stored in one or more memories other than the ROM 502 and the RAM 503. The processor 501 can also perform various operations of the method processes according to embodiments of the present disclosure by executing the programs stored in the one or more memories.

[0135] According to embodiments of the present disclosure, the electronic device 500 can further include an input / output (I / O) interface 505 that is also connected to the bus 504. The electronic device 500 can further include one or more of the following components connected to the input / output (I / O) interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the input / output (I / O) interface 505 as necessary. A removable recording medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 510 as necessary, so that a computer program read out therefrom is installed in the storage section 508 as necessary.

[0136] The present disclosure also provides a computer readable storage medium, which can be included in the device / apparatus / system described in the above embodiments, or exist separately without being assembled into the device / apparatus / system. The above computer readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the present disclosure.

[0137] According to an embodiment of the present disclosure, the computer readable storage medium can be a non-volatile computer readable storage medium, which can include, but is not limited to, 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), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any appropriate combination thereof. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in connection with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, the computer readable storage medium can include one or more memories of the ROM 502 and / or the RAM 503 described above and / or one or more memories other than the ROM 502 and the RAM 503.

[0138] Embodiments of the present disclosure also include a computer program product, which includes a computer program containing program codes for executing the methods shown in the flowcharts. When the computer program product is run in a computer system, the program codes are used to make the computer system implement the methods provided by the embodiments of the present disclosure.

[0139] The above functions defined in the system / apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 501. According to an embodiment of the present disclosure, the system, apparatus, module, unit, etc. described above can be implemented by computer program modules.

[0140] In one embodiment, the computer program can rely on a tangible storage medium such as an optical storage medium, a magnetic storage medium, etc. In another embodiment, the computer program can also be transmitted, distributed, and downloaded in the form of a signal via a network medium, and be downloaded and installed through the communication part 509 and / or installed from the detachable medium 511. The program codes contained in the computer program can be transmitted via any appropriate network medium, including but not limited to wireless, wired, etc., or any appropriate combination thereof.

[0141] In such embodiments, the computer program can be downloaded and installed from the network through the communication section 509, and / or installed from the removable media 511. When the computer program is executed by the processor 501, the above-described functions defined in the system of the embodiments of the present disclosure are executed. According to the embodiments of the present disclosure, the system, device, apparatus, module, unit, and the like described above can be implemented by the computer program modules.

[0142] According to the embodiments of the present disclosure, the program code for executing the computer program provided by the embodiments of the present disclosure can be written in any combination of one or more programming languages, and specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming language, and / or assembly / machine language. The programming language includes, but is not limited to, such as Java, C++, python, "C" language or similar programming language. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case involving a remote computing device, the remote computing device can be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, connected to the Internet through an Internet service provider).

[0143] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment, or a portion of code that contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders than those noted in the drawings. For example, two blocks that are shown in succession can actually be executed substantially concurrently, or they can sometimes be executed in reverse order, depending on the involved functions. It should also be noted that each block in the block diagrams or flowcharts, and the combination of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0144] Those skilled in the art can understand that the features described in various embodiments of the present disclosure can be combined and / or integrated in various combinations, even if such combinations are not explicitly described in the present disclosure. In particular, the features described in various embodiments of the present disclosure can be combined and / or integrated in various combinations without departing from the spirit and teachings of the present disclosure. All such combinations and / or integrations fall within the scope of the present disclosure.

[0145] The above describes embodiments of the present disclosure. However, these embodiments are merely for illustrative purposes, and are not intended to limit the scope of the present disclosure. Although each embodiment is described above separately, this does not mean that the measures in each embodiment cannot be used advantageously in combination. Those skilled in the art can make various substitutions and modifications without departing from the scope of the present disclosure, and these substitutions and modifications should all fall within the scope of the present disclosure.

Claims

1. A method of data processing between different frame servers, characterized by, The method comprises: In the case that a user logs in an account on a terminal device, obtaining initial session management information uploaded by the terminal device by using a management framework server; In the case that the terminal device generates service management information in response to a service operation instruction of the user, obtaining the initial session management information and the service management information by using a service framework server, wherein the management framework server and the service framework server are divided from each other by means of physical isolation and are constructed based on different technology stacks; Analyzing the initial session management information by using the service framework server to create target session management information; Processing the service management information by using the service framework server based on the target session management information; In the case that the number of target session management information in the service framework server meets a preset threshold, calculating a second service handling time length between the generation time of each target session management information and the current time; In the case that the second service handling time length meets a second preset time length threshold, performing deletion processing on the service management information and the target session management information in the service framework server.

2. The method of claim 1, wherein, Before the management framework server obtains the initial session management information, the method further comprises: Performing multiple encryption processing on the initial session management information by using the management framework server to obtain encrypted initial session management information, so as to transmit the encrypted initial session management information to the service framework server.

3. The method of claim 2, wherein, Performing multiple encryption processing on the initial session management information by using the management framework server to obtain encrypted initial session management information, comprises: Performing symmetric encryption processing on the initial session management information by using the management framework server to obtain symmetric encryption information; Performing asymmetric encryption processing on the symmetric encryption information by using the management framework server to obtain asymmetric encryption information, wherein the asymmetric encryption information represents the encrypted initial session management information.

4. The method according to claim 2 or 3, characterized in that, Generating target session management information based on the initial session management information by using the service framework server, comprises: Performing double decryption processing on the encrypted initial session management information by using the service framework server to obtain a target decryption result; In the case that the target decryption result comprises decrypted session management information, creating the target session management information according to the decrypted session management information by using the service framework server.

5. The method of claim 4, wherein, Performing double decryption processing on the encrypted initial session management information by using the service framework server to obtain a target decryption result, comprises: Performing asymmetric decryption processing on the encrypted initial session management information by using the service framework server to obtain asymmetric decryption result; In a case where the asymmetric decryption result represents decryption failure, a first sub-decryption result is generated by using the service framework server, wherein the first sub-decryption result does not include the decryption session management information, the first sub-decryption result represents that the encrypted initial session management information does not belong to the management framework server based on the initial session management information uploaded by the terminal device, and the target decryption result includes the first sub-decryption result.

6. The method of claim 5, wherein, Further comprising: In a case where the asymmetric decryption result represents decryption success, asymmetric decryption information is generated by using the service framework server; The asymmetric decryption information is processed by using the service framework server to obtain a second sub-decryption result including the decryption session management information, and the target decryption result further includes the second sub-decryption result.

7. The method of claim 1, wherein, Further comprising: In a case where the user changes the basic configuration information on the terminal device, the management framework server acquires new initial session management information uploaded by the terminal device, so that the service framework server creates new target session management information based on the new initial session management information, wherein the new initial session management information is generated by the terminal device based on the changed basic configuration information.

8. The method of claim 1, wherein, Further comprising: In a case where a first service handling duration between the generation time of the service management information and the current time satisfies a first preset duration threshold, the service management information and the target session management information in the service framework server are deleted.

9. A data processing system between different frame servers, characterized by, The system comprises: A terminal device, configured to generate initial session management information in a case where a user logs in an account on the terminal device; A management framework server, configured to acquire initial session management information uploaded by the terminal device; and A service framework server, the management framework server and the service framework server are divided by a physically isolated deployment manner and are constructed based on different technology stacks, and the service framework server is configured to: Generate service management information in response to a service operation instruction of the user, and acquire the initial session management information and the service management information respectively; Parse the initial session management information to create target session management information; Process the service management information based on the target session management information; In a case where the number of the target session management information satisfies a preset threshold, calculate a second service handling duration between the generation time of each target session management information and the current time; In a case where the second service handling duration satisfies a second preset duration threshold, delete the service management information and the target session management information. 10.An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1-8.

11. A computer readable storage medium having stored thereon a computer program or instructions, characterized in that, The computer program or instructions are executed by the processor to implement the steps of the method according to any one of claims 1-8.

12. A computer program product comprising computer programs or instructions, characterized in that, The computer program or instructions implement the steps of the method according to any one of claims 1-8 when executed by a processor.

Citation Information

Patent Citations

  • Data processing method and device based on platform development

    CN114064325A

  • Information interaction method and device, equipment, storage medium and program product

    CN118568707A