HTTPS server upgrade verification method and device

Through traffic mirroring and playback verification, the target partner is determined to notify them of HTTPS changes, which solves the problem in the existing technology that HTTPS server upgrade is difficult to cover in diverse client scenarios, and achieves efficient upgrade verification and automated efficiency improvement.

CN118573571APending Publication Date: 2024-08-30INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410776924.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

During the HTTPS server upgrade process, especially in the inter-enterprise API gateway interaction scenario, due to the large differences in client technology stacks and software product versions, it is difficult for the existing technology to cover all scenarios through compatibility testing, and the cost of notification and technical support is high. , and when grayscale is gradually launched online, it is easy to affect the quality of production services.

Method used

By obtaining the original traffic data of each partner, perform traffic mirroring and analysis, playback verification, generate upgrade verification data to identify the target partner, and send notifications to them to achieve verification of HTTPS changes.

Benefits of technology

It saves the cost of compatibility testing and notifications, improves the automation efficiency of HTTPS server upgrade verification, avoids missing scenarios, improves the success rate of upgrade switching, and provides a better assessment of transaction security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573571A
    Figure CN118573571A
Patent Text Reader

Abstract

The invention provides an HTTPS server upgrade verification method and device, relates to the technical field of information security, and can be applied to the technical field of finance or other technical fields. The HTTPS server upgrade verification method comprises the following steps: acquiring original traffic data of partners, and performing traffic mirroring on the original traffic data to obtain mirrored traffic data; analyzing the mirror image traffic data to obtain traffic analysis data; performing playback verification on the upgraded HTTPS service according to the mirror image flow data to obtain a playback verification result; obtaining upgrade verification data of each partner according to the flow analysis data and the playback verification result; and determining a target partner according to the upgrade verification data of each partner, and sending a notification to the target partner. According to the invention, the HTTPS change can be verified, the cost is saved, and the efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a HTTPS server upgrade verification method and device. Background Art

[0002] As information security is receiving increasing attention, the HTTPS protocol is widely used in the current network security environment and plays an important role in protecting user privacy, preventing data leakage and providing identity authentication.

[0003] 1. Technical solutions of existing technologies

[0004] In order to maintain security and stability, the HTTPS server needs to be updated and maintained regularly, including regular upgrades of encryption algorithms and updates to server programs or configurations to respond to new security threats and technological developments. Enterprises usually take the following measures to ensure that clients can access HTTPS services normally after changes are made to the server.

[0005] 1. Compatibility testing: Before deployment, compatibility testing is performed to ensure that clients can access the application normally. Testing can include using different types of browsers, mobile devices, and operating systems to verify compatibility with different clients.

[0006] 2. Announcements and notifications: Issue announcements or notifications to users or relevant stakeholders in advance, stating that encryption algorithm upgrades or server program or configuration modifications will be made, and provide relevant support and assistance. This allows users to be aware of the changes and make corresponding adjustments.

[0007] 3. Gradual transition: You can adopt a grayscale gradual transition approach, first test and deploy on a portion of clients or users to ensure their normal access, then gradually expand the scope to eventually cover all clients and users.

[0008] 4. Provide support and assistance: Provide corresponding support and assistance during the change process to solve client access problems. This can include providing detailed documentation, FAQs, technical support or contact information so that users can get help in time when they encounter problems.

[0009] 2. Disadvantages of the Existing Technology

[0010] For scenarios where HTTPS services have many clients, such as enterprises interacting with each other through API gateways (the gateway itself uses the HTTPS protocol to expose API services), the technology stacks and software product versions and configurations of various partner clients vary greatly, making it difficult to cover all scenarios through compatibility testing. At the same time, the cost of notifying partners one by one or providing pre-launch technical support and docking verification is also high, and the effect is usually not good. Even if a grayscale gradual online transition strategy is adopted, it is still easy to affect the quality of production services when the interface access volume is large. Summary of the invention

