CN114401244A - Operation link intelligent switching method, device, equipment and storage medium - Google Patents

Operation link intelligent switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN114401244A
CN114401244A CN202210041594.5A CN202210041594A CN114401244A CN 114401244 A CN114401244 A CN 114401244A CN 202210041594 A CN202210041594 A CN 202210041594A CN 114401244 A CN114401244 A CN 114401244A
Authority
CN
China
Prior art keywords
domain name
link
page
resource pool
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210041594.5A
Other languages
Chinese (zh)
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202210041594.5A priority Critical patent/CN114401244A/en
Publication of CN114401244A publication Critical patent/CN114401244A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • H04L61/3025Domain name generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an artificial intelligence technology, and discloses an operation link intelligent switching method, which comprises the following steps: performing domain name configuration on a gateway of a server of an operation page to generate a first-level domain name corresponding to the operation page; creating a secondary domain name link resource pool according to the primary domain name; according to the acquired request information for the operating page from the terminal, performing detection response test on a server of the operating page on the basis of a primary domain name for a secondary domain name link in a secondary domain name link resource pool, and selecting any secondary domain name link passing the detection response test from the secondary domain name link resource pool as a target page link; and establishing the connection between the terminal and the operation page server through the target page link. The invention also relates to a blockchain technology, wherein the primary domain name is stored in the blockchain. The invention can solve the problems that in the prior art, one operation activity is provided with a plurality of links, and when the sent links can not be opened normally, the overall experience is poor due to execution lag, and the like.

Description

Operation link intelligent switching method, device, equipment and storage medium
Technical Field
The invention relates to the field of artificial intelligence, in particular to an operation link intelligent switching method, device, equipment and storage medium.
Background
During the use of each resource platform, some operation activities such as card-collecting lottery, financial spirit and the like are usually introduced. The activity operator puts operation activities on different platforms (such as WeChat, microblog and the like) to achieve the purposes of product drainage, brand image propaganda and the like.
However, because the management systems of different platforms are slightly different, or a competitive product relationship exists, the operation activity link may be maliciously sealed and killed, so that the end user cannot normally open the operation activity, and the user experience is poor. Meanwhile, the active operator consumes a great deal of investment of manpower, material resources and financial resources, but the aim of operation cannot be achieved.
In order to solve the problems, the technical support of the operation activities at present is that a plurality of links 1, links 2, … and links (n) are generally provided for one operation activity, and when a platform blocks the link1, the link2 is enabled to carry out operation promotion. Although the method can ensure that the operation activities continue to be carried out to a certain extent, the problems that the issued links cannot be opened normally, the overall experience is poor due to execution delay and the like also exist.
Disclosure of Invention
The invention provides an intelligent switching method, device, equipment and storage medium of operation links, and mainly aims to solve the problems that in the prior art, one operation activity is provided with a plurality of links, and when the sent links cannot be opened normally, execution is delayed, so that the overall experience is poor and the like.
In a first aspect, to achieve the above object, the present invention provides an intelligent operation link switching method, where the method includes:
performing domain name configuration on a gateway of a server of an operation page to generate a primary domain name corresponding to the operation page;
creating a secondary domain name link resource pool according to the primary domain name; the second-level domain name link resource pool comprises at least two second-level domain name links which can establish connection with the server of the operation page;
according to the acquired request information of the terminal for the operation page, performing detection response test on a server of the operation page on the basis of the primary domain name for the secondary domain name link in the secondary domain name link resource pool, and selecting any secondary domain name link passing the detection response test from the secondary domain name link resource pool as a target page link; wherein the probe response test is used for testing the request connection response condition of the selected secondary domain name link;
and establishing the connection between the terminal and the operation page server through the target page link.
In a second aspect, to solve the above problem, the present invention further provides an operation link intelligent switching apparatus, including:
the domain name configuration module is used for carrying out domain name configuration on a gateway of a server of an operation page and generating a primary domain name corresponding to the operation page;
the second-level domain name link resource pool creating module is used for creating a second-level domain name link resource pool according to the first-level domain name; the second-level domain name link resource pool comprises at least two second-level domain name links which can establish connection with the server of the operation page;
the detection response testing module is used for carrying out detection response testing on a server of the operation page on the basis of the primary domain name to the secondary domain name links in the secondary domain name link resource pool according to the acquired request information of the operation page from the terminal, and selecting any secondary domain name link passing the detection response testing from the secondary domain name link resource pool as a target page link; wherein the probe response test is used for testing the request connection response condition of the selected secondary domain name link;
and the operation page server connecting module is used for establishing the connection between the terminal and the operation page server through the target page link.
In a third aspect, to solve the above problem, the present invention further provides an electronic apparatus, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the operation link intelligent switching method as described above.
In a fourth aspect, to solve the above problem, the present invention further provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the operation link intelligent switching method as described above.
The invention provides an intelligent switching method, device, equipment and storage medium of an operation link, which configure a first-level domain name for a gateway of a server of an operation page; creating a corresponding secondary domain name link resource pool for the primary domain name; each second-level domain name link in the second-level domain name link resource pool is used as a real link and is in contact with a server of an operation page, when request information of a terminal to the operation page is received, the second-level domain name links in the second-level domain name link resource pool are subjected to detection response test firstly, the operation page can be ensured to be normally used by a user, the operation links are intelligently switched, the operation activities can be normally opened on different platforms, and bad experience caused by the fact that the links can not be normally opened and the user can not experience is avoided.
Drawings
Fig. 1 is a schematic flowchart of an intelligent operation link switching method according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of an operation link intelligent switching apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device implementing an intelligent operation link switching method according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The invention provides an intelligent operation link switching method. Fig. 1 is a schematic flow chart of an operation link intelligent switching method according to an embodiment of the present invention. The method may be performed by an apparatus, which may be implemented by software and/or hardware.
In this embodiment, the operation link intelligent switching method includes:
step S110, carrying out domain name configuration on the gateway of the server of the operation page, and generating a first-level domain name corresponding to the operation page.
Specifically, different first-level domain names are configured for different operation pages, for example, after a certain operation page is configured by a domain name, the obtained first-level domain name is link, operation page skipping can be realized by the first-level domain name, that is, the first-level domain name is a primary link, when a user wants to enter the certain operation page, the first-level domain name of the operation page needs to be obtained first, and the operation page of the operation platform is skipped to by the first-level domain name, but the first-level domain name is not an actual resource link, and a second-level domain name link for actually performing the resource link needs to be selected from a second-level domain name link resource pool corresponding to the first-level domain name according to the first-level domain name.
As an optional embodiment of the present invention, storing a first-level domain name in a block chain, performing domain name configuration on a gateway of a server of an operation page, and generating the first-level domain name corresponding to the operation page includes:
establishing a mapping relation between an IP address of a preset domain name and a gateway of a server of an operation page;
and establishing a service relationship between a preset domain name and the gateway of the server of the operation page according to the mapping relationship, completing the domain name configuration of the gateway of the server of the operation page, and generating a primary domain name corresponding to the operation page.
Specifically, each domain name corresponds to a corresponding IP address, a mapping relationship is established between the IP address of the preset domain name and a gateway of a server of the operation page, so that each preset domain name corresponds to a gateway of the server of the operation page one by one, and then a service relationship is established between the preset domain name and the gateway of the server of the operation page according to the mapping relationship, that is, a user can enter the operation page of the operation platform by copying a first-level domain name, so that a service relationship is established between the first-level domain name and the first-level domain name, that is, the first-level domain name is generated for the operation page.
Step S120, creating a secondary domain name link resource pool according to the primary domain name; the second-level domain name link resource pool comprises at least two second-level domain name links which can be connected with the server of the operation page.
Specifically, a second-level domain name link resource pool is correspondingly created for each first-level domain name, the second-level domain name link resource pool comprises at least two second-level domain name links which can be connected with a server of an operation page, each second-level domain name link is different, when one second-level domain name link has a problem and is maliciously sealed, other second-level domain name links can be selected from the second-level domain name link resource pool in time to be replaced, the user can be guaranteed to normally use resources of the operation page, the influence of maliciously sealed and killed active links is avoided, and the user experience effect is better.
As an alternative embodiment of the present invention, creating a secondary domain name link resource pool according to a primary domain name comprises:
creating at least two operation page links capable of establishing connection with a server of an operation page;
and matching a corresponding second-level domain name for the operation page link based on the first-level domain name to obtain a second-level domain name link resource pool.
Specifically, the operation page link can establish a connection with the server of the operation page, so that the user can create a secondary domain name matched with the operation page link based on the primary domain name by using the resource of the operation platform, for example, if the primary domain name is link, the secondary domain name may be link1, link2, …, link (n), thereby forming a corresponding secondary domain name link resource pool under the primary domain name.
Step S130, according to the acquired request information for the operation page from the terminal, performing detection response test on a server of the operation page on a secondary domain name link in a secondary domain name link resource pool based on a primary domain name, and selecting any secondary domain name link passing the detection response test from the secondary domain name link resource pool as a target page link; the detection response test is used for testing the request connection response condition of the selected secondary domain name link.
Specifically, when a user copies a first-level domain name through a terminal and enters an operation page of an operation platform, a corresponding second-level domain name link resource pool is obtained according to the first-level domain name, then a detection response test is carried out on the second-level domain name link, and any one of the second-level domain name link resource pools which can pass the detection response test is used as a target page link. Generally, the first secondary domain name link capable of passing the detection response test is selected as a target page link, and after the target page link is selected, the detection response test does not need to be carried out on the secondary domain name link in the secondary domain name link resource pool, so that the target page link selection time is shortened, and the efficiency is improved. For example, during probe response testing, links 1, links 2, … and link (n) in a secondary domain name link resource pool are tested one by one, an operation page link corresponding to the link1 is selected as a test object for testing, and if the operation page link passes through the test object, the link1 and the operation page link corresponding to the link are jointly used as a target page link; if the link fails to pass the test, the operation page link corresponding to the link2 is selected as a test object to be tested until a second-level domain name link capable of passing the probe response test is selected, so that the target page link is obtained.
As an optional embodiment of the present invention, according to the acquired request information for the operating page from the terminal, performing a probe response test of the server for the operating page on the secondary domain name link in the secondary domain name link resource pool based on the primary domain name, and selecting any secondary domain name link that passes the probe response test from the secondary domain name link resource pool as the target page link includes:
acquiring a secondary domain name link resource pool corresponding to a primary domain name according to the primary domain name indicated in the acquired request information for the operation page from the terminal, and selecting one secondary domain name link from the secondary domain name link resource pool as a link to be detected;
sending request connection permission information of the link to be tested to a server of the operation page through a preset software development kit, and carrying out detection response test on the link to be tested;
and if the server of the operation page sends a response within the preset response time, the link to be tested passes the detection response test, and the link to be tested is taken as the target page link.
Specifically, when a user wants to enter an operation page, a first-level domain name skip page is copied to enter the operation page through a terminal, and then a real link, namely a second-level domain name link, is distributed to a server of the operation page from a corresponding second-level domain name link resource pool based on a first-level domain name, and is used as a link to be detected; and then sending request connection authority information (option) of the link to be tested to a server of the operation page through a preset software development tool (sdk), carrying out detection response test on the link to be tested, if the server of the operation page sends a response within preset response time, such as within 1 second, the link to be tested passes the detection response test, and at the moment, taking the link to be tested as a target page link.
As an optional embodiment of the present invention, sending request connection permission information of a link to be tested to a server of an operation page through a preset software development kit, and performing a probe response test on the link to be tested includes:
if the server of the operation page does not send a response within the preset response time, the link to be tested does not pass the detection response test;
and when the link to be tested does not pass the detection response test, selecting a new link to be tested from the secondary domain name link resource pool again until the selected link to be tested can pass the detection response test, and taking the link to be tested passing the detection response test as the target page link.
Specifically, in the process of performing a detection response test on a link to be tested, if within a preset response time, the selected secondary domain name link, that is, the link to be tested, is the connection permission request information sent by the preset software development kit to the server of the operation page, and no response of the server of the operation page is obtained, it is indicated that the link to be tested does not pass the detection response test, that is, the link to be tested is maliciously blocked or invalid, at this time, a new link to be tested needs to be selected again from the secondary domain name link resource pool, that is, the secondary domain name link is selected again from the secondary domain name link resource pool as a new link to be tested, the previous detection response test process is repeated until the selected link to be tested can pass the detection response test, and the link to be tested that passes the detection response test is taken as a target page link.
As an optional embodiment of the present invention, according to the acquired request information for the operating page from the terminal, performing a probe response test on a second domain name link in a second domain name link resource pool on the basis of the first domain name on a server of the operating page, and selecting the second domain name link that passes the probe response test from the second domain name link resource pool as a target page link further includes:
acquiring a secondary domain name link resource pool corresponding to a primary domain name according to the primary domain name indicated in the acquired request information for the operation page from the terminal;
according to a preset secondary domain name link priority weight table, sequentially selecting secondary domain name links from a secondary domain name link resource pool as links to be detected according to the sequence of the priority weights from large to small;
the preset second-level domain name link priority weight table comprises second-level domain name links and priority weights corresponding to the second-level domain name links;
and taking the first secondary domain name link passing the detection response test as a target page link.
Specifically, according to the request information of the terminal for the operation page, the first-level domain name can be known in the request information, so that the corresponding second-level domain name link resource pool is obtained according to the first-level domain name, and according to the actual use situation, a second-level domain name link priority weight table is preset, for example, the priority level of link1 is 9, the priority level of link2 is 6, and the priority level of link3 is 8, when the second-level domain name link is selected as the link to be tested, the priority levels can be sequentially performed according to the sequence of the priority levels from large to small, for example, link1 is selected as the link to be tested, if the link1 fails the probe response test, then link3 is selected as the link to be tested, if the link3 also fails the probe response test, then the link2 is selected as the probe response test, and so on until the link to be tested, which can pass the probe response test, is selected as the target link page.
As an optional embodiment of the present invention, according to the acquired request information for the operating page from the terminal, performing a probe response test on a second-level domain name link in a second-level domain name link resource pool based on the first-level domain name on a server of the operating page, and selecting any second-level domain name link that passes the probe response test from the second-level domain name link resource pool as a target page link further includes:
when none of the second-level domain name links in the second-level domain name link resource pool passes the detection response test, generating warning information for supplementing the resource pool;
and when the times of the secondary domain name link in the secondary domain name link resource pool failing the detection response test exceed a preset test threshold value, generating warning information for rejecting the link.
Specifically, in the process of the detection response test, if the secondary domain name links in the secondary domain name link resource pool do not pass the detection response test after the detection response test is performed on the secondary domain name links, link resource supplement needs to be performed on the secondary domain name link resource pool, and at this time, warning information of the supplement resource pool in the form of mails/short messages and the like needs to be generated so as to prompt an operator to perform link resource supplement; when the number of times that a certain secondary domain name link in the secondary domain name link resource pool fails the detection response test exceeds a preset test threshold, if 3 times of failure detection response tests exist, and the preset test threshold is 3 times, at this time, link-rejecting warning information corresponding to the secondary domain name link is generated, the link-rejecting warning information passes through a mail or information form, and the secondary domain name of the link to be proposed needs to be indicated.
And step S140, establishing the connection between the terminal and the operation page server through the target page link.
Specifically, the target page link is a second-level domain name link passing a detection response test, that is, an effective real page link, and the target page link can establish a connection between the request terminal and the operation page server, so that resources required by the terminal user are acquired from the operation website.
Fig. 2 is a functional block diagram of an operation link intelligent switching apparatus according to an embodiment of the present invention.
The operation link intelligent switching device 200 of the present invention can be installed in an electronic device. According to the implemented functions, the operation link intelligent switching device may include a domain name configuration module 210, a secondary domain name link resource pool creation module 220, a probe response test module 230, and an operation page server connection module 240. A module according to the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the domain name configuration module 210 is configured to perform domain name configuration on a gateway of a server of an operation page, and generate a first-level domain name corresponding to the operation page.
Specifically, different first-level domain names are configured for different operation pages, for example, after a certain operation page is configured by a domain name, the obtained first-level domain name is link, operation page skipping can be realized by the first-level domain name, that is, the first-level domain name is a primary link, when a user wants to enter the certain operation page, the first-level domain name of the operation page needs to be obtained first, and the operation page of the operation platform is skipped to by the first-level domain name, but the first-level domain name is not an actual resource link, and a second-level domain name link for actually performing the resource link needs to be selected from a second-level domain name link resource pool corresponding to the first-level domain name according to the first-level domain name.
As an alternative embodiment of the present invention, the domain name configuration module 210 further includes: a mapping relation establishing unit and a service relation establishing unit (not shown in the figure). Wherein the content of the first and second substances,
the mapping relation establishing unit is used for establishing a mapping relation between the IP address of the preset domain name and a gateway of a server of the operation page;
and the service relationship establishing unit is used for establishing a service relationship between the preset domain name and the gateway of the server of the operation page according to the mapping relationship, completing the domain name configuration of the gateway of the server of the operation page and generating a primary domain name corresponding to the operation page.
Specifically, each domain name corresponds to a corresponding IP address, a mapping relationship is established between the IP address of the preset domain name and a gateway of a server of the operation page by a mapping relationship establishing unit, so that each preset domain name corresponds to the gateway of the server of the operation page one by one, and then a service relationship is established between the preset domain name and the gateway of the server of the operation page by a service relationship establishing unit according to the mapping relationship, that is, a user can enter the operation page of the operation platform by copying a first-level domain name, so that a service relationship is established between the two, that is, the corresponding first-level domain name is generated for the operation page.
A secondary domain name link resource pool creating module 220, configured to create a secondary domain name link resource pool according to the primary domain name; the second-level domain name link resource pool comprises at least two second-level domain name links which can be connected with the server of the operation page.
Specifically, a second-level domain name link resource pool is correspondingly created for each first-level domain name, the second-level domain name link resource pool comprises at least two second-level domain name links which can be connected with a server of an operation page, each second-level domain name link is different, when one second-level domain name link has a problem and is maliciously sealed, other second-level domain name links can be selected from the second-level domain name link resource pool in time to be replaced, the user can be guaranteed to normally use resources of the operation page, the influence of maliciously sealed and killed active links is avoided, and the user experience effect is better.
As an alternative embodiment of the present invention, the secondary domain name link resource pool creating module 220 further comprises: an operation page link creation unit and a secondary domain name matching unit (not shown in the figure). Wherein the content of the first and second substances,
the operation page link creating unit is used for creating at least two operation page links which can establish connection with the server of the operation page;
and the second-level domain name matching unit is used for matching a corresponding second-level domain name for the operation page link based on the first-level domain name to obtain a second-level domain name link resource pool.
Specifically, an operation page link capable of establishing connection with a server of an operation page is established through an operation page link establishing unit; the operation page link can establish connection with a server of the operation page, so that a user can create a secondary domain name matched with the operation page link based on the primary domain name through a secondary domain name matching unit by using resources of the operation platform, for example, the primary domain name is a link, and the secondary domain name can be a link1, a link2, … and a link (n), thereby forming a corresponding secondary domain name link resource pool under the primary domain name.
The detection response testing module 230 is configured to perform a detection response test on a server of an operation page for a second-level domain name link in a second-level domain name link resource pool based on a first-level domain name according to the acquired request information for the operation page from the terminal, and select any second-level domain name link passing the detection response test from the second-level domain name link resource pool as a target page link; the detection response test is used for testing the request connection response condition of the selected secondary domain name link.
Specifically, when a user copies a first-level domain name through a terminal and enters an operation page of an operation platform, a corresponding second-level domain name link resource pool is obtained according to the first-level domain name, then a detection response test is carried out on a second-level domain name link, and when the second-level domain name link in the second-level domain name link resource pool can pass the detection response test, the second-level domain name link passing the detection response test is used as a target page link. For example, in the probe response test, link1, link2, … and link (n) in the secondary domain name link resource pool are tested, an operation page link corresponding to the link1 is selected as a test object to be tested, and if the link1 and the operation page link corresponding to the link1 pass through the test object, the link1 and the operation page link corresponding to the link are jointly used as a target page link; if the link fails to pass the test, the operation page link corresponding to the link2 is selected as a test object to be tested until a second-level domain name link capable of passing the probe response test is selected, so that the target page link is obtained.
As an alternative embodiment of the present invention, the probe response test module 230 further includes: a link to be tested selecting unit, a probe response testing unit and a target page link determining unit (not shown in the figure). Wherein the content of the first and second substances,
the link to be tested selecting unit is used for acquiring a secondary domain name link resource pool corresponding to a primary domain name according to the primary domain name indicated in the acquired request information for the operation page from the terminal, and selecting one secondary domain name link from the secondary domain name link resource pool as a link to be tested;
the detection response testing unit is used for sending the connection permission request information of the link to be tested to the server of the operation page through a preset software development kit and carrying out detection response testing on the link to be tested;
and the target page link determining unit is used for enabling the link to be tested to pass the detection response test and using the link to be tested as the target page link if the server of the operation page sends out a response within the preset response time.
Specifically, when a user wants to enter an operation page, a first-level domain name skip page is copied to enter the operation page through a terminal, and then a real link, namely a second-level domain name link, is distributed to a server of the operation page from a corresponding second-level domain name link resource pool through a to-be-detected link selection unit based on a first-level domain name, and is used as the to-be-detected link; and then sending request connection authority information (option) of the link to be tested to the server of the operation page by using a preset software development tool (sdk) through a detection response test unit, carrying out detection response test on the link to be tested, if the server of the operation page sends a response within preset response time, such as within 1 second, the link to be tested passes the detection response test, and at the moment, taking the link to be tested as a target page link.
As an alternative embodiment of the present invention, the probe response test unit further comprises: the failed test link determines the sub-unit and the failed test link processing unit (not shown in the figure). Wherein the content of the first and second substances,
the failed test link determining subunit is used for determining that the link to be tested fails the detection response test if the server of the operation page does not send a response within the preset response time;
and the failed test link processing unit is used for reselecting a new link to be tested from the secondary domain name link resource pool when the link to be tested fails the detection response test until the selected link to be tested can pass the detection response test, and taking the link to be tested passing the detection response test as the target page link.
Specifically, in the process of performing a probe response test on the link to be tested, for example, within a preset response time, the selected second-level domain name link, i.e., the link to be tested, does not obtain the response of the server of the operation page through the connection permission request information sent to the server of the operation page by the preset software development kit, determining that the link under test fails the probe response test by failing the test link determination subunit, namely, the link is maliciously blocked or invalid, at this time, a new link to be tested needs to be selected from the secondary domain name link resource pool again through the failed test link processing unit, namely, the second-level domain name link is selected from the second-level domain name link resource pool again to serve as a new link to be tested, the previous detection response testing process is repeated until the selected link to be tested can pass the detection response test, and the link to be tested which passes the detection response test is taken as a target page link.
As an alternative embodiment of the present invention, the probe response testing module 230 may further include: a secondary domain name link resource pool obtaining unit, a link to be tested selecting unit and a target page link determining unit (not shown in the figure). Wherein the content of the first and second substances,
a second-level domain name link resource pool obtaining unit, configured to obtain, according to a first-level domain name indicated in the obtained request information for the operating page from the terminal, a second-level domain name link resource pool corresponding to the first-level domain name;
the link to be detected selecting unit is used for sequentially selecting the secondary domain name links from the secondary domain name link resource pool as the links to be detected according to a preset secondary domain name link priority weight table and the sequence of the priority weights from large to small;
the preset second-level domain name link priority weight table comprises second-level domain name links and priority weights corresponding to the second-level domain name links.
And the target page link determining unit is used for taking the first secondary domain name link passing the detection response test as the target page link.
Specifically, the secondary domain name link resource pool acquiring unit acquires the primary domain name in the request information according to the request information of the terminal to the operation page, so as to acquire the secondary domain name link resource pool corresponding to the primary domain name according to the primary domain name, and according to the actual use condition, a secondary domain name link priority weight table is preset, for example, the priority level of link1 is 9, the priority level of link2 is 6, and the priority level of link3 is 8, when selecting the secondary domain name link as the link to be tested, the link selecting unit to be tested can sequentially perform the priority weights in the descending order, for example, first select link1 as the link to be tested, if the link1 fails the probe response test, then select link3 as the link to be tested, if the link3 also fails the probe response test, then select link2 as the probe response test, and so on until the link to be tested which can pass the probe response test is selected, as a destination page link.
As an optional embodiment of the present invention, the probe response testing module 230 further comprises: a supplementary resource pool warning information generating unit and a culling link warning information generating unit (not shown in the figure). Wherein the content of the first and second substances,
the supplementary resource pool warning information generating unit is used for generating warning information of the supplementary resource pool when none of the secondary domain name links in the secondary domain name link resource pool passes the detection response test;
and the link rejection warning information generating unit is used for generating the warning information of the link rejection when the number of times of the failure of the detection response test of the second-level domain name link in the second-level domain name link resource pool exceeds a preset test threshold value.
Specifically, in the process of the detection response test, if the secondary domain name links in the secondary domain name link resource pool do not pass the detection response test after the detection response test is sequentially performed on the secondary domain name links, link resource supplement needs to be performed on the secondary domain name link resource pool, and at this time, warning information of the supplementary resource pool in the form of mails/short messages and the like is generated by a supplementary resource pool warning information generation unit so as to prompt an operator to perform link resource supplement; when the number of times that a certain secondary domain name link in the secondary domain name link resource pool fails the detection response test exceeds a preset test threshold, if 3 times of failure detection response tests exist, the preset test threshold is 3 times, at this time, link-rejecting warning information corresponding to the secondary domain name link is generated through a link-rejecting warning information generating unit, and the link-rejecting warning information passes through a mail or information form and needs to indicate the secondary domain name of the link to be proposed.
And an operation page server connection module 240, configured to establish a connection between the terminal and the operation page server through the target page link.
Specifically, the target page link is a second-level domain name link passing a detection response test, that is, an effective real page link, and the target page link can establish a connection between the request terminal and the operation page server, so that resources required by the terminal user are acquired from the operation website.
Fig. 3 is a schematic structural diagram of an electronic device for implementing an operation link intelligent switching method according to an embodiment of the present invention.
The electronic device 1 may include a processor 10, a memory 11 and a bus, and may further include a computer program stored in the memory 11 and executable on the processor 10, such as an operation linking intelligent switching program 12.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes for operating a link intelligent switching program, but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., operation link intelligence switching programs, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The operation-linked intelligent switching program 12 stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, and when running in the processor 10, can realize:
performing domain name configuration on a gateway of a server of an operation page to generate a first-level domain name corresponding to the operation page;
creating a secondary domain name link resource pool according to the primary domain name; the second-level domain name link resource pool comprises at least two second-level domain name links which can be connected with a server of an operation page;
according to the acquired request information for the operating page from the terminal, performing detection response test on a server of the operating page on the basis of a primary domain name for a secondary domain name link in a secondary domain name link resource pool, and selecting any secondary domain name link passing the detection response test from the secondary domain name link resource pool as a target page link; wherein, the detection response test is used for testing the request connection response condition of the selected secondary domain name link;
and establishing the connection between the terminal and the operation page server through the target page link.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, which is not described herein again. It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned primary domain name, the above-mentioned primary domain name may also be stored in a node of a block chain.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. An operation link intelligent switching method is applied to an electronic device, and is characterized by comprising the following steps:
performing domain name configuration on a gateway of a server of an operation page to generate a primary domain name corresponding to the operation page;
creating a secondary domain name link resource pool according to the primary domain name; the second-level domain name link resource pool comprises at least two second-level domain name links which can establish connection with the server of the operation page;
according to the acquired request information of the terminal for the operation page, performing detection response test on a server of the operation page on the basis of the primary domain name for the secondary domain name link in the secondary domain name link resource pool, and selecting any secondary domain name link passing the detection response test from the secondary domain name link resource pool as a target page link; wherein the probe response test is used for testing the request connection response condition of the selected secondary domain name link;
and establishing the connection between the terminal and the operation page server through the target page link.
2. The method according to claim 1, wherein the first-level domain name is stored in a block chain, and the configuring a domain name for a gateway of a server of an operation page to generate the first-level domain name corresponding to the operation page includes:
establishing a mapping relation between an IP address of a preset domain name and a gateway of a server of the operation page;
and establishing a service relationship between the preset domain name and the gateway of the server of the operation page according to the mapping relationship, completing the domain name configuration of the gateway of the server of the operation page, and generating a primary domain name corresponding to the operation page.
3. The intelligent operation link switching method according to claim 1, wherein the creating a secondary domain name link resource pool according to the primary domain name comprises:
creating at least two operation page links capable of establishing connection with the server of the operation page;
and matching a corresponding second-level domain name for the operation page link based on the first-level domain name to obtain a second-level domain name link resource pool.
4. The method for intelligently switching the operational links according to claim 1, wherein the performing, according to the acquired request information for the operational page from the terminal, a probe response test of a server of the operational page on the secondary domain name links in the secondary domain name link resource pool based on the primary domain name, and selecting any secondary domain name link that passes the probe response test from the secondary domain name link resource pool as the target page link includes:
acquiring a secondary domain name link resource pool corresponding to the primary domain name according to the primary domain name indicated in the acquired request information of the terminal for the operation page, and selecting one secondary domain name link from the secondary domain name link resource pool as a link to be detected;
sending request connection permission information of the link to be tested to a server of the operation page through a preset software development kit, and carrying out detection response test on the link to be tested;
and if the server of the operation page sends a response within the preset response time, the link to be tested passes the detection response test, and the link to be tested is used as a target page link.
5. The intelligent operation link switching method according to claim 4, wherein the sending of the connection permission request information of the link to be tested to the server of the operation page through a preset software development kit includes:
if the server of the operation page does not send a response within the preset response time, the link to be tested does not pass the detection response test;
and when the link to be tested does not pass the detection response test, selecting a new link to be tested from the secondary domain name link resource pool again until the selected link to be tested can pass the detection response test, and taking the link to be tested passing the detection response test as a target page link.
6. The method according to claim 1, wherein the performing, according to the obtained request information for the operating page from the terminal, a probe response test of the server for the operating page on the secondary domain name link in the secondary domain name link resource pool based on the primary domain name, and selecting any secondary domain name link that passes the probe response test from the secondary domain name link resource pool as the target page link further comprises:
acquiring a secondary domain name link resource pool corresponding to a primary domain name according to the primary domain name indicated in the acquired request information of the terminal for the operation page;
according to a preset secondary domain name link priority weight table, sequentially selecting secondary domain name links from the secondary domain name link resource pool as links to be detected according to the sequence of the priority weights from large to small;
the preset second-level domain name link priority weight table comprises second-level domain name links and priority weights corresponding to the second-level domain name links;
and taking the first secondary domain name link passing the detection response test as a target page link.
7. The method according to claim 1, wherein the performing, according to the obtained request information for the operating page from the terminal, a probe response test of the server for the operating page on the secondary domain name link in the secondary domain name link resource pool based on the primary domain name, and selecting any secondary domain name link that passes the probe response test from the secondary domain name link resource pool as the target page link further comprises:
when none of the second-level domain name links in the second-level domain name link resource pool passes the detection response test, generating warning information for supplementing the resource pool;
and when the times of the secondary domain name link in the secondary domain name link resource pool failing the detection response test exceed a preset test threshold value, generating warning information for rejecting the link.
8. An operation linking intelligent switching device, characterized in that the device comprises:
the domain name configuration module is used for carrying out domain name configuration on a gateway of a server of an operation page and generating a primary domain name corresponding to the operation page;
the second-level domain name link resource pool creating module is used for creating a second-level domain name link resource pool according to the first-level domain name; the second-level domain name link resource pool comprises at least two second-level domain name links which can establish connection with the server of the operation page;
the detection response testing module is used for carrying out detection response testing on a server of the operation page on the basis of the primary domain name to the secondary domain name links in the secondary domain name link resource pool according to the acquired request information of the operation page from the terminal, and selecting any secondary domain name link passing the detection response testing from the secondary domain name link resource pool as a target page link; wherein the probe response test is used for testing the request connection response condition of the selected secondary domain name link;
and the operation page server connecting module is used for establishing the connection between the terminal and the operation page server through the target page link.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the operation link intelligent switching method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the operation link intelligent switching method according to any one of claims 1 to 7.
CN202210041594.5A 2022-01-14 2022-01-14 Operation link intelligent switching method, device, equipment and storage medium Pending CN114401244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210041594.5A CN114401244A (en) 2022-01-14 2022-01-14 Operation link intelligent switching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210041594.5A CN114401244A (en) 2022-01-14 2022-01-14 Operation link intelligent switching method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114401244A true CN114401244A (en) 2022-04-26

Family

ID=81230286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210041594.5A Pending CN114401244A (en) 2022-01-14 2022-01-14 Operation link intelligent switching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114401244A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150039724A1 (en) * 2013-08-01 2015-02-05 Go Daddy Operating Company, LLC Methods and systems for recommending top level domains
CN108989479A (en) * 2018-07-11 2018-12-11 湖北省楚天云有限公司 The method and apparatus that a kind of pair of cloud computing platform second level domain is configured
CN111262959A (en) * 2020-01-13 2020-06-09 平安科技(深圳)有限公司 Block link point access method, device and storage medium
CN112738271A (en) * 2021-01-08 2021-04-30 网宿科技股份有限公司 CDN quality detection method, system and domain name server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150039724A1 (en) * 2013-08-01 2015-02-05 Go Daddy Operating Company, LLC Methods and systems for recommending top level domains
CN108989479A (en) * 2018-07-11 2018-12-11 湖北省楚天云有限公司 The method and apparatus that a kind of pair of cloud computing platform second level domain is configured
CN111262959A (en) * 2020-01-13 2020-06-09 平安科技(深圳)有限公司 Block link point access method, device and storage medium
CN112738271A (en) * 2021-01-08 2021-04-30 网宿科技股份有限公司 CDN quality detection method, system and domain name server

Similar Documents

Publication Publication Date Title
CN113806434B (en) Big data processing method, device, equipment and medium
CN113238929B (en) Code testing method and device based on Mock data, electronic equipment and storage medium
CN112732567B (en) Mock data testing method and device based on ip, electronic equipment and storage medium
CN112506779A (en) Software interface testing method and device, electronic equipment and storage medium
CN112653760A (en) Cross-server file transmission method and device, electronic equipment and storage medium
CN113504935A (en) Software development quality evaluation method and device, electronic equipment and readable storage medium
CN114844844A (en) Delay message processing method, device, equipment and storage medium
CN112104662B (en) Far-end data read-write method, device, equipment and computer readable storage medium
CN114401244A (en) Operation link intelligent switching method, device, equipment and storage medium
CN114185502B (en) Log printing method, device, equipment and medium based on production line environment
CN115687384A (en) UUID (user identifier) identification generation method, device, equipment and storage medium
CN115757121A (en) Test method, device, equipment and storage medium built based on test environment
CN114020414A (en) Symbiotic method and device of Android system and bottom layer Linux, electronic equipment and storage medium
CN112667244A (en) Data verification method and device, electronic equipment and computer readable storage medium
CN114268559A (en) Directional network detection method, device, equipment and medium based on TF-IDF algorithm
CN113128440A (en) Target object identification method, device, equipment and storage medium based on edge equipment
CN111859985A (en) AI customer service model testing method, device, electronic equipment and storage medium
CN113626533B (en) Ultraviolet power detection method and device and electronic equipment
CN116414366B (en) Middleware interface generation method, device, equipment and medium
CN114357534B (en) Classroom training platform construction method, device, equipment and medium based on block chain
CN116414699B (en) Operation and maintenance testing method, device, equipment and medium
CN116860508B (en) Distributed system software defect continuous self-healing method, device, equipment and medium
CN114416575A (en) Method, device and equipment for generating Mock data and storage medium
CN115277469A (en) Weak network visualization control method and device, electronic equipment and readable storage medium
CN113608931A (en) Fault-tolerant processing method, device and equipment for updating application resources and storage medium

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240510