CN114157564A - Method, device and equipment for detecting network access state and readable storage medium - Google Patents

Method, device and equipment for detecting network access state and readable storage medium Download PDF

Info

Publication number
CN114157564A
CN114157564A CN202111484167.6A CN202111484167A CN114157564A CN 114157564 A CN114157564 A CN 114157564A CN 202111484167 A CN202111484167 A CN 202111484167A CN 114157564 A CN114157564 A CN 114157564A
Authority
CN
China
Prior art keywords
access
bank server
command
information
network
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
CN202111484167.6A
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.)
China Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp 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 China Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN202111484167.6A priority Critical patent/CN114157564A/en
Publication of CN114157564A publication Critical patent/CN114157564A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Abstract

The invention relates to the field of network communication, in particular to a method, a device, equipment and a readable storage medium for detecting a network access state, wherein the method comprises the steps of acquiring first information, wherein the first information is access mode information of a bank server; determining the access step of the bank server according to the access mode of the bank server, accessing the network according to the access step of the bank server, and recording the access result; and obtaining the access state of the bank server network according to the access result. According to the client network condition, the invention automatically configures the network environment, detects the network fault, carries out corresponding treatment, and prompts the reason of the network fault problem when the network fault needs manual intervention, thereby facilitating the network engineer to adjust the network access authority, greatly improving the efficiency of the bank-enterprise direct connection installation process, reducing the installation difficulty, and improving the troubleshooting efficiency of the bank-enterprise direct connection network fault.

Description

Method, device and equipment for detecting network access state and readable storage medium
Technical Field
The present invention relates to the field of network communications, and in particular, to a method, an apparatus, a device, and a readable storage medium for detecting a network access status.
Background
Before the bank-enterprise direct connection is used, the bank-enterprise direct connection client needs to be deployed, so that the bank-enterprise direct connection client can normally access the bank server. Because the connection between the enterprise and the bank network has various forms (internet and private line), the security configuration of the enterprise network is different, and some internal applications of the enterprise can directly access the external network or the private line; some need to be accessible after the firewall configuration; some carry on IP conversion for the safe bank server IP address; some open IP visit of the outer network only, have not outer network open DNS service; some network configurations require modification of local network parameters and sometimes enterprise network parameters. The bank limits the technical staff from contacting the production environment, and the bank-enterprise direct connection client is installed by the branch business staff in a matching mode. In the installation process, because the network environment is complex and changeable, certain technical difficulty exists in configuring the network, and a great amount of time and energy are wasted to carry out network configuration work.
Disclosure of Invention
The present invention is directed to a method, an apparatus, a device and a readable storage medium for detecting a network access status, so as to solve the above problems. In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
in one aspect, the present application provides a method for detecting a network access status, where the method includes: acquiring first information, wherein the first information is access mode information of a bank server;
determining the access step of the bank server according to the access mode of the bank server, accessing the network according to the access step of the bank server, and recording the access result;
and obtaining the access state of the bank server network according to the access result.
Optionally, the determining, according to the access mode of the bank server, the access step of the bank server, accessing the bank server network according to the access step of the bank server, and recording an access result includes:
sending a first command, wherein the first command comprises a command that a client determines an access mode of the bank server;
receiving second information, wherein the second information is access mode information of a bank server determined by a client;
and sending a second command, wherein the second command comprises a command for accessing the bank server according to the access mode of the client to the bank server.
Optionally, the sending a second command, where the second command includes a command for accessing the bank server according to the access mode determined by the client to the bank server, includes:
if the access mode of the bank server determined by the client is to access the bank server through the Internet, accessing the domain name of the bank server;
and if the access mode of the bank server determined by the client is to access the bank server through a private line, accessing the default IP and port of the private line of the bank server.
Optionally, the accessing the bank server domain name further includes:
receiving third information, wherein the third information comprises access result information of the bank server domain name;
processing the access result information of the bank server domain name, and determining a first access object of the detection personnel;
sending a third command, the third command comprising a command to access the first access object.
Optionally, the accessing the default IP and port of the bank server private line further includes:
receiving fourth information, wherein the fourth information comprises access result information of a default IP and a port of a bank server private line;
processing access result information of the default IP and the port of the private line of the access bank server to obtain a first determination result of whether the client needs to input a mapping IP address;
and sending a fourth command, wherein the fourth command comprises a command of the client to operate according to the first determination result.
Optionally, the sending a third command, where the third command includes a command to access the first access object, includes:
if the access result of the bank server domain name is accessible, sending the instruction for accessing the bank server port;
and if the access result of the bank server domain name is that the access cannot be performed, sending an instruction for accessing the IP address of the bank server.
In a second aspect, an embodiment of the present application provides an apparatus for detecting a network access status, where the apparatus includes:
the first acquisition unit is used for acquiring first information, and the first information is access mode information of a bank server;
the first processing unit is used for determining the access steps of the bank server according to the access mode of the bank server, accessing the network according to the access steps of the bank server and recording the access result;
and the second processing unit is used for obtaining the access state of the bank server network according to the access result.
Optionally, the apparatus comprises:
the first sending subunit is used for sending a first command, wherein the first command comprises a command for determining the access mode of the bank server by a client;
the first receiving subunit is used for receiving second information, wherein the second information is access mode information of a bank server determined by a client;
and the second sending subunit is used for sending a second command, wherein the second command comprises a command for accessing the bank server according to the access mode of the client to the bank server.
Optionally, the apparatus comprises:
the first judgment subunit is used for accessing the domain name of the bank server if the access mode of the bank server determined by the client is to access the bank server through the internet;
and the second judgment subunit is used for accessing the default IP and the port of the special line of the bank server if the access mode of the bank server determined by the client is to access the bank server through the special line.
Optionally, the apparatus further comprises:
the second receiving subunit is configured to receive third information, where the third information includes access result information of the bank server domain name;
the first processing subunit is used for processing the access result information of the bank server domain name and determining a first access object of the detection personnel;
a third sending subunit, configured to send a third command, where the third command includes a command to access the first access object.
Optionally, the apparatus further comprises:
the third receiving subunit is used for receiving fourth information, wherein the fourth information comprises the access result information of the default IP and the port of the special line of the bank server;
the second processing subunit is used for processing the access result information of the default IP and the port of the private line of the access bank server to obtain a first determination result of whether the client needs to input the mapping IP address;
and the fourth sending subunit is used for sending a fourth command, wherein the fourth command comprises a command for the client to operate according to the first determination result.
Optionally, the apparatus comprises:
a third judging subunit, configured to send the instruction for accessing the bank server port if the access result of the bank server domain name is accessible;
and the fourth judgment subunit is used for sending an instruction for accessing the IP address of the bank server if the access result of the domain name of the bank server is that the access cannot be performed.
In a third aspect, an embodiment of the present application provides a device for detecting a network access status, where the device includes a memory and a processor. The memory is used for storing a computer program; the processor is used for realizing the steps of the detection method of the network access state when executing the computer program.
In a fourth aspect, the present application provides a readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the method for detecting a network access state are implemented.
The invention has the beneficial effects that:
according to the client network condition, the invention automatically configures the network environment, detects the network fault, carries out corresponding treatment, and prompts the reason of the network fault problem when the network fault needs manual intervention, thereby facilitating the network engineer to adjust the network access authority, greatly improving the efficiency of the bank-enterprise direct connection installation process, reducing the installation difficulty, and improving the troubleshooting efficiency of the bank-enterprise direct connection network fault.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flow chart of a method for detecting a network access status according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device for detecting a network access status according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a second sending subunit of the apparatus for detecting a network access state according to the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a fifth sending subunit of the apparatus for detecting a network access state according to the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a fifth processing subunit of the apparatus for detecting a network access status according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for detecting a network access status according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a network access status detection flow described in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
As shown in fig. 1 and 7, the present embodiment provides a method for detecting a network access state, which includes step S1, step S2 and step S3.
Step S1, acquiring first information, wherein the first information is access mode information of a bank server;
step S2, determining the access step of the bank server according to the access mode of the bank server, accessing the network according to the access step of the bank server, and recording the access result;
and step S3, obtaining the access state of the bank server network according to the access result.
The method can be understood that in the bank-enterprise direct connection installation configuration process, the network state of an enterprise is automatically detected, and the bank-enterprise direct connection client is automatically configured to access the bank server; according to the client network condition, the network environment is automatically configured, the network fault is found, corresponding processing is carried out, the reason of the network fault is prompted, the fault repairing of a network engineer or the adjustment of the network access authority are facilitated, the efficiency of the bank-enterprise direct connection installation process can be greatly improved, the installation difficulty is reduced, and the troubleshooting efficiency of the bank-enterprise direct connection network is improved.
In a specific embodiment of the present disclosure, the step S2 includes steps S21, S22 and S23.
Step S21, sending a first command, wherein the first command comprises a command that a client determines the access mode of the bank server;
step S22, receiving second information, wherein the second information is the access mode information of the bank server determined by the customer;
and step S23, sending a second command, wherein the second command comprises a command for accessing the bank server according to the access mode of the bank server determined by the client.
In a specific embodiment of the present disclosure, the step S23 includes a step S231 and a step S232.
Step S231, if the access mode of the bank server determined by the client is to access the bank server through the Internet, accessing the domain name of the bank server;
step S232, if the access mode of the bank server determined by the client is to access the bank server through a private line, accessing the default IP and port of the private line of the bank server.
It can be understood that the above steps are performed by the client determining whether the access mode to the bank server is through the network or through the private line, and performing the access according to the requirement of the client.
In a specific embodiment of the present disclosure, the step S231 is followed by a step S233, a step S234, and a step S235.
Step S233, receiving third information, wherein the third information comprises access result information of the bank server domain name;
step S234, processing the access result information of the bank server domain name, and determining a first access object of the detection personnel;
step S235, sending a third command, where the third command includes a command for accessing the first access object.
It can be understood that the above steps are processing the access result information of the bank server domain name, and the next step to be performed by the inspector is accessing a bank server port or accessing a bank server IP.
In a specific embodiment of the present disclosure, the step S231 further includes a step S236, a step S237 and a step S238.
Step S236, receiving fourth information, wherein the fourth information comprises the access result information of the default IP and the port of the bank server;
step S237, processing the access result information of the default IP and the port of the private line of the access bank server to obtain a first determination result of whether the client needs to input the mapping IP address;
and step S238, sending a fourth command, wherein the fourth command comprises a command for the client to operate according to the first determination result.
It can be understood that the above steps are to judge whether a network fault occurs and the client is requested to input a mapping IP address or a network fault does not occur by processing the access result information of the default IP and the port of the bank server, and the bank server is in a normal installation state.
In a specific embodiment of the present disclosure, the step S235 includes a step S2351 and a step S2352.
Step S2351, if the access result of the bank server domain name is accessible, sending the instruction for accessing the bank server port;
step S2352, if the access result of the bank server domain name is that the access can not be performed, an instruction for accessing the IP address of the bank server is sent.
In a specific embodiment of the present disclosure, the step S238 includes a step S2381 and a step S2382.
Step S2381, if the access result of the detector to the default IP and the port of the bank server private line is accessible, a command of normal installation is sent to the detector;
step S2382, if the access result of the default IP and the port of the bank server is that the access cannot be performed, a command for a client to input a mapping IP address and perform access to the mapping IP address is sent.
In a specific embodiment of the present disclosure, the step S2351 is followed by a step S2353, a step S2354 and a step S2355.
Step S2353, receiving fifth information, wherein the fifth information comprises access result information for accessing the bank server port;
step S2354, processing the access result information of accessing the bank server port to obtain a second determination result of whether the client is required to adjust the access authority of the firewall port;
step S2355, sending a fifth command, wherein the fifth command comprises a command that the client operates according to the second determination result.
It can be understood that the above steps are to judge whether a network fault occurs, a client is requested to adjust the authority of the firewall port, or whether no fault occurs and the network is normal by detecting the access result information of the personnel accessing the bank server port.
In a specific embodiment of the present disclosure, step S2356, step S2357 and step S2358 are further included after step S2351.
Step S2356, receiving sixth information, wherein the sixth information comprises access result information for accessing the IP address of the bank server;
step S2357, processing the access result information of accessing the IP address of the bank server, and determining a second access object of the detection personnel;
step S2358, sending a sixth command, wherein the sixth command comprises a command for accessing the second access object.
It can be understood that the above steps are accessing the access result information of the IP address of the bank server, judging whether the IP address of the bank server can be accessed, and determining whether to access the port of the bank server or the private line IP next step.
In a specific embodiment of the present disclosure, step S2381 is followed by step S2383 and step S2384.
Step S2383, receiving seventh information, wherein the seventh information is result information of accessing the mapping IP address;
step S2384, determining the access state of the network according to the result information of the access mapping IP address.
It can be understood that the above steps are to determine the access state of the network by accessing the result information of the mapping IP address, so as to enable the client to judge whether to continue inputting the mapping IP address or cancel the installation if the access is impossible, and to judge that the network is normal if the access is possible.
In one embodiment of the present disclosure, the step S2355 includes a step S23551 and a step S23552.
Step S23551, if the access result of the bank server port is accessible, the access state of the network is displayed as normal installation;
step S23552, if the access result of the bank server port is that the access is not possible, a command for the client to adjust the access authority of the firewall port is sent.
In one embodiment of the present disclosure, the step S2358 includes a step S23581 and a step S23582.
Step S23581, if the access result of accessing the IP address of the bank server is accessible, sending an instruction of accessing the port of the bank server to the detector;
step S23582, if the access result of accessing the IP address of the bank server is that the access is impossible, an instruction of accessing the special line IP is sent to the detection personnel.
In one embodiment of the present disclosure, the step S23581 is followed by a step S23583, a step S23584 and a step S23585.
Step S23583, receiving eighth information, wherein the eighth information comprises access result information for accessing the bank server port;
step S23584, sending a seventh command according to the access result information of the bank server port, wherein the seventh command comprises a command for the customer to select whether to use a program automatic HOST file or adjust a firewall;
step S23585, receiving ninth information, the ninth information including information that the customer selects to use the program automatic HOST file or adjust the third determination result of the firewall.
It can be understood that the above steps are to ask the client to select the program automatic HOST file or adjust the firewall according to the access result information of the bank server port, so as to improve the network environment.
In a specific embodiment of the present disclosure, the step S23581 further includes a step S23586, a step S23587 and a step S23588.
Step S23586, receiving tenth information, wherein the tenth information comprises the access result information of accessing the private line IP;
step S23587, if the access result of accessing the private line IP is that the private line IP can not be accessed, an eighth command is sent, wherein the eighth command comprises a command for the client to adjust the authority of the firewall;
step S23588, if the access result of accessing the private line IP cannot be accessed, a ninth command is sent, where the ninth command includes a command for determining whether the private line IP is configured according to the private line.
It can be understood that the above steps are to determine whether the private IP is accessible and determine whether to adjust the firewall permission to change the access state of the network according to the access result, or to determine whether the bank is configured by the server according to the private IP or not according to the next step.
In one embodiment of the present disclosure, the step S23588 includes a step S235881 and a step S235882:
step S235881, if the private line IP is configured according to the private line, sending a tenth command, wherein the tenth command comprises the steps of accessing the default IP and the port of the private line of the bank server and accessing the default IP and the port of the private line of the bank server;
step S235882, if the private line IP is not configured according to the private line, an eleventh command is sent, wherein the eleventh command comprises a command for requesting the client to adjust the firewall permission.
Example 2
As shown in fig. 2, 3, 4 and 5, the present embodiment provides a network access state detection apparatus, which includes a first obtaining unit 71, a first processing unit 72 and a second processing unit 73.
A first obtaining unit 71, configured to obtain first information, where the first information is access mode information of a bank server;
the first processing unit 72 is configured to determine an access step of the bank server according to an access manner of the bank server, access the network according to the access step of the bank server, and record an access result;
and the second processing unit 73 is configured to obtain an access state of the bank server network according to the access result.
In one embodiment of the present disclosure, the apparatus includes a first transmitting subunit 721, a first receiving subunit 722, and a second transmitting subunit 723.
A first sending subunit 721, configured to send a first command, where the first command includes a command for determining an access manner of the bank server by a client;
the first receiving subunit 722 is configured to receive second information, where the second information is access manner information of the bank server determined by the client;
a second sending subunit 723, configured to send a second command, where the second command includes a command for accessing the bank server according to the access manner to the bank server determined by the client.
In one embodiment of the present disclosure, the apparatus includes a first judging subunit 7231 and a second judging subunit 7232.
A first determining subunit 7231, configured to access the domain name of the bank server if the access mode to the bank server determined by the client is to access the bank server through the internet;
a second determining subunit 7232, configured to access the default IP and port of the dedicated line of the bank server if the access mode to the bank server determined by the client is to access the bank server through the dedicated line.
In a specific embodiment of the present disclosure, the apparatus further includes a second receiving sub-unit 7233, a first processing sub-unit 7234, and a third transmitting sub-unit 7235.
A second receiving subunit 7233, configured to receive third information, where the third information includes access result information of the bank server domain name;
a first processing subunit 7234, configured to process the access result information of the bank server domain name, and determine a first access object of the detection person;
a third sending subunit 7235, configured to send a third command, where the third command includes a command to access the first access object.
In a specific embodiment of the present disclosure, the apparatus further includes a third receiving subunit 7236, a second processing subunit 7237, and a fourth transmitting subunit 7238.
A third receiving subunit 7236, configured to receive fourth information, where the fourth information includes access result information of a default IP and a port of a dedicated line of a bank server;
a second processing subunit 7237, configured to process access result information of the default IP and the port of the private line of the access bank server, to obtain a first determination result of whether the client needs to input a mapping IP address;
a fourth sending subunit 7238, configured to send a fourth command, where the fourth command includes a command for the client to operate according to the first determination result.
In a specific embodiment of the present disclosure, the apparatus includes a third judging subunit 72351 and a fourth judging subunit 72352.
A third determining subunit 72351, configured to send the instruction for accessing the bank server port if the access result of the bank server domain name is accessible;
a fourth determining subunit 72352, configured to send an instruction to access the IP address of the bank server if the access result of the domain name of the bank server is that the access cannot be performed.
In one embodiment of the present disclosure, the apparatus includes a fifth judging subunit 72381 and a sixth judging subunit 72382.
A fifth determining subunit 72381, configured to send a command for normal installation to the inspector if the inspector has access to the default IP and the port of the bank server;
a sixth determining subunit 72382, configured to send a command for a client to input a mapping IP address and access the mapping IP address if the access result of the default IP and the port of the bank server is that the client cannot access the mapping IP address.
In a specific embodiment of the present disclosure, the apparatus further includes a fourth receiving sub-unit 72353, a third processing sub-unit 72354, and a fifth transmitting sub-unit 72355.
A fourth receiving subunit 72353, configured to receive fifth information, where the fifth information includes access result information for accessing the bank server port;
a third processing subunit 72354, configured to process the access result information for accessing the bank server port, to obtain a second determination result of whether the client needs to adjust the firewall port access permission;
a fifth sending sub-unit 72355, configured to send a fifth command, where the fifth command includes a command for the client to operate according to the second determination result.
In a specific embodiment of the present disclosure, the apparatus further includes a fifth receiving subunit 72356, a fourth processing subunit 72357, and a sixth transmitting subunit 72358.
A fifth receiving sub-unit 72356, configured to receive sixth information, where the sixth information includes access result information for accessing the IP address of the bank server;
a fourth processing subunit 72357, configured to process access result information for accessing the IP address of the bank server, and determine a second access object of the detection person;
a sixth sending subunit 72358, configured to send a sixth command, where the sixth command includes a command to access the second access object.
In a specific embodiment of the present disclosure, the apparatus further includes a sixth receiving sub-unit 72383 and a fifth processing sub-unit 72384.
A sixth receiving sub-unit 72383, configured to receive seventh information, where the seventh information is result information of accessing the mapped IP address;
a fifth processing subunit 72384, configured to determine an access status of the network according to the result information of the access mapping IP address.
In one embodiment of the present disclosure, the apparatus includes a seventh judging subunit 723551 and an eighth judging subunit 723552
A seventh judging subunit 723551, configured to display the access state of the network as normal installation if the access result of the bank server port is accessible;
an eighth determining subunit 723552, configured to send a command for the client to adjust the access permission of the firewall port if the access result of the bank server port is that the access is not available.
In one embodiment of the present disclosure, the apparatus includes a ninth judging subunit 723581 and a tenth judging subunit 723582.
A ninth determining subunit 723581, configured to send, if the access result of accessing the IP address of the bank server is that the access is available, an instruction to access the port of the bank server to the detection staff;
a tenth determining subunit 723582, configured to send an instruction to access the dedicated line IP to the detection staff if the access result of accessing the IP address of the bank server is that the access is impossible.
In a specific embodiment of the present disclosure, the apparatus further includes a seventh receiving subunit 723583, a seventh transmitting subunit 723584, and an eighth receiving subunit 723585.
A seventh receiving subunit 723583, configured to receive eighth information, where the eighth information includes access result information for accessing the bank server port;
a seventh transmitting subunit 723584, configured to transmit a seventh command according to the access result information of the bank server port, where the seventh command includes a command for the customer to choose to use a program automatic HOST file or adjust a firewall;
an eighth receiving sub-unit 723585, for receiving ninth information, the ninth information including information that the customer chooses to be the third determination result of using the program auto HOST file or adjusting the firewall.
In a specific embodiment of the present disclosure, the apparatus further includes a ninth receiving sub-unit 723586, an eleventh judging sub-unit 723587, and a twelfth judging sub-unit 723588.
A ninth receiving subunit 723586, configured to receive tenth information, where the tenth information includes access result information for accessing the private IP;
an eleventh determining subunit 723587, configured to send an eighth command if the access result of accessing the private IP indicates that access is unavailable, where the eighth command includes a command for a client to adjust firewall permissions;
a twelfth judging subunit 723588, configured to send a ninth command if the access result of accessing the private IP cannot be accessed, where the ninth command includes a command for judging whether the private IP is configured according to a private line.
In one embodiment of the present disclosure, the apparatus includes a thirteenth judging sub-unit 7235881 and a fourteenth judging sub-unit 7235882.
A thirteenth judging subunit 7235881, configured to send a tenth command if the private IP is configured according to a private line, where the tenth command includes a step of accessing the default IP and port of the private line of the bank server, and performing access to the default IP and port of the private line of the bank server;
a fourteenth determining subunit 7235882, configured to send an eleventh command if the private IP is not configured according to the private IP, where the eleventh command includes a command for requesting the client to adjust the firewall permission.
It should be noted that, regarding the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated herein.
Example 3
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a device for detecting a network access state, and the device for detecting a network access state described below and the method for detecting a network access state described above may be referred to correspondingly.
Fig. 6 is a block diagram illustrating a network access status detection apparatus 800 according to an example embodiment. As shown in fig. 6, the apparatus 800 for detecting a network access status may include: a processor 801, a memory 802. The network access status detection device 800 may further include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communication component 805.
The processor 801 is configured to control the overall operation of the apparatus 800 for detecting a network access status, so as to complete all or part of the steps in the method for detecting a network access status. The memory 802 is used to store various types of data to support the operation of the detection device 800 in the network access state, which may include, for example, instructions for any application or method operating on the detection device 800 in the network access state, as well as application-related data, such as contact data, messages sent or received, pictures, audio, video, and the like. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 802 or transmitted through the communication component 805. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the detection device 800 of the network access status and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the network access status detection Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, and is used to perform one of the above-mentioned methods for detecting a network access status.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions, which when executed by a processor, implement the steps of the above-described method for detecting a network access status. For example, the computer readable storage medium may be the memory 802 including the program instructions, which are executable by the processor 801 of the network access status detecting apparatus 800 to perform the network access status detecting method described above.
Example 4
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a readable storage 5 medium, and a readable storage medium described below and a method for detecting a network access status described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for detecting a network access status of the above-mentioned method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A method for detecting a network access state is characterized by comprising the following steps:
acquiring first information, wherein the first information is access mode information of a bank server;
determining the access step of the bank server according to the access mode of the bank server, accessing the network according to the access step of the bank server, and recording the access result;
and obtaining the access state of the bank server network according to the access result.
2. The method for detecting the network access state according to claim 1, wherein the step of determining the access of the bank server according to the access mode of the bank server, the step of accessing the bank server network according to the access of the bank server, and the step of recording the access result comprises:
sending a first command, wherein the first command comprises a command that a client determines an access mode of the bank server;
receiving second information, wherein the second information is access mode information of a bank server determined by a client;
and sending a second command, wherein the second command comprises a command for accessing the bank server according to the access mode of the client to the bank server.
3. The method for detecting the network access state according to claim 2, wherein the sending a second command, the second command including a command for accessing the bank server according to the access mode determined by the client to the bank server, comprises:
if the access mode of the bank server determined by the client is to access the bank server through the Internet, accessing the domain name of the bank server;
and if the access mode of the bank server determined by the client is to access the bank server through a private line, accessing the default IP and port of the private line of the bank server.
4. The method for detecting the network access status according to claim 3, wherein the accessing the bank server domain name further comprises:
receiving third information, wherein the third information comprises access result information of the bank server domain name;
processing the access result information of the bank server domain name, and determining a first access object of the detection personnel;
sending a third command, the third command comprising a command to access the first access object.
5. The method for detecting the network access state according to claim 3, wherein the accessing the default IP and port of the bank server private line further comprises:
receiving fourth information, wherein the fourth information comprises access result information of a default IP and a port of a bank server private line;
processing access result information of the default IP and the port of the private line of the access bank server to obtain a first determination result of whether the client needs to input a mapping IP address;
and sending a fourth command, wherein the fourth command comprises a command of the client to operate according to the first determination result.
6. The method according to claim 4, wherein said sending a third command, said third command including a command to access said first access object, comprises:
if the access result of the bank server domain name is accessible, sending the instruction for accessing the bank server port;
and if the access result of the bank server domain name is that the access cannot be performed, sending an instruction for accessing the IP address of the bank server.
7. An apparatus for detecting a network access status, comprising:
the first acquisition unit is used for acquiring first information, and the first information is access mode information of a bank server;
the first processing unit is used for determining the access steps of the bank server according to the access mode of the bank server, accessing the network according to the access steps of the bank server and recording the access result;
and the second processing unit is used for obtaining the access state of the bank server network according to the access result.
8. The apparatus for detecting the network access state according to claim 7, wherein the determining the access step of the bank server according to the access mode of the bank server, accessing the bank server network according to the access step of the bank server, and recording the access result comprises:
the first sending subunit is used for sending a first command, wherein the first command comprises a command for determining the access mode of the bank server by a client;
the first receiving subunit is used for receiving second information, wherein the second information is access mode information of a bank server determined by a client;
and the second sending subunit is used for sending a second command, wherein the second command comprises a command for accessing the bank server according to the access mode of the client to the bank server.
9. The apparatus for detecting network access status according to claim 8, wherein the sending of the second command, the second command including a command for accessing the bank server according to the access mode determined by the client to the bank server, comprises:
the first judgment subunit is used for accessing the domain name of the bank server if the access mode of the bank server determined by the client is to access the bank server through the internet;
and the second judgment subunit is used for accessing the default IP and the port of the special line of the bank server if the access mode of the bank server determined by the client is to access the bank server through the special line.
10. The apparatus for detecting network access status according to claim 9, wherein the accessing the bank server domain name further comprises:
the second receiving subunit is configured to receive third information, where the third information includes access result information of the bank server domain name;
the first processing subunit is used for processing the access result information of the bank server domain name and determining a first access object of the detection personnel;
a third sending subunit, configured to send a third command, where the third command includes a command to access the first access object.
11. The apparatus for detecting network access status according to claim 9, wherein said accessing the default IP and port of the bank server private line further comprises:
the third receiving subunit is used for receiving fourth information, wherein the fourth information comprises the access result information of the default IP and the port of the special line of the bank server;
the second processing subunit is used for processing the access result information of the default IP and the port of the private line of the access bank server to obtain a first determination result of whether the client needs to input the mapping IP address;
and the fourth sending subunit is used for sending a fourth command, wherein the fourth command comprises a command for the client to operate according to the first determination result.
12. The apparatus for detecting network access status according to claim 10, wherein the sending a third command, the third command including a command for accessing the first access object, comprises:
a third judging subunit, configured to send the instruction for accessing the bank server port if the access result of the bank server domain name is accessible;
and the fourth judgment subunit is used for sending an instruction for accessing the IP address of the bank server if the access result of the domain name of the bank server is that the access cannot be performed.
13. A device for detecting a network access status, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of detecting a network access status according to any one of claims 1 to 15 when executing the computer program.
14. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of detecting a network access status according to any one of claims 1 to 15.
CN202111484167.6A 2021-12-07 2021-12-07 Method, device and equipment for detecting network access state and readable storage medium Pending CN114157564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111484167.6A CN114157564A (en) 2021-12-07 2021-12-07 Method, device and equipment for detecting network access state and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111484167.6A CN114157564A (en) 2021-12-07 2021-12-07 Method, device and equipment for detecting network access state and readable storage medium