[0011] The main purpose of the embodiments of the present invention is to provide a HTTPS server upgrade verification method and device to verify HTTPS changes, save costs and improve efficiency.

[0012] In order to achieve the above object, an embodiment of the present invention provides an HTTPS server upgrade verification method, comprising:

[0013] Acquire original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data;

[0014] Analyze the mirrored traffic data to obtain traffic analysis data;

[0015] Perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result;

[0016] Obtaining upgrade verification data of each partner according to the traffic analysis data and the playback verification result;

[0017] A target partner is determined according to the upgrade verification data of each partner, and a notification is sent to the target partner.

[0018] In one embodiment, the traffic analysis data includes static analysis data and partner data;

[0019] The analyzing the mirrored traffic data to obtain traffic analysis data includes:

[0020] Performing static analysis on the mirrored traffic data to obtain the static analysis data;

[0021] The partner information in the mirrored traffic data is analyzed to obtain the partner data.

[0022] In one embodiment, the static analysis data includes root certificate data, algorithm coverage data, and algorithm security data;

[0023] The static analysis of the mirrored traffic data to obtain static analysis data includes:

[0024] Analyze the root certificate in the mirrored traffic data to obtain the root certificate data;

[0025] Determine the algorithm coverage data according to the matching result of the encryption protocol list in the mirrored traffic data and the algorithm list of the preset HTTPS server;

[0026] Analyze the algorithm risk data in the mirrored traffic data to obtain the algorithm security data.

[0027] In one embodiment, analyzing the partner information in the mirrored traffic data to obtain the partner data includes:

[0028] Analyze the partner information to obtain business scenario data, sensitive partner data, and the proportion of partner calls to the total call volume;

[0029] The partner data is determined according to the business scenario data, the sensitive partner data and the proportion of the partner call volume to the total call volume.

[0030] In one embodiment, replay verification is performed on the upgraded HTTPS service according to the mirrored traffic data, and the replay verification result obtained includes:

[0031] Replay and verify the upgraded HTTPS service according to the mirrored traffic data to obtain handshake data and algorithm security data;

[0032] The playback verification result is obtained according to the handshake data and the algorithm security data.

[0033] In one embodiment, determining the target partner according to the upgrade verification data of each partner includes:

[0034] Sort partners according to their upgrade verification data;

[0035] The partners whose order is within the preset range are determined as target partners.

[0036] The embodiment of the present invention also provides an HTTPS server upgrade verification device, including:

[0037] A traffic mirroring module is used to obtain the original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data;

[0038] A traffic analysis module, used to analyze the mirrored traffic data to obtain traffic analysis data;

[0039] A playback verification module, used to perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result;

[0040] An upgrade verification module, used to obtain upgrade verification data of each partner based on the traffic analysis data and the playback verification result;

[0041] The target partner determination module is used to determine the target partner according to the upgrade verification data of each partner and send a notification to the target partner.

[0042] In one embodiment, the traffic analysis data includes static analysis data and partner data;

[0043] The traffic analysis module includes:

[0044] A static analysis unit, used for performing static analysis on the mirrored traffic data to obtain the static analysis data;

[0045] The partner information analysis unit is used to analyze the partner information in the mirrored traffic data to obtain the partner data.

[0046] In one embodiment, the static analysis data includes root certificate data, algorithm coverage data, and algorithm security data;

[0047] The static analysis unit comprises:

[0048] A root certificate data subunit, used to analyze the root certificate in the mirrored traffic data to obtain the root certificate data;

[0049] The algorithm coverage data subunit is used to determine the algorithm coverage data according to the matching result of the encryption protocol list in the mirrored traffic data and the algorithm list of the preset HTTPS server;

[0050] The algorithm security data subunit is used to analyze the algorithm risk data in the mirrored traffic data to obtain the algorithm security data.

[0051] In one embodiment, the partner information analysis unit includes:

[0052] A partner analysis subunit is used to analyze the partner information to obtain business scenario data, sensitive partner data, and the proportion of partner calls to the total call volume;

