CN115914240B - Cross-chain transaction template management system based on DNS analysis - Google Patents

Cross-chain transaction template management system based on DNS analysis Download PDF

Info

Publication number
CN115914240B
CN115914240B CN202310015621.6A CN202310015621A CN115914240B CN 115914240 B CN115914240 B CN 115914240B CN 202310015621 A CN202310015621 A CN 202310015621A CN 115914240 B CN115914240 B CN 115914240B
Authority
CN
China
Prior art keywords
load
transaction
domain name
resolution
relay server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310015621.6A
Other languages
Chinese (zh)
Other versions
CN115914240A (en
Inventor
钟晓
杨国忠
姚飞亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Rongzer Information Technology Co Ltd
Original Assignee
Jiangsu Rongzer Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Rongzer Information Technology Co Ltd filed Critical Jiangsu Rongzer Information Technology Co Ltd
Priority to CN202310015621.6A priority Critical patent/CN115914240B/en
Publication of CN115914240A publication Critical patent/CN115914240A/en
Application granted granted Critical
Publication of CN115914240B publication Critical patent/CN115914240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention belongs to the field of blockchains, relates to a data analysis technology, and is used for solving the problem that the existing cross-chain transaction template management system cannot meet the cross-chain requirements of all different services, in particular to a DNS analysis-based cross-chain transaction template management system, which comprises a transaction management platform, wherein the transaction management platform is in communication connection with a service management module, an application management module, a relay management module, an optimization analysis module and a storage module; the business management module is used for creating a transaction template and sending the transaction template to the storage module for storage, and the application management module is used for sending a transaction calling request, wherein the sending mode of the transaction calling request comprises a single-chain sending mode and a transaction sending mode; the invention can monitor and analyze the domain name resolution state of the relay through the relay management module, and reduce the load of the relay server while improving the domain name resolution efficiency, thereby ensuring that the domain name resolution task of the relay server can be orderly carried out.

Description

Cross-chain transaction template management system based on DNS analysis
Technical Field
The invention belongs to the field of blockchains, relates to a data analysis technology, and particularly relates to a cross-chain transaction template management system based on DNS analysis.
Background
Under the construction mode of the main market strength, whether a public chain or a alliance chain is adopted, the system is singly similar to a local area network, is difficult to uniformly use in a large range, has limited scale influence, and is similar to a wide area network in a block chain of cross-chain interconnection, so that the extension of a force service range is realized; when the centralized application program is integrated with a plurality of blockchains with different service types, a blockchain cross-chain relay system is required to ensure data intercommunication and information trusted sharing among different chains, and the data island is opened.
When the requirements of the cross-link service are increased and the business transaction is complicated and improved, the existing cross-link system cannot meet the requirements of all different services, and specific plug-ins are required to be developed for the different services, so that the technical threshold and the development difficulty are increased.
Aiming at the technical problems, the application provides a solution.
Disclosure of Invention
The invention aims to provide a cross-link transaction template management system based on DNS analysis, which is used for solving the problem that the existing cross-link transaction template management system cannot meet the cross-link requirements of all different services;
the technical problems to be solved by the invention are as follows: how to provide a cross-link transaction template management system which can meet the cross-link requirements of all different businesses.
The aim of the invention can be achieved by the following technical scheme:
the cross-chain transaction template management system based on DNS analysis comprises a transaction management platform, wherein the transaction management platform is in communication connection with a service management module, an application management module, a relay management module, an optimization analysis module and a storage module;
the business management module is used for creating a business template and sending the business template to the storage module for storage, the business template comprises tasks i, i=1, 2, … and n, and the creating process of the task i comprises the following steps: the alliance chain generates tasks in the form of chain names, channels, contracts and methods; the public chain generates tasks in the form of contract addresses and methods;
the application management module is used for sending a transaction call request, the sending mode of the transaction call request comprises a single-chain sending mode and a transaction sending mode, and the single-chain sending mode is used for sending single-chain request call to the repeater; the transaction sending mode is used for sending a transaction calling request to the transaction template through the transaction ID and the parameters;
the relay management module is used for monitoring and analyzing the domain name resolution state of the relay;
and the optimization analysis module is used for carrying out load optimization analysis on the relay server.
As a preferred embodiment of the present invention, the specific process of the relay management module for monitoring and analyzing the domain name resolution status of the relay includes: the domain name resolution mode of the repeater comprises a recursion resolution mode and an iteration resolution mode, and domain name resolution is carried out by adopting the recursion resolution mode preferentially; and monitoring the load of the relay server while performing domain name resolution in a recursion resolution mode: acquiring the CPU occupancy rate of the relay server, marking the CPU occupancy rate as ZY, acquiring the backup data memory value of the relay server, marking the backup data memory value as BN, and carrying out numerical calculation on the ZY and the BN to obtain a load coefficient FZ; the load threshold value FZmax is obtained through the storage module, the load coefficient FZ is compared with the load threshold value FZmax, and whether the load state of the relay server meets the requirement or not is judged according to the comparison result.
As a preferred embodiment of the present invention, if the load factor FZ is smaller than the load threshold FZmax, it is determined that the load status of the relay server meets the requirement, and domain name resolution is performed continuously by adopting a recursive resolution method; if the load factor FZ is greater than or equal to the load threshold FZmax, judging that the load state of the relay server does not meet the requirement, and performing domain name resolution in an iterative resolution mode.
As a preferred embodiment of the present invention, the specific process of performing domain name resolution by using a recursive resolution method includes: recursively requesting the next server by a domain name server until a matched address is obtained;
the specific process for carrying out domain name resolution by adopting an iterative resolution mode comprises the following steps: each time a server is requested, when the local domain name server cannot obtain the query answer, the name of the next domain name server is returned to the client.
As a preferred embodiment of the present invention, the specific process of the optimization analysis module for performing load optimization analysis on the relay server includes: the method comprises the steps of obtaining L1 times of domain name resolution tasks processed by a relay server, marking the resolution process of the L1 times of domain name resolution tasks as a processing process, marking the domain name resolution tasks which do not adopt an iteration resolution mode to resolve the domain name in the processing process as standard tasks, marking the number of the standard tasks as BZ, marking the domain name resolution tasks which adopt a recursion resolution mode and an iteration resolution mode to resolve the domain name in the processing process as dual-mode tasks, obtaining the duration of domain name resolution in the dual-mode tasks in the recursion resolution mode and marking the duration as the recursion duration, summing the recursion durations of all the dual-mode tasks and taking the average value to obtain a recursion coefficient DG, and obtaining a negative-optimal coefficient FY of the relay server by carrying out numerical calculation on the BZ and the DG; the negative optimal threshold value FYmin is obtained through the storage module, the negative optimal coefficient FY of the relay server is compared with the negative optimal threshold value FYmin, and whether load optimization of the relay server is needed or not is judged according to a comparison result.
As a preferred embodiment of the present invention, the specific process of comparing the negative optimal coefficient FY of the relay server with the negative optimal threshold FYmin includes:
if the negative optimal coefficient FY is smaller than a negative optimal threshold FYmin, judging that the relay server needs to perform load optimization, and sending a load optimization signal to a transaction management platform by an optimization analysis module, wherein the transaction management platform sends the load optimization signal to a mobile phone terminal of a manager after receiving the load optimization signal;
if the load factor FY is greater than or equal to the load threshold FYmin, it is determined that the relay server does not need to perform load optimization, and load balance detection is performed on the relay server.
As a preferred embodiment of the present invention, the specific process of performing load balancing detection on the relay server includes: marking task processing time lengths of all standard tasks as standard values, establishing standard sets for all standard values, establishing recursive sets for recursive time lengths in all dual-mode tasks, performing variance calculation on the recursive sets to obtain recursive values, acquiring standard threshold values and recursive threshold values through a storage module, and comparing the standard values and the recursive values with the standard threshold values and the recursive threshold values respectively: if the standard value is smaller than the standard threshold value and the recursion value is smaller than the recursion threshold value, judging that the load balance of the relay server meets the requirement, and sending a load balance signal to a transaction management platform by an optimization analysis module, wherein the transaction management platform sends the load balance signal to a mobile phone terminal of a manager after receiving the load balance signal; otherwise, judging that the load balance of the relay server does not meet the requirement, sending a balance processing signal to the transaction management platform by the optimization analysis module, and sending the balance processing signal to a mobile phone terminal of a manager after the transaction management platform receives the balance processing signal.
As a preferred embodiment of the invention, the working method of the DNS resolution-based cross-chain transaction template management system comprises the following steps:
step one: creating a transaction template through a service management module and sending the transaction template to a storage module for storage; the transaction calling request is sent by adopting a single-chain sending mode or a transaction sending mode through an application management module;
step two: the method comprises the steps that a relay management module is used for monitoring and analyzing the domain name resolution state of a relay, a recursive resolution mode is preferably adopted for domain name resolution, the load of a relay server is monitored and a load coefficient is obtained while the recursive resolution mode is adopted for domain name resolution, and the domain name resolution mode is switched and controlled according to the value of the load coefficient;
step three: carrying out load optimization analysis on the relay server through an optimization analysis module, acquiring an L1 domain name resolution task processed by the relay server, marking the resolution process as a processing process, calculating a negative optimal coefficient of the processing process, and judging whether the relay server needs load optimization or not according to the numerical value of the negative optimal coefficient;
step four: and when the load balance of the relay server does not meet the requirement, a balance processing signal is sent to a mobile phone terminal of a manager through the transaction management platform.
The invention has the following beneficial effects:
1. by adding a visual cross-link transaction template management module on the basis of the traditional cross-link, adopting a routing and DNS infrastructure similar to the traditional Internet for seamless network communication among multiple links, and providing a DNS-like analysis function; such as: the method (public chain) analyzes to a specified verifier to realize a general cross-chain relay system;
2. the domain name resolution state of the relay can be monitored and analyzed through the relay management module, the domain name resolution efficiency is improved, and meanwhile, the load of the relay server is reduced through the mode of interactive processing of the recursion resolution mode and the iteration resolution mode, so that the domain name resolution task of the relay server can be orderly carried out;
3. the data analysis can be carried out on the historical processing tasks of the relay server through the optimization analysis module, the negative optimal coefficient is obtained through comprehensive calculation on the standard task duty ratio and the recursion duration in the processing process, so that the load optimization necessity of the relay server is fed back through the negative optimal coefficient, and the load balancing state is fed back by combining the standard value and the recursion value, so that data support is provided for subsequent task request management.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a system block diagram of a first embodiment of the present invention;
fig. 2 is a flowchart of a method according to a second embodiment of the invention.
Detailed Description
The technical solutions of the present invention will be clearly and completely described in connection with the embodiments, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
As shown in FIG. 1, the cross-chain transaction template management system based on DNS analysis comprises a transaction management platform, wherein the transaction management platform is in communication connection with a service management module, an application management module, a relay management module, an optimization analysis module and a storage module.
The business management module is used for creating a business template and sending the business template to the storage module for storage, the business template comprises tasks i, i=1, 2, … and n, and the creating process of the task i comprises the following steps: the alliance chain generates tasks in the form of chain names, channels, contracts and methods; the public chain generates tasks in the form of contract addresses and methods.
The application management module is used for sending a transaction call request, the sending mode of the transaction call request comprises a single-chain sending mode and a transaction sending mode, and the single-chain sending mode is used for sending single-chain request call to the repeater; the transaction sending mode is used for sending a transaction calling request to the transaction template through the transaction ID and the parameters; the visual cross-link transaction template management module is added on the basis of the traditional cross-link, and a routing and DNS infrastructure similar to the traditional Internet is adopted for seamless network communication among multiple links to provide a DNS-like analysis function; such as: the method (chain name, channel, contract, method (alliance chain), chain name, contract address, method (public chain) analyzes to a specified verifier to realize a general cross-chain relay system.
The relay management module is used for monitoring and analyzing the domain name resolution state of the relay: the domain name resolution modes of the repeater comprise a recursion resolution mode and an iteration resolution mode, and the domain name resolution is carried out by adopting the recursion resolution mode preferentially: recursively requesting the next server by a domain name server until a matched address is obtained; and monitoring the load of the relay server while performing domain name resolution in a recursion resolution mode: acquiring the CPU occupancy rate of the relay server, marking as ZY, acquiring the backup data memory value of the relay server, marking as BN, and obtaining a load factor FZ through a formula FZ=α1ZY+α2 BN, wherein the load factor is a numerical value reflecting the load state of the relay server, and the larger the numerical value of the load factor is, the worse the load state of the relay server is indicated; wherein, alpha 1 and alpha 2 are both proportional coefficients, and alpha 1 is more than alpha 2 is more than 1; the load threshold value FZmax is obtained through the storage module, and the load coefficient FZ is compared with the load threshold value FZmax: if the load coefficient FZ is smaller than the load threshold FZmax, judging that the load state of the relay server meets the requirement, and continuing to analyze the domain name by adopting a recursion analysis mode; if the load coefficient FZ is greater than or equal to the load threshold FZmax, judging that the load state of the relay server does not meet the requirement, and performing domain name resolution in an iterative resolution mode; the specific process for carrying out domain name resolution by adopting an iterative resolution mode comprises the following steps: each time a server is requested, when the local domain name server cannot obtain the query answer, the name of the next domain name server is returned to the client; the domain name resolution state of the relay is monitored and analyzed, the domain name resolution efficiency is improved, and meanwhile, the load of the relay server is reduced in an interactive processing mode of a recursion resolution mode and an iteration resolution mode, so that the domain name resolution task of the relay server can be orderly carried out.
The optimization analysis module is used for carrying out load optimization analysis on the relay server: acquiring an L1 domain name resolution task processed by a relay server, marking the resolution process as a processing process, wherein L1 is a numerical constant, and the numerical value of L1 is set by a manager; marking domain name resolution tasks which do not adopt an iterative resolution mode to carry out domain name resolution in the processing process as standard tasks, marking the number of the standard tasks as BZ, marking domain name resolution tasks which adopt a recursion resolution mode and an iterative resolution mode to carry out domain name resolution in the processing process as dual-mode tasks, acquiring the duration of the domain name resolution in the dual-mode tasks adopting the recursion resolution mode and marking the duration as the recursion duration, summing the recursion durations of all the dual-mode tasks and averaging to obtain a recursion coefficient DG, obtaining a negative optimal coefficient FY of the relay server through a formula FY=β1BZ+β2xDG, wherein the negative optimal coefficient is a numerical value reflecting the necessity of load optimization of the relay server, and the larger the numerical value of the negative optimal coefficient is, the higher the necessity of load optimization of the relay server is indicated; wherein, beta 1 and beta 2 are both proportional coefficients, and beta 1 is more than beta 2 is more than 1; the negative optimal threshold value FYmin is obtained through the storage module, and the negative optimal coefficient FY of the relay server is compared with the negative optimal threshold value FYmin: if the negative optimal coefficient FY is smaller than a negative optimal threshold FYmin, judging that the relay server needs to perform load optimization, and sending a load optimization signal to a transaction management platform by an optimization analysis module, wherein the transaction management platform sends the load optimization signal to a mobile phone terminal of a manager after receiving the load optimization signal; if the load factor FY is greater than or equal to the load threshold FYmin, it is determined that the relay server does not need to perform load optimization, and load balance detection is performed on the relay server: marking task processing time lengths of all standard tasks as standard values, establishing standard sets for all standard values, establishing recursive sets for recursive time lengths in all dual-mode tasks, performing variance calculation on the recursive sets to obtain recursive values, acquiring standard threshold values and recursive threshold values through a storage module, and comparing the standard values and the recursive values with the standard threshold values and the recursive threshold values respectively: if the standard value is smaller than the standard threshold value and the recursion value is smaller than the recursion threshold value, judging that the load balance of the relay server meets the requirement, and sending a load balance signal to a transaction management platform by an optimization analysis module, wherein the transaction management platform sends the load balance signal to a mobile phone terminal of a manager after receiving the load balance signal; otherwise, judging that the load balance of the relay server does not meet the requirement, sending a balance processing signal to a transaction management platform by an optimization analysis module, and sending the balance processing signal to a mobile phone terminal of a manager after the transaction management platform receives the balance processing signal; and carrying out data analysis on historical processing tasks of the relay server, and comprehensively calculating the standard task duty ratio and the recursion duration in the processing process to obtain a negative optimal coefficient, so that the load optimization necessity of the relay server is fed back through the negative optimal coefficient, and simultaneously, the load balance state is fed back by combining the standard value and the recursion value, thereby providing data support for subsequent task request management.
Example two
As shown in fig. 2, a cross-link transaction template management method based on DNS resolution includes the following steps:
step one: creating a transaction template through a service management module and sending the transaction template to a storage module for storage; the application management module is used for carrying out transaction call request transmission in a single-chain transmission mode or a transaction transmission mode, and a routing and DNS infrastructure similar to the traditional Internet is used for seamless network communication among multiple chains to provide a DNS-like analysis function;
step two: the method comprises the steps that the relay management module monitors and analyzes the domain name resolution state of the relay, the recursive resolution mode is adopted to conduct domain name resolution preferentially, the load of the relay server is monitored and a load coefficient is obtained when the recursive resolution mode is used for conducting domain name resolution, the domain name resolution mode is switched and controlled according to the numerical value of the load coefficient, the domain name resolution efficiency is improved, meanwhile, the load of the relay server is reduced, and the domain name resolution task of the relay server can be conducted orderly;
step three: carrying out load optimization analysis on the relay server through an optimization analysis module, acquiring an L1 domain name analysis task processed by the relay server, marking the analysis process as a processing process, calculating a negative optimal coefficient of the processing process, judging whether the relay server needs load optimization or not according to the numerical value of the negative optimal coefficient, and feeding back the load optimization necessity of the relay server through the negative optimal coefficient;
step four: and when the load balance of the relay server does not meet the requirement, a balance processing signal is sent to a mobile phone terminal of a manager through the transaction management platform.
When in operation, the transaction template is created through the service management module and sent to the storage module for storage; the application management module is used for carrying out transaction call request transmission in a single-chain transmission mode or a transaction transmission mode, and a routing and DNS infrastructure similar to the traditional Internet is used for seamless network communication among multiple chains to provide a DNS-like analysis function; the method comprises the steps that the relay management module monitors and analyzes the domain name resolution state of the relay, the recursive resolution mode is adopted to conduct domain name resolution preferentially, the load of the relay server is monitored and a load coefficient is obtained when the recursive resolution mode is used for conducting domain name resolution, the domain name resolution mode is switched and controlled according to the numerical value of the load coefficient, the domain name resolution efficiency is improved, meanwhile, the load of the relay server is reduced, and the domain name resolution task of the relay server can be conducted orderly; carrying out load optimization analysis on the relay server through an optimization analysis module, acquiring an L1 domain name analysis task processed by the relay server, marking the analysis process as a processing process, calculating a negative optimal coefficient of the processing process, judging whether the relay server needs load optimization or not according to the numerical value of the negative optimal coefficient, and feeding back the load optimization necessity of the relay server through the negative optimal coefficient; and when the load balance of the relay server does not meet the requirement, a balance processing signal is sent to a mobile phone terminal of a manager through the transaction management platform.
The foregoing is merely illustrative of the structures of this invention and various modifications, additions and substitutions for those skilled in the art can be made to the described embodiments without departing from the scope of the invention or from the scope of the invention as defined in the accompanying claims.
The formulas are all formulas obtained by collecting a large amount of data for software simulation and selecting a formula close to a true value, and coefficients in the formulas are set by a person skilled in the art according to actual conditions; such as: the formula fz=α1×zy+α2×bn; collecting a plurality of groups of sample data by a person skilled in the art and setting a corresponding load coefficient for each group of sample data; substituting the set load coefficient and the acquired sample data into a formula, forming a binary one-time equation set by any two formulas, screening the calculated coefficient, and taking an average value to obtain values of alpha 1 and alpha 2 which are respectively 3.48 and 2.15;
the size of the coefficient is a specific numerical value obtained by quantizing each parameter, so that the subsequent comparison is convenient, and the size of the coefficient depends on the number of sample data and the corresponding load coefficient is preliminarily set for each group of sample data by a person skilled in the art; as long as the proportional relation between the parameter and the quantized value is not affected, for example, the load factor is directly proportional to the value of the CPU occupancy rate.
In the description of the present specification, the descriptions of the terms "one embodiment," "example," "specific example," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The preferred embodiments of the invention disclosed above are intended only to assist in the explanation of the invention. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. The invention is limited only by the claims and the full scope and equivalents thereof.

Claims (6)

1. The cross-chain transaction template management system based on DNS analysis is characterized by comprising a transaction management platform, wherein the transaction management platform is in communication connection with a service management module, an application management module, a relay management module, an optimization analysis module and a storage module;
the business management module is used for creating a business template and sending the business template to the storage module for storage, the business template comprises tasks i, i=1, 2, … and n, and the creating process of the task i comprises the following steps: the alliance chain generates tasks in the form of chain names, channels, contracts and methods; the public chain generates tasks in the form of contract addresses and methods;
the application management module is used for sending a transaction call request, the sending mode of the transaction call request comprises a single-chain sending mode and a transaction sending mode, and the single-chain sending mode is used for sending single-chain request call to the repeater; the transaction sending mode is used for sending a transaction calling request to the transaction template through the transaction ID and the parameters;
the relay management module is used for monitoring and analyzing the domain name resolution state of the relay;
the optimization analysis module is used for carrying out load optimization analysis on the relay server;
the specific process of the relay management module for monitoring and analyzing the domain name resolution state of the relay comprises the following steps: the domain name resolution mode of the repeater comprises a recursion resolution mode and an iteration resolution mode, and domain name resolution is carried out by adopting the recursion resolution mode preferentially; and monitoring the load of the relay server while performing domain name resolution in a recursion resolution mode: acquiring the CPU occupancy rate of the relay server, marking the CPU occupancy rate as ZY, acquiring the backup data memory value of the relay server, marking the backup data memory value as BN, and carrying out numerical calculation on the ZY and the BN to obtain a load coefficient FZ; the load threshold FZmax is obtained through the storage module, the load coefficient FZ is compared with the load threshold FZmax, and whether the load state of the relay server meets the requirement or not is judged according to the comparison result;
the specific process of comparing the load factor FZ with the load threshold FZmax includes: if the load coefficient FZ is smaller than the load threshold FZmax, judging that the load state of the relay server meets the requirement, and continuing to analyze the domain name by adopting a recursion analysis mode; if the load factor FZ is greater than or equal to the load threshold FZmax, judging that the load state of the relay server does not meet the requirement, and performing domain name resolution in an iterative resolution mode.
2. The DNS resolution-based cross-chain transaction template management system according to claim 1, wherein the specific process of performing domain name resolution by using a recursive resolution method includes: recursively requesting the next server by a domain name server until a matched address is obtained;
the specific process for carrying out domain name resolution by adopting an iterative resolution mode comprises the following steps: each time a server is requested, when the local domain name server cannot obtain the query answer, the name of the next domain name server is returned to the client.
3. The DNS resolution-based cross-chain transaction template management system according to claim 2, wherein the specific process of performing the load optimization analysis on the relay server by the optimization analysis module includes: the method comprises the steps of obtaining L1 times of domain name resolution tasks processed by a relay server, marking the resolution process of the L1 times of domain name resolution tasks as a processing process, marking the domain name resolution tasks which do not adopt an iteration resolution mode to resolve the domain name in the processing process as standard tasks, marking the number of the standard tasks as BZ, marking the domain name resolution tasks which adopt a recursion resolution mode and an iteration resolution mode to resolve the domain name in the processing process as dual-mode tasks, obtaining the duration of domain name resolution in the dual-mode tasks in the recursion resolution mode and marking the duration as the recursion duration, summing the recursion durations of all the dual-mode tasks and taking the average value to obtain a recursion coefficient DG, and obtaining a negative-optimal coefficient FY of the relay server by carrying out numerical calculation on the BZ and the DG; the negative optimal threshold value FYmin is obtained through the storage module, the negative optimal coefficient FY of the relay server is compared with the negative optimal threshold value FYmin, and whether load optimization of the relay server is needed or not is judged according to a comparison result.
4. A DNS resolution-based cross-chain transaction template management system according to claim 3, wherein the specific process of comparing the negative optimal coefficient FY of the relay server with the negative optimal threshold FYmin comprises:
if the negative optimal coefficient FY is smaller than a negative optimal threshold FYmin, judging that the relay server needs to perform load optimization, and sending a load optimization signal to a transaction management platform by an optimization analysis module, wherein the transaction management platform sends the load optimization signal to a mobile phone terminal of a manager after receiving the load optimization signal;
if the load factor FY is greater than or equal to the load threshold FYmin, it is determined that the relay server does not need to perform load optimization, and load balance detection is performed on the relay server.
5. The DNS resolution-based cross-chain transaction template management system of claim 4, wherein the specific process of performing load balancing detection on the relay server comprises: marking task processing time lengths of all standard tasks as standard values, establishing standard sets for all standard values, establishing recursive sets for recursive time lengths in all dual-mode tasks, performing variance calculation on the recursive sets to obtain recursive values, acquiring standard threshold values and recursive threshold values through a storage module, and comparing the standard values and the recursive values with the standard threshold values and the recursive threshold values respectively: if the standard value is smaller than the standard threshold value and the recursion value is smaller than the recursion threshold value, judging that the load balance of the relay server meets the requirement, and sending a load balance signal to a transaction management platform by an optimization analysis module, wherein the transaction management platform sends the load balance signal to a mobile phone terminal of a manager after receiving the load balance signal; otherwise, judging that the load balance of the relay server does not meet the requirement, sending a balance processing signal to the transaction management platform by the optimization analysis module, and sending the balance processing signal to a mobile phone terminal of a manager after the transaction management platform receives the balance processing signal.
6. The DNS resolution-based cross-chain transaction template management system according to any one of claims 1 to 5, wherein the working method of the DNS resolution-based cross-chain transaction template management system comprises the following steps:
step one: creating a transaction template through a service management module and sending the transaction template to a storage module for storage; the transaction calling request is sent by adopting a single-chain sending mode or a transaction sending mode through an application management module;
step two: the method comprises the steps that a relay management module is used for monitoring and analyzing the domain name resolution state of a relay, a recursive resolution mode is preferably adopted for domain name resolution, the load of a relay server is monitored and a load coefficient is obtained while the recursive resolution mode is adopted for domain name resolution, and the domain name resolution mode is switched and controlled according to the value of the load coefficient;
step three: carrying out load optimization analysis on the relay server through an optimization analysis module, acquiring an L1 domain name resolution task processed by the relay server, marking the resolution process as a processing process, calculating a negative optimal coefficient of the processing process, and judging whether the relay server needs load optimization or not according to the numerical value of the negative optimal coefficient;
step four: and when the load balance of the relay server does not meet the requirement, a balance processing signal is sent to a mobile phone terminal of a manager through the transaction management platform.
CN202310015621.6A 2023-01-06 2023-01-06 Cross-chain transaction template management system based on DNS analysis Active CN115914240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310015621.6A CN115914240B (en) 2023-01-06 2023-01-06 Cross-chain transaction template management system based on DNS analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310015621.6A CN115914240B (en) 2023-01-06 2023-01-06 Cross-chain transaction template management system based on DNS analysis

Publications (2)

Publication Number Publication Date
CN115914240A CN115914240A (en) 2023-04-04
CN115914240B true CN115914240B (en) 2023-05-26

Family

ID=85771784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310015621.6A Active CN115914240B (en) 2023-01-06 2023-01-06 Cross-chain transaction template management system based on DNS analysis

Country Status (1)

Country Link
CN (1) CN115914240B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800458A (en) * 2020-05-22 2020-10-20 浙商银行股份有限公司 Dynamic load balancing method and system for Kubernetes container cloud platform
CN114500456A (en) * 2020-10-23 2022-05-13 中国移动通信集团河北有限公司 DNS scheduling optimization method and device based on full-network sniffing and computing equipment
CN115396229A (en) * 2022-09-01 2022-11-25 西安电子科技大学 Cross-domain resource isolation sharing system based on block chain

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325762B (en) * 2018-08-30 2020-07-10 杭州复杂美科技有限公司 Parallel chain cross-chain transaction method, equipment and storage medium
CN111262959B (en) * 2020-01-13 2021-05-25 平安科技(深圳)有限公司 Block link point access method, device and storage medium
CN112235423B (en) * 2020-12-11 2021-08-10 腾讯科技(深圳)有限公司 Cross-chain transaction processing method and device, electronic equipment and storage medium
CN113114759B (en) * 2021-04-09 2022-06-10 杭州链网科技有限公司 Chain-crossing method and system for realizing multi-chain intercommunication
CN113328997B (en) * 2021-05-10 2023-05-12 东软集团股份有限公司 Alliance chain crossing system and method
CN113760909A (en) * 2021-08-25 2021-12-07 管杰 Method and system for cross-chain transaction and verification based on UTXO
CN113965329A (en) * 2021-10-25 2022-01-21 浙江师范大学 Cross-chain interoperation system, method, medium and data processing terminal
CN113822656B (en) * 2021-11-23 2022-02-11 江苏荣泽信息科技股份有限公司 Cross-chain cooperation method based on block chain technology
CN114443232A (en) * 2022-01-29 2022-05-06 中国农业银行股份有限公司 Transaction management method and device, electronic equipment and storage medium
CN114780648A (en) * 2022-04-19 2022-07-22 湖南长银五八消费金融股份有限公司 Task scheduling method, device, computer equipment, storage medium and program product

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800458A (en) * 2020-05-22 2020-10-20 浙商银行股份有限公司 Dynamic load balancing method and system for Kubernetes container cloud platform
CN114500456A (en) * 2020-10-23 2022-05-13 中国移动通信集团河北有限公司 DNS scheduling optimization method and device based on full-network sniffing and computing equipment
CN115396229A (en) * 2022-09-01 2022-11-25 西安电子科技大学 Cross-domain resource isolation sharing system based on block chain

Also Published As

Publication number Publication date
CN115914240A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
CN111062850B (en) Government affair integration management system for solving multi-platform business interconnection and intercommunication
CN106375458A (en) Service call system, method and device
CN107818392A (en) Assess the ageing method and apparatus of information system flow
CN111369337B (en) Block chain-based trust air control system, method, equipment and medium
US8224338B2 (en) Method and apparatus for joint optimization of dedicated and radio access networks
CN115857895A (en) Data processing method based on dynamic interface
CN115914240B (en) Cross-chain transaction template management system based on DNS analysis
CN117255134B (en) Data transmission method based on cloud edge cooperation
CN105872082A (en) Fine-grained resource response system based on load balancing algorithm of container cluster
CN101217417A (en) A distributed IP network performance test system
CN115378826B (en) Network vulnerability identification method and system for multiple workflows
Romansky Statistical analysis of empirical network traffic data from program monitoring
CN101217419B (en) A distributed ip network performance test method
MXPA01010851A (en) Method and apparatus for distribution of communication channels to a device for reception of electronic documents.
CN110532253B (en) Service analysis method, system and cluster
CN112817945A (en) Medical heterogeneous system data warehouse construction method based on ESB
CN115174693B (en) Hierarchical blockchain cross-chain interaction method
CN117171446B (en) Technical transaction recommendation method and recommendation system based on big data analysis
CN115002220B (en) Digital service platform system and service method based on resource integration
CN118200223B (en) Network link selection method, system and device based on lost data classification and classification
CN117834307B (en) Data transmission protection method and system for data transmission network based on communication state
CN116633770B (en) Automatic configuration operation supervision system suitable for operation of local area network equipment
CN114006843B (en) Method and device for determining bandwidth and electronic equipment
CN118694658A (en) Cloud network service opening system and method
CN118158129A (en) Park network transmission efficiency evaluation system based on heterogeneous fusion cooperative control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant