Prefix aggregation method and system based on Handle system

By adding prefix aggregation clients and servers to the Handle system, the aggregation and push of Handle prefix data is realized, which solves the problem that Handle services at all levels cannot report prefix registration status in a timely manner, and enhances GHR's global observation capabilities and data exchange capabilities. Security.

CN112667930BActive Publication Date: 2024-09-06BEIJING CDI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011510838.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-18
Publication Date
2024-09-06
Estimated Expiration
2040-12-18

AI Technical Summary

Technical Problem

Under the existing Handle prefix management mechanism, Handle services at all levels cannot control the prefix registration status of the same level and lower levels in a timely manner, resulting in GHR being unable to fully understand the overall status of Handle services at all levels.

Method used

Add a prefix aggregation client to the LHS system and a prefix aggregation server to the GHR system to ensure the security of data transmission through encryption and signature mechanisms, and adopt a two-way authentication mechanism to realize the aggregation and push of prefix data.

Benefits of technology

The functions of LHS and GHR are enhanced, enabling Handle services at all levels to automatically aggregate prefix data to GHR, ensuring that GHR understands the global status of Handle services at all levels in real time, and improving the security and reliability of data exchange.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112667930B
    Figure CN112667930B
Patent Text Reader

Abstract

The present invention provides a prefix aggregation method and system based on a Handle system. The method includes: when an LHS system receives a creation, deletion, or modification operation of any identifier, it determines whether the current operation is a prefix operation within the prefix range managed by the LHS, and performs the operation according to the original processing logic for the operation that does not meet the conditions; for the operation that meets the conditions, the LHS system calls a prefix aggregation client, and transmits the prefix data of the current operation to a prefix aggregation server of a GHR; after receiving a prefix aggregation request, the prefix aggregation server verifies the LHS that sends the request and the prefix data sent by the prefix aggregation server; for a request that does not pass the verification, an error message is returned; for a request that passes the verification, the corresponding prefix data is stored in the prefix aggregation storage of the GHR, and correct information is returned; after receiving the returned information, the aggregation client of the LHS system performs corresponding processing according to the response type of the returned information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet infrastructure identification resolution system, and in particular to a prefix method and system based on a Handle system. Background Art

[0002] At present, under the existing Handle prefix management mechanism, each level of Handle service is responsible for managing the next level of prefixes, and the final information of each prefix is ​​only stored in the upper level Handle service, such as the final information of "0.NA / 86.1000.11" is only stored in the LHS responsible for managing all prefixes under "0.NA / 86.1000". Handle services at all levels cannot timely grasp the prefix registration status of all levels under the Handle service, such as GHR cannot effectively understand the prefix registration status of LHS responsible for managing all prefixes under "0.NA / 86.1000"; therefore, it is necessary to propose a prefix aggregation method and system based on the Handle system. Summary of the invention

[0003] The present invention provides a prefix aggregation method and system based on a Handle system, which are used to solve the problem that a GHR cannot fully understand the global status of Handle services at all levels.

[0004] The present invention provides a prefix aggregation method based on a Handle system, characterized by comprising:

[0005] Add the prefix aggregation client of the LHS system in the LHS system;

[0006] Add the GHR prefix aggregation server in the GHR system.

[0007] As an embodiment of the present invention, the prefix aggregation client performs the following operations:

[0008] After receiving a request that meets the prefix aggregation conditions, determine whether the prefix data and operation type of the request meet the Handle protocol, reject the next operation of the request that does not meet the Handle protocol, send a warning message to the administrator, and perform corresponding log operations;

[0009] The prefix data conforming to the Handle protocol is encrypted and signed using the public key of the GHR prefix collection server and the prefix private key of the current LHS service to obtain a prefix aggregation request;

[0010] The prefix aggregation request is written into a queue, transmitted to the prefix aggregation server of the GHR, and corresponding log operations are performed.

[0011] As an embodiment of the present invention, the prefix aggregation service end of the GHR performs the following operations:

[0012] After receiving the prefix aggregation request, the prefix aggregation server of the GHR performs LHS authentication on the authenticity of the prefix aggregation request based on the IP, port, and LHS prefix public key of the prefix aggregation request LHS;

[0013] Reject the next step of the prefix aggregation request that failed the LHS authentication, send a warning message to the administrator, and perform corresponding log operations;

[0014] Decrypt and verify the signature of the prefix aggregation request that has passed the LHS authentication using the LHS prefix public key and the GHR prefix collection private key to obtain the first decrypted data;

[0015] Reject the next step of the prefix aggregation request for which the decryption failed, send a warning message to the administrator, and perform corresponding log operations;

[0016] Determine whether the first decrypted data successfully decrypted complies with the Handle protocol;

[0017] Reject the next step of the first decrypted data that does not comply with the Handle protocol, send a warning message to the administrator, and perform corresponding log operations;

[0018] The first decrypted data conforming to the Handle protocol is stored in the prefix storage area and written into the operation log;

[0019] Generate a processing result corresponding to the prefix aggregation request according to the operation log of the prefix aggregation server of the GHR, and encrypt and sign the processing result by using the public key of the LHS prefix collection server and the prefix private key of the current GHR service to obtain processing result information;

[0020] The processing result information is returned to the prefix aggregation client.

[0021] As an embodiment of the present invention, the prefix aggregation client performs the following operations:

[0022] Receive the processing result information returned by the prefix service end of the GHR, and perform GHR authentication on the authenticity of the processing result information based on the IP, port, and GRP prefix public key of the processing result information GHR;

[0023] Reject the next step of the processing result information of the GHR authentication failure, send a warning message to the administrator, and perform corresponding log operations;

[0024] Decrypt and verify the signature of the successful GHR authentication processing result information using the GHR prefix aggregation public key and the current LHS prefix private key to obtain second decrypted data;

[0025] Reject the next step of the processing result information of the failed decryption, send a warning message to the administrator, and perform corresponding log operations;

[0026] Determine the information type of the second decrypted data that is successfully decrypted, and if the information type of the second decrypted data is normal information, directly perform normal log operations;

[0027] If the second decrypted data is processing error information, a processing error prompt is sent to the administrator, and corresponding log operations are performed;

[0028] If the second decrypted data is processing timeout information, the prefix aggregation request is rewritten into the queue and a corresponding log operation is performed.

[0029] As an embodiment of the present invention, it also includes:

[0030] Monitoring the queue to determine whether a prefix aggregation request is written into the queue;

[0031] When it is determined that the queue is written with a prefix aggregation request, detecting whether the prefix aggregation request has a unique identifier;

[0032] If the prefix aggregation request does not have a unique identifier, marking the prefix aggregation request with a unique identifier;

[0033] If the prefix aggregation request has a unique identifier, the unique identifier is overlapped, and the overlapped identifier is to copy the unique identifier so that the prefix aggregation request has two identical unique identifiers;

[0034] When a prefix aggregation request is written into the queue, obtaining the same number of unique identifiers of the prefix aggregation request;

[0035] If the number of unique identifiers is greater than the unique identifier number threshold, a circular request error prompt is sent to the administrator, and corresponding log operations are performed.

[0036] As an embodiment of the present invention, it also includes:

[0037] Classify all data without labels into group 1, all data with 1 label into group 2, all data with 2 labels into group 3, and so on, there are α groups in total;

[0038] Calculate the following formula to get the unique identifier number threshold:

[0039]

[0040] Where N is the total number of prefix aggregation requests written, α is the number of groups containing unique identifiers, and N d is the number of prefix aggregation requests of group d, β bd is the product of the number of prefix aggregation requests of the dth group and the number of unique identifiers of the dth group, β d is the number of unique identifiers of the dth group, and β is the average number of unique identifiers of all prefix aggregation requests.

[0041] The present invention provides a prefix aggregation system based on a Handle system, comprising:

[0042] The prefix aggregation client subsystem added in the LHS system;

[0043] A prefix aggregation service subsystem added to the GHR system.

[0044] As an embodiment of the present invention, the prefix aggregation client subsystem of the LHS system includes:

[0045] The operation scheduling module is used to receive the prefix aggregation request from the prefix aggregation client subsystem of the LHS system, verify the request content, and organize and schedule each module to operate effectively;

[0046] The data encryption and decryption module is used to encrypt and sign the prefix aggregation request using asymmetric encryption technology, and decrypt and verify the signature of the result returned by the GHR system prefix aggregation service subsystem;

[0047] The GHR authentication module is used to authenticate the authenticity of the GHR service returned by the GHR system prefix aggregation server;

[0048] Log management module, used to perform corresponding operations on various types of logs;

[0049] The queue management module is used to manage the message queue of prefix aggregation requests, queue persistence and other operations;

[0050] Data transmission module, used for data transmission with the prefix aggregation operation server of the GHR system;

[0051] The message push module is used to push system prompt information to system administrators and other personnel through emails, text messages, etc.

[0052] As an embodiment of the present invention, it also includes:

[0053] A detection module, the detection module comprising:

[0054] a marking unit, used for monitoring the queue and starting a detection unit when a prefix aggregation request is written into the queue module;

[0055] A detection unit, configured to, when receiving the queue-out written prefix aggregation request sent by the marking unit, detect whether the prefix aggregation request has a unique identifier;

[0056] If the prefix aggregation request does not have a unique identifier, marking the prefix aggregation request with a unique identifier;

[0057] If the prefix aggregation request has a unique identifier, the unique identifier is overlapped, and the overlapped identifier is to copy the unique identifier so that the prefix aggregation request has two identical unique identifiers;

[0058] A determination unit, configured to determine the number of identical unique identifiers of the prefix aggregation requests when the prefix aggregation requests are written into the queue;

[0059] The alarm unit is used to send a circular request error prompt to the administrator when the number is greater than a preset number, and perform corresponding log operations.

[0060] As an embodiment of the present invention, the prefix aggregation service terminal system of the GHR includes:

[0061] A data transmission module, used for receiving a prefix aggregation request from a prefix aggregation client of the LHS system, and maintaining data transmission with the prefix aggregation client;

[0062] Operation scheduling module, used to verify the request content and organize and schedule each module to run effectively;

[0063] The data encryption and decryption module is used to use asymmetric encryption technology to encrypt and decrypt the received prefix aggregation request, verify the signature, and encrypt and sign the returned information;

[0064] The LHS authentication module is used to authenticate the authenticity of the LHS service of the LHS system prefix aggregation client that receives the request;

[0065] Log management module, used to perform corresponding operations on various types of logs;

[0066] The message push module is used to push system prompt information to system administrators and other personnel through emails, text messages, etc.;

[0067] Data storage module, used for local storage management of prefix data.

[0068] The beneficial effects of the present invention are as follows: the present invention improves the existing Handle prefix management mechanism, enhances the LHS and GHR functions, so that Handle services at all levels can automatically aggregate prefix data to the GHR when operating the Handle prefixes they are responsible for, which is convenient for the GHR to understand the global status of Handle services at all levels and provide effective support for further Handle service applications; the GHR system can obtain the latest data of all prefixes in LHS systems at all levels in real time, and the LHS systems at all levels will actively push the latest prefix data of the management prefix to the GHR system, add a two-way authentication mechanism between services, ensure the authenticity of the service, add encryption and signature mechanisms for data exchange, ensure that data can only be obtained by authorized users, and ensure the security of data exchange.

[0069] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0070] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0072] In the attached picture:

[0073] Figure 1 A method flow chart of a prefix aggregation method based on a Handle system in an embodiment of the present invention;

[0074] Figure 2 A method schematic diagram of a prefix aggregation method based on a Handle system in an embodiment of the present invention;

[0075] Figure 3 The operation flow of the LHS prefix aggregation client subsystem in a prefix aggregation system based on the Handle system in an embodiment of the present invention is as follows: Figure 1 ;

[0076] Figure 4 It is an operation flow chart of a prefix aggregation service terminal system of a GHR in a prefix aggregation system based on a Handle system in an embodiment of the present invention;

[0077] Figure 5The operation flow of the LHS prefix aggregation client subsystem in a prefix aggregation system based on the Handle system in an embodiment of the present invention is as follows: Figure 2 . DETAILED DESCRIPTION

[0078] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0079] An embodiment of the present invention provides a prefix aggregation method based on a Handle system, comprising:

[0080] Add the prefix aggregation client of the LHS system in the LHS system;

[0081] Add GHR prefix aggregation server in the GHR system;

[0082] The working principle of the above technical solution is as follows: after the LHS system receives a request that meets the prefix aggregation conditions, it calls the operation scheduling module of the prefix aggregation client in an asynchronous manner, passing the prefix data and the operation type. After receiving the request, the operation scheduling module performs data verification on the prefix data and the operation type to ensure that the content meets the Handle protocol requirements; for requests that do not meet the Handle protocol, the log processing module is called to perform corresponding log operations; after the operation scheduling module completes the data verification, it calls the data encryption module to encrypt the information to be aggregated using the public key of the GHR prefix collection server; the prefix private key of the current LHS service is used to sign the information to be aggregated; after the data encryption is completed, the operation scheduling module calls the queue management module to write the content to be aggregated into The scheduling module calls the data transmission module to send the content to be aggregated to the prefix aggregation server of GHR, and calls the log processing module to perform corresponding log operations; after receiving the prefix aggregation request, the operation scheduling module of the prefix aggregation server of GHR calls the LHS authentication module to authenticate the authenticity of LHS according to the IP, port, LHS prefix public key and other information of the prefix aggregation request LHS, to ensure that the prefix aggregation request comes from the correct LHS prefix aggregation client; if the authentication fails, the next step is refused, the message push module is called to send a warning message to the administrator, and the log processing module is called to perform corresponding log operations; the operation scheduling module passes the prefix request information that has passed the LHS authentication to the data encryption and decryption module block; the data encryption and decryption module uses the LHS prefix public key and the GHR prefix collection private key to decrypt the prefix collection information and verify the signature, and returns the decrypted data after completion; after receiving the decrypted data, the operation scheduling module verifies the data content to ensure that it complies with the Handle protocol; the operation scheduling module passes the verified data to the data storage module, writes it into the prefix storage area, and writes it into the operation log; the operation scheduling module returns the final processing result to the LHS prefix collection client; after receiving the processing result information returned by the GHR prefix aggregation server, the operation scheduling module of the LHS prefix aggregation client calls the GHR authentication module to authenticate the authenticity of the GHR; if the authentication fails, the operation scheduling module calls the log management module to perform Corresponding log operations; after passing GHR authentication, the operation scheduling module calls the data encryption and decryption module, and uses the prefix aggregation public key of GHR and the prefix private key of the current LHS to perform data decryption and signature verification; if the processing fails, the operation scheduling module calls the log management module to perform corresponding log operations; after data decryption and signature verification are completed, the operation scheduling module performs corresponding processing according to the type of returned information; if the correct processing information is received, the log management module is called to perform log operations; if the processing error information is received, the message push module is called to send a processing error prompt to the administrator, and the log management module is called to perform log operations; if the processing timeout is not received and the processing information is not received, the queue management module is called to rewrite the prefix data into the queue;Call the log management module to perform corresponding log operations;

[0083] The beneficial effects of the above technical solution are as follows: the present invention improves the existing Handle prefix management mechanism, enhances the LHS and GHR functions, so that Handle services at all levels can automatically aggregate prefix data to GHR when operating the Handle prefixes they are responsible for, which is convenient for GHR to understand the global status of Handle services at all levels and provide effective support for further Handle service applications; the GHR system can obtain the latest data of all prefixes in LHS systems at all levels in real time, and the LHS systems at all levels will actively push the latest prefix data of the management prefix to the GHR system, add a two-way authentication mechanism between services to ensure the authenticity of the service, and add encryption and signature mechanisms for data exchange to ensure that data can only be obtained by authorized users, thereby ensuring the security of data exchange.

[0084] In one embodiment, the prefix aggregation client performs the following operations:

[0085] After receiving a request that meets the prefix aggregation conditions, determine whether the prefix data and operation type of the request meet the Handle protocol, reject the next operation of the request that does not meet the Handle protocol, send a warning message to the administrator, and perform corresponding log operations;

[0086] The prefix data conforming to the Handle protocol is encrypted and signed using the public key of the GHR prefix collection server and the prefix private key of the current LHS service to obtain a prefix aggregation request;

[0087] Writing the prefix aggregation request into a queue, transmitting it to the prefix aggregation server of the GHR and performing corresponding log operations;

[0088] The working principle of the above technical solution is as follows: after receiving the request, the operation scheduling module performs data verification on the prefix data and the operation type to ensure that the content meets the requirements of the Handle protocol; for requests that do not meet the Handle protocol, the log processing module is called to perform corresponding log operations; after the operation scheduling module completes the data verification, the data encryption module is called to encrypt the information to be aggregated using the public key of the GHR prefix collection server; the information to be aggregated is signed using the prefix private key of the current LHS service; after the data encryption is completed, the operation scheduling module calls the queue management module to write the content to be aggregated into the queue; the scheduling module calls the data transmission module to send the content to be aggregated to the prefix aggregation server of the GHR, and calls the log processing module to perform corresponding log operations;

[0089] The beneficial effects of the above technical solution are: during the transmission process, the prefix request is verified to ensure that the prefix request complies with the Handle protocol, and at the same time, the data is encrypted using the encryption module to ensure the security of the data exchange process.

[0090] In one embodiment, the prefix aggregation server of the GHR performs the following operations:

[0091] After receiving the prefix aggregation request, the prefix aggregation server of the GHR performs LHS authentication on the authenticity of the prefix aggregation request based on the IP, port, and LHS prefix public key of the prefix aggregation request LHS;

[0092] Reject the next step of the prefix aggregation request that failed the LHS authentication, send a warning message to the administrator, and perform corresponding log operations;

[0093] Decrypt and verify the signature of the prefix aggregation request that has passed the LHS authentication using the LHS prefix public key and the GHR prefix collection private key to obtain the first decrypted data;

[0094] Reject the next step of the prefix aggregation request for which the decryption failed, send a warning message to the administrator, and perform corresponding log operations;

[0095] Determine whether the first decrypted data successfully decrypted complies with the Handle protocol;

[0096] Reject the next step of the first decrypted data that does not comply with the Handle protocol, send a warning message to the administrator, and perform corresponding log operations;

[0097] The first decrypted data conforming to the Handle protocol is stored in the prefix storage area and written into the operation log;

[0098] Generate a processing result corresponding to the prefix aggregation request according to the operation log of the prefix aggregation server of the GHR, and encrypt and sign the processing result by using the public key of the LHS prefix collection server and the prefix private key of the current GHR service to obtain processing result information;

[0099] Returning the processing result information to the prefix aggregation client;

[0100] The working principle of the above technical solution is as follows: after receiving the prefix aggregation request, the operation scheduling module of the prefix aggregation server of GHR calls the LHS authentication module, and authenticates the authenticity of LHS according to the IP, port, LHS prefix public key and other information of the LHS sending the prefix aggregation request, to ensure that the prefix aggregation request comes from the correct LHS prefix aggregation client, and the operation scheduling module passes the prefix request information that has passed the LHS authentication to the data encryption and decryption module; the data encryption and decryption module uses the LHS prefix public key and the GHR prefix collection private key to decrypt and verify the signature of the prefix aggregation information, and returns the decrypted data after completion. After receiving the decrypted data, the operation scheduling module verifies the data content to ensure that it complies with the Handle protocol. The operation scheduling module passes the verified data to the data storage module, writes it into the prefix storage area, and writes it into the operation log. For those that fail the authentication, the data decryption fails, and the data verification fails, the next step of operation is refused, the message push module is called, a warning message is sent to the administrator, and the log processing module is called to perform corresponding log operations. The operation scheduling module returns the final processing result to the LHS prefix collection client;

[0101] The beneficial effects of the above technical solution are: by decrypting the obtained data, it is verified whether the current data is sent by the LHS prefix aggregation client, and after the decryption is completed, the current data is authenticated by LHS, thereby ensuring the security of the data exchange process, and storing the successfully verified prefix data in the prefix storage area of ​​the GHR's prefix aggregation server, so that the GHR can understand the global status of Handle services at all levels, and by rejecting operation requests that fail to be verified in any link, unnecessary calculations are reduced, and the verification failure information is sent to the administrator to serve as a warning.

[0102] In one embodiment, the prefix aggregation client performs the following operations:

[0103] Receive the processing result information returned by the prefix service end of the GHR, and perform GHR authentication on the authenticity of the processing result information based on the IP, port, and GRP prefix public key of the processing result information GHR;

[0104] Reject the next step of the processing result information of the GHR authentication failure, send a warning message to the administrator, and perform corresponding log operations;

[0105] Decrypt and verify the signature of the successful GHR authentication processing result information using the GHR prefix aggregation public key and the current LHS prefix private key to obtain second decrypted data;

[0106] Reject the next step of the processing result information of the failed decryption, send a warning message to the administrator, and perform corresponding log operations;

[0107] Determine the information type of the second decrypted data that is successfully decrypted, and if the information type of the second decrypted data is normal information, directly perform normal log operations;

[0108] If the second decrypted data is processing error information, a processing error prompt is sent to the administrator, and corresponding log operations are performed;

[0109] If the second decrypted data is processing timeout information, rewriting the prefix aggregation request into the queue and performing corresponding log operations;

[0110] The working principle of the above technical solution is as follows: after the operation scheduling module of the LHS prefix aggregation client receives the processing result information returned by the GHR prefix aggregation server, it calls the GHR authentication module to authenticate the authenticity of the GHR. When the authentication fails, the operation scheduling module calls the log management module to perform corresponding log operations. After passing the GHR authentication, the operation scheduling module calls the data encryption and decryption module to use the GHR prefix aggregation public key and the current LHS prefix private key to decrypt the data and verify the signature. If the processing fails, the operation scheduling module calls the log management module to perform corresponding log operations. After the data decryption and signature verification are completed, the operation scheduling module performs corresponding processing according to the type of returned information. If the first type of processing information is received, the log management module is called to perform log operations. If the second type of processing information is received, the message push module is called to send a processing error prompt to the administrator, and the log management module is called to perform log operations. If the processing timeout fails and the processing information is not received, the queue management module is called to rewrite the prefix data into the queue; the log management module is called to perform corresponding log operations;

[0111] The beneficial effects of the above technical solution are: through GHR authentication and decryption of the returned information data, the security of the data exchange process is guaranteed, and the processing information is fed back in time, thereby improving the timeliness of the data.

[0112] In one embodiment, it further includes:

[0113] Monitoring the queue to determine whether a prefix aggregation request is written into the queue;

[0114] When it is determined that the queue is written with a prefix aggregation request, detecting whether the prefix aggregation request has a unique identifier;

[0115] If the prefix aggregation request does not have a unique identifier, marking the prefix aggregation request with a unique identifier;

[0116] If the prefix aggregation request has a unique identifier, the unique identifier is overlapped, and the overlapped identifier is to copy the unique identifier so that the prefix aggregation request has two identical unique identifiers;

[0117] When a prefix aggregation request is written into the queue, obtaining the same number of unique identifiers of the prefix aggregation request;

[0118] If the number of unique identifiers is greater than the unique identifier number threshold, a circular request error prompt is sent to the administrator, and corresponding log operations are performed;

[0119] Classify all data without labels into group 1, all data with 1 label into group 2, all data with 2 labels into group 3, and so on, there are α groups in total;

[0120] Calculate the following formula to get the unique identifier number threshold:

[0121]

[0122] Where N is the total number of prefix aggregation requests written, α is the number of groups containing unique identifiers, and N d is the number of prefix aggregation requests of group d, β bd is the product of the number of prefix aggregation requests of the dth group and the number of unique identifiers of the dth group, β d is the number of unique identifiers of the dth group, β is the average number of unique identifiers of all prefix aggregation requests;

[0123] The working principle of the above technical solution is: monitor the current queue, and whenever a prefix aggregation request enters the queue, the monitoring unit will start the detection unit for detection, and the detection unit detects the current prefix aggregation request to detect whether the current prefix aggregation request has a unique identifier. If no unique identifier exists, the current prefix aggregation request is identified with a unique identifier. If a unique identifier exists, the number of current unique identifiers is judged to determine whether the current number of unique identifiers is greater than the unique identifier number threshold. If it is greater than the preset number, a circular request error prompt is sent to the administrator, and corresponding log operations are performed. If the current number of unique identifiers is not greater than the unique identifier number threshold, the unique identifier of the current prefix aggregation request is copied, so that the number of unique identifiers of the current prefix aggregation request is increased by one;