[0053] The partner data subunit is used to determine the partner data according to the business scenario data, the sensitive partner data and the proportion of the partner call volume to the total call volume.

[0054] In one embodiment, the playback verification module includes:

[0055] A playback verification unit, used to perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain handshake data and algorithm security data;

[0056] A playback verification result unit is used to obtain the playback verification result according to the handshake data and the algorithm security data.

[0057] In one embodiment, the target partner determination module includes:

[0058] A sorting unit, used to sort each partner according to their upgrade verification data;

[0059] The target partner determination unit is used to determine partners whose order is within a preset range as target partners.

[0060] An embodiment of the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of the HTTPS server upgrade verification method are implemented.

[0061] An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the HTTPS server upgrade verification method are implemented.

[0062] An embodiment of the present invention also provides a computer program product, including a computer program / instruction, which implements the steps of the HTTPS server upgrade verification method when the computer program / instruction is executed by a processor.

[0063] The HTTPS server upgrade verification method and device of the embodiment of the present invention first mirrors the original traffic data to analyze and obtain traffic analysis data, and then replays and verifies the upgraded HTTPS service based on the mirrored traffic data, obtains the upgrade verification data of each partner based on the traffic analysis data and the replay verification result to determine the target partner, and sends a notification to the target partner, so as to verify the HTTPS change, save costs and improve efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0065] Figure 1 is a flow chart of a method for verifying an HTTPS server upgrade in an embodiment of the present invention;

[0066] Figure 2 is a flow chart of S102 in an embodiment of the present invention;

[0067] Figure 3 is a flow chart of S201 in an embodiment of the present invention;

[0068] Figure 4 is a flow chart of S202 in an embodiment of the present invention;

[0069] Figure 5 is a flow chart of S103 in an embodiment of the present invention;

[0070] Figure 6 is a flow chart of determining a target partner in an embodiment of the present invention;

[0071] Figure 7 It is a structural block diagram of an HTTPS server upgrade verification device in an embodiment of the present invention;

[0072] Figure 8 It is a structural block diagram of an HTTPS server upgrade verification device in another embodiment of the present invention;

[0073] Fig. 9 A schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. DETAILED DESCRIPTION

[0074] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0075] Those skilled in the art will appreciate that the embodiments of the present invention may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0076] The acquisition, storage, use, and processing of data in the technical solution of the present invention are in compliance with the relevant provisions of national laws and regulations. The user information in the embodiments of this application is obtained through legal and compliant channels, and the acquisition, storage, use, and processing of user information are authorized and agreed by the customer.

[0077] The information collected in the technical solution of this application is 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 relevant data comply with the relevant laws, regulations and standards of relevant countries and regions, 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.

[0078] Definitions of Key Terms:

[0079] HTTPS: HTTPS (Hypertext Transfer Protocol Secure) is a secure communication protocol for securely transmitting data on a computer network. It is a protocol that provides security between the transport layer and the application layer. It uses the SSL (Secure Sockets Layer) or TLS (Transport Layer Security) protocol to encrypt communication content to ensure that data is not stolen or tampered with during transmission.

[0080] Client: In computer networking, a client is a computer or device that communicates with a server. The client sends requests to the server and receives and processes responses from the server. Common clients include web browsers, mobile applications, and email clients.

[0081] Server: A server is a computer or device that provides services in a computer network. The server receives requests from clients and provides corresponding services or resources based on the requests. The server usually runs specific software, such as a web server, database server, or mail server, to process client requests and provide the required services.

[0082] The present invention overcomes the shortcomings of existing HTTPS algorithm upgrade, program or configuration change technical solutions, and provides a solution with low implementation cost, capable of verifying HTTPS changes and reducing service interruption during the upgrade process. The present invention is described in detail below with reference to the accompanying drawings.

[0083] Figure 1 Flowchart of the HTTPS server upgrade verification method in an embodiment of the present invention. Figure 1 As shown, the HTTPS server upgrade verification method includes:

[0084] S101: Acquire original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data.

[0085] S102: Analyze the mirrored traffic data to obtain traffic analysis data.

[0086] The traffic analysis data includes static analysis data and partner data.

[0087] Figure 2 is a flow chart of S102 in an embodiment of the present invention. Figure 2 As shown, S102 includes:

[0088] S201: Perform static analysis on the mirrored traffic data to obtain the static analysis data.

[0089] During the specific implementation, we clean the partner's HTTPS requests, obtain information such as the partner's operating system, software client, and the list of encryption protocols supported by the client, and link with the security database for comparison and analysis.

[0090] Among them, the static analysis data includes root certificate data, algorithm coverage data and algorithm security data.

[0091] Figure 3 is a flow chart of S201 in an embodiment of the present invention. Figure 3 As shown, S201 includes:

[0092] S301: Analyze the root certificate in the mirrored traffic data to obtain the root certificate data.

[0093] In the specific implementation, analyze whether the root certificate of the target HTTPS certificate is preset in the corresponding operating system and client trust certificate library. If there is a relevant certificate, the record score is 0. Otherwise, the data is recorded as C according to the inspection situation. i (>0).

[0094] S302: Determine the algorithm coverage data according to a matching result between the encryption protocol list in the mirrored traffic data and the algorithm list of a preset HTTPS server.

[0095] In the specific implementation, it is determined whether the encryption protocol list supported by the client (the encryption protocol list in the mirrored traffic data) matches the algorithm list configured by the target HTTPS server (the algorithm list of the preset HTTPS server), and the data is recorded as k according to the matching situation. i , the higher the server's coverage of the client algorithm, the higher k i The higher.

[0096] S303: Analyze the algorithm risk data in the mirrored traffic data to obtain the algorithm security data.

[0097] During the specific implementation, determine whether there are algorithms with lower security levels and vulnerability risks. If there is a prohibition on the use of encryption algorithms or a recommendation to upgrade the algorithm, the recorded data is p i (1>p i >0), if it does not exist, record p iis 1.

[0098] S202: Analyze the partner information in the mirrored traffic data to obtain the partner data.

[0099] Figure 4 is a flow chart of S202 in an embodiment of the present invention. Figure 4 As shown, S202 includes:

[0100] S401: Analyze the partner information to obtain business scenario data, sensitive partner data, and the ratio of partner calls to the total calls.

[0101] S402: Determine the partner data according to the business scenario data, the sensitive partner data, and the ratio of the partner call volume to the total call volume.

[0102] In specific implementation, the partner importance weight W is defined in advance according to the partner's importance (combined with information such as whether it is an important business scenario, whether it is a sensitive partner, and the proportion of the partner's call volume to the total call volume). i , 100 ≥ W i ≥0, when the following conditions are met W i Increase: 1) The transaction scenario corresponding to the traffic is an important business scenario. 2) The partner is a sensitive partner or a key customer. 3) The proportion of the partner's calls.

[0103] S103: Perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result.

[0104] Figure 5 is a flow chart of S103 in an embodiment of the present invention. Figure 5 As shown, S103 includes:

[0105] S501: Perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain handshake data and algorithm security data.

[0106] S502: Obtain the playback verification result according to the handshake data and the algorithm security data.

[0107] During the specific implementation, monitor and judge the HTTPS negotiation handshake to confirm whether the handshake is successful, simulate whether the negotiation algorithm between the client and the upgraded HTTPS server meets the security requirements, and provide playback verification data, which is recorded as X i .

[0108] S104: Obtain upgrade verification data of each partner according to the traffic analysis data and the playback verification result.

[0109] In specific implementation, the upgrade verification data of the i-th partner is obtained through the following formula:

[0110] Z i =f(X i )·W i ;

[0111]

[0112] Among them, Z i is the upgrade verification data of the i-th partner, W i is the data of the i-th partner, X i is the i-th playback verification result, p i is the security data of the ith algorithm, k i is the coverage data of the ith algorithm, C i is the i-th root certificate data.

[0113] S105: Determine a target partner according to the upgrade verification data of each partner, and send a notification to the target partner.

[0114] Figure 6 FIG. 1 is a flow chart of determining a target partner in an embodiment of the present invention. Figure 6 As shown, the target partners are determined based on the upgrade verification data of each partner, including:

[0115] S601: Sort the partners according to their upgrade verification data.

[0116] S602: Determine the partners whose order is within a preset range as target partners.

[0117] During specific implementation, the partners are sorted from large to small according to the corresponding upgrade verification data, and the partners ranked in a preset percentage are determined as target partners. Upgrade suggestions or configuration plans are given, and the target partners are notified to upgrade or update the configuration synchronously.

[0118] Figure 1 The execution subject of the HTTPS server upgrade verification method shown can be a server located in a bank. Figure 1 As can be seen from the process shown, the HTTPS server upgrade verification method of the embodiment of the present invention first mirrors the original traffic data to analyze and obtain traffic analysis data, and then replays and verifies the upgraded HTTPS service based on the mirrored traffic data, obtains the upgrade verification data of each partner based on the traffic analysis data and the replay verification result to determine the target partner, and sends a notification to the target partner, so as to verify the HTTPS changes, save costs and improve efficiency.

[0119] In summary, the HTTPS server upgrade verification method provided by the embodiment of the present invention has the following beneficial effects:

[0120] (1) Save the cost of compatibility testing and partner notification, and improve the automation efficiency of HTTPS server upgrade verification;

[0121] (2) Verify the upgrade changes of the HTTPS server according to the actual production scenario to avoid the omission of scenarios that lead to incomplete coverage and improve the success rate of the upgrade switch;

[0122] (3) Statistics on the operating systems and technology stacks used by existing partners’ HTTPS clients can provide better reference for security assessment of related transactions.

[0123] Based on the same inventive concept, an embodiment of the present invention also provides an HTTPS server upgrade verification device. Since the principle of solving the problem by the device is similar to that of the HTTPS server upgrade verification method, the implementation of the HTTPS server upgrade verification device can refer to the implementation of the HTTPS server upgrade verification method, and the repeated parts will not be repeated.

[0124] It should be noted that the HTTPS server upgrade verification method and device provided in the embodiment of the present invention can be used in the financial field, and can also be used in any technical field other than the financial field. The embodiment of the present invention does not limit the application field of the HTTPS server upgrade verification method and device.

[0125] Figure 7 : is a structural block diagram of the HTTPS server upgrade verification device in an embodiment of the present invention. Figure 7 As shown, the HTTPS server upgrade verification device includes:

[0126] A traffic mirroring module is used to obtain the original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data;

[0127] A traffic analysis module, used to analyze the mirrored traffic data to obtain traffic analysis data;

[0128] A playback verification module, used to perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result;

[0129] An upgrade verification module, used to obtain upgrade verification data of each partner based on the traffic analysis data and the playback verification result;

[0130] The target partner determination module is used to determine the target partner according to the upgrade verification data of each partner and send a notification to the target partner.

[0131] In one embodiment, the traffic analysis data includes static analysis data and partner data;

[0132] The traffic analysis module includes:

[0133] A static analysis unit, used for performing static analysis on the mirrored traffic data to obtain the static analysis data;

[0134] The partner information analysis unit is used to analyze the partner information in the mirrored traffic data to obtain the partner data.

[0135] In one embodiment, the static analysis data includes root certificate data, algorithm coverage data, and algorithm security data;

[0136] The static analysis unit comprises:

[0137] A root certificate data subunit, used to analyze the root certificate in the mirrored traffic data to obtain the root certificate data;

[0138] The algorithm coverage data subunit is used to determine the algorithm coverage data according to the matching result of the encryption protocol list in the mirrored traffic data and the algorithm list of the preset HTTPS server;

