CN114598680B - Domain name management method, device and storage medium - Google Patents

Domain name management method, device and storage medium Download PDF

Info

Publication number
CN114598680B
CN114598680B CN202210311540.6A CN202210311540A CN114598680B CN 114598680 B CN114598680 B CN 114598680B CN 202210311540 A CN202210311540 A CN 202210311540A CN 114598680 B CN114598680 B CN 114598680B
Authority
CN
China
Prior art keywords
domain name
application system
address
configuration information
target
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
CN202210311540.6A
Other languages
Chinese (zh)
Other versions
CN114598680A (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210311540.6A priority Critical patent/CN114598680B/en
Publication of CN114598680A publication Critical patent/CN114598680A/en
Application granted granted Critical
Publication of CN114598680B publication Critical patent/CN114598680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a domain name management method, a domain name management device and a storage medium, which relate to the technical field of computers and are used for safely and efficiently reforming an application system. Applied to a blockchain, the method includes: acquiring domain name configuration information for indicating that a target IP address is replaced by a preset domain name, wherein the target IP address is the IP address of a target server in a target application system on a blockchain, and the preset domain name is the domain name configured by the target server; and carrying out domain name transformation on the first application system with the target IP address on the blockchain according to the domain name configuration information, and replacing the target IP address in the first application system with a preset domain name. Based on the blockchain, domain name transformation can be performed on an application system with high efficiency.

Description

Domain name management method, device and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a domain name management method, a domain name management device and a storage medium.
Background
With the development of internet technology, in order to avoid a situation that when a server in an application system is changed by internet protocol (internet protocol, IP) address, other application systems cannot access the server, the IP address of the server may be replaced by a domain name by domain name modification. Accordingly, other application systems also need to replace the stored IP address of the server with the corresponding domain name. Since the domain name of the server is unique, even if the IP address of the server is changed again later, other application systems can still access the server normally through the domain name.
In general, domain name modification is performed on other application systems in a manual mode. However, under the condition that a large number of application systems need to be subjected to domain name transformation, the manual mode is low in efficiency and high in error rate, and the application systems can not work normally due to influence after domain name transformation. Therefore, how to efficiently reform the domain name of the application system is a technical problem to be solved.
Disclosure of Invention
The application provides a domain name management method, a domain name management device and a storage medium, which are used for efficiently carrying out domain name transformation on an application system.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a domain name management method is provided, applied to a blockchain, and the method includes: acquiring domain name configuration information for indicating that a target IP address is replaced by a preset domain name, wherein the target IP address is the IP address of a target server in a target application system on a blockchain, and the preset domain name is the domain name configured by the target server; and carrying out domain name transformation on the first application system with the target IP address on the blockchain according to the domain name configuration information, and replacing the target IP address in the first application system with a preset domain name.
Based on the method provided in the first aspect, when the IP address of the server of the application system needs to be replaced by a domain name, the corresponding domain name configuration information can be uploaded to the blockchain. Based on the domain name configuration information, the blockchain may perform domain name modification on an application system including the IP address according to the domain name configuration information. Because the blockchain does not depend on other third parties, the application system can be automatically modified without any human intervention. Therefore, the blockchain can quickly carry out domain name reconstruction on the application system compared with a manual mode
In one possible implementation manner, the domain name configuration information includes a correspondence between a target IP address and a preset domain name, and the "performing domain name modification on the first application system according to the preset domain name configuration information to obtain a domain name modified first application system" specifically may include: acquiring a file comprising a target IP address in a first application system; and replacing the target IP address in the file with the preset domain name according to the corresponding relation between the target IP address and the preset domain name to obtain a first application system after domain name modification.
Based on the possible implementation manner, when the domain name configuration information comprises the corresponding relation between the target IP address and the preset domain name, the file comprising the target IP address in each application system can be acquired first, and the target IP address in the file comprising the target IP address is replaced by the preset domain name according to the corresponding relation, so that the application system after domain name modification can be obtained quickly.
In a possible implementation manner, the method further includes: the method comprises the steps of receiving and storing domain name updating information uploaded by a first application system after domain name modification, wherein the domain name updating information is used for representing a domain name modification result of the first application system after domain name modification, the domain name updating information comprises one or more of a preset domain name, a file and a storage path after domain name modification and a communication test result between the first application system after domain name modification and a target server, and the communication test result is used for indicating whether the first application system after domain name modification can access the target server by using the preset domain name.
Based on the possible implementation manner, each application system after domain name transformation can also upload the communication test information based on the domain name between the application systems, so that the blockchain can determine the result of domain name transformation on the application systems according to the communication test information. Based on the domain name reformed result of the application system, the user can conveniently check the information of the application system after domain name reforming.
In one possible implementation manner, the blockchain includes a simulated application environment and an actual application environment, and the method for performing domain name modification on the first application system according to the domain name configuration information specifically includes: when the communication test result between the first application system after domain name modification and the target server is normal in the simulated application environment, domain name modification is carried out on the first application system by using domain name configuration information in the actual application environment; when the communication test result between the first application system after domain name transformation and the target server is abnormal in the simulated application environment, domain name configuration information is adjusted to obtain adjusted domain name configuration information, and domain name transformation is carried out on the first application system by using the adjusted domain name configuration information.
Based on the possible implementation manner, the blockchain platform can test whether the application system after domain name transformation can access the target server under the simulated application environment. If so, domain name configuration information can be used for domain name reconstruction of the application system in the actual application environment. If the application system after domain name modification cannot access the target server in the simulation application environment, the domain name configuration information can be adjusted until the application system after domain name modification can normally access the target system in the simulation environment. Based on the mode, the error rate in the domain name transformation process can be avoided in the actual application environment.
In a possible implementation manner, the domain name configuration information includes first domain name configuration information and second domain name configuration information, the first domain name configuration information includes a corresponding relation between a first IP address and a first preset domain name, the second domain name configuration information includes a corresponding relation between a second IP address and a second preset domain name, the first IP address is an IP address of the target server in the simulated application environment, and the second IP address is an IP address of the application server in the actual application environment; the method for performing domain name transformation on the first application system according to the domain name configuration information specifically comprises the following steps: under a simulation application environment, carrying out domain name transformation on a simulation application system corresponding to a first application system according to first domain name configuration information, wherein the simulation application system after domain name transformation comprises a first preset domain name; under an actual application environment, domain name transformation is carried out on the first application system according to the second domain name configuration information, and the first application system after the domain name transformation comprises a second preset domain name.
Based on the possible implementation manner, the domain name configuration information is divided into domain name configuration information used in the simulated application environment and domain name configuration information used in the actual application environment according to different application environments. Moreover, the two kinds of domain name configuration information include the corresponding relation between the IP address and the domain name. That is, both domain name configuration information are mirrored. Therefore, the domain name transformation condition in the actual application environment can be determined by simulating the domain name transformation condition in the application environment. Therefore, when the application system can normally access the server after domain name modification in the simulated application environment, the domain name modification condition of the application system after domain name modification in the actual application environment can be accurately determined. The domain name configuration information used in the practical application environment can be conveniently and timely adjusted.
In a second aspect, a domain name management apparatus is provided, applied to a blockchain, where the apparatus may implement the functions performed by the blockchain in each of the above aspects or each possible design, and the functions may be implemented by hardware executing corresponding software. The hardware or software comprises one or more modules corresponding to the functions. Such as: the device comprises an acquisition unit, a processing unit and a receiving unit.
The acquiring unit is used for acquiring domain name configuration information for indicating that the target IP address is replaced by a preset domain name, wherein the target IP address is the IP address of a target server in a target application system on the blockchain, and the preset domain name is the domain name configured by the target server.
The processing unit is used for carrying out domain name transformation on the first application system with the target IP address on the blockchain according to the domain name configuration information, and is used for replacing the target IP address in the first application system with a preset domain name.
In a possible implementation manner, the domain name configuration information includes a correspondence between the target IP address and a preset domain name, and the processing unit is specifically configured to: acquiring a file comprising a target IP address in a first application system; and replacing the target IP address in the file with the preset domain name according to the corresponding relation between the target IP address and the preset domain name to obtain a first application system after domain name modification.
In a possible implementation manner, the device further comprises a receiving unit, wherein the receiving unit is used for receiving and storing domain name updating information uploaded by the first application system after domain name modification, and the domain name updating information is used for representing a domain name modification result of the first application system after domain name modification; the domain name updating information comprises one or more of a preset domain name, a file and a storage path after domain name modification, and a communication test result between the first application system after domain name modification and the target server, wherein the communication test result is used for indicating whether the first application system after domain name modification can access the target server by using the preset domain name.
In a possible implementation manner, the blockchain includes an analog application environment and an actual application environment, and the processing unit is specifically configured to: when the communication test result between the first application system after domain name modification and the target server is normal in the simulated application environment, domain name modification is carried out on the first application system by using domain name configuration information in the actual application environment; when the communication test result between the first application system after domain name transformation and the target server is abnormal in the simulated application environment, domain name configuration information is adjusted to obtain adjusted domain name configuration information, and domain name transformation is carried out on the first application system by using the adjusted domain name configuration information.
In a possible implementation manner, the domain name configuration information includes first domain name configuration information and second domain name configuration information, the first domain name configuration information includes a corresponding relation between a first IP address and a first preset domain name, the second domain name configuration information includes a corresponding relation between a second IP address and a second preset domain name, the first IP address is an IP address of the target server in the simulated application environment, and the second IP address is an IP address of the target server in the actual application environment; the processing unit is specifically configured to: under a simulation application environment, carrying out domain name transformation on a simulation application system corresponding to a first application system according to first domain name configuration information, wherein the simulation application system after domain name transformation comprises a first preset domain name; under an actual application environment, domain name transformation is carried out on the first application system according to the second domain name configuration information, and the first application system after the domain name transformation comprises a second preset domain name.
In this embodiment, reference may be made to the behavior function of the blockchain in the domain name management method provided in the first aspect or any possible design of the first aspect, and the description is not repeated here. Thus, the provided management device may achieve the same advantageous effects as the first aspect or any of the possible designs of the first aspect.
In a third aspect, a communication device is provided, which may be a chip or an on-chip application in a domain name management device. The communication device may implement the above aspects or the functions performed by the management device in each possible design, where the functions may be implemented by hardware, for example: in one possible design, the communication device may include: a processor and a communication interface, the processor being operable to support a communication device to implement the functionality involved in the first aspect or any one of the possible designs of the first aspect, for example: the processor obtains domain name configuration information through the communication interface.
In yet another possible design, the communication device may further include a memory for holding computer-executable instructions and data necessary for the communication device. When the communication device is running, the processor executes the computer-executable instructions stored in the memory to cause the communication device to perform the domain name management method according to the first aspect or any one of the possible designs of the first aspect.
In a fourth aspect, a computer readable storage medium is provided, which may be a readable non-volatile storage medium, storing computer instructions or a program which, when run on a computer, cause the computer to perform the above first aspect or any one of the above aspects of the possible domain name management methods.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of managing domain names according to the first aspect or any one of the possible designs of the aspects.
In a sixth aspect, a management device is provided that includes one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, the one or more memories being configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the management apparatus to perform the method of managing domain names as described in the first aspect or any of the possible designs of the first aspect.
In a seventh aspect, a chip application system is provided, the chip application system comprising a processor and a communication interface, the chip application system being operable to implement the functionality performed by the blockchain in any of the possible designs of the first aspect or the first aspect, for example, the processor being operable to obtain domain name configuration information through the communication interface. In one possible design, the chip application system further includes a memory for holding program instructions and/or data. The chip application system may be composed of a chip, or may include a chip and other discrete devices, without limitation.
The technical effects caused by any design manner of the second aspect to the seventh aspect may be referred to the technical effects caused by any possible design of the first aspect, and are not described herein.
The technical effects caused by any design manner of the second aspect to the seventh aspect may be referred to the technical effects caused by any possible design of the first aspect, and are not described herein.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
Fig. 2 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 4 is a flow chart of a domain name management method according to an embodiment of the present application;
fig. 5 is a flow chart of a domain name management method according to an embodiment of the present application;
fig. 6 is a schematic flow chart of another communication apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another communication device 70 according to an embodiment of the present application.
Detailed Description
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first account management device and the second account management device are only for distinguishing different account management devices, and the order of the different account management devices is not limited. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In this application, the terms "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
As described in the background art, when the IP address of the server of a certain application system is changed to another IP address, the other application system cannot continue to access the application system using the IP address of the server. Therefore, the domain name modification can be performed on the application system, so that other application systems can be ensured to continuously access the server by using the domain name.
For example, after replacing the IP address a of the server of the application system 1 with a corresponding domain name and replacing the IP address a configured in other application systems associated with the application system with a corresponding domain name, the application system 1 may store the correspondence between the IP address a and the domain name. In this way, when the IP address a of the application system 1 is changed again (for example, the IP address B is changed), the correspondence between the IP address a and the domain name stored in the application system is replaced with the correspondence between the IP address B and the domain name. Subsequently, other application systems may continue to access the server based on the domain name. For example, other application systems may send access information including domain names to the application system 1. After the application system 1 receives the access information, the IP address of the server 1 may be determined according to the correspondence between the stored domain name and the IP address. Further, other application systems may continue to access the server 1.
In general, when domain name modification is performed on an application system, a manual mode is generally adopted. For example, as shown in fig. 1, a system maintainer of the application system 1 needs to write a domain name of the application system 1 on a domain name application platform through a terminal according to requirements, and send the written domain name to a terminal of a domain name reformator through a mail. Meanwhile, maintenance personnel of the application system 1 also need to manually reform the domain name of the application system 1. Then, the domain name transformation personnel binds the IP address of the application system 1 with the domain name on a domain name binding platform (may also be referred to as a domain name binding system), and transmits the bound IP address and domain name to the terminals of system maintenance personnel of other application systems (referred to as application system 2) associated with the application system. The system maintainer of the application system 2 manually reforms the domain name of the application system 2 according to the bound IP address and domain name. Finally, application 2 can continue to access application 1 using the domain name.
As can be seen from the technical solution of fig. 1, the information related to domain name transformation is not on one platform, and the communication process of each platform for obtaining the same information is complicated. And the domain name transformation needs to be manually operated under the simulated application environment and on the actual application environment, so that the workload is more, the manual mode not only needs higher labor cost, but also is more complex in domain name transformation process, and the manual mode is easy to make mistakes and miss. In the case where the number of application systems associated with the application system 1 is large, the manual method is inefficient and the security is low.
In view of this, an embodiment of the present application provides a domain name management method, applied to a blockchain, including: obtaining domain name configuration information for indicating that a target IP address is replaced by a preset domain name, wherein the target IP address is the IP address of a target server in a target application system, the preset domain name is the domain name configured by the target server, and the target application system is a node on a block chain. And replacing the target IP address in the first application system on the blockchain with the target domain name according to the domain name configuration information. And receiving and storing the domain name updating information which is uploaded by the first application system and is used for indicating the domain name transformation result of the first application system.
Compared with a manual domain name transformation mode, in the scheme, related information of domain names is not required to be sent between departments and application systems through mails, all application systems and association relations, the domain names, the IP, information related to a transformed server, transformed files and paths are stored in a blockchain, all people can log in and view, and the information is public, comprehensive and consistent. The blockchain can automatically finish domain name transformation work according to the binding relation between the last IP address and the domain name, thereby reducing the workload and improving the efficiency. Meanwhile, domain name transformation results can be shared through the blockchain.
The method provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The technical scheme of the embodiment of the application can be applied to any communication application system supporting communication. The method for managing domain names according to the embodiment of the present application will be described below by taking fig. 1 as an example. It should be noted that, the communication application system described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation on the technical solution provided in the embodiments of the present application, and as a person of ordinary skill in the art can know, along with the evolution of the technology, that the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
In one example, as shown in fig. 1, a communication system is provided in an embodiment of the present application, where the communication system includes a blockchain platform and a plurality of application systems (e.g., application system 1, application system 2, and application system 3). The plurality of application systems are all connected to the blockchain platform. The plurality of application systems are nodes on a blockchain platform.
Wherein the blockchain platform may be used to provide the operating environment and resources of the blockchain. For example, the blockchain platform is a server, computing device, or the like.
The application system may also be referred to as a production system or an actual production system. The application system is used to implement a specific transaction function. For example, the application system may include a computer hardware system, system software, application software, and the like. Each of the plurality of application systems in fig. 1 may have a plurality of functions, and each of the application systems may have the same or different functions.
In one possible implementation, an application system may implement specific transaction functions based on one or more application modules/servers.
For example, as shown in fig. 1, the application system 1 may include a server a, a server b, and a server c. The application system 2 may comprise a server d. The application system 3 comprises a server e. Server a, server b, server c may be used to implement a first function, such as processing transaction data. Server d may be used to implement a second function, such as storing transaction data. The server e may implement a third function, such as updating transaction information (including account information and transaction amounts for conducting transactions, etc.).
The server may be a front end processor server, a middleware (WAS) server, a gateway server, a database server, an application server, and the like. There is a tandem, clustered, high availability (high availability, HA) architecture relationship between the multiple servers of each application system.
Further, each application module/server in the application system may have a corresponding IP address. The application modules/servers of the application system can be accessed based on the IP address. For example, an application module/server in application system 1 may access an application module/server in application system 2 via an IP address of the application module/server in application system 2.
In this embodiment of the present application, the plurality of application systems may have an association relationship (such as an upstream-downstream relationship). For example, the plurality of application systems may be divided into an upstream system and a downstream system according to the difference in the destination of transmitting data and receiving data between the application systems. For example, if the application system 1 sends data to the application system 2, or if the application system 2 obtains data from the application system 1, the application system 1 is an upstream system of the application system 2, and correspondingly, the application system 2 is a downstream system of the application system 1. Thus, when the domain name modification needs to be performed on the application system, the application system associated with the application system can be determined, and the upstream system and the downstream system of the application system are determined, so that the domain name modification needs to be performed on the upstream system and the downstream system of the application system. Therefore, the domain name between the application systems can be synchronized, and the normal transmission of data between the application systems is ensured.
In yet another example, as shown in fig. 2, each application system in the communication system provided in the embodiments of the present application may have a corresponding analog application system. Multiple application systems may constitute an actual production environment. Multiple simulation applications may constitute a simulated production environment (also referred to as a drilling environment).
The actual production environment may refer to an environment that truly provides services to the outside and runs real business data. The simulated production environment may refer to an environment that simulates service and operational business data in the production environment. In the simulated production environment, the running data are all the data of the actual production environment. Moreover, the architecture of the analog application system is the same as that of the corresponding application system.
For example, as shown in fig. 2, the simulation application system 1 is a simulation application system corresponding to the application system 1, the simulation application system 2 is a simulation application system corresponding to the application system 2, and the simulation application system 3 is a simulation application system corresponding to the application system 3.
Wherein the simulation application system 1 and the application system 1 have the same architecture and function. For example, a plurality of simulation servers may be included in the simulation application system 1, and the plurality of simulation servers may correspond to a plurality of servers of the application system 1, respectively. For example, the simulation application system 1 may include a simulation server a, a simulation server B, and a simulation server C. The simulation server a, the simulation server B, and the simulation server C correspond to the server a, the server B, and the server C, respectively. The simulation application system 2 may comprise a simulation server D. The simulation server D corresponds to the server D. The simulation application 3 may comprise a simulation server E. The simulation server E corresponds to the server E. The simulation server and the server may belong to the same server or may be different servers. In the case where the simulation server and the server belong to the same server, the simulation server is physically split from the server. The simulation server can be a virtual server or an entity server. When the simulation server is a virtual server, the simulation server may be part of the hard disk space of the physical server.
Wherein, the correspondence between the simulation server and the server may mean that the simulation server and the server have the same function and file, and the storage paths of the files are the same. The IP address of the analog server is different from the fields of the IP address of the server. For example, the IP address of the analog server may be 22.Xx, and the IP address of the server may be 21.Xx.
In one example, server a may have an IP address of 21.10.00.01, server b may have an IP address of 21.10.00.02, and server c may have an IP address of 21.10.00.03. The IP address of server d may be 21.12.00.01. The IP address of server e may be 21.13.00.01. The IP address of analog server a may be 22.10.00.01, the IP address of analog server B may be 22.10.00.02, and the IP address of analog server C may be 22.10.00.03. The IP address of the analog server D may be 22.12.00.01. The IP address of server E may be 22.13.01.
When a new function or a new service for online is added to the communication system, the new function or the new service for online needs to be executed on a plurality of analog application systems. When multiple analog application systems can normally execute the new function or can normally run the new service on line, the new function or new service can be added on multiple application systems. Therefore, the new function or the new online service is tested and added under the simulated production environment, and when the new function or the new service is abnormal, the new function or the new online service can be timely adjusted so as to reduce the error rate when an application system executes the function or the new online service under the actual production environment.
In one possible implementation, as shown in fig. 3, the blockchain platform may include an information scanning module, an information uploading module, an environment judging module, and a blockchain module.
The information scanning module, which may also be referred to as a platform information scanning module, may be configured to collect flow operation data of a domain name application platform, a domain name binding platform, and an association relationship between the platforms, and send the collected flow operation data to the information uploading module.
The information uploading module, which may also be referred to as a block uploading module, may be configured to package and upload information of each application system to a blockchain. The application system comprises information such as domain name configuration information uploaded by the application system (or node), information (such as an IP address) of a server, information (such as a file name and a file storage path) of a file comprising the IP address, uploading time, a communication test result and the like. The information uploading module can also be used for uploading domain name modification results from the domain name modified application system to the blockchain. The domain name modification result may include an identification of the application system, a file after domain name modification, and the like.
The domain name configuration information may be used to indicate domain name modification of the application system. For example, the domain name configuration information may include a domain name, an IP address, and information of an application system associated with each application system. Of course, other information may be included, for example, an upload time of domain name configuration information, and a file update time. The file update time may refer to the time for a system maintainer of each application system to update files in the application system.
Further, in combination with the communication system shown in fig. 2, the information uploading module may further upload the test results of each application system to the blockchain module. For example, the test results may include one or more of a name of the tested application system, information of the server, modified domain name information and corresponding IP address, a communication test result, and an upload time.
The block chain module can be used for storing information uploaded by each module. For example, the system can be used for receiving and storing the information uploaded by the information uploading module, and can also be used for sending the domain name configuration information uploaded by the information scanning module to the environment judging module.
The environment judging module can be used for determining the application environment of the domain name configuration information. For example, it may be determined whether the domain name configuration information belongs to a simulated application environment or an actual application environment according to an IP address and a domain name in the domain name configuration information.
In one example, when the first field of the IP address in the domain name configuration information is 21 and the domain name includes P, it is indicated that the domain name configuration information belongs to the practical application environment. When the first field of the IP address in the domain name configuration information is 22 and the domain name includes y, it is indicated that the domain name configuration information belongs to the simulated application environment.
In one possible implementation, as shown in fig. 3, the communication system may further include a file search module, a file replacement module, and a test communication module.
The file searching module can be used for searching the files comprising the IP addresses in each application system and the simulation application system and sending the files comprising the IP addresses and the storage paths of the files to the file replacing module and the information uploading module. The file searching module can also send the domain name modified information to the information uploading module and the application system after receiving the domain name modified information from the file replacing module. The domain name modified information may include a domain name, a domain name modified file, a storage path of the file, and the like.
The file replacing module can be used for replacing the IP addresses in the files of the application systems with domain names.
It should be noted that, the file searching module and the file replacing module may be modules in a blockchain or modules in an application system, and are not limited.
The communication test module can be used for testing and storing the communication condition between the application system and the server and sending the communication condition to the information uploading module. In particular, reference may be made to the description of the following embodiments.
It should be noted that fig. 1, fig. 2, and fig. 3 are only exemplary frame diagrams, names of respective devices/modules in the diagrams are not limited, and other nodes/modules may be included in addition to the functional nodes/modules shown in fig. 1, fig. 2, and fig. 3, for example, terminals, routers, and the like.
In particular, the apparatus of fig. 1 and 2 may each employ the constituent structure shown in fig. 4, or may include the components shown in fig. 4. Fig. 4 is a schematic diagram of a communication apparatus 400 according to an embodiment of the present application, where the communication apparatus 400 may be a core network device or a chip or an on-chip application system in a network device. Alternatively, the communication apparatus 400 may be a chip or an on-chip application system in a core network device or a terminal device. As shown in fig. 4, the communication apparatus 400 includes a processor 401, a communication interface 402, and a communication line 403.
Further, the communication device 400 may also include a memory 404. The processor 401, the memory 404, and the communication interface 402 may be connected by a communication line 403.
Processor 401 is, among other things, a CPU, general-purpose processor, network processor (network processor, NP), digital signal processor (digital signal processing, DSP), microprocessor, microcontroller, programmable logic device (programmable logic device, PLD), or any combination thereof. The processor 401 may also be any other device having a processing function, such as a circuit, a device, or a software module, without limitation.
A communication interface 402 for communicating with other devices or other communication networks. The other communication network may be an ethernet, a radio access network (radio access network, RAN), a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 402 may be a module, a circuit, a communication interface, or any device capable of enabling communication.
Communication line 403 for transmitting information between the components included in communication device 400.
Memory 404 for storing instructions. Wherein the instructions may be computer programs.
The memory 404 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device capable of storing static information and/or instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device capable of storing information and/or instructions, an EEPROM, a CD-ROM (compact disc read-only memory) or other optical disk storage, an optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, etc.
It is noted that the memory 404 may exist separately from the processor 401 or may be integrated with the processor 401. Memory 404 may be used to store instructions or program code or some data, etc. The memory 404 may be located within the communication device 400 or may be located outside the communication device 400, without limitation. The processor 401 is configured to execute instructions stored in the memory 404, so as to implement a method for determining antenna parameters provided in the following embodiments of the present application.
In one example, processor 401 may include one or more CPUs, such as CPU0 and CPU1 in fig. 4.
As an alternative implementation, the communication apparatus 400 includes a plurality of processors, for example, the processor 407 may be included in addition to the processor 401 in fig. 4.
As an alternative implementation, the communication apparatus 400 further comprises an output device 405 and an input device 406. Illustratively, the input device 406 is a keyboard, mouse, microphone, or joystick device, and the output device 405 is a display screen, speaker (spaker), or the like.
It should be noted that the constituent structures shown in fig. 4 do not constitute limitations of the respective apparatuses in fig. 1 and 2, and that the respective apparatuses in fig. 1 and 2 may include more or less components than illustrated, or may combine some components, or may be arranged differently, in addition to the components shown in fig. 4.
In the embodiment of the application, the chip application system may be formed by a chip, and may also include a chip and other discrete devices.
Further, actions, terms, etc. referred to between embodiments of the present application may be referred to each other without limitation. In the embodiment of the present application, the name of the message or the name of the parameter in the message, etc. interacted between the devices are only an example, and other names may also be adopted in the specific implementation, and are not limited.
The following describes a domain name management method provided in the embodiment of the present application with reference to the communication application system shown in fig. 1. Wherein, the actions, terms and the like related to the embodiments of the present application can be referred to each other without limitation. In the embodiment of the present application, the name of the message or the name of the parameter in the message, etc. interacted between the devices are only an example, and other names may also be adopted in the specific implementation, and are not limited. The actions involved in the embodiments of the present application are just an example, and other names may be used in specific implementations, for example: the "included" in the embodiments of the present application may also be replaced by "carried on" or the like.
Fig. 5 provides a domain name management method according to an embodiment of the present application, where, as shown in fig. 5, the method includes:
S501, acquiring domain name configuration information.
The domain name configuration information is used for indicating that the target IP address is replaced by a preset domain name. For example, the domain name configuration information may include a correspondence between the target IP address and a preset domain name. The target IP address may include an IP address of a target server in the target application system. The preset domain name may be an IP address of the target server. The target application system may be any of the application systems in fig. 2 or 3, for example, may be application system 1, or application system 2, or application system 3. The target application system may be any one of the servers in the target application system. For example, when the target application system is the application system 1, the target server may be the server a, or the server b, or the server c. For another example, when the target application system is the application system 2, the target server may be the server d. For another example, when the target application system is the application system 3, the target server may be the server e.
In one possible implementation, the blockchain platform may obtain domain name configuration information in response to an upload operation.
For example, the operation may be an operation in which a domain name transformation person uploads the correspondence between the target IP address and the domain name through a node on the blockchain.
S502, carrying out domain name transformation on the first application system according to the domain name configuration information to obtain a domain name transformed first application system.
The first application system may be an application system on the blockchain that includes a target IP address. For example, the first application system may be an application system that includes a target application system, associated with the target application system. The first application system after domain name modification comprises a preset domain name. Domain name modification of the first application system may refer to replacing the target IP address in the first application system with a preset domain name.
For example, in connection with the communication system shown in fig. 3, when the target application system is the application system 1, the application system 2 is an upstream system of the application system 1, and the application system is an upstream system of the application system, the first application system may include the application system 1, the application system 2, and the application system 3.
In one example, the blockchain may send domain name configuration information to all application systems accessing the blockchain after the domain name configuration information is obtained. Accordingly, each application system receives domain name configuration information from the blockchain. In this way, each application system can replace the stored target domain name with the preset domain name according to the domain name configuration information.
For example, after receiving the domain name configuration information, the application system may traverse all the stored files, filter the stored files according to the target IP address, determine the files including the target IP address, and replace the target IP address in the files with the preset domain name.
Further, in order to accurately determine the application system needing domain name modification, the domain name configuration information may further include information (such as a name and the like) of the application system associated with the target system. Thus, the blockchain can determine the application system needing domain name modification according to the domain name configuration information and send the domain name configuration information to the application system needing domain name modification.
In yet another example, the blockchain may send the first indication information to all applications accessing the blockchain. The first indication information is used for indicating the first application system to upload a file comprising the target IP address. After the block link receives the file uploaded by the first application system, the target IP address of the file is replaced by a preset domain name, and the file after domain name modification is returned to the first application system. The first application system receives and stores domain name modified files from the blockchain.
Further, in order to enable the first application system to accurately determine the storage area of the file including the target IP address. The first application system may also upload a storage path for the file. Therefore, after the first application system receives the file after domain name transformation from the blockchain, the file after domain name transformation can be accurately stored to the corresponding storage block according to the storage path of the file.
It should be noted that, the first application system may first backup the file including the target IP address. When the first application system receives the domain name modified file from the blockchain, the backed up file can be replaced by the domain name modified file. Thus, in the domain name transformation process of the first application system, the normal work of the first application system is not influenced. In addition, when the first application system accesses the target application system, the first application system may use the target IP address and the configured user name and password to transfer the file to the specified directory of the target application system by means of file transfer protocol (File Transfer Protocol, FTP), SOCKET (SOCKET), and the like. The specified directory may be a certain entry of a server in the target application system, or may be under a plurality of specified directories of the target application system. That is, the application program of the first application system configures a plurality of IP addresses and a plurality of specified targets of the target application system;
Based on the technical solution of fig. 5, when the IP address of the server of the application system needs to be replaced by a domain name, the corresponding domain name configuration information may be uploaded to the blockchain. Based on the domain name configuration information, the blockchain may perform domain name modification on an application system including the IP address according to the domain name configuration information. Because the blockchain does not depend on other third parties, the application system can be automatically modified without any human intervention. Therefore, the blockchain can quickly reform the domain name of the application system compared with a manual mode.
In a possible embodiment, as shown in fig. 6, the method provided in the embodiment of the present application may further include S601.
S601, receiving and storing domain name updating information uploaded by a first application system after domain name modification.
The domain name updating information may be used to indicate a domain name modification result of the first application system after domain name modification. The domain name transformation result can comprise domain name transformation information of the first application system and a communication test result between the first application system after domain name transformation and the target server.
In one example, the domain name modification information of the first application system may include information and a storage path of a file in which domain name modification is performed in the first application system, domain name modification time, and the like. The communication test result may refer to whether the first application system after domain name modification can access the target server by using the preset domain name.
For example, when the communication test result includes a first character, it indicates that the first application server after domain name modification can access the target server using the preset domain name. When the communication test result comprises the second character, the first application server after domain name modification cannot access the target server by using the preset domain name.
Wherein the first character and the second character may be numerals, letters, or a combination of numerals and letters. For example, the first character may be 1 and the second character may be 0.
In one example, when the first application system receives a domain name modified file from the blockchain, the target server may be accessed using a preset domain name in the file. When the first application system can access the target server by using the preset domain name, for example, can call the data in the target server, the first application system can determine that the communication test result with the target server is normal. When the first application system cannot access the target server by using the preset domain name, the first application system can determine that the communication test result between the first application system and the target server is abnormal.
In yet another example, the first application system may detect a communication test result with the target server using a preset instruction. For example, the first application system may perform a PING preset domain name operation. When the feedback information of the target server can be received, the first application system can determine that the communication test result with the target server is normal. When the feedback information of the target server cannot be received, the first application system can determine that the communication test result with the target server is abnormal.
In one possible implementation, when the first application system receives a file from the blockchain platform that includes a preset domain name, the preset domain name and an account number and a password of the target server may be used to access the target server. Namely, testing the communication result between the first application system after domain name modification and the target server. After the communication result is obtained, the domain name updating information can be uploaded to the blockchain platform for the blockchain platform to store the domain name updating information of the first application system, so that system maintenance personnel and domain name modification personnel can conveniently check the domain name updating information.
Based on the possible implementation manner, each application system after domain name transformation can also upload the communication test information based on the domain name between the application systems, so that the blockchain can determine the result of domain name transformation on the application systems according to the communication test information. Based on the domain name reformed result of the application system, the user can conveniently check the information of the application system after domain name reforming
In a possible embodiment, in connection with the communication system shown in fig. 2, as shown in fig. 6, in S502, a method for performing domain name modification on the first application system according to domain name configuration information may specifically include S5021 to S5023.
S5021, when a communication test result between the first application system after domain name transformation and the target server is normal in the simulated application environment, domain name transformation is carried out on the first application system by using domain name configuration information in the actual application environment.
Wherein the simulated application environment may be as described above with reference to fig. 2. In the simulation application environment, the fact that the communication test result between the first application system after domain name modification and the target server is normal may mean that the communication result between the first simulation application system after domain name modification and the target simulation server is normal. The first simulation application system corresponds to the first application system, and the target simulation server corresponds to the target server.
For example, in connection with fig. 2, if the first application system is application system 1 and the target server is server D in application system 2, the first simulation application system is simulation application system 1 and the target application system is simulation server D.
Specifically, after the domain name configuration information is obtained, the blockchain may perform domain name modification on the first simulation application system first, and determine a communication test result between the first simulation application system after domain name modification and the target simulation server. And when the communication test result between the first simulation application system and the target simulation server is normal, domain name transformation is carried out on the first application system.
The communication test result between the first application system and the target server after domain name modification in the simulated application environment may refer to that the domain name modification is performed on the first application system in the simulated application environment, and the communication condition between the first application system and the target server after domain name modification is tested in the simulated application environment.
In an example, when the current environment of the blockchain platform is a simulated application environment and the domain name configuration information is used for modifying an application system in an actual environment, an IP address in the domain name configuration information may be modified to an IP address corresponding to a simulation server first, so as to obtain modified domain name configuration information (i.e., domain name configuration information used in the simulated application environment). For example, if the IP address in the domain name configuration information is 21.Xx, then "21" in the IP address can be modified to "22". And then, carrying out domain name transformation on the simulation application system by using the modified domain name configuration information.
In yet another example, the domain name configuration information may include first domain name configuration information and second domain name configuration information. The first domain name configuration information is used for carrying out domain name transformation on the first application system under the simulated application environment. The second domain name configuration information is used for modifying the first simulation application system in the actual application environment.
For example, the first domain name configuration information may include a correspondence between the first IP address and a first preset domain name. The second domain name configuration information may include a correspondence between a second IP address and a second preset domain name. For example, the first IP address may refer to the IP address of the server a in the application system 1, and the second IP address may be the IP address of the server a in the analog application system 1. For example, the first IP address may be 21.Xx, and the second IP address may be 22.Xx. The fields of the first preset domain name and the second preset domain name are the same except for the fields for identifying the application environment. For example, the first preset domain name may be awas01.Y. Boc. Cn and the second preset domain name may be awas01.P. Boc. Cn. A denotes a name of a server, wa denotes a type of the server, and 01 denotes a number of the server.
It should be noted that, the first preset domain name and the second preset domain name may be determined by using the same preset domain name. For example, upon determining that the preset domain name is awas01.Boc. Cn, the blockchain may generate awas01.Y. Boc. Cn and awas01.P. Boc. Cn from the preset domain name.
After the blockchain acquires the domain name configuration information, the first domain name configuration information and the second domain name configuration information in the domain name configuration information can be determined according to the field of the IP address and the field in the domain name, and domain name transformation is performed on the simulation application system in the simulation application environment by using the first domain name configuration information.
And S5022, when the communication test result between the first application system after domain name transformation and the target server is abnormal in the simulated application environment, adjusting the domain name configuration information to obtain the adjusted domain name configuration information.
The communication test result may refer to the description of S601, and will not be described herein.
In one possible implementation manner, when the domain name configuration information is used for performing domain name transformation on the application system in the actual application environment, if the domain name transformed simulation application system (the modified domain name configuration information is used) cannot access the target simulation server by using the preset domain name, the domain name configuration information can be adjusted.
In still another possible implementation manner, when the domain name configuration information includes the first domain name configuration information and the second domain name configuration information, after the domain name modification is performed on the first simulation application system according to the first domain name configuration information, if the first simulation application system after the domain name modification cannot access the target simulation server by using the first preset domain name, the first domain name configuration information and the second domain name configuration information are adjusted.
For example, when the format of the first preset domain name in the first domain name configuration information is wrong, the first preset domain name is modified. In addition, a modification of the second preset domain name in the second domain name configuration is also required. The format of the modified first preset domain name is consistent with that of the modified second preset domain name. For example, the domain name in the first domain name configuration information is awas01.Y. Boccn, and the domain name is modified to awas01.Y. Boc. Cn if "" is absent between boc and cn in the domain name.
It should be noted that, because the domain name in the second domain name configuration information and the domain name in the first domain name configuration information are both generated according to the same preset domain name, when the domain name in the first domain name configuration information has a problem, the domain name in the second domain name configuration information may also have a problem. Therefore, when the first domain name configuration information is adjusted, the same adjustment needs to be performed on the second domain name configuration information synchronously.
And S5023, performing domain name transformation on the first application system by using the adjusted domain name configuration information.
The adjusted domain name configuration information may refer to adjusted second domain name configuration information.
In one possible implementation, after the domain name modification is performed on the first simulation application system again by using the adjusted first domain name configuration information, if the domain name modified first simulation application system can access the target simulation server, the domain name modification is performed on the first application system by using the adjusted second domain name configuration information.
Based on the technical scheme shown in fig. 6, the blockchain can firstly use domain name configuration information to carry out simulated domain name transformation on the application system in a simulated application environment. Therefore, when the application system after domain name transformation can access the corresponding server by using the domain name under the simulated application environment, the domain name configuration information is not problematic, and the domain name transformation can be continuously carried out on the application system under the actual application environment. Once the application system subjected to domain name modification is problematic in the simulation application environment, the domain name configuration information can be timely adjusted, and the problem that the application system subjected to domain name modification cannot normally access a server is avoided.
The method provided in the embodiment of the present application will be described below by taking the communication system shown in fig. 2 as an example, where the communication system in fig. 2 includes the structure shown in fig. 3.
Step 1, the information scanning module sends domain name configuration information uploaded by each platform to the information uploading module.
The domain name configuration information may include domain name configuration information corresponding to an actual production environment and a simulated production environment. For example, the correspondence between the IP address of the application system 1 and the domain name, the name of the application system 2, and the name of the application system 3 may be included, as well as the correspondence between the IP address of the simulation application system 1 and the domain name, the name of the simulation application system 2, and the name of the simulation application system 3.
And 2, the information uploading module sends the domain name configuration information in the step 1 to the environment judging module.
Step 3, the environment judging module splits the domain name configuration information according to the field of the IP address in the domain name configuration information (for example, the IP address corresponding to the simulated application environment includes 22, the IP address corresponding to the actual production environment includes 21) and the field of the domain name (for example, the domain name corresponding to the simulated application environment includes y field, and the domain name corresponding to the actual production environment includes p field), so as to obtain domain name configuration information corresponding to the simulated application environment (i.e., the first domain name configuration information in S5022) and domain name configuration information corresponding to the actual application environment (i.e., the second domain name configuration information in S5022).
In one example, the environment determination module may determine, according to a preset parameter, a type of application environment that needs domain name modification. The preset parameters may be determined and modified in response to a set operation. For example, the preset parameter may be swich. When swich=0, it means that the domain name modification needs to be performed on the analog application system 1 in the analog application environment, and at this time, the environment judgment module may perform the domain name modification on the analog application systems 1 to 3 according to the domain name configuration information corresponding to the analog application environment. When swich=1, it indicates that the domain name transformation needs to be performed on the application system 1 in the actual application environment, and at this time, the environment judgment module may perform the domain name transformation on the application systems 1 to 3 according to the domain name configuration information corresponding to the actual application environment.
And 4, when the domain name transformation of the application system in the simulation application environment is required. The file searching module searches out files of the simulation application system A, the simulation application system B and the simulation application system C in the simulation application environment, wherein all servers comprise IP addresses with 22 fields, names of the simulation application system, IP addresses of the servers, file paths and file packages of the servers needing domain name replacement, and the file paths and the file packages are uploaded to the file replacing module, and the file packages are uploaded to the blockchain module through the information uploading module.
And 5, replacing the IP address in the received file containing the IP address of the 22 fields with the domain name in the corresponding relation by a file replacement module according to the corresponding relation between the IP address and the domain name, obtaining the file containing the domain name, and sending the file containing the domain name to the corresponding simulation application system according to the storage path of the file for storing the file containing the domain name by each application system.
And 6, the servers of the simulation application system 1, the simulation application system 2 and the simulation application system 3 perform intra-system and inter-system communication tests on all the domain names replaced at the present time through the test communication module.
For example, in response to an operation of inputting a test instruction, the communication test module may test a communication result between a server including a domain name in the simulation application system 2 and a server in the application system 1 using the test instruction (ping 1 system domain name). For example, the communication test was successful, noted 1; the communication test failed, recorded as 0. The communication test module can upload the communication test result to the blockchain module through the information uploading module after packaging the communication test result.
Based on the technical scheme provided by the embodiment of the application, the account with the access right can simulate the information of all the application systems after domain name transformation on the application environment and the actual application environment through the blockchain query. For example, the domain name corresponding to the domain name modification system, the IP address, the name of the application system having the association relationship, the IP address of the server of the application system for domain name modification, all the files and storage paths related to modification, and the results of the communication test between the application systems after domain name modification may be queried.
The various schemes in the embodiments of the present application may be combined on the premise of no contradiction.
The embodiment of the application may divide the functional modules or functional units of the first account management apparatus according to the above method example, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware, or in software functional modules or functional units. The division of the modules or units in the embodiments of the present application is merely a logic function division, and other division manners may be implemented in practice.
In the case of dividing the respective functional modules by the respective functions, fig. 7 shows a schematic structure of a communication device 70, which is applied to a blockchain, and the communication device 70 may be a management device for a domain name or a chip applied to the management device, and the communication device 70 may be used to perform the functions of the first account management device according to the above embodiment. The communication device 70 shown in fig. 7 may include: an acquisition unit 701 and a processing unit 702.
The obtaining unit 701 is configured to obtain domain name configuration information for indicating that a target IP address is replaced with a preset domain name, where the target IP address is an IP address of a target server in a target application system on a blockchain, and the preset domain name is a domain name configured by the target server. For example, the acquisition unit 701 may be used to perform S501 in fig. 5.
The processing unit 702 is configured to perform domain name transformation on a first application system having a target IP address on the blockchain according to domain name configuration information, so as to replace the target IP address in the first application system with a preset domain name. For example, the processing unit 702 may be used to perform S502 in fig. 5.
In a possible implementation manner, the domain name configuration information includes a correspondence between the target IP address and a preset domain name, and the processing unit 702 is specifically configured to: acquiring a file comprising a target IP address in a first application system; and replacing the target IP address in the file with the preset domain name according to the corresponding relation between the target IP address and the preset domain name to obtain a first application system after domain name modification.
In a possible implementation manner, the apparatus 70 may further include a receiving unit 703, a storage unit 704, and the receiving unit 703 is configured to receive domain name update information uploaded by the domain name modified first application system, where the domain name update information is used to indicate a domain name modification result of the domain name modified first application system. For example, the receiving unit 703 may be used to perform S602 in fig. 6.
And the storage unit 704 is used for storing the domain name updating information uploaded by the first application system after domain name modification.
The domain name updating information comprises one or more of a preset domain name, a file and a storage path after domain name modification, and a communication test result between the first application system after domain name modification and the target server, wherein the communication test result is used for indicating whether the first application system after domain name modification can access the target server by using the preset domain name.
In one possible implementation, the blockchain includes an analog application environment and an actual application environment, and the processing unit 702 is specifically configured to: when the communication test result between the first application system after domain name modification and the target server is normal in the simulated application environment, domain name modification is carried out on the first application system by using domain name configuration information in the actual application environment; when the communication test result between the first application system after domain name transformation and the target server is abnormal in the simulated application environment, domain name configuration information is adjusted to obtain adjusted domain name configuration information, and domain name transformation is carried out on the first application system by using the adjusted domain name configuration information. For example, the processing unit 702 may be configured to perform S5021, S5022, S5023 in fig. 6.
In a possible implementation manner, the domain name configuration information includes first domain name configuration information and second domain name configuration information, the first domain name configuration information includes a corresponding relation between a first IP address and a first preset domain name, the second domain name configuration information includes a corresponding relation between a second IP address and a second preset domain name, the first IP address is an IP address of the target server in the simulated application environment, and the second IP address is an IP address of the application server in the actual application environment; the processing unit is specifically configured to: under a simulated production environment, carrying out domain name transformation on a simulated application system corresponding to a first application system according to first domain name configuration information, wherein the simulated application system after domain name transformation comprises the first preset domain name; under an actual production environment, performing domain name transformation on the first application system according to the second domain name configuration information, wherein the first application system after domain name transformation comprises a second preset domain name.
In one possible design, storage unit 704 may also be used to store program code and instructions.
As yet another alternative, the processing unit in fig. 7 may be replaced by a processor, which may integrate the functions of the processing unit. The communication unit in fig. 7 may be replaced by a transceiver or a transceiving unit, which may integrate the functions of the communication unit.
Further, when the processing unit is replaced by a processor and the communication unit is replaced by a transceiver or a transceiver unit, the communication device 70 according to the embodiment of the present application may be the communication device shown in fig. 4.
Embodiments of the present application also provide a computer-readable storage medium. All or part of the flow in the above method embodiments may be implemented by a computer program to instruct related hardware, where the program may be stored in the above computer readable storage medium, and when the program is executed, the program may include the flow in the above method embodiments. The computer readable storage medium may be an internal storage unit of the communication device (including the data transmitting end and/or the data receiving end) of any of the foregoing embodiments, for example, a hard disk or a memory of the communication device. The computer readable storage medium may be an external storage device of the terminal apparatus, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (flash card), or the like, which are provided in the terminal apparatus. Further, the computer readable storage medium may further include both an internal storage unit and an external storage device of the communication apparatus. The computer-readable storage medium is used to store the computer program and other programs and data required by the communication device. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A domain name management method, applied to a blockchain platform, wherein the blockchain platform comprises a simulated application environment and an actual application environment, the method comprising:
acquiring domain name configuration information, wherein the domain name configuration information is used for indicating that a target Internet Protocol (IP) address is replaced by a preset domain name, the target IP address is an IP address of a target server in a target application system, the preset domain name is a domain name configured by the target server, and the target application system is a node on the blockchain platform; the domain name configuration information comprises first domain name configuration information and second domain name configuration information, the first domain name configuration information comprises a corresponding relation between a first IP address and a first preset domain name, the second domain name configuration information comprises a corresponding relation between a second IP address and a second preset domain name, the first IP address is an IP address of the target server in a simulated application environment, and the second IP address is an IP address of the target server in an actual application environment;
Performing domain name transformation on a first application system according to the domain name configuration information, wherein the domain name transformation is used for replacing the target IP address in the first application system with the preset domain name to obtain a domain name transformed first application system, and the first application system is a node with the target IP address on the blockchain platform;
the domain name modification of the first application system according to the domain name configuration information comprises the following steps:
when the communication test result between the first application system and the target server after domain name transformation is normal in the simulated application environment, domain name transformation is carried out on the first application system by using the domain name configuration information in the actual application environment;
when the communication test result between the first application system and the target server after domain name transformation is abnormal in the simulated application environment, adjusting the domain name configuration information to obtain adjusted domain name configuration information, and performing domain name transformation on the first application system by using the adjusted domain name configuration information; or,
under the simulation application environment, carrying out domain name transformation on a simulation application system corresponding to the first application system according to the first domain name configuration information, wherein the simulation application system after domain name transformation comprises the first preset domain name;
Under the actual application environment, performing domain name transformation on the first application system according to the second domain name configuration information, wherein the first application system after domain name transformation comprises the second preset domain name.
2. The method according to claim 1, wherein the domain name configuration information includes a correspondence between the target IP address and the preset domain name;
performing domain name transformation on the first application system according to the domain name configuration information to obtain a domain name transformed first application system, wherein the domain name transformation comprises the following steps:
acquiring a file comprising the target IP address in the first application system;
and replacing the target IP address in the file with the preset domain name according to the corresponding relation between the target IP address and the preset domain name, so as to obtain a first application system after domain name modification.
3. The method according to claim 2, wherein the method further comprises:
receiving and storing domain name updating information uploaded by the first application system after domain name modification;
the domain name updating information is used for indicating a domain name modification result of the first application system after domain name modification, and comprises one or more of the preset domain name, a file after domain name modification, a storage path of the file, and a communication test result between the first application system after domain name modification and the target server, wherein the communication test result is used for indicating whether the first application system after domain name modification can access the target server by using the preset domain name.
4. A domain name management apparatus, applied to a blockchain platform, the blockchain platform including a simulated application environment and an actual application environment, the apparatus comprising:
the system comprises an acquisition unit, a storage unit and a control unit, wherein the acquisition unit is used for acquiring domain name configuration information, the domain name configuration information is used for indicating that a target Internet Protocol (IP) address is replaced by a preset domain name, the target IP address is an IP address of a target server in a target application system, the preset domain name is a domain name configured by the target server, and the target application system is a node on the blockchain platform; the domain name configuration information comprises first domain name configuration information and second domain name configuration information, the first domain name configuration information comprises a corresponding relation between a first IP address and a first preset domain name, the second domain name configuration information comprises a corresponding relation between a second IP address and a second preset domain name, the first IP address is an IP address of the target server in a simulated application environment, and the second IP address is an IP address of the target server in an actual application environment;
the processing unit is used for carrying out domain name transformation on a first application system according to the domain name configuration information, and is used for replacing the target IP address in the first application system with the preset domain name to obtain a domain name transformed first application system, wherein the first application system is a node with the target IP address on the blockchain;
The processing unit is specifically configured to: when the communication test result between the first application system and the target server after domain name transformation is normal in the simulated application environment, domain name transformation is carried out on the first application system by using the domain name configuration information in the actual application environment;
when the communication test result between the first application system and the target server after domain name transformation is abnormal in the simulated application environment, adjusting the domain name configuration information to obtain adjusted domain name configuration information, and performing domain name transformation on the first application system by using the adjusted domain name configuration information; or,
under the simulation application environment, carrying out domain name transformation on a simulation application system corresponding to the first application system according to the first domain name configuration information, wherein the simulation application system after domain name transformation comprises the first preset domain name;
under the actual application environment, performing domain name transformation on the first application system according to the second domain name configuration information, wherein the first application system after domain name transformation comprises the second preset domain name.
5. The apparatus of claim 4, wherein the domain name configuration information includes a correspondence between the target IP address and the preset domain name; the processing unit is specifically configured to:
acquiring a file comprising the target IP address in the first application system;
and replacing the target IP address in the file with the preset domain name according to the corresponding relation between the target IP address and the preset domain name, so as to obtain a first application system after domain name modification.
6. The apparatus of claim 5, further comprising a receiving unit;
the receiving unit is used for receiving and storing the domain name updating information uploaded by the first application system after domain name modification;
the domain name updating information is used for indicating a domain name modification result of the first application system after domain name modification, and comprises one or more of the preset domain name, a file and a storage path after domain name modification, and a communication test result between the first application system after domain name modification and the target server, wherein the communication test result is used for indicating whether the first application system after domain name modification can access the target server by using the preset domain name.
7. A domain name management apparatus, comprising: a processor and a memory; the processor and the memory are coupled; the memory is configured to store one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the management device, cause the management device to perform the method of any of claims 1-3.
8. A computer readable storage medium having instructions stored therein, which when executed by a computer, performs the method of any of claims 1-3.
CN202210311540.6A 2022-03-28 2022-03-28 Domain name management method, device and storage medium Active CN114598680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210311540.6A CN114598680B (en) 2022-03-28 2022-03-28 Domain name management method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210311540.6A CN114598680B (en) 2022-03-28 2022-03-28 Domain name management method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114598680A CN114598680A (en) 2022-06-07
CN114598680B true CN114598680B (en) 2024-02-23

Family

ID=81810797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210311540.6A Active CN114598680B (en) 2022-03-28 2022-03-28 Domain name management method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114598680B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234951B (en) * 2023-11-13 2024-01-30 建信金融科技有限责任公司 Function test method and device of application system, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951482A (en) * 2019-03-19 2019-06-28 全链通有限公司 User terminal and its block chain domain name analytic method
CN112235433A (en) * 2020-10-16 2021-01-15 北京乐学帮网络技术有限公司 Domain name access method and device
CN113965543A (en) * 2020-07-03 2022-01-21 深圳市腾讯网域计算机网络有限公司 Access method and device of application server and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10880260B1 (en) * 2019-06-19 2020-12-29 Etherweb Technologies LLC Distributed domain name resolution and method for use of same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951482A (en) * 2019-03-19 2019-06-28 全链通有限公司 User terminal and its block chain domain name analytic method
CN113965543A (en) * 2020-07-03 2022-01-21 深圳市腾讯网域计算机网络有限公司 Access method and device of application server and storage medium
CN112235433A (en) * 2020-10-16 2021-01-15 北京乐学帮网络技术有限公司 Domain name access method and device

Also Published As

Publication number Publication date
CN114598680A (en) 2022-06-07

Similar Documents

Publication Publication Date Title
Von Kistowski et al. Teastore: A micro-service reference application for benchmarking, modeling and resource management research
CN104536899B (en) A kind of software deployment and its maintaining method based on Intelligent cluster
CN113206763B (en) Simulation test system and method suitable for Internet of things management platform
WO2020147419A1 (en) Monitoring method and apparatus, computer device and storage medium
US10552296B2 (en) Human-readable, language-independent stack trace summary generation
CN105787364B (en) Automatic testing method, device and system for tasks
CN109976822A (en) Configuration method, device and the distributed system of Distributed Application
CN114070883B (en) Test resource access method and device, electronic equipment and storage medium
US20130111018A1 (en) Passive monitoring of virtual systems using agent-less, offline indexing
CN112559525B (en) Data checking system, method, device and server
CN112035350B (en) Test method and device for block chain system and computer equipment
CN114598680B (en) Domain name management method, device and storage medium
CN114185770A (en) Method and device for generating test data, computer equipment and storage medium
CN110012111B (en) Data service cluster system and data processing method
CN113553520B (en) Domain name automation operation and maintenance method, system and equipment for multi-technology stack fusion
CN112527453B (en) Virtualization information simulation system, method and computer-readable storage medium
CN115550382A (en) Configuration item synchronization method, device, system and equipment
CN112242951B (en) Virtual network mapping method and device
CN113704120A (en) Data transmission method, device, equipment and storage medium
CN110928679B (en) Resource allocation method and device
US9137121B1 (en) Managing networks utilizing network simulation
CN117251297B (en) Equipment distribution method, electronic equipment and storage medium
CN113342795B (en) Data checking method and device in application program, electronic equipment and storage medium
US20210286819A1 (en) Method and System for Operation Objects Discovery from Operation Data
CN117573285A (en) Cluster pressure measurement method, device, equipment, medium and program product

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