[0124] The beneficial effect of the above technical solution is: preventing the prefix aggregation request from being unable to be transmitted to the GHR system prefix aggregation service subsystem due to unknown reasons, causing the LHS system prefix aggregation client subsystem to repeatedly execute the prefix aggregation request transmission, thereby causing a waste of computing resources.

[0125] In one embodiment, the prefix aggregation client subsystem of the LHS system:

[0126] The operation scheduling module is used to receive the prefix aggregation request from the prefix aggregation client subsystem of the LHS system, verify the request content, and organize and schedule each module to operate effectively;

[0127] The data encryption and decryption module is used to encrypt and sign the prefix aggregation request using asymmetric encryption technology, and decrypt and verify the signature of the result returned by the GHR system prefix aggregation service subsystem;

[0128] The GHR authentication module is used to authenticate the authenticity of the GHR service returned by the GHR system prefix aggregation server;

[0129] Log management module, used to perform corresponding operations on various types of logs;

[0130] The queue management module is used to manage the message queue of prefix aggregation requests, queue persistence and other operations;

[0131] Data transmission module, used for data transmission with the prefix aggregation operation server of the GHR system;

[0132] The message push module is used to push system prompt information to system administrators and other personnel through emails, text messages, etc.;

[0133] The working principle of the above technical solution is as follows: after the LHS system receives a request that meets the prefix aggregation conditions, it calls the operation scheduling module of the prefix aggregation client in an asynchronous manner to pass the prefix data and operation type; after receiving the request, the operation scheduling module performs data verification on the prefix data and operation type to ensure that the content meets the Handle protocol requirements. For requests that do not meet the Handle protocol, the log processing module is called to perform corresponding log operations; after the operation scheduling module completes the data verification, it calls the data encryption module to encrypt the information to be aggregated using the public key of the GHR prefix collection server; the information to be aggregated is signed using the prefix private key of the current LHS service; after the data encryption is completed, the operation scheduling module calls the queue management module to write the content to be aggregated into the queue; the scheduling module calls the data transmission module to send the content to be aggregated to the GHR prefix aggregation server, and calls the log processing module to perform corresponding log operations; the operation scheduling module of the LHS prefix aggregation client receives the GHR prefix After the processing result information returned by the aggregation server is collected, the GHR authentication module is called to authenticate the authenticity of the GHR; if the authentication fails, the operation scheduling module calls the log management module to perform corresponding log operations; after passing the GHR authentication, the operation scheduling module calls the data encryption and decryption module, and uses the prefix aggregation public key of the GHR and the prefix private key of the current LHS to decrypt the data and verify the signature; if the processing fails, the operation scheduling module calls the log management module to perform corresponding log operations; after the data decryption and signature verification are completed, the operation scheduling module performs corresponding processing according to the type of returned information; if the correct processing information is received, the log management module is called to perform log operations; if the processing error information is received, the message push module is called to send a processing error prompt to the administrator, and the log management module is called to perform log operations; if the processing timeout does not receive the processing information, the queue management module is called to rewrite the prefix data into the queue; the log management module is called to perform corresponding log operations;

[0134] The beneficial effects of the above technical solution are: during the transmission process, the prefix request is verified to ensure that the prefix request complies with the Handle protocol, and the encryption module is used to encrypt the data and perform GHR authentication on the data, thereby ensuring the security and authenticity of the data exchange process. The prefix data is automatically acquired and actively transmitted, making the prefix data real-time.

[0135] In one embodiment, it further includes:

[0136] A detection module, the detection module comprising:

[0137] a marking unit, used for monitoring the queue and starting a detection unit when a prefix aggregation request is written into the queue module;

[0138] A detection unit, configured to, when receiving the queue-out written prefix aggregation request sent by the marking unit, detect whether the prefix aggregation request has a unique identifier;

[0139] If the prefix aggregation request does not have a unique identifier, marking the prefix aggregation request with a unique identifier;

[0140] If the prefix aggregation request has a unique identifier, the unique identifier is overlapped, and the overlapped identifier is to copy the unique identifier so that the prefix aggregation request has two identical unique identifiers;

[0141] A determination unit, configured to determine the number of identical unique identifiers of the prefix aggregation requests when the prefix aggregation requests are written into the queue;

[0142] An alarm unit, used for sending a circular request error prompt to the administrator and performing corresponding log operations when the number is greater than a preset number;