[0139] The algorithm security data subunit is used to analyze the algorithm risk data in the mirrored traffic data to obtain the algorithm security data.

[0140] In one embodiment, the partner information analysis unit includes:

[0141] A partner analysis subunit is used to analyze the partner information to obtain business scenario data, sensitive partner data, and the proportion of partner calls to the total call volume;

[0142] The partner data subunit is used to determine the partner data according to the business scenario data, the sensitive partner data and the proportion of the partner call volume to the total call volume.

[0143] In one embodiment, the playback verification module includes:

[0144] A playback verification unit, used to perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain handshake data and algorithm security data;

[0145] A playback verification result unit is used to obtain the playback verification result according to the handshake data and the algorithm security data.

[0146] In one embodiment, the target partner determination module includes:

[0147] A sorting unit, used to sort each partner according to their upgrade verification data;

[0148] The target partner determination unit is used to determine partners whose order is within a preset range as target partners.

[0149] Figure 8 FIG. 1 is a structural block diagram of an HTTPS server upgrade verification device in another embodiment of the present invention. Figure 8 As shown, in actual application, the HTTPS server upgrade verification device includes an HTTPS traffic mirroring device 1, an HTTPS traffic storage and analysis device 2, and an HTTPS traffic replay device 3.

[0150] HTTPS traffic mirroring device 1: includes a traffic mirroring module, performs traffic mirroring on the original HTTPS service, and transmits the mirrored traffic to the HTTPS traffic storage and analysis device 2.

[0151] HTTPS traffic storage and analysis device 2: includes a traffic analysis module, which receives the traffic data transmitted by the HTTPS traffic mirror device 1 and stores it for subsequent analysis and replay. For HTTPS traffic data, static analysis can be performed on the encryption protocol algorithms supported by each partner's HTTPS client, and statistics can be collected on the operating system, client program, and version used by each partner's HTTPS client. Based on various types of analysis information, combined with data such as the importance of the partner and the proportion of call volume, the effect of the HTTPS change and upgrade can be evaluated more accurately.

[0152] HTTPS traffic replay device 3: includes a playback verification module, an upgrade verification module, and a target partner determination module. After cleaning and constructing the traffic data stored in the HTTPS traffic storage and analysis device 2, it performs playback verification on the changed HTTPS service, monitors and judges the HTTPS negotiation handshake situation, confirms whether the handshake is successful, simulates whether the negotiation algorithm between the client and the upgraded HTTPS server meets the security requirements, and provides playback verification data.

[0153] In specific applications, the HTTPS traffic mirroring device collects mirror images of the original HTTPS server traffic before the change.

[0154] The HTTPS traffic storage and analysis device stores and analyzes the traffic data collected by the HTTPS traffic mirroring device to evaluate the impact of the HTTPS service upgrade on the transaction calls of existing partners.

[0155] The HTTPS traffic replay device processes the traffic data in the HTTPS traffic storage and analysis device, and replays the call to the changed HTTPS service to verify the support level of the changed HTTPS service for the existing calls.

[0156] In summary, the HTTPS server upgrade verification device of the embodiment of the present invention first mirrors the original traffic data to analyze and obtain traffic analysis data, and then replays and verifies the upgraded HTTPS service based on the mirrored traffic data, obtains the upgrade verification data of each partner based on the traffic analysis data and the replay verification result to determine the target partner, and sends a notification to the target partner, so as to verify the HTTPS changes, save costs and improve efficiency.

[0157] Fig. 9 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig. 9 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig. 9 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0158] In one embodiment, the HTTPS server upgrade verification method function may be integrated into the central processor 9100. The central processor 9100 may be configured to perform the following control:

[0159] Acquire original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data;

[0160] Analyze the mirrored traffic data to obtain traffic analysis data;

[0161] Perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result;

[0162] Obtaining upgrade verification data of each partner according to the traffic analysis data and the playback verification result;

[0163] A target partner is determined according to the upgrade verification data of each partner, and a notification is sent to the target partner.

[0164] From the above description, it can be seen that the HTTPS server upgrade verification method provided by this application first mirrors the original traffic data to analyze and obtain traffic analysis data, and then replays and verifies the upgraded HTTPS service based on the mirrored traffic data. The upgrade verification data of each partner is obtained based on the traffic analysis data and the replay verification results to determine the target partner, and a notification is sent to the target partner. HTTPS changes can be verified, saving costs and improving efficiency.

[0165] In another embodiment, the HTTPS server upgrade verification device can be configured separately from the central processor 9100. For example, the HTTPS server upgrade verification device can be configured as a chip connected to the central processor 9100, and the function of the HTTPS server upgrade verification method can be implemented through the control of the central processor.

[0166] like Fig. 9 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Fig. 9 In addition, the electronic device 9600 may also include Fig. 9 For components not shown, reference may be made to the prior art.

[0167] like Fig. 9 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.

[0168] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.

[0169] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.

[0170] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer 9141 (sometimes referred to as a buffer memory). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.

[0171] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0172] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0173] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.

[0174] The embodiment of the present invention also provides a computer-readable storage medium capable of implementing all the steps in the HTTPS server upgrade verification method in the above embodiment, where the execution subject is a server or a client. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, all the steps of the HTTPS server upgrade verification method in the above embodiment are implemented. For example, when the processor executes the computer program, the following steps are implemented:

[0175] Acquire original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data;

[0176] Analyze the mirrored traffic data to obtain traffic analysis data;

[0177] Perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result;

[0178] Obtaining upgrade verification data of each partner according to the traffic analysis data and the playback verification result;

[0179] A target partner is determined according to the upgrade verification data of each partner, and a notification is sent to the target partner.

[0180] In summary, the computer-readable storage medium of the embodiment of the present invention first performs traffic mirroring on the original traffic data to analyze and obtain traffic analysis data, and then replays and verifies the upgraded HTTPS service based on the mirrored traffic data, obtains the upgrade verification data of each partner based on the traffic analysis data and the replay verification result to determine the target partner, and sends a notification to the target partner, so as to verify the HTTPS change, save costs and improve efficiency.

[0181] The embodiment of the present invention also provides a computer program product capable of implementing all the steps of the HTTPS server upgrade verification method in the above embodiment, where the execution subject is a server or a client. The computer program product includes a computer program / instruction. When the computer program / instruction is executed by a processor, all the steps of the HTTPS server upgrade verification method in the above embodiment are implemented. For example, when the processor executes the computer program, the following steps are implemented:

[0182] Acquire original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data;

[0183] Analyze the mirrored traffic data to obtain traffic analysis data;

[0184] Perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result;

[0185] Obtaining upgrade verification data of each partner according to the traffic analysis data and the playback verification result;

[0186] A target partner is determined according to the upgrade verification data of each partner, and a notification is sent to the target partner.

[0187] In summary, the computer program product of the embodiment of the present invention first performs traffic mirroring on the original traffic data to analyze and obtain traffic analysis data, and then replays and verifies the upgraded HTTPS service based on the mirrored traffic data, obtains the upgrade verification data of each partner based on the traffic analysis data and the replay verification result to determine the target partner, and sends a notification to the target partner, so as to verify the HTTPS change, save costs and improve efficiency.

[0188] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0189] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0190] Although the present application provides method operation steps as described in the embodiments or flowcharts, more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the actual device or client product is executed, it can be executed in the order of the method shown in the embodiments or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0191] Although the present specification embodiment provides the method operation steps as described in the embodiment or flow chart, more or less operation steps may be included based on conventional or non-creative means. The order of steps listed in the embodiment is only one way in the order of execution of many steps, and does not represent a unique execution order. When the device or terminal product in practice is executed, it can be executed in sequence or in parallel (such as a parallel processor or a multi-threaded processing environment, or even a distributed data processing environment) according to the method shown in the embodiment or the accompanying drawings. The term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, product or equipment including a series of elements not only includes those elements, but also includes other elements not clearly listed, or also includes elements inherent to such process, method, product or equipment. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or equipment including the elements.

