Information interaction method and device, equipment, storage medium and program product
Through the combination of distributed session managers and grayscale filters, the problem of user login when the old and new systems operate in parallel is solved, the experience and data consistency are improved, and the system migration and grayscale release process is simplified.
Patent Information
- Application Number
- CN202410744718.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-08-30
AI Technical Summary
During the transformation of enterprise system architecture, when old and new systems operate in parallel, users need to log in multiple times, resulting in reduced user experience, increased risk of data inconsistency, and high memory usage for storing login information.
The distributed session manager is used to store and extract login information, allowing users authenticated from the new system to log in to the old system without any sense, avoiding repeated storage and verification, and using grayscale filters to call the corresponding server to process information based on user tags.
It improves the user experience, saves storage resources, reduces the risk of data inconsistency, simplifies the interaction process between systems, and optimizes the system migration and grayscale release process.
Smart Images

Figure CN118568707A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology or financial technology, and specifically to an information interaction method, device, equipment, storage medium and program product. Background Art
[0002] With the development of computer technology, the system architecture of enterprises has gradually begun to transform to gradually meet the needs of transforming the old system architecture into a domestic new system architecture. This transformation process is generally accompanied by the gradual replacement of the functions of the old system with the functions of the new system to achieve the migration of the functions of the old system to the new system architecture, and the functions of the new system also need to be developed simultaneously.
[0003] In the process of realizing the invention concept of the present disclosure, the inventors found that the following problems generally exist in the related technologies: since the new system has not yet completely replaced the old system, there is generally a stage in which the new system and the old system operate in parallel during the transformation process. When the target object accesses the new system or the old system, it will log in multiple times, and the login information of the target object needs to be stored repeatedly between the new system and the old system. This not only reduces the user experience, but also increases the memory usage of the device used to store the login information, as well as the risk of data inconsistency. Summary of the invention
[0004] In view of the above problems, the present disclosure provides an information interaction method, apparatus, device, storage medium and program product that improve user experience, save memory usage and reduce the risk of data inconsistency.
[0005] One aspect of the present disclosure provides an information interaction method, which includes: when a target object passes login authentication of a first system, using a distributed session manager to store session information generated based on the login authentication, wherein the session information includes login information of the target object that has passed authentication of the first system; extracting login information of the target object that has passed authentication of the first system from the distributed session manager according to request information for accessing a second system, wherein the request information is obtained in response to an operation of the target object on an interface of the first system; when the login information of the target object that has passed authentication of the first system passes verification, extracting an operation page associated with the request information from the second system; and loading the operation page into the first system to display the operation page through the first system.
[0006] According to an embodiment of the present disclosure, the above-mentioned request information is obtained in response to the operation of the above-mentioned target object on the interface of the above-mentioned first system, including: triggering a menu routing controller according to the operation of the above-mentioned target object on the menu on the interface of the above-mentioned first system; using the above-mentioned menu routing controller to parse the URL of the above-mentioned menu to obtain a parsing result; when the above-mentioned parsing result indicates that the URL of the above-mentioned menu contains the identification of the above-mentioned second system, generating request information for requesting access to the second system.
[0007] According to an embodiment of the present disclosure, when the login information of the target object that has been authenticated by the first system passes the verification, the operation page associated with the request information is extracted from the second system, including: splicing the URL of the menu with a predetermined access format to obtain a spliced URL, wherein the predetermined access format is determined based on the system architecture of the second system; using the spliced URL to access the second system, and using the verified login information to automatically log in to the second system, so as to extract the operation page associated with the request information from the second system.
[0008] According to an embodiment of the present disclosure, the request information includes a session identifier associated with the session information of the target object; the method of extracting the login information of the target object that has been authenticated by the first system from the distributed session manager based on the request information for accessing the second system includes: using the second system to generate a query request to the distributed session manager based on the session identifier; and in response to the query request, extracting the login information from the session information associated with the session identifier in the distributed session manager to obtain the login information of the target object that has been authenticated by the first system.
[0009] According to an embodiment of the present disclosure, the method further includes: in response to loading the operation page into the first system operation, updating the validity period of the session information in the distributed session manager.
[0010] According to an embodiment of the present disclosure, the above method also includes: in response to the above target object logging into the above first system, using a grayscale filter to assign a grayscale label to the above target object; when the above grayscale label represents that the above target object is a non-grayscale target object, calling a non-grayscale server to process the information sent by the above target object; when the above grayscale label represents that the above target object is a grayscale target object, calling a grayscale server to process the information sent by the above target object.
[0011] According to an embodiment of the present disclosure, the grayscale label is stored in the distributed session manager; when the grayscale label represents that the target object is a grayscale target object, the grayscale server is called to process the information sent by the target object, including: when the grayscale target object requests to access the second system, the grayscale label of the grayscale target user is searched from the distributed session manager; and the second system is used to call the grayscale server of the second system according to the grayscale label to process the information sent by the target object.
[0012] Another aspect of the present disclosure also provides an information interaction device, which includes: a storage module, which is used to use a distributed session manager to store session information generated based on the login authentication when the target object passes the login authentication of the first system, wherein the session information includes the login information of the target object that has passed the authentication of the first system; a first extraction module, which is used to extract the login information of the target object that has passed the authentication of the first system from the distributed session manager according to the request information for accessing the second system, wherein the request information is obtained in response to the operation of the target object on the interface of the first system; a second extraction module, which is used to extract the operation page associated with the request information from the second system when the login information of the target object that has passed the authentication of the first system passes the verification; and a loading module, which is used to load the operation page into the first system so as to display the operation page through the first system.
[0013] Another aspect of the present disclosure provides an electronic device, including: 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 above-mentioned information interaction method.
[0014] Another aspect of the present disclosure further provides a computer-readable storage medium having a computer program or instruction stored thereon, which implements the steps of the above-mentioned information interaction method when the above-mentioned computer program or instruction is executed by a processor.
[0015] Another aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above-mentioned information interaction method when the above-mentioned computer program or instructions are executed by a processor.
[0016] According to the information interaction method, device, equipment, storage medium and program product provided by the embodiment of the present disclosure, when the target object passes the login authentication of the first system, the session information is stored by using the distributed session manager; according to the request information for accessing the second system, the authenticated login information is extracted from the distributed session manager; when the login information passes the verification, the second system is automatically logged in using the login information, and the operation page associated with the request information extracted from the second system is loaded into the first system and displayed through the first system. Since in the interaction process between different systems, when the target object needs to access the second system in the first system, the second system can automatically extract the login information of the target user from the distributed session manager according to the request information, and can automatically log in to the second system when the verification passes, so that the target object can realize the non-sensing login to the second system, without the target object entering the login information again in the interface of the second system, which can improve the user experience. In addition, since the login information can be stored in the distributed session manager, the login information does not need to be repeatedly stored between the first system and the second system, and the risk of data inconsistency can also be reduced. In general, the information interaction method, apparatus, device, storage medium and program product provided by the embodiments of the present disclosure can at least partially overcome the problems of low user experience, high memory usage and high risk of data inconsistency in the related technologies, thereby achieving the technical effect of improving user experience, saving memory usage and reducing the risk of data inconsistency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above contents and other purposes, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0018] Figure 1 The application scenario diagram of the information interaction method and device according to the embodiment of the present disclosure is schematically shown;
[0019] FIG2 schematically shows a flow chart of an information interaction method according to an embodiment of the present disclosure;
[0020] Figure 3 A flowchart schematically shows information interaction between systems according to another embodiment of the present disclosure;
[0021] Figure 4 A flowchart schematically shows information interaction between systems according to another embodiment of the present disclosure;
[0022] Figure 5 A flowchart of information interaction according to another embodiment of the present disclosure is schematically shown;
[0023] Figure 6A flowchart schematically shows a load balancer calling a server according to a grayscale label according to an embodiment of the present disclosure;
[0024] Figure 7 A structural block diagram of an information interaction device according to an embodiment of the present disclosure is schematically shown; and
[0025] Figure 8 A block diagram of an electronic device suitable for implementing the information interaction method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0028] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0029] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0030] In the technical solution 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 used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0031] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.
[0032] In the context of enterprise system architecture upgrades and transformations, traditional system architectures face challenges in iterative updates, coupled with the uncertainty of technical dependencies and the risks of open source components due to lack of continuous maintenance, which have led to the gradual elimination of traditional system architectures. It has become a trend to turn to new system architectures for new system construction. This process is accompanied by the innovative development of new functional modules and business models, the development of new system functions and new models, the gradual replacement of old system functions with new system function models, and the simultaneous requirement to gradually migrate old system functions to run under the new system architecture. Therefore, in the process of technology stack transformation, the following problems generally exist:
[0033] The new system architecture has a long launch cycle. Given that the old system architecture has been in operation for many years, there are problems such as outdated technology, redundant functions, high core logic complexity, and personnel changes in the development team. Directly using the new system architecture to completely reconstruct the old system architecture will face significant technical challenges and time-consuming problems. Therefore, the migration cycle of the new system architecture is too long, which will restrict the advancement of technology iteration and system architecture transformation.
[0034] Secondary login and the problem of duplicate data storage caused by it. During the transition period of migration and architectural transformation from the old system architecture to the new system architecture, there will generally be a stage where the old and new systems operate in parallel. During this stage, the old and new systems each have independent domain names, which means that users need to authenticate their identities on two systems each time they visit, which is the so-called "secondary login". This not only affects the user experience, but also requires users to remember two different access points. In addition, this parallel operation mode also raises data consistency challenges. For example, the same transaction needs to be processed across systems, and data needs to be stored repeatedly between the old and new systems, which not only increases the complexity of data management, but also increases the risk of data inconsistency.
[0035] The cost of grayscale release of new and old systems is high. In the scenario of gradual launch (grayscale release) of new and old systems, the main challenge is that the old system architecture still relies on the traditional server deployment model. In specific implementation, grayscale users are distinguished by business logic sorting on the server side. This method is highly coupled with the application code and lacks flexibility. More importantly, the grayscale environment does not achieve completely independent deployment, but requires grayscale test users to use a client login entrance different from that of regular users, which not only increases the complexity of the deployment architecture, but also reduces the user experience. In addition, every grayscale release operation, accompanied by the new system also adopting the grayscale strategy, requires version deployment and configuration adjustment of two sets of load balancers (Server Load Balancer, SLB), which significantly increases the workload and resource consumption of operation and maintenance. Comprehensively considered, the current grayscale release practice has high cost issues in the context of upgrading and transforming the old system architecture. This cost issue is reflected in, for example, complex deployment processes, compromised user experience, and frequent infrastructure adjustment requirements.
[0036] In view of this, the embodiments of the present disclosure provide an information interaction method, apparatus, device, storage medium and program product for improving user experience, saving memory usage of the device and reducing the risk of data inconsistency. Specifically, the method includes: when the target object passes the login authentication of the first system, using a distributed session manager to store session information generated based on the login authentication, wherein the session information includes the login information of the target object that has passed the authentication of the first system; according to the request information for accessing the second system, extracting the login information of the target object that has passed the authentication of the first system from the distributed session manager, wherein the request information is obtained by responding to the operation of the target object on the interface of the first system; when the login information of the target object that has passed the authentication of the first system passes the verification, extracting the operation page associated with the request information from the second system; loading the operation page into the first system to display the operation page through the first system.
[0037] It should be noted that the information interaction method and device determined in the embodiments of the present disclosure can be used in the field of computer technology or the field of financial technology, and can also be used in any field other than the field of computer technology or the field of financial technology. The embodiments of the present disclosure do not limit the application field of the determined information interaction method and device.
[0038] Figure 1 The application scenario diagram of the information interaction method and device according to the embodiments of the present disclosure is schematically shown.
[0039] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a terminal device 101, a network 102, a server 103, a first system 104, a second system 105, and a distributed session manager 106. The network 102 is used to provide a medium for communication links between the terminal device 101 and the server 103, between the first system 104, the second system 105, the distributed session manager 106 and the server 103, between the first system 104 and the second system 105, and between the first system 104 and the second system 105 and the distributed session manager 106. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0040] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc., such as receiving login information input by the user for logging into the first system 104, or receiving or browsing the pages of the first system 104 or the second system 105. Various communication client applications can be installed on the terminal device 101, such as transaction applications, shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0041] The terminal device 101 may be any electronic device having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, and the like.
[0042] The server 103 may be a server that provides various services, such as a background management server (only as an example) that provides support for information sent by the user using the terminal device 101. The background management server may analyze and process the received information and other data, and feed back the processing results (such as web pages, information, or data obtained or generated based on the information) to the terminal device.
[0043] The first system 104 may be a system with a new system architecture, for example; the second system 105 may be a system with an old system architecture, for example. The distributed session manager 106 may be used to store session information generated when a user interacts with the first system 104 and the second system 105 through the terminal device 101.
[0044] It should be noted that the information interaction method provided in the embodiment of the present disclosure can generally be executed by the server 103. Accordingly, the information interaction device provided in the embodiment of the present disclosure can generally be set in the server 103. The information interaction method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 103 and can communicate with the terminal device 101, the first system 104, the second system 105, the distributed session manager 106 and / or the server 103. Accordingly, the information interaction device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 103 and can communicate with the terminal device 101, the first system 104, the second system 105, the distributed session manager 106 and / or the server 103.
[0045] It should be understood that Figure 1 The number of terminal devices, networks, servers, first systems, second systems, and distributed session managers in the embodiment is only illustrative. According to implementation requirements, there may be any number of terminal devices, networks, servers, first systems, second systems, and distributed session managers.
[0046] The following will be based on Figure 1 The scene described by Figure 2~Figure 6 The information interaction method of the embodiment of the present disclosure is described in detail.
[0047] Figure 2 The flowchart of the information interaction method according to the embodiment of the present disclosure is schematically shown.
[0048] like Figure 2 As shown, the information interaction method of this embodiment may include operations S210 to S240.
[0049] In operation S210, when the target object passes the login authentication of the first system, the distributed session manager is used to store session information generated based on the login authentication, wherein the session information includes the login information of the target object that has passed the login authentication of the first system.
[0050] In operation S220, the login information of the target object authenticated by the first system is extracted from the distributed session manager according to the request information for accessing the second system, wherein the request information is obtained in response to the operation of the target object on the interface of the first system.
[0051] In operation S230, when the login information of the target object authenticated by the first system passes the verification, an operation page associated with the request information is extracted from the second system.
[0052] In operation S240, the operation page is loaded into the first system so as to display the operation page through the first system.
[0053] Optionally, the target object may include a user, or an intelligent robot or intelligent system that automatically logs into the system.
[0054] Optionally, the first system may be a new system architecture, such as a Vue system architecture (a progressive framework for building user interfaces). The second system may be a system based on the HTML5 (HyperText Markup Language 5, a language description method for building network content, the fifth revision of the HTML standard) and JS (JavaScript, a programming language) technology stack.
[0055] Optionally, the target object may input login information, such as a login account and password, in the interface of the first system so that the first system can verify the login account and password. For example, the login account and password input by the target object are compared with the registered account and password provided by the target object when registering the first system. If the login account and the registered account are consistent, and the login password and the registered password are consistent, it is considered that the login authentication of the first system has been passed. If there is an inconsistency in the login account or the login password, information that the login authentication failed can be fed back to the target object.
[0056] Optionally, the distributed session manager can be deployed as an independent service in the server cluster to ensure the stability and scalability of the session storage and retrieval service.
[0057] Optionally, when the target object logs in to the first system, session information is generated, such as the time when the target object requests to log in, the login account and login password input by the target object, and the authentication time and authentication result of the login account and login password. These session information can be stored in the distributed session manager. In one embodiment, if the target object fails to pass the login authentication, the wrong login account and / or login password input by the target object and the number of wrong inputs can also be stored in the distributed session manager, so as to generate alarm information according to the input error situation later. It can be understood that the acquisition of the login information of the target object and the storage of the session information in the embodiment of the present disclosure are all carried out with the permission of the target object. For example, before obtaining or storing the information, a permission request can be sent to the target object, and a corresponding operation entrance is provided for the user to choose to authorize or refuse. With the permission of the target object, the acquisition or storage operations are performed. The whole process complies with relevant laws, regulations and standards, and necessary confidentiality measures are taken, which does not violate public order and good customs.
[0058] Optionally, the inventors found that in the process of promoting the technical architecture transformation and transition of the old system, one of the core issues to be urgently resolved is the inconvenience of secondary login caused by discontinuous session state, and ensuring that data is effectively synchronized between the new and old systems to avoid the problem of redundant storage, thereby improving the smoothness of information interaction and maintaining data consistency and security. In response to this, the embodiment of the present disclosure provides a distributed session manager, which at least partially overcomes the problems of discontinuous session state, high memory usage for storing session information, and high risk of data inconsistency caused by the new system having one set of session information and the old system having one set of session information, thereby facilitating the target object to achieve seamless login, while improving the user experience, saving memory usage for storing session information, and reducing the risk of data inconsistency.
[0059] Optionally, after the target object passes the login authentication of the first system, the target object can operate on the interface of the first system. When the target object navigates or clicks on a menu or function related to the second system on the interface of the first system, request information for accessing the second system can be generated, such as requesting access to the second system, or obtaining the menu or function required by the target object from the second system.
[0060] Optionally, in response to the request information, the second system may extract the target object's login information that has been authenticated by the first system from the distributed session manager, such as the login account and login password that have been authenticated by the first system, and verify the login account and login password. For example, the second system may store the target object's registered account and registration password when registering the second system, and compare the login account and login password with the registered account and registration password when registering the second system. If the login account and login password are consistent, it can be considered that the verification is passed, and the login account and login password are automatically used to log in to the second system, so that the user can pass the verification process of the second system without feeling. If at least one of the login account and login password is inconsistent, a verification failure message can be sent to the target object.
[0061] Optionally, the distributed session manager can adopt a secondary cache strategy when storing session information, that is, store session information in the memory of the distributed session manager and in the session database at the same time. If the second system fails to retrieve the login information from the memory, it can be retrieved from the session database to ensure the efficiency and reliability of data access. Thanks to the high-availability design and memory cache strategy of this distributed session manager, the setting and retrieval operations of session information can achieve sub-second response, fundamentally optimizing the consistency and efficiency of switching between multiple systems, and providing strong technical support for the seamless integration of new and old systems.
[0062] Optionally, the verification process of the second system described above may require that the target object is registered in both the first system and the second system. In another embodiment, the target object may also be registered only in the first system. Specifically, in the case where the target object is only registered in the first system, the second system may adopt the following operations during verification: the second system may be configured with a list of target objects that are allowed to log in or a list of target objects that are not allowed to log in. In this case, the login account of the target object when logging in to the first system may be matched with the list of target objects that are allowed to log in or the list of target objects that are not allowed to log in. If it matches the list of target objects that are allowed to log in, the target object may be logged in directly; if it matches the list of target objects that are not allowed to log in, a verification failure message may be sent to the target object.
[0063] Optionally, if the second system is verified, the second system can directly use the verified login account and login password to automatically log in, and load the menu or function page requested by the user to the interface of the first system, and display it through the first system. It is understandable that only the menu or function page of the second system can be loaded here, and there is no need to load the entire second system. In this way, the resource usage rate when loading the page can be saved, and the requested page can be displayed to the target object more efficiently and quickly, which helps to improve resource utilization and the target object's experience.
[0064] According to the information interaction method, device, equipment, storage medium and program product provided by the embodiment of the present disclosure, when the target object passes the login authentication of the first system, the session information is stored by using the distributed session manager; according to the request information for accessing the second system, the authenticated login information is extracted from the distributed session manager; when the login information passes the verification, the second system is automatically logged in using the login information, and the operation page associated with the request information extracted from the second system is loaded into the first system and displayed through the first system. Since in the interaction process between different systems, when the target object needs to access the second system in the first system, the second system can automatically extract the login information of the target user from the distributed session manager according to the request information, and can automatically log in to the second system when the verification passes, so that the target object can realize the non-sensing login to the second system, without the target object entering the login information again in the interface of the second system, which can improve the user experience. In addition, since the login information can be stored in the distributed session manager, the login information does not need to be repeatedly stored between the first system and the second system, and the risk of data inconsistency can also be reduced. In general, the information interaction method, apparatus, device, storage medium and program product provided by the embodiments of the present disclosure can at least partially overcome the problems of low user experience, high memory usage and high risk of data inconsistency in the related technologies, thereby achieving the technical effect of improving user experience, saving memory usage and reducing the risk of data inconsistency.
[0065] Optionally, the above-described operation of obtaining request information for requesting access to the second system in response to the target object's operation on the interface of the first system may include the following process: triggering a menu routing controller according to the target object's operation on a menu on the interface of the first system; using the menu routing controller to parse the menu's URL to obtain a parsing result; and generating request information for requesting access to the second system when the parsing result indicates that the menu's URL contains an identifier of the second system.
[0066] Optionally, the menu routing controller can be triggered by the operation of the target object clicking the menu on the interface of the first system. The menu routing controller may have a pre-set routing strategy. For example, when the URL of the menu (e.g., the URL (uniform resource locator) of the menu) contains the identifier of the first system (e.g., the field of the first system, etc.), or the format of the first system (e.g., a format based on the Vue framework), the menu of the first system is directly loaded; when the URL of the menu (e.g., the URL of the menu) contains the identifier of the second system (e.g., the field of the second system, etc.), or the format of the second system (e.g., a format based on the HTML5 framework), a request information for accessing the second system can be generated, and the menu of the second system can be loaded according to operations S220 to S240.
[0067] Optionally, the menu routing controller can parse the menu's URL, such as extracting a system identifier in the URL, or parsing the format of the URL to determine whether the URL belongs to the first system or the second system, and generate request information for requesting access to the second system when the parsing result indicates that the menu's URL has an identifier of the second system, or the format of the URL is the format of the second system.
[0068] According to the embodiments of the present disclosure, the menu routing controller can intelligently direct the target object request to the corresponding system module. The menu routing controller triggers the loading and display of the corresponding system by monitoring the changes of the URL in real time, thereby ensuring a smooth transition of the interaction. This mechanism not only accelerates the integration and deployment process of the old and new systems, but also ensures the independence between the two and avoids mutual interference. In addition, by linking the first system and the second system through the menu routing controller, it is not necessary to wait for the second system to be transformed into the first system before the application can be launched, thereby shortening the cycle from development to launch of the project and improving the overall development efficiency and system stability of the transformation task.
[0069] Optionally, the request information includes a session identifier associated with the session information of the target object; the operation described above of extracting the login information of the target object that has been authenticated by the first system from the distributed session manager based on the request information for accessing the second system may include the following process: using the second system, based on the session identifier, generating a query request to the distributed session manager; in response to the query request, in the distributed session manager, extracting the login information from the session information associated with the session identifier to obtain the login information of the target object that has been authenticated by the first system.
[0070] Optionally, after the target object completes login authentication in the first system, its session details will be securely saved in the distributed session manager. Subsequently, when the target object navigates to the functional module involving the second system, the first system will carry the session identifier (such as the session ID associated with the target object's session information) and forward it to the second system along with the access request. The second system uses this session ID to initiate a query request to the distributed session manager (such as a request to query the login information associated with the session ID), and extracts and verifies the login information from the authenticated session information. Once the verification is passed, the target object can pass the verification process without feeling anything, and can directly load the specified page requested in the second system without the need for a second login, which significantly improves the user experience.
[0071] Optionally, the above-described operation of extracting the operation page associated with the request information from the second system when the login information of the target object that has been authenticated by the first system has passed the verification may include the following process: splicing the menu URL with a predetermined access format to obtain a spliced URL, wherein the predetermined access format is determined based on the system architecture of the second system; using the spliced URL to access the second system, and using the verified login information to automatically log in to the second system to extract the operation page associated with the request information from the second system.
[0072] Optionally, the predetermined access format can be determined based on the system architecture of the second system, such as by concatenating the domain name of the menu URL, or by concatenating specified characters (such as " / "), etc., to obtain a concatenated URL that can access the second system. Using the URL and verified login information, the second system can be automatically logged in to extract the menu or function page related to the request from the second system.
[0073] Optionally, after the page of the second system is loaded into the interface of the first system, in response to the operation of completing the loading, the validity period of the session information in the distributed session manager can be updated. In one embodiment, the session information stored in the distributed session manager can all have a validity period. Once the validity period expires, the distributed session manager can automatically clear the session information stored locally and in the session database. When the target object clicks on the menu and sends a request to the backend, it can query from the distributed session manager whether the session of the session identifier exists according to the session identifier transmitted from the frontend. If it exists, the validity period of the session information corresponding to the session identifier in the distributed session manager can be reset, for example, to 30 minutes, etc., and can be adaptively adjusted according to actual needs.
[0074] Optionally, by setting and updating the validity period for the session information in the distributed session manager and automatically clearing the session information when the validity period expires, the memory usage of the distributed session manager can be saved and the resource utilization and work efficiency of the distributed session manager can be improved.
[0075] Optionally, the information interaction method provided by the embodiment of the present disclosure may also include the following operations: in response to the target object logging into the first system, using a grayscale filter to assign a grayscale label to the target object; when the grayscale label represents that the target object is a non-grayscale target object, calling the non-grayscale server to process the information sent by the target object; when the grayscale label represents that the target object is a grayscale target object, calling the grayscale server to process the information sent by the target object.
[0076] Optionally, a "GrayFilter" grayscale filter mechanism is introduced within the first system. The grayscale filter is integrated into the first system architecture and is used to efficiently execute complex grayscale user identification logic. This design enables the system to quickly identify the identity of grayscale users and securely store grayscale labels in distributed session storage, ensuring that the information can be passed across system boundaries to the second system. After receiving this grayscale label, the second system can automatically parse and route it to the correct service environment based on the grayscale label (for example, grayscale target objects will be routed to the environment processed by the grayscale server, and non-grayscale target objects will be routed to the environment processed by the non-grayscale server), and both grayscale and non-grayscale environments can achieve seamless docking.
[0077] Optionally, the grayscale filter can freely configure the grayscale filtering strategy according to actual needs. For example, a grayscale filtering strategy can be to determine the grayscale label of the target object according to the field of the target object. In one embodiment, the information of the target object can be stored in an information database. There is a field in the information database for identifying whether the target object is a grayscale target object, for example, the grayscale field represents the grayscale target object, and the non-grayscale field represents the non-grayscale target object. It can be understood that the database can determine the grayscale target object and the non-grayscale target object according to the operation of checking the grayscale target object or checking the non-grayscale target object when the target object registers the first system or the second system. The grayscale filter can query the target object from the information database according to the login account of the target object, and determine whether the target object is a grayscale target object according to the grayscale field of the target object, and assign a grayscale label. For example, in the case of a grayscale target object, a grayscale field identifier is added, and in the case of a non-grayscale target object, a non-grayscale field identifier is added or no identifier is added. In this way, when the target object logs into the system next time, the grayscale or non-grayscale target object can be directly determined according to the grayscale label of the target object, without the need to query from the information database.
[0078] In another embodiment, another grayscale filtering strategy may be to determine a grayscale target object or a non-grayscale target object based on the business area of the target object. For example, it is preset in the grayscale filter that when the business area meets the specified area A, it is a grayscale target object; when the business area does not meet the specified geographic area A, it is a non-grayscale target object. In response to the target object's login authentication passing, the business area loaded by the target object is queried from the information database (it can be understood that the area stored in the information database can be determined based on the business area checked by the target object when registering the first system or the second system), and when the business area is the specified area A, a grayscale field identifier is added, and when the business area is not the specified area A, a non-grayscale field identifier is added or no identifier is added. In this way, when responding to the target object logging into the system next time, the grayscale or non-grayscale target object can be directly determined based on the grayscale label of the target object, without the need to query from the information database.
[0079] Optionally, the grayscale filtering strategy in the grayscale filter of the embodiment of the present disclosure can be flexibly and freely configured without having to write a set of program codes for each grayscale filtering strategy, thereby decoupling the problem of high coupling between grayscale filtering and program code and poor flexibility, and achieving the effect of flexibly determining whether the target object is a grayscale user.
[0080] Optionally, the embodiments of the present disclosure may use different servers to perform operations in grayscale and non-grayscale. For example, the first system may be configured with a grayscale server and a non-grayscale server, and the second system may also be configured with a grayscale server and a non-grayscale server, which are respectively used to process grayscale request information (such as requests for system upgrades and improvements) or non-grayscale request information (such as business-related request processing information) sent by the target object, thereby improving the efficiency of grayscale testing.
[0081] Optionally, the grayscale label can be stored in the distributed session manager; when the grayscale label represents that the target object is a grayscale target object, the operation of calling the grayscale server to process the information sent by the target object may include the following process: when the grayscale target object requests to access the second system, searching for the grayscale label of the grayscale target user from the distributed session manager; using the second system to call the grayscale server of the second system to process the information sent by the target object according to the grayscale label.
[0082] Optionally, the grayscale label assigned by the grayscale filter can be stored in the distributed session manager. When the target object needs to operate the grayscale of the second system, a query request can be sent from the distributed session manager, and the distributed session manager returns the grayscale label to the second system, and the second system is accessed using the grayscale label and login information. When the second system recognizes that the grayscale label represents a grayscale user, it can call the grayscale server to process related operations.
[0083] In another embodiment, the second system may also be configured with a non-grayscale server, which can be used to provide relevant non-grayscale services when a non-grayscale user accesses a menu of the second system through the first system.
[0084] The information interaction method proposed in the embodiments of the present disclosure can help the old system to migrate to the new system efficiently and smoothly, and reduce the development cost and shorten the project cycle during the transformation process. This strategy focuses on maintaining the stability of the core functions of the old system, and through a method called "core function first integration", key business capabilities are directly and seamlessly integrated into the new system architecture. In this way, the target objects can immediately enjoy these familiar and reliable functions, and the remaining modules can be gradually migrated as planned, ensuring service continuity and high stability of system operation during the entire transition period. This methodology not only accelerates the iterative integration of functions, but also ensures business continuity, and provides a robust implementation path for system upgrades and transformations. By adopting this technology, the front-end integration of the old and new systems can be quickly realized, solving the pain points in the transformation of the old and new systems of internal applications, and greatly improving the efficiency of application architecture transformation.
[0085] Figure 3 The flowchart of information interaction between systems according to another embodiment of the present disclosure is schematically shown.
[0086] like Figure 3 As shown, the information interaction process of this embodiment may include operations S301 to S306.
[0087] In operation S301, a target object logs into a first system.
[0088] In operation S302, the target object clicks a menu.
[0089] In operation S303, a menu routing controller is triggered.
[0090] In operation S304, it is determined whether the menu is the first system. If it is the first system menu, operation S305 is performed; if it is not the first system menu, operation S306 is performed.
[0091] In operation S305, a first system menu is loaded.
[0092] In operation S306, a menu of the second system is loaded and embedded into the front end of the first system.
[0093] Since the old system functions cannot be fully migrated to the new environment in one go, the strategy adopted by the disclosed embodiment is to develop new functions and adopt advanced technologies in parallel, while seamlessly integrating the old system function modules into the new system architecture. Through physical separation deployment, the new and old systems are each deployed in independent server clusters to achieve optimal resource utilization and isolation. On this basis, a front-end menu routing control hub is designed, which plays a vital role and is responsible for intelligently guiding user requests to the corresponding system modules.
[0094] Specifically, the menu routing controller dynamically parses and maps each menu accessed by the target object to different endpoints in the new and old systems based on the pre-set routing rules, realizing flexible jumps based on URL paths. This means that when the target object navigates to different functions, the system can respond immediately and display the corresponding system interface according to the differentiated routing logic configured by the menu routing controller, whether it is a newly built Vue framework application or an old system interface based on HTML5 and native JS technology stack. The relevant process is detailed as follows Figure 3 shown.
[0095] It is particularly worth mentioning that the architectural design cleverly supports the heterogeneous coexistence of the old and new front-end technology stacks without the need for forced unification, which greatly enhances the flexibility of technology selection. The menu routing controller triggers the loading and display of the corresponding system by monitoring the changes in the URL in real time, ensuring a smooth transition of information interaction. This mechanism not only accelerates the integration and deployment process of the old and new systems, but also ensures the independence between the two and avoids mutual interference, thereby shortening the cycle from project development to launch and improving overall development efficiency and system stability.
[0096] Figure 4 The flowchart of information interaction between systems according to another embodiment of the present disclosure is schematically shown.
[0097] like Figure 4 As shown, the information interaction process of this embodiment may include operations S401 to S410.
[0098] In operation S401, a target object logs into a first system.
[0099] In operation S402, session information of the target object logging into the first system is obtained.
[0100] In operation S403, the user session information is saved in the distributed session manager.
[0101] In operation S404, an interface of the first system is entered.
[0102] In operation S405, the target object clicks a menu.
[0103] In operation S406, it is checked whether the URL of the menu mapping is a menu of the second system. If yes, operation S407 is performed; if not, operation S410 is performed.
[0104] In operation S407, the session information is queried, and the second system is accessed with the session information of the target object.
[0105] In operation S408, the session information is parsed, login information is obtained, and the second system is logged in.
[0106] In operation S409, the menu interface of the second system is loaded into the first system.
[0107] In operation S410, a menu interface of the first system is displayed.
[0108] The single-page application framework temporarily alleviates the problem of rapid system launch, but there is still a technical obstacle: after the target object logs in through the new system entrance, when it tries to access the function that needs to jump to the old system, because the two are deployed on different servers, the target object needs to re-verify its identity in the old system. To overcome this problem, the embodiment of the present disclosure introduces a distributed session management solution, which aims to achieve session consistency and sharing between heterogeneous systems.
[0109] The distributed session manager can be developed in Java, deployed in accordance with the principles of high availability (HA Highly Available, high availability cluster) architecture, and integrated with high-performance data caching and persistence mechanisms. By adopting a secondary cache strategy, even if the required session data is not retrieved in memory for the first time, the system can automatically and seamlessly retrieve and supplement it from the background database, ensuring the efficiency and reliability of data access. This session manager is deployed in a server cluster as an independent service, ensuring the stability and scalability of the service.
[0110] The operating mechanism can be as follows Figure 4 As shown. After the target object completes login authentication in the new system, its session details will be securely saved in the distributed session manager. Later, when the target object navigates to a functional module involving the old system, the new system will carry the session identifier (ID) and forward the request to the old system. The old system uses this session ID to initiate a query request to the distributed session manager to verify and extract the corresponding authenticated session information. Once the verification is passed, the target object can pass the identity authentication without feeling and directly load the specified page of the old system without the need for a second login, which significantly improves the target object's experience.
[0111] Thanks to the high-availability design and memory caching strategy of this distributed session manager, the setting and retrieval operations of session information can achieve sub-second response, fundamentally optimizing the consistency and efficiency of switching between multiple systems, and providing strong technical support for the seamless integration of new and old systems.
[0112] Figure 5 The flowchart of information interaction according to another embodiment of the present disclosure is schematically shown.
[0113] like Figure 5 As shown, the information interaction process of this embodiment may include operations S501 to S509.
[0114] In operation S501, a target object logs into a first system.
[0115] In operation S502, a grayscale label is assigned to the target object using a grayscale filter and returned to the front end.
[0116] In operation S503, the grayscale label is stored in the distributed session manager.
[0117] In operation S504, it is determined whether it is a grayscale target object according to the grayscale label. If it is a grayscale target object, operation S505 is performed; if it is not a grayscale target object, operation S509 is performed.
[0118] In operation S505, the first system grayscale server is called to process the grayscale request operation of the target object.
[0119] In operation S506, the target object accesses a menu of the second system.
[0120] In operation S507, the second system is accessed with the grayscale tag.
[0121] In operation S508, the grayscale server of the second system is called to process the grayscale request operation of the target object.
[0122] In operation S509, the non-grayscale service area of the first system is called to process a non-grayscale request operation of the target object.
[0123] Figure 6 The flowchart of a load balancer calling a server according to a grayscale label according to an embodiment of the present disclosure is schematically shown.
[0124] like Figure 6 As shown, the process may include operations S601 to S603.
[0125] In operation S601 , the load balancer determines whether a target object is a grayscale target object or a non-grayscale target object according to a grayscale label of the target object.
[0126] In operation S602, in case the target object is a non-grayscale target object, a non-grayscale server of the first system or the second system is called.
[0127] In operation S603, in case the target object is a grayscale target object, a grayscale server of the first system or the second system is called.
[0128] In response to the challenges encountered by the old system during the grayscale release process, the embodiments of the present disclosure propose a grayscale release strategy to optimize the release process and improve the target object experience.
[0129] The first step is to migrate the old system from the traditional local deployment mode to the cloud deployment platform, so as to make full use of the elasticity and flexibility of cloud computing. On this basis, an independent grayscale deployment environment is added for the old system to provide services for the target objects participating in the grayscale test. At the same time, by intelligently adjusting the load balancer (SLB) configuration, the target object request is automatically mapped to the corresponding grayscale or production environment, without the need for the target object to manually select or switch the client, which greatly improves transparency and convenience. The relevant process can be as follows Figure 6 shown.
[0130] On the new system side, a new grayscale filter mechanism called "GrayFilter" can be introduced. This filter is integrated into the system architecture and is responsible for efficiently executing complex grayscale target object recognition logic. This design enables the system to quickly identify the identity of grayscale target objects and securely store the grayscale identification information in the distributed session storage, ensuring that the information can be passed across system boundaries to the old system. After receiving this identification, the old system can automatically parse and route it to the correct service environment accordingly, so that seamless docking can be achieved regardless of whether it is a grayscale or formal environment. The relevant process can be as follows Figure 5 shown.
[0131] The implementation of the above strategies not only significantly simplifies the process of grayscale release between the old and new systems and reduces the complexity of operations, but also fundamentally improves the participation experience of the target objects, ensuring the efficient execution of grayscale testing and the smooth transition of system iteration. This solution fully demonstrates the technological innovation advantages brought by the combination of cloud computing and modern software engineering practices.
[0132] It should be noted that, unless it is explicitly stated that there is a sequence of execution between different operations shown in the flowchart in the embodiments of the present disclosure, or there is a sequence of execution between different operations in technical implementation, otherwise, the execution order of multiple operations may not be prioritized, and multiple operations may also be executed simultaneously.
[0133] Based on the above information interaction method, the present disclosure also provides an information interaction device. Figure 7 The device is described in detail.
[0134] Figure 7 The structural block diagram of the information interaction device according to an embodiment of the present disclosure is schematically shown.
[0135] like Figure 7 As shown, the information interaction device 700 of this embodiment includes a storage module 710 , a first extraction module 720 , a second extraction module 730 and a loading module 740 .
[0136] The storage module 710 is used to store the session information generated based on the login authentication by using the distributed session manager when the target object passes the login authentication of the first system, wherein the session information includes the login information of the target object that has passed the authentication of the first system;
[0137] A first extraction module 720 is used to extract the login information of the target object that has been authenticated by the first system from the distributed session manager according to the request information for accessing the second system, wherein the request information is obtained in response to the operation of the target object on the interface of the first system;
[0138] A second extraction module 730 is used to extract an operation page associated with the request information from the second system if the login information of the target object that has been authenticated by the first system passes the verification;
[0139] The loading module 740 is used to load the operation page into the first system so as to display the operation page through the first system.
[0140] According to the information interaction method, device, equipment, storage medium and program product provided by the embodiment of the present disclosure, when the target object passes the login authentication of the first system, the session information is stored by using the distributed session manager; according to the request information for accessing the second system, the authenticated login information is extracted from the distributed session manager; when the login information passes the verification, the second system is automatically logged in using the login information, and the operation page associated with the request information extracted from the second system is loaded into the first system and displayed through the first system. Since in the interaction process between different systems, when the target object needs to access the second system in the first system, the second system can automatically extract the login information of the target user from the distributed session manager according to the request information, and can automatically log in to the second system when the verification passes, so that the target object can realize the non-sensing login to the second system, without the target object entering the login information again in the interface of the second system, which can improve the user experience. In addition, since the login information can be stored in the distributed session manager, the login information does not need to be repeatedly stored between the first system and the second system, and the risk of data inconsistency can also be reduced. In general, the information interaction method, apparatus, device, storage medium and program product provided by the embodiments of the present disclosure can at least partially overcome the problems of low user experience, high memory usage and high risk of data inconsistency in the related technologies, thereby achieving the technical effect of improving user experience, saving memory usage and reducing the risk of data inconsistency.
[0141] According to an embodiment of the present disclosure, the first extraction module may include a triggering unit, a parsing unit, and a generating unit.
[0142] The trigger unit is used to trigger the menu routing controller according to the operation of the target object on the menu on the interface of the first system.
[0143] The parsing unit is used to parse the URL of the menu using the menu routing controller to obtain a parsing result.
[0144] The generating unit is used to generate request information for requesting to access the second system when the URL representing the menu in the parsing result contains the identifier of the second system.
[0145] According to an embodiment of the present disclosure, the second extraction module may include a splicing unit and a first extraction unit.
[0146] The splicing unit is used to splice the URL of the menu with the predetermined access format to obtain a spliced URL, wherein the predetermined access format is determined based on the system architecture of the second system.
[0147] The first extraction unit is used to access the second system by using the concatenated URL, and automatically log in to the second system by using the verified login information, so as to extract the operation page associated with the request information from the second system.
[0148] According to an embodiment of the present disclosure, the first extraction module may include a generation unit and a second extraction unit.
[0149] The generating unit is used to generate a query request to the distributed session manager by using the second system according to the session identifier.
[0150] The second extraction unit is used to extract the login information from the session information associated with the session identifier in the distributed session manager in response to the query request, and obtain the login information of the target object that has been authenticated by the first system.
[0151] According to an embodiment of the present disclosure, the information interaction device may further include an updating module.
[0152] The updating module is used for updating the validity period of the session information in the distributed session manager in response to loading the operation page into the first system operation.
[0153] According to an embodiment of the present disclosure, the information interaction device may further include a response module, a first calling module and a second calling module.
[0154] The response module is used to assign a grayscale label to the target object by using a grayscale filter in response to the target object logging into the first system.
[0155] The first calling module is used to call the non-grayscale server to process the information sent by the target object when the grayscale label represents that the target object is a non-grayscale target object.
[0156] The second calling module is used to call the grayscale server to process the information sent by the target object when the grayscale label represents that the target object is a grayscale target object.
[0157] According to an embodiment of the present disclosure, the second calling module may include a searching unit and a calling unit.
[0158] The searching unit is used to search the grayscale tag of the grayscale target user from the distributed session manager when the grayscale target object requests to access the second system.
[0159] The calling unit is used to use the second system to call the grayscale server of the second system to process the information sent by the target object according to the grayscale label.
[0160] According to an embodiment of the present disclosure, any multiple modules of the storage module 710, the first extraction module 720, the second extraction module 730 and the loading module 740 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the storage module 710, the first extraction module 720, the second extraction module 730 and the loading module 740 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 a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the storage module 710 , the first extraction module 720 , the second extraction module 730 , and the loading module 740 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.
[0161] It should be noted that the information interaction device part in the embodiments of the present disclosure corresponds to the information interaction method part in the embodiments of the present disclosure. The description of the information interaction device part specifically refers to the information interaction method part, which will not be repeated here.
[0162] Figure 8 A block diagram of an electronic device suitable for implementing the information interaction method according to an embodiment of the present disclosure is schematically shown.
[0163] like Figure 8 As shown, the electronic device 800 according to an embodiment of the present disclosure includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 to a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include an onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0164] In RAM 803, various programs and data required for the operation of electronic device 800 are stored. Processor 801, ROM 802 and RAM 803 are connected to each other via bus 804. Processor 801 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 802 and / or RAM 803. It should be noted that the program can also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0165] According to an embodiment of the present disclosure, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to the bus 804. The electronic device 800 may further include one or more of the following components connected to the I / O interface 805: an input portion 806 including a keyboard, a mouse, etc.; an output portion 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 808 including a hard disk, etc.; and a communication portion 809 including a network interface card such as a LAN card, a modem, etc. The communication portion 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage portion 808 as needed.
[0166] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0167] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), 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 disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 802 and / or RAM 803 described above and / or one or more memories other than ROM 802 and RAM 803.
[0168] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the information interaction method provided by the embodiment of the present disclosure.
[0169] The above functions defined in the system / device of the embodiment of the present disclosure are executed when the computer program is executed by the processor 801. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0170] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0171] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0172] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type 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, using an Internet service provider to connect through the Internet).
[0173] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0174] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0175] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. An information interaction method, characterized in that: The method comprises: In the case where the target object passes the login authentication of the first system, using a distributed session manager to store session information generated based on the login authentication, wherein the session information includes the login information of the target object that has passed the authentication of the first system; Extracting login information of the target object authenticated by the first system from the distributed session manager according to request information for accessing the second system, wherein the request information is obtained in response to an operation of the target object on an interface of the first system; extracting an operation page associated with the request information from the second system when the login information of the target object authenticated by the first system passes verification; The operation page is loaded into the first system so as to display the operation page through the first system.
2. The method according to claim 1, characterized in that The request information is obtained in response to an operation of the target object on an interface of the first system, and includes: triggering a menu routing controller according to an operation of the target object on a menu on an interface of the first system; Utilizing the menu routing controller to parse the menu's website address to obtain a parsing result; When the parsing result indicates that the URL of the menu contains the identifier of the second system, request information for requesting access to the second system is generated.
3. The method according to claim 2, characterized in that The step of extracting the operation page associated with the request information from the second system when the login information of the target object authenticated by the first system passes the verification includes: concatenating the URL of the menu with a predetermined access format to obtain a concatenated URL, wherein the predetermined access format is determined based on the system architecture of the second system; The second system is accessed by using the concatenated URL, and the second system is automatically logged in by using the verified login information, so as to extract the operation page associated with the request information from the second system.
4. The method according to claim 1, characterized in that: The request information includes a session identifier associated with the session information of the target object; The step of extracting the login information of the target object authenticated by the first system from the distributed session manager according to the request information for accessing the second system includes: Using the second system, generating a query request to the distributed session manager according to the session identifier; In response to the query request, in the distributed session manager, login information is extracted from the session information associated with the session identifier to obtain the login information of the target object that has been authenticated by the first system.
5. The method according to claim 1, characterized in that The method further comprises: In response to loading the operation page into the first system operation, the validity period of the session information in the distributed session manager is updated.
6. The method according to claim 1, characterized in that The method further comprises: In response to the target object logging into the first system, assigning a grayscale label to the target object using a grayscale filter; In the case where the grayscale label indicates that the target object is a non-grayscale target object, calling a non-grayscale server to process information sent by the target object; In the case where the grayscale label indicates that the target object is a grayscale target object, a grayscale server is called to process information sent by the target object.
7. The method according to claim 6, characterized in that The grayscale label is stored in the distributed session manager; In the case where the grayscale label indicates that the target object is a grayscale target object, calling the grayscale server to process the information sent by the target object includes: In case the grayscale target object requests to access the second system, searching the grayscale tag of the grayscale target user from the distributed session manager; The second system is used to call the grayscale server of the second system according to the grayscale label to process the information sent by the target object.
8. An information interaction device, characterized in that: The device comprises: a storage module, configured to store session information generated based on the login authentication by using a distributed session manager when the target object passes the login authentication of the first system, wherein the session information includes the login information of the target object that has passed the authentication of the first system; a first extraction module, configured to extract, from the distributed session manager, login information of the target object authenticated by the first system according to request information for accessing the second system, wherein the request information is obtained in response to an operation of the target object on an interface of the first system; A second extraction module is used to extract the operation page associated with the request information from the second system if the login information of the target object that has been authenticated by the first system passes the verification; A loading module is used to load the operation page into the first system so as to display the operation page through the first system.
9. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, It is 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 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Data processing method, system, equipment, medium and product between different framework servers
CN119676288A
Data processing method, system, device, medium and product among different framework servers
CN119676288B