[0143] The working principle of the above technical solution is: monitor the current queue, and whenever a prefix aggregation request enters the queue, the monitoring unit will start the detection unit for detection, and the detection unit detects the current prefix aggregation request to detect whether the current prefix aggregation request has a unique identifier. If no unique identifier exists, the current prefix aggregation request is identified with a unique identifier. If a unique identifier exists, the current number of unique identifiers is judged to determine whether the current number of unique identifiers is greater than the unique identifier number threshold. If it is greater than the unique identifier number threshold, a circular request error prompt is sent to the administrator, and corresponding log operations are performed. If the current number of unique identifiers is not greater than the unique identifier number threshold, the unique identifier of the current prefix aggregation request is copied, so that the number of unique identifiers of the current prefix aggregation request is increased by one;

[0144] The beneficial effect of the above technical solution is: preventing the prefix aggregation request from being unable to be transmitted to the GHR system prefix aggregation service subsystem due to unknown reasons, causing the LHS system prefix aggregation client subsystem to repeatedly execute the prefix aggregation request transmission, thereby causing a waste of computing resources.

[0145] In one embodiment, the prefix aggregation service terminal system of the GHR includes:

[0146] A data transmission module, used for receiving a prefix aggregation request from a prefix aggregation client of the LHS system, and maintaining data transmission with the prefix aggregation client;

[0147] Operation scheduling module, used to verify the request content and organize and schedule each module to run effectively;

[0148] The data encryption and decryption module is used to use asymmetric encryption technology to encrypt and decrypt the received prefix aggregation request, verify the signature, and encrypt and sign the returned information;

[0149] The LHS authentication module is used to authenticate the authenticity of the LHS service of the LHS system prefix aggregation client that receives the request;

[0150] Log management module, used to perform corresponding operations on various types of logs;

[0151] The message push module is used to push system prompt information to system administrators and other personnel through emails, text messages, etc.;

[0152] Data storage module, used for local storage management of prefix data;

[0153] The working principle of the above technical solution is as follows: after receiving the prefix aggregation request, the operation scheduling module of the prefix aggregation server of GHR calls the LHS authentication module to authenticate the authenticity of LHS according to the IP, port, LHS prefix public key and other information of the LHS that sends the prefix aggregation request, to ensure that the prefix aggregation request comes from the correct LHS prefix aggregation client. For those that fail the authentication, the next step is refused, the message push module is called to send a warning message to the administrator, and the log processing module is called to perform corresponding log operations; the operation scheduling module passes the prefix request information that has passed the LHS authentication to the data encryption and decryption module; the data encryption and decryption module uses the LHS prefix public key and the GHR prefix collection private key to decrypt and verify the signature of the prefix aggregation information, and returns the decrypted data after completion; after receiving the decrypted data, the operation scheduling module verifies the data content to ensure that it complies with the Handle protocol; the operation scheduling module passes the verified data to the data storage module, writes it into the prefix storage area, and writes it into the operation log; the operation scheduling module returns the final processing result to the LHS prefix collection client;

[0154] The beneficial effects of the above technical solution are: during the transmission process, the prefix request is verified to ensure that the prefix request complies with the Handle protocol, and the encryption module is used to encrypt the data and perform LHS authentication on the data, thereby ensuring the security and authenticity of the data exchange process, and each correctly operated prefix data is stored in the prefix storage area, which facilitates GHR to understand the global status of Handle services at all levels.

[0155] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A prefix aggregation method based on a Handle system, characterized in that: include: Add the prefix aggregation client of the LHS system in the LHS system; Add GHR prefix aggregation server in the GHR system; The prefix aggregation client performs the following operations: After receiving a request that meets the prefix aggregation conditions, determine whether the prefix data and operation type of the request meet the Handle protocol, reject the next operation of the request that does not meet the Handle protocol, send a warning message to the administrator, and perform corresponding log operations; The prefix data conforming to the Handle protocol is encrypted and signed using the public key of the GHR prefix collection server and the prefix private key of the current LHS service to obtain a prefix aggregation request; Writing the prefix aggregation request into a queue, transmitting it to the prefix aggregation server of the GHR and performing corresponding log operations; The prefix aggregation server of the GHR performs the following operations: After receiving the prefix aggregation request, the prefix aggregation server of the GHR performs LHS authentication on the authenticity of the prefix aggregation request based on the IP, port, and LHS prefix public key of the prefix aggregation request LHS; Reject the next step of the prefix aggregation request that failed the LHS authentication, send a warning message to the administrator, and perform corresponding log operations; Decrypt and verify the signature of the prefix aggregation request that has passed the LHS authentication using the LHS prefix public key and the GHR prefix collection private key to obtain the first decrypted data; Reject the next step of the prefix aggregation request for which the decryption failed, send a warning message to the administrator, and perform corresponding log operations; Determine whether the first decrypted data that is successfully decrypted complies with the Handle protocol; Reject the next step of the first decrypted data that does not comply with the Handle protocol, send a warning message to the administrator, and perform corresponding log operations; The first decrypted data conforming to the Handle protocol is stored in the prefix storage area and written into the operation log; Generate a processing result corresponding to the prefix aggregation request according to the operation log of the prefix aggregation server of the GHR, and encrypt and sign the processing result by using the public key of the LHS prefix collection server and the prefix private key of the current GHR service to obtain processing result information; Returning the processing result information to the prefix aggregation client; The prefix aggregation client performs the following operations: Receive the processing result information returned by the prefix service end of the GHR, and perform GHR authentication on the authenticity of the processing result information based on the IP, port, and GRP prefix public key of the processing result information GHR; Reject the next step of the processing result information of the GHR authentication failure, send a warning message to the administrator, and perform corresponding log operations; Decrypt and verify the signature of the successful GHR authentication processing result information using the GHR prefix aggregation public key and the current LHS prefix private key to obtain second decrypted data; Reject the next step of the processing result information of the failed decryption, send a warning message to the administrator, and perform corresponding log operations; Determine the information type of the second decrypted data that is successfully decrypted, and if the information type of the second decrypted data is normal information, directly perform normal log operations; If the second decrypted data is processing error information, a processing error prompt is sent to the administrator, and corresponding log operations are performed; If the second decrypted data is processing timeout information, the prefix aggregation request is rewritten into the queue and a corresponding log operation is performed.

2. According to claim 1, a prefix aggregation method based on a Handle system is characterized in that: Also includes: Monitoring the queue to determine whether a prefix aggregation request is written into the queue; When it is determined that the queue is written with a prefix aggregation request, detecting whether the prefix aggregation request has a unique identifier; If the prefix aggregation request does not have a unique identifier, marking the prefix aggregation request with a unique identifier; If the prefix aggregation request has a unique identifier, the unique identifier is overlapped, and the overlapped identifier is to copy the unique identifier so that the prefix aggregation request has two identical unique identifiers; When a prefix aggregation request is written into the queue, obtaining the same number of unique identifiers of the prefix aggregation request; If the number of unique identifiers is greater than the unique identifier number threshold, a circular request error prompt is sent to the administrator, and corresponding log operations are performed.

3. According to claim 2, a prefix aggregation method based on a Handle system is characterized in that: Classify all data without labels into group 1, all data with 1 label into group 2, all data with 2 labels into group 3, and so on, there are α groups in total; Calculate the following formula to get the unique identifier number threshold: Where N is the total number of prefix aggregation requests written, α is the number of groups containing unique identifiers, The number of prefix aggregation requests for group d. The product of the number of prefix aggregation requests of the dth group and the number of unique identifiers of the dth group, is the number of unique identifiers of the dth group, The average number of unique identifiers requested for all prefixes.

4. A prefix aggregation system based on a Handle system, comprising: The prefix aggregation client subsystem added in the LHS system; The prefix aggregation service subsystem added in the GHR system; The prefix aggregation client subsystem of the LHS system includes: The operation scheduling module is used to receive the prefix aggregation request from the prefix aggregation client subsystem of the LHS system, verify the request content, and organize and schedule each module to operate effectively; The data encryption and decryption module is used to encrypt and sign the prefix aggregation request using asymmetric encryption technology, and decrypt and verify the signature of the result returned by the GHR system prefix aggregation service subsystem; The GHR authentication module is used to authenticate the authenticity of the GHR service returned by the GHR system prefix aggregation server; Log management module, used to perform corresponding operations on various types of logs; The queue management module is used to manage the message queue and queue persistence operations of prefix aggregation requests; Data transmission module, used for data transmission with the prefix aggregation operation server of the GHR system; Message push module, used to push system prompt information to system administrators via email or SMS; Also includes: A detection module, the detection module comprising: a marking unit, used for monitoring the queue and starting a detection unit when a prefix aggregation request is written into the queue module; A detection unit, configured to, when receiving the queue-out written prefix aggregation request sent by the marking unit, detect whether the prefix aggregation request has a unique identifier; If the prefix aggregation request does not have a unique identifier, marking the prefix aggregation request with a unique identifier; If the prefix aggregation request has a unique identifier, the unique identifier is overlapped, and the overlapped identifier is to copy the unique identifier so that the prefix aggregation request has two identical unique identifiers; A determination unit, configured to determine the number of identical unique identifiers of the prefix aggregation requests when the prefix aggregation requests are written into the queue; The warning unit is used to send a loop request error prompt to the administrator when the number is greater than the preset number, and perform corresponding log operations The GHR prefix aggregation service terminal system includes: A data transmission module, used for receiving a prefix aggregation request from a prefix aggregation client of the LHS system, and maintaining data transmission with the prefix aggregation client; Operation scheduling module, used to verify the request content and organize and schedule each module to run effectively; The data encryption and decryption module is used to use asymmetric encryption technology to encrypt and decrypt the received prefix aggregation request, verify the signature, and encrypt and sign the returned information; The LHS authentication module is used to authenticate the authenticity of the LHS service of the LHS system prefix aggregation client that receives the request; Log management module, used to perform corresponding operations on various types of logs; Message push module, used to push system prompt information to system administrators via email or SMS; Data storage module, used for local storage management of prefix data.