Publications (1)

Publication Number Publication Date
CN114157564A true CN114157564A (en) 2022-03-08

Family

ID=80452989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111484167.6A Pending CN114157564A (en) 2021-12-07 2021-12-07 Method, device and equipment for detecting network access state and readable storage medium

Country Status (1)

Country Link
CN (1) CN114157564A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115018498A (en) * 2022-05-16 2022-09-06 北京结慧科技有限公司 Automatic switching method, system, equipment and storage medium for special transaction line

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115113A1 (en) * 1998-12-08 2010-05-06 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
CN103078911A (en) * 2012-12-27 2013-05-01 中国建设银行股份有限公司 Communication system for directly connecting bank and enterprise and communication method of communication system
CN105827747A (en) * 2016-04-28 2016-08-03 深圳市先河系统技术有限公司 Website access method, client and server within local area network
CN107896241A (en) * 2017-10-23 2018-04-10 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment of network access speed

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115113A1 (en) * 1998-12-08 2010-05-06 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
CN103078911A (en) * 2012-12-27 2013-05-01 中国建设银行股份有限公司 Communication system for directly connecting bank and enterprise and communication method of communication system
CN105827747A (en) * 2016-04-28 2016-08-03 深圳市先河系统技术有限公司 Website access method, client and server within local area network
CN107896241A (en) * 2017-10-23 2018-04-10 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment of network access speed

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115018498A (en) * 2022-05-16 2022-09-06 北京结慧科技有限公司 Automatic switching method, system, equipment and storage medium for special transaction line

