Client adaptation method and device, computer equipment and storage medium
By extracting and comparing the support configuration information of the server and client, the method of determining the target client version in financial industry applications is solved, and the problem of inefficiency is achieved and more efficient client adaptation is achieved.
Patent Information
- Application Number
- CN202311578788.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2025-05-13
AI Technical Summary
In applications in the financial industry, the complexity of protocols and algorithm suites supported by the server and client makes it less efficient to determine the target client version.
By responding to the download request of the terminal, the first support configuration information of the server and the second support configuration information of the client to be downloaded are extracted, and the target version information is compared to determine the target version information, and the target download address is feedback to download the adapted target client.
Improves the efficiency of accurately determining the target version information in complex support configuration information, thereby improving the efficiency of determining the target client of the adapted version.
Smart Images

Figure CN119987834A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of intelligent operation and maintenance and big data, and in particular to a client adaptation method, apparatus, computer equipment, storage medium and computer program product. Background Art
[0002] With the development of computer network technology, the clients of financial industry-related applications are constantly updated and improved, and there are more and more client versions of various applications. In the services provided to users by the HTTPS (Hypertext Transfer Protocol Secure) domain name on the server side, users need to use the client version that is compatible with the server side.
[0003] In traditional technology, the server developer manually extracts the server configuration information through personnel, determines the target client version and target browser version that support access to the server based on the server support protocol and TLS (Transport Layer Security) / SSL (Secure Socket Layer) algorithm suite corresponding to the server configuration information, and displays the download address corresponding to the target client version and target browser version to the user, so as to prompt the user to use or download the target client version adapted to the server to access the server.
[0004] However, the current method of relying on developers to determine the download address corresponding to the target client version is inefficient due to the variety and complexity of protocol versions and algorithm suites supported by the server and the client. Summary of the invention
[0005] Based on this, it is necessary to provide a client adaptation method, apparatus, computer device, computer readable storage medium and computer program product to address the above technical issues.
[0006] In a first aspect, the present application provides a client adaptation method, comprising:
[0007] Responding to a download request of a client to be downloaded sent by the terminal, extracting first support configuration information of the server;
[0008] Determine the second supported configuration information corresponding to the client to be downloaded for each version information;
[0009] Determining target version information corresponding to the client to be downloaded according to a comparison result of the first support configuration information and the second support configuration information;
[0010] The target download address corresponding to the target version information is fed back to the terminal; the target download address is used to download the target client adapted to the first support configuration information of the server.
[0011] In one embodiment, extracting the first support configuration information of the server in response to the download request of the client to be downloaded sent by the terminal includes:
[0012] Get the domain name to be detected of the server corresponding to the client to be downloaded;
[0013] The first support configuration information of the domain name to be detected is extracted through the target certificate uninstallation device.
[0014] In one embodiment, the determining of the second supported configuration information corresponding to the client to be downloaded for each version information includes:
[0015] Determine each version information included in the client type of the client to be downloaded;
[0016] Determine the second supported configuration information corresponding to each version information.
[0017] In one embodiment, determining the target version information corresponding to the client to be downloaded according to the comparison result of the first support configuration information and the second support configuration information includes:
[0018] For each version information of the client to be downloaded, based on the version order of each version information, determining whether an intersection of the first supported configuration information and the second supported configuration information corresponding to the current version information exists;
[0019] According to the version information corresponding to the existence of the intersection part, the target version information corresponding to the client to be downloaded is determined.
[0020] In one embodiment, for each version information of the client to be downloaded, determining the existence of an intersection of the first support configuration information and the second support configuration information corresponding to the current version information based on the version order of each version information includes:
[0021] For the current version information of the client to be downloaded, determining whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information;
[0022] If the current version information of the client to be downloaded is not the latest version information, the next version information is used as the current version information, and the step of determining whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information is performed.
[0023] In one embodiment, after determining the target version information corresponding to the client to be downloaded according to the version information corresponding to the existence of the intersection part, the method further includes:
[0024] Feedback the target version information and non-target version information corresponding to the client to be downloaded to the target object; the non-target version information includes the version information for which the comparison result shows that there is no intersection.
[0025] In a second aspect, the present application further provides a client adaptation device, including:
[0026] The server information extraction module is used to extract the first support configuration information of the server in response to the download request of the client to be downloaded sent by the terminal;
[0027] A version information determination module, used to determine the second supported configuration information corresponding to the to-be-downloaded client of each version information;
[0028] A data processing module, configured to determine target version information corresponding to the client to be downloaded according to a comparison result of the first support configuration information and the second support configuration information;
[0029] The first feedback module is used to feed back a target download address corresponding to the target version information to the terminal; the target download address is used to download a target client that is adapted to the support configuration information of the server.
[0030] In one of the embodiments, the server information extraction module is specifically used to obtain the domain name to be detected of the server corresponding to the client to be downloaded; and extract the first support configuration information of the domain name to be detected through the target certificate uninstallation device.
[0031] In one of the embodiments, the version information determination module is specifically used to determine each version information included in the client type of the client to be downloaded; and determine the second supported configuration information corresponding to each version information.
[0032] In one of the embodiments, the data processing module is specifically used to determine, for each version information of the client to be downloaded, based on the version order of each version information, the existence of the intersection part of the first support configuration information and the second support configuration information corresponding to the current version information; and determine the target version information corresponding to the client to be downloaded according to the version information corresponding to the existence of the intersection part.
[0033] In one of the embodiments, the data processing module is specifically used to determine whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information of the client to be downloaded; if the current version information of the client to be downloaded is not the latest version information, the next version information is used as the current version information, and the step of determining whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information is performed.
[0034] In one embodiment, the device further comprises:
[0035] The second feedback module is used to feed back the target version information and non-target version information corresponding to the client to be downloaded to the target object; the non-target version information includes the version information of which the comparison result shows that there is no intersection.
[0036] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0037] Responding to a download request of a client to be downloaded sent by the terminal, extracting first support configuration information of the server;
[0038] Determine the second supported configuration information corresponding to the client to be downloaded for each version information;
[0039] Determining target version information corresponding to the client to be downloaded according to a comparison result of the first support configuration information and the second support configuration information;
[0040] The target download address corresponding to the target version information is fed back to the terminal; the target download address is used to download the target client adapted to the first support configuration information of the server.
[0041] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0042] Responding to a download request of a client to be downloaded sent by the terminal, extracting first support configuration information of the server;
[0043] Determine the second supported configuration information corresponding to the client to be downloaded for each version information;
[0044] Determining target version information corresponding to the client to be downloaded according to a comparison result of the first support configuration information and the second support configuration information;
[0045] The target download address corresponding to the target version information is fed back to the terminal; the target download address is used to download the target client adapted to the first support configuration information of the server.
[0046] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0047] Responding to a download request of a client to be downloaded sent by the terminal, extracting first support configuration information of the server;
[0048] Determine the second supported configuration information corresponding to the client to be downloaded for each version information;
[0049] Determining target version information corresponding to the client to be downloaded according to a comparison result of the first support configuration information and the second support configuration information;
[0050] The target download address corresponding to the target version information is fed back to the terminal; the target download address is used to download the target client adapted to the first support configuration information of the server.
[0051] The above-mentioned client adaptation method, device, computer equipment, storage medium and computer program product extract the first support configuration information of the server in response to the download request of the client to be downloaded sent by the terminal; determine the second support configuration information corresponding to the client to be downloaded for each version information; determine the target version information corresponding to the client to be downloaded based on the comparison result of the first support configuration information and the second support configuration information; feed back the target download address corresponding to the target version information to the terminal; the target download address is used to download the target client that adapts to the first support configuration information of the server. By adopting this method, by comparing the first support configuration information and the second support configuration information, the target version information can be accurately determined in the complex support configuration information based on the comparison result, thereby improving the efficiency of determining the target client of the adapted version. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 An application environment diagram of a client adaptation method in an embodiment;
[0054] Figure 2A schematic diagram of a process flow of a client adaptation method in an embodiment;
[0055] Figure 3 A schematic diagram of a process for obtaining first support configuration information in an embodiment;
[0056] Figure 4 A schematic diagram of a process for obtaining second support configuration information in an embodiment;
[0057] Figure 5 A schematic diagram of a client to be downloaded included in a server in one embodiment;
[0058] Figure 6 A schematic diagram of a process for determining target version information based on comparison results in one embodiment;
[0059] Figure 7 A schematic diagram of a process for determining a comparison result corresponding to each version information in an embodiment;
[0060] Figure 8 A schematic diagram of providing feedback to a service end of a service provider of a user terminal in one embodiment;
[0061] Fig. 9 A schematic diagram of a specific embodiment of a client adaptation method in an embodiment;
[0062] Fig.10 It is a flowchart of a terminal executing a client adaptation method in another embodiment;
[0063] Fig.11 is a structural block diagram of a client adapter device in one embodiment;
[0064] Fig.12 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] The client adaptation method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 extracts the first support configuration information of the server 104 in response to the download request of the client to be downloaded sent by the terminal 102; the server 104 determines the second support configuration information corresponding to the client to be downloaded for each version information; the server 104 determines the target version information corresponding to the client to be downloaded based on the comparison result of the first support configuration information and the second support configuration information; the server 104 feeds back the target download address corresponding to the target version information to the terminal 102; the target download address is used to download the target client that adapts to the first support configuration information of the server. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones and tablet computers. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0067] In an exemplary embodiment, Figure 2 As shown, a client adaptation method is provided, which is applied to Figure 1 The server 104 in the example is used for explanation, including the following steps 202 to 206.
[0068] in:
[0069] Step 202: In response to a download request of a client to be downloaded sent by a terminal, extract first support configuration information of a server.
[0070] The client to be downloaded may be client software to be downloaded or a browser to be downloaded.
[0071] In the embodiment of the present application, taking the domain name certificate uninstallation work in the financial industry as an example, each domain name certificate uninstallation based on HTTPS protocol encrypted access is completed using a dedicated certificate uninstallation device. The client adaptation method is aimed at various service scenarios in the financial industry, such as online banking, payment, investment and other fields. Service providers need to establish secure encrypted communications with users to ensure that users' sensitive data is not stolen or tampered with.
[0072] Different financial services may require different versions of client software or different versions of browser plug-ins, etc. Therefore, before a user performs a certain financial service, it is necessary to download the adapted client software or establish encrypted communication with the server through an adapted browser, browser plug-in or SDK (Software Development Kit). In the case where the user's terminal does not contain the adapted client software or the adapted browser, the user can visit the official website of the financial service provider and initiate a download request, which can be a download request for the client software that provides financial services, or a download request for the browser that provides encrypted communication. The server extracts the first support configuration information in response to the download request of the download client of the user's terminal. The first support configuration information includes key information of the server, such as the protocol and TLS / SSL algorithm suite supported by the server. After completing the extraction of the first support configuration information, the server inputs the extracted first support configuration information into the information interface corresponding to the server, and provides a subsequent transfer call function for the first support configuration information.
[0073] Step 204: determine the second supported configuration information corresponding to the client to be downloaded for each version information.
[0074] In an embodiment of the present application, the server may pre-store various clients to be downloaded, all version information contained in each client to be downloaded, and second support configuration information corresponding to each version information. The second support configuration information is key information of each version of client software and browser, for example, the protocols and TLS / SSL algorithm suites supported by each version of client software and browser.
[0075] The server determines the second support configuration information corresponding to each version information of the client to be downloaded according to the client to be downloaded included in the download request. After completing the extraction of the second support configuration information, the server inputs the extracted second support configuration information into the information interface corresponding to the client, and provides a subsequent transfer call function for the second support configuration information.
[0076] Step 206: Determine the target version information corresponding to the client to be downloaded according to the comparison result of the first support configuration information and the second support configuration information.
[0077] In the embodiment of the present application, after the server obtains the first support configuration information and the second support configuration information respectively through the information interface corresponding to the server and the information interface corresponding to the client, the server compares the version of the supported protocol and the list of TLS / SSL algorithm suites in the first support configuration information with the version of the supported protocol and the list of TLS / SSL algorithm suites in the second support configuration information. For example, the server determines a match in the supported protocols of the server and the supported protocols of the client, that is, both the client and the server support a certain version of a certain protocol as the comparison result. The server can determine the target version information of the client to be downloaded in the download request based on the matching item or the existence of the matching item, and the target version information includes one or more version numbers or other identification numbers of the client to be downloaded.
[0078] Step 208: Feedback the target download address corresponding to the target version information to the terminal.
[0079] The target download address is used to download the target client that is adapted to the first supporting configuration information of the server.
[0080] In an embodiment of the present application, the server generates a download address of the corresponding client software or browser based on the version number or other identification number of the client to be downloaded contained in the target version information, as the target download address, and feeds back the generated target download address to the user's terminal. The user can download the target client that is adapted to the first supporting configuration information of the server, such as the target client software, the target client browser, the target client browser plug-in or the SDK of the target client browser, etc., based on the target download address fed back by the server.
[0081] In an optional embodiment, when the target domain name of the server changes, for example, after adjusting the supported protocols and TLS / SSL algorithm suite of the target domain name based on demand, the server compares the first supported configuration information with the second supported configuration information of the modified target domain name, thereby improving the accuracy of determining the target version and reducing the design cost of developers for technical transformation of the server.
[0082] In the above client adaptation method, in response to the download request of the client to be downloaded sent by the terminal, the first support configuration information of the server is extracted; the second support configuration information corresponding to the client to be downloaded for each version information is determined; according to the comparison result of the first support configuration information and the second support configuration information, the target version information corresponding to the client to be downloaded is determined; the target download address corresponding to the target version information is fed back to the terminal; the target download address is used to download the target client adapted to the first support configuration information of the server. By adopting this method, by comparing the first support configuration information and the second support configuration information, the target version information can be accurately determined in the complex support configuration information based on the comparison result, thereby improving the efficiency of determining the target client of the adapted version.
[0083] In an exemplary embodiment, Figure 3 As shown, step 202 includes steps 302 to 304 .
[0084] in:
[0085] Step 302, obtaining the domain name to be detected of the server corresponding to the client to be downloaded.
[0086] In an embodiment of the present application, in the financial industry, the server may provide services for multiple domain names, and the client may also provide services for multiple domain names of the server. The server determines the corresponding domain name to be detected based on the client to be downloaded contained in the download request.
[0087] Step 304: extract first support configuration information of the domain name to be detected through the target certificate uninstallation device.
[0088] In the embodiment of the present application, each domain name may need to be decrypted and re-encrypted using a different certificate uninstallation device, and the server extracts the first support configuration information of the domain name to be detected according to the target certificate uninstallation device corresponding to each domain name to be detected. Among them, the target certificate uninstallation device can be a NSAE (an application security gateway) series device, and the target certificate uninstallation device stores the SSL configuration of each domain name included in the server. The server can obtain the first support configuration information by extracting the device configuration file or extracting the configuration information through a device-specific command.
[0089] In this embodiment, the first support configuration information of the domain name to be detected is extracted by the target certificate uninstallation device, which can reduce the error of data collection and improve the accuracy of determining the first support configuration information.
[0090] In an exemplary embodiment, Figure 4 As shown, step 204 includes steps 402 to 404 .
[0091] in:
[0092] Step 402: determine each version information included in the client type of the client to be downloaded.
[0093] In the embodiment of the present application, the server includes multiple client types, for example, Figure 5 As shown, the server includes browser version 1, browser version 2, App (Application) version N-1, App version N-2, etc., as well as the supported protocols and algorithm suite information corresponding to each client type. The server determines the client type of the client to be downloaded and each version information corresponding to the client type in the server according to the information of the client to be downloaded in the download request.
[0094] Step 404: determine the second supported configuration information corresponding to each version information.
[0095] In an embodiment of the present application, the server determines the supported protocols or TLS / SSL algorithm suites corresponding to each version information as the second support configuration information. For example, the client to be downloaded is the target client type of App version N-2, and the server obtains the supported protocol and algorithm suite information corresponding to the target client type of App version N-2.
[0096] In this embodiment, the server obtains the second supported configuration information corresponding to the stored version information, which can reduce errors in data collection and improve the accuracy of determining the second supported configuration information.
[0097] In an exemplary embodiment, Figure 6 As shown, step 206 includes steps 602 to 604 .
[0098] in:
[0099] Step 602: for each version information of the client to be downloaded, based on the version order of each version information, determine whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information.
[0100] In the embodiment of the present application, the version order may be the version order of version release or update. For multiple version information of the client to be downloaded, the server may compare the first support configuration information of the server with the second support configuration information of each version information according to the version order to determine whether the supported protocols, TLS / SSL algorithm suites, etc. included in the first support configuration information and the supported protocols, TLS / SSL algorithm suites, etc. included in the second support configuration information have an intersection. The existence of the intersection is used to reflect the adaptation of the version information to the server, so as to establish secure communication between the server and the client.
[0101] Step 604: Determine the target version information corresponding to the client to be downloaded according to the version information corresponding to the existence of the intersection part.
[0102] In the embodiment of the present application, the server determines the version information corresponding to the second configuration information that has an intersection with the first support configuration information of the server as the target version information, and the target version information can be one or more. Specifically, the server traverses the multiple version information contained in the client to be downloaded, and according to the existence of the intersection part corresponding to each version information, the version information corresponding to the second support configuration information with the intersection part is collected and summarized, and determined as the target version information, representing that the terminal of the user can realize secure communication with the server according to the client of any version information in the target version information, and then the user can use or handle financial services.
[0103] In this embodiment, the target version information is determined by the existence of the intersection between the first support configuration information and the second support configuration information of the server. The method of comparing the intersection is simple and accurate, and can improve the efficiency of determining the target version information.
[0104] In an exemplary embodiment, Figure 7 As shown, step 602 includes steps 702 to 704.
[0105] in:
[0106] Step 702: for the current version information of the client to be downloaded, determine whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information.
[0107] In the embodiment of the present application, the server traverses each version information of the client to be downloaded, and determines the existence of the intersection between the second support configuration information of each version information and the first support configuration information of the target domain name in multiple version information. Specifically, the server extracts the client to be downloaded of the current version information through the information interface corresponding to the client, compares the second support configuration information corresponding to the current version information with the first support configuration information of the target domain name of the server, and determines whether the second support configuration information of the current version information and the first support configuration information have an intersection as the comparison result.
[0108] Step 704: if the current version information of the client to be downloaded is not the latest version information, the next version information is used as the current version information, and a step of determining whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information is performed.
[0109] In the embodiment of the present application, for each historical version of the version information of the client to be downloaded, for example, the current version information may be the initial version. The server compares the supported protocols and TLS / SSL algorithm suite of the initial version with the supported protocols and TLS / SSL algorithm suite of the target domain name, and obtains the comparison result of the client to be downloaded and the target domain name of the current version information. If the comparison result shows that there is an intersection, the server marks the current version information as the target version information. If the current version information is the latest version information, it means that the server has completed the comparison of all version information of the client to be downloaded, and the server ends the process. Otherwise, the server compares the next version information, takes the next version information as the current version information, and compares the second support configuration information of the new current version information with the first support configuration information until the comparison of all version information is completed.
[0110] In this embodiment, the target version information is determined by the existence of the intersection between the first support configuration information and the second support configuration information of the server. The method of comparing the intersection is simple and accurate, and can improve the efficiency of determining the target version information.
[0111] In an exemplary embodiment, after step 604, the method further includes step 6041. Wherein:
[0112] Step 6041, feeding back the target version information and non-target version information corresponding to the client to be downloaded to the target object.
[0113] The non-target version information includes version information for which the comparison result shows that there is no intersection.
[0114] The target object may be a terminal or account of a developer or operation and maintenance personnel on the server side.
[0115] In the embodiment of the present application, the target version information may be a set of client version numbers in the form of version numbers, that is, an adaptation client version number, such as Figure 8 As shown, after the server feeds back the adapted client software download address corresponding to the adapted client version number to the user, the terminal also feeds back the target version information and non-target version information corresponding to the client to be downloaded to the server, that is, both the adapted client version number and the incompatible client version number are fed back to the service provider for reference by the service provider's development and operation and maintenance personnel, so as to provide accurate information for service iteration, technical support, etc.
[0116] In this embodiment, by feeding back the adaptation status of each version information of the client to be downloaded and the target domain name to the target object, the iteration of financial services can be promoted, the efficiency of technical support can be improved, and the security of financial services can be improved.
[0117] In an exemplary embodiment, the second support configuration information is transmitted and displayed in the form of a list.
[0118] In the embodiment of the present application, the second support configuration information is transmitted in the form of a list. For example, the client to be downloaded is client A, and the version information of client A includes client A1.0, client A1.1, and client A1.2. Then the second support configuration information includes the supported protocols and supported TLS / SSL algorithm suites corresponding to client A1.0, the supported protocols and supported TLS / SSL algorithm suites corresponding to client A1.1, and the supported protocols and supported TLS / SSL algorithm suites corresponding to client A1.2. Optionally, the server can display the list in response to the user's viewing operation.
[0119] In an exemplary embodiment, a client adaptation method is provided, wherein the method is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, including the following steps 202 to 206. Among them:
[0120] Step 1102, sending a download request from the client to be downloaded.
[0121] In the embodiment of the present application, the user determines the download client according to the financial service to be used, and sends a download request of the client to be downloaded to the server.
[0122] Step 1104, receiving a target download address, and downloading a target client based on the target download address; extracting the first support configuration information of the server for the server at the target download address; determining the second support configuration information corresponding to the client to be downloaded for each version information; determining the target version information corresponding to the client to be downloaded based on the comparison result of the first support configuration information and the second support configuration information; and obtaining the information based on the target version information.
[0123] In the embodiment of the present application, the terminal receives the target download address fed back by the server, and downloads the target client according to the target download address. The process of determining the target download address is the same as the process from step 202 to step 206, and the process of determining the target download address in the embodiment of the present application will not be described in detail.
[0124] In this embodiment, the terminal downloads the target client through the target download address fed back by the server, and can accurately determine the target version information, thereby improving the efficiency of the terminal in downloading the target client.
[0125] In a specific embodiment, Fig.10As shown, the current version information of the client is version n, the latest version information is N, and the target domain name corresponding to the client is domain name 1. The server extracts the information of client version n according to the client support protocol and TLS / SSL algorithm suite, that is, the support protocol and TLS / SSL algorithm suite of client version n in the second support configuration information, and extracts the information of domain name 1 according to the server support protocol and TLS / SSL algorithm suite, that is, the support protocol and TLS / SSL algorithm suite of domain name 1 in the first support configuration information. The server determines whether there is an intersection between the support protocol and TLS / SSL algorithm suite corresponding to the client version n and the domain name 1 respectively. If there is an intersection, the client version n is determined to be adapted to the client version number, that is, determined as the target version information. If there is no intersection, the server determines the client version n as not adapted to the client version number, that is, non-target version information. After completing the comparison of the client version n, the server determines whether the client version n is the latest version information N. If the client version n is not the latest version information N, the server compares the next version information to be downloaded, that is, extracts the supported protocols and TLS / SSL algorithm suites corresponding to the client version n+1, and performs iterative comparison until the server completes the comparison of the client version N with the latest version information.
[0126] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0127] Based on the same inventive concept, the embodiment of the present application also provides a client adaptation device for implementing the client adaptation method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more client adaptation device embodiments provided below can refer to the limitations on the client adaptation method above, and will not be repeated here.
[0128] In an exemplary embodiment, Fig.11As shown, a client adaptation device 1100 is provided, comprising: a server information extraction module 1101, a version information determination module 1102, a data processing module 1103 and a first feedback module 1104, wherein:
[0129] The server information extraction module 1101 is used to extract the first supported configuration information of the server in response to the download request of the client to be downloaded sent by the terminal;
[0130] A version information determination module 1102, configured to determine the second supported configuration information corresponding to the client to be downloaded for each version information;
[0131] The data processing module 1103 is used to determine the target version information corresponding to the client to be downloaded according to the comparison result of the first supported configuration information and the second supported configuration information;
[0132] The first feedback module 1104 is used to feed back the target download address corresponding to the target version information to the terminal; the target download address is used to download the target client supporting configuration information adapted to the server.
[0133] In one of the embodiments, the server information extraction module 1101 is specifically used to obtain the domain name to be detected of the server corresponding to the client to be downloaded; and extract the first support configuration information of the domain name to be detected through the target certificate uninstallation device.
[0134] In one embodiment, the version information determination module 1102 is specifically used to determine each version information included in the client type of the client to be downloaded; and determine the second support configuration information corresponding to each version information.
[0135] In one of the embodiments, the data processing module 1103 is specifically used to determine, for each version information of the client to be downloaded, based on the version order of each version information, the existence of the intersection of the first support configuration information and the second support configuration information corresponding to the current version information; and determine the target version information corresponding to the client to be downloaded according to the version information corresponding to the existence of the intersection.
[0136] In one of the embodiments, the data processing module 1103 is specifically used to determine whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information of the client to be downloaded; if the current version information of the client to be downloaded is not the latest version information, the next version information is used as the current version information, and the step of determining whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information is executed.
[0137] In one embodiment, the device further comprises:
[0138] The second feedback module is used to feed back the target version information and non-target version information corresponding to the client to be downloaded to the target object; the non-target version information includes the version information of which the comparison result shows that there is no intersection.
[0139] Each module in the above client adapter device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0140] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.12 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store first support configuration information and second support configuration information data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a client adaptation method is implemented.
[0141] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0142] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0143] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0144] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0145] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0146] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0147] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0148] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A client adaptation method, characterized in that: The method comprises: Responding to a download request of a client to be downloaded sent by the terminal, extracting first support configuration information of the server; Determine the second supported configuration information corresponding to the client to be downloaded for each version information; Determining target version information corresponding to the client to be downloaded according to a comparison result of the first support configuration information and the second support configuration information; The target download address corresponding to the target version information is fed back to the terminal; the target download address is used to download the target client adapted to the first support configuration information of the server.
2. The method according to claim 1, characterized in that The extracting first support configuration information of the server in response to the download request of the client to be downloaded sent by the terminal includes: Get the domain name to be detected of the server corresponding to the client to be downloaded; The first support configuration information of the domain name to be detected is extracted through the target certificate uninstallation device.
3. The method according to claim 1, characterized in that The determining of the second supported configuration information corresponding to the client to be downloaded for each version information includes: Determine each version information included in the client type of the client to be downloaded; Determine the second supported configuration information corresponding to each version information.
4. The method according to claim 1, characterized in that: The step of determining the target version information corresponding to the client to be downloaded according to the comparison result of the first support configuration information and the second support configuration information includes: For each version information of the client to be downloaded, based on the version order of each version information, determining whether an intersection of the first support configuration information and the second support configuration information corresponding to the current version information exists; According to the version information corresponding to the existence of the intersection part, the target version information corresponding to the client to be downloaded is determined.
5. The method according to claim 4, characterized in that The determining, for each version information of the client to be downloaded, based on the version order of each version information, whether an intersection of the first support configuration information and the second support configuration information corresponding to the current version information exists, includes: For the current version information of the client to be downloaded, determining whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information; If the current version information of the client to be downloaded is not the latest version information, the next version information is used as the current version information, and the step of determining whether there is an intersection between the first support configuration information and the second support configuration information corresponding to the current version information is performed.
6. The method according to claim 4, characterized in that After determining the target version information corresponding to the client to be downloaded according to the version information corresponding to the existence of the intersection part, the method further includes: Feedback the target version information and non-target version information corresponding to the client to be downloaded to the target object; the non-target version information includes the version information for which the comparison result shows that there is no intersection.
7. The method according to claim 1, characterized in that The second support configuration information is transmitted and displayed in the form of a list.
8. A client adaptation method, characterized in that: The method comprises: Send a download request to the client to be downloaded; Receive a target download address, and download a target client based on the target download address; extract the first support configuration information of the server for the server at the target download address; determine the second support configuration information corresponding to the client to be downloaded for each version information; determine the target version information corresponding to the client to be downloaded based on the comparison result of the first support configuration information and the second support configuration information; and obtain the information based on the target version information.
9. A client adaptation device, characterized in that: The device comprises: The server information extraction module is used to extract the first support configuration information of the server in response to the download request of the client to be downloaded sent by the terminal; A version information determination module; used to determine the second supported configuration information corresponding to the client to be downloaded for each version information; A data processing module, configured to determine target version information corresponding to the client to be downloaded according to a comparison result of the first support configuration information and the second support configuration information; The first feedback module is used to feed back a target download address corresponding to the target version information to the terminal; the target download address is used to download a target client that is adapted to the support configuration information of the server.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 or 8 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 or 8 are implemented.