[0192] For the convenience of description, the above devices are described in various modules according to their functions. Of course, when implementing the embodiments of this specification, the functions of each module can be implemented in the same or more software and / or hardware, or the module implementing the same function can be implemented by a combination of multiple sub-modules or sub-units. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0193] Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code, the controller can be made to implement the same function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules for implementing the method and structures within the hardware component.

[0194] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0195] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0196] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0197] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0198] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0199] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0200] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments or embodiments combining software and hardware. Moreover, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0201] The various embodiments in this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0202] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.

[0203] The above is only an example of the embodiment of the present specification and is not intended to limit the embodiment of the present specification. For those skilled in the art, the embodiment of the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiment of the present specification shall be included in the scope of the claims of the embodiment of the present specification.

Claims

1. A HTTPS server upgrade verification method, characterized in that: include: Acquire original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data; Analyze the mirrored traffic data to obtain traffic analysis data; Perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result; Obtaining upgrade verification data of each partner according to the traffic analysis data and the playback verification result; A target partner is determined according to the upgrade verification data of each partner, and a notification is sent to the target partner.

2. The HTTPS server upgrade verification method according to claim 1, characterized in that: The traffic analysis data includes static analysis data and partner data; The analyzing the mirrored traffic data to obtain traffic analysis data includes: Performing static analysis on the mirrored traffic data to obtain the static analysis data; The partner information in the mirrored traffic data is analyzed to obtain the partner data.

3. The HTTPS server upgrade verification method according to claim 2, characterized in that: The static analysis data includes root certificate data, algorithm coverage data and algorithm security data; The static analysis of the mirrored traffic data to obtain static analysis data includes: Analyze the root certificate in the mirrored traffic data to obtain the root certificate data; Determine the algorithm coverage data according to the matching result of the encryption protocol list in the mirrored traffic data and the algorithm list of the preset HTTPS server; Analyze the algorithm risk data in the mirrored traffic data to obtain the algorithm security data.

4. The HTTPS server upgrade verification method according to claim 2, characterized in that: The partner information in the mirrored traffic data is analyzed to obtain the partner data including: Analyze the partner information to obtain business scenario data, sensitive partner data, and the proportion of partner calls to the total call volume; The partner data is determined according to the business scenario data, the sensitive partner data and the proportion of the partner call volume to the total call volume.

5. The HTTPS server upgrade verification method according to claim 1, characterized in that: The upgraded HTTPS service is replayed and verified according to the mirrored traffic data, and the replay verification results include: Replay and verify the upgraded HTTPS service according to the mirrored traffic data to obtain handshake data and algorithm security data; The playback verification result is obtained according to the handshake data and the algorithm security data.

6. The HTTPS server upgrade verification method according to claim 1, characterized in that: The target partners determined based on the upgrade verification data of each partner include: Sort partners according to their upgrade verification data; The partners whose order is within the preset range are determined as target partners.

7. An HTTPS server upgrade verification device, characterized in that: include: The traffic mirroring module is used to obtain the original traffic data of each partner, perform traffic mirroring on the original traffic data, and obtain mirrored traffic data; A traffic analysis module, used to analyze the mirrored traffic data to obtain traffic analysis data; A playback verification module, used to perform playback verification on the upgraded HTTPS service according to the mirrored traffic data to obtain a playback verification result; An upgrade verification module, used to obtain upgrade verification data of each partner based on the traffic analysis data and the playback verification result; The target partner determination module is used to determine the target partner according to the upgrade verification data of each partner and send a notification to the target partner.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the HTTPS server upgrade verification method described in any one of claims 1 to 6 are implemented.

9. 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 HTTPS server upgrade verification method described in any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by the processor, the steps of the HTTPS server upgrade verification method described in any one of claims 1 to 6 are implemented.