Similar Documents

Publication Publication Date Title
JP6990534B2 (en) Process control communication between portable field maintenance tools and process control devices
US9794735B2 (en) Context determination for mobile devices when accessing remote resources
US8918368B2 (en) System and method for providing access to a file in real time during a cloud storage upload process
US9298844B2 (en) System and method for optimizing mobile device communications
US20180129181A1 (en) Chatbot Systems and Methods for Industrial Machinery
US7818274B1 (en) Automatic generation of event-handling rules from system log entries
EP2588943A1 (en) Method and device for editing workspace data objects
CN111556158B (en) Access method, access device, access equipment and storage medium of Internet of things platform
US9888084B2 (en) Automatic network domain diagnostic repair and mapping
US20230328138A1 (en) Cloud Platform and Bucket Management Method for Object Storage Service Provided by Cloud Platform
EP4161015A1 (en) Network management system, method, and apparatus, and electronic device
US20150020167A1 (en) System and method for managing files
JP2021047855A (en) Methods and apparatus to implement safety applications associated with process control systems
CN114157564A (en) Method, device and equipment for detecting network access state and readable storage medium
CN111367757A (en) Message display method and device, electronic equipment and storage medium
CN116244682A (en) Database access method, device, equipment and storage medium
US11496561B2 (en) Shared channel invitation paths
CN112583891B (en) Interface document acquisition method and device and server
US11556402B2 (en) Metadata plane for application programming interface
CN109189753B (en) Method and device for adding user information in HUE
US20210194935A1 (en) Gateway action framework
CN115484174B (en) Intelligent recognition-based nano tube method, device, equipment and storage medium
CN116827604B (en) Application login control method, system, terminal and storage medium
CN111610935B (en) Access control method, device, equipment and medium
CN109005241B (en) Sharing system for real-time monitoring interface of Internet of things platform

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