CN112291370B - Method for processing service access relation and related equipment - Google Patents

Method for processing service access relation and related equipment Download PDF

Info

Publication number
CN112291370B
CN112291370B CN202011573796.1A CN202011573796A CN112291370B CN 112291370 B CN112291370 B CN 112291370B CN 202011573796 A CN202011573796 A CN 202011573796A CN 112291370 B CN112291370 B CN 112291370B
Authority
CN
China
Prior art keywords
service access
service
relation
access relation
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011573796.1A
Other languages
Chinese (zh)
Other versions
CN112291370A (en
Inventor
张长久
何瑞丰
金宏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinrui Tongchuang Beijing Technology Co ltd
Original Assignee
Jinrui Tongchuang Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinrui Tongchuang Beijing Technology Co ltd filed Critical Jinrui Tongchuang Beijing Technology Co ltd
Priority to CN202011573796.1A priority Critical patent/CN112291370B/en
Publication of CN112291370A publication Critical patent/CN112291370A/en
Application granted granted Critical
Publication of CN112291370B publication Critical patent/CN112291370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

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

Abstract

The embodiment of the application provides a method for processing a service access relationship and related equipment, which belong to the technical field of networks and specifically comprise the following steps: acquiring a service configuration table, wherein the service configuration table comprises a corresponding relation between an IP address and a service; acquiring an IP access relation through a probe, wherein the IP access relation comprises a corresponding relation between an IP address of an access terminal and an IP address of an accessed terminal; and comparing the service configuration table with the IP access relation to obtain the service access relation. By the processing scheme, the service access relation can be clearly determined, the accuracy of the service access relation is ensured, and the method and the device play an important role in processing network conditions such as network attack, traffic overload and the like.

Description

Method for processing service access relation and related equipment
Technical Field
The present application relates to the field of network technologies, and in particular, to a method for processing a service access relationship and a related device.
Background
At present, more and more services can be provided through a network, for example, Office Automation (OA) services, website services, and the like can be provided. The user can realize different services through a network by terminal equipment such as a computer, a mobile phone, a server and the like, and the access relationship among different services is very complex due to the fact that the access volume of various services is larger and larger, so that the user can be guided to process network conditions such as network attack, flow overload and the like if the access relationship of the services can be known. In the prior art, an IP pair can be obtained, but when facing the IP pair, a user still does not know an actual service access relationship and cannot obtain the service access relationship. Therefore, the problem that the service access relation is unclear exists in the prior art.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a method for processing a service access relationship and a related device, which at least partially solve the problems in the prior art.
In a first aspect, an embodiment of the present disclosure provides a method for processing a service access relationship, including:
acquiring a service configuration table, wherein the service configuration table comprises a corresponding relation between an IP address and a service;
acquiring an IP access relation through a probe, wherein the IP access relation comprises a corresponding relation between an IP address of an access terminal and an IP address of an accessed terminal;
and comparing the service configuration table with the IP access relation to obtain a service access relation.
In a second aspect, an embodiment of the present disclosure provides a device for processing a service access relationship, including:
the first acquisition module is used for acquiring a service configuration table, and the service configuration table comprises a corresponding relation between an IP address and a service;
the second acquisition module is used for acquiring an IP access relation through the probe, wherein the IP access relation comprises a corresponding relation between an IP address of an access terminal and an IP address of an accessed terminal;
and the comparison module is used for comparing the service configuration table with the IP access relation to obtain a service access relation.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
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 memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of processing a business access relationship in any implementation of the first aspect or the first aspect.
In a fourth aspect, the disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the method for processing the service access relationship in the foregoing first aspect or any implementation manner of the first aspect.
In a fifth aspect, the disclosed embodiments also provide a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method for processing a service access relation in the foregoing first aspect or any implementation manner of the first aspect.
The method for processing the service access relation in the embodiment of the disclosure comprises the steps of obtaining a service configuration table, wherein the service configuration table comprises a corresponding relation between an IP address and a service; acquiring an IP access relation through a probe, wherein the IP access relation comprises a corresponding relation between an IP address of an access terminal and an IP address of an accessed terminal; and comparing the service configuration table with the IP access relation to obtain a service access relation. By the scheme, based on the corresponding relation between the IP address and the service in the service configuration table and the corresponding relation between the IP address of the access terminal and the IP address of the accessed terminal in the IP access relation, the service access relation can be clearly determined, the accuracy of the service access relation is ensured, and the method and the device play an important role in processing network conditions such as network attack, flow overload and the like.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing a service access relationship according to an embodiment of the present invention;
fig. 2 is a flowchart after step S103 in the method for processing a service access relationship according to the embodiment of the present invention;
fig. 3 is a structural diagram of a processing apparatus for service access relationship according to an embodiment of the present invention;
fig. 4 is a structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The following description of the embodiments of the present application is provided by way of specific examples, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure herein. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. The present application is capable of other and different embodiments and its several details are capable of modifications and/or changes in various respects, all without departing from the spirit of the present application. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. 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 application.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the present application, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present application, and the drawings only show the components related to the present application rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the application provides a method for processing a service access relation.
Referring to fig. 1, a method for processing a service access relationship provided in the embodiment of the present disclosure includes:
step S101, a service configuration table is obtained.
In this embodiment, the service configuration table includes a corresponding relationship between an IP address and a service. The service refers to a service operated by a port corresponding to the IP address. For example, 80 ports of IP address 10.0.0.1 run an Office Automation (OA) service, and 80 ports of IP address 10.0.0.1 correspond to the OA system service.
In this embodiment, the service configuration table may be an IP address and a corresponding service automatically detected by the network device, and the service configuration table may also be obtained by manually setting the IP address and the corresponding service by the user. For example, the service configuration table obtained by automatic detection or user setting includes: the traffic at IP address 10.0.0.1 is web site and the traffic at IP address 100.0.0.2 is OA traffic.
Preferably, step S101 includes:
determining a port number corresponding to the IP address, and determining a service corresponding to the port number;
and associating the IP address, the port number corresponding to the IP address and the service corresponding to the port number to obtain a service configuration table.
For example, if the service with the IP address of 10.0.0.1 port number 80 is a search website, and the service with the IP address of 100.0.0.2 port number 100 is an OA service, the generated service configuration table includes the service with the port number of 10.0.0.1 80 as a search website, and the service with the port number of 100.0.0.2 as an OA service. The service configuration table may be displayed in a table form, and the table includes correspondence between IP addresses, port numbers, and services.
Therefore, a plurality of ports included in one IP address respectively correspond to related services, different services of different ports of the IP address are effectively distinguished, a complete and accurate service configuration table is established, and subsequent service access relations can be conveniently obtained.
And step S102, acquiring the IP access relation through the probe.
In this embodiment, the IP access relationship includes a correspondence between an access terminal IP address and an accessed terminal IP address. The access terminal or the accessed terminal may be different types of network devices, and the network devices may include internet-enabled terminal devices such as a computer, a notebook computer, and a tablet computer.
For example, the access terminal a accesses the access terminal B, the IP address of the access terminal a is 100.0.0.3, the IP address of the access terminal B is 100.0.0.1, and the IP access relationship is that an access relationship exists between the IP address 100.0.0.3 and the IP address 100.0.0.1. It should be added that the access terminal refers to a client terminal, that is, a terminal that accesses other network services, for example, a user accesses a website through his/her computer, the access terminal is a user computer, and the access terminal is a website.
And step S103, comparing the service configuration table with the IP access relation to obtain the service access relation.
For example, the service configuration table includes: the service of IP address 10.0.0.1 is to search web site
100.0.0.2 is OA traffic; if there is an IP access relationship between IP address 10.0.0.1 and IP address 100.0.0.2, there is a service access relationship between the search site and the OA service.
Therefore, based on the comparison between the corresponding relation between the IP address and the service in the service configuration table and the corresponding relation between the IP address of the access terminal and the IP address of the accessed terminal in the IP access relation, the service access relation can be clearly determined, the service access relation chain is successfully generated, the accuracy of the service access relation is ensured, and the method has an important role in processing network conditions such as network attack, flow overload and the like.
Preferably, after step S103, the method for processing the service access relationship further includes:
and sending the service access relation to the front-end equipment, and displaying the service access relation through the front-end equipment.
In this embodiment, different graphs can be used to represent different services, and the service access relationships are connected by line segments, so that the service access relationships are visually displayed. The front-end device may be a computer, a tablet, a mobile phone, or other terminals, which is not limited herein.
Therefore, the service access relation can be visually and conveniently displayed to the user through visually displaying the service access relation, and the display effect is improved.
Preferably, the displaying the service access relationship through the front-end device includes:
setting a threshold parameter, wherein the threshold parameter is used for judging the level of a network transmission channel corresponding to the network access relation;
acquiring network parameters of a network transmission channel corresponding to the service access relation;
determining a target level of a network transmission channel of a service access relation according to the network parameter and the threshold parameter;
and determining a display pattern of the service access relation according to the target level, and displaying the service access relation according to the determined display pattern through the front-end equipment.
In this embodiment, the network transmission channel corresponding to the IP access relationship may be overloaded and have too large traffic, and the corresponding level may be determined by the network parameter of the network transmission channel. The network parameters may include traffic, number of sessions, etc.
For example, the threshold parameter of the traffic is set, for example, the threshold parameter of the traffic is set to 10, which is higher than 10 and lower than 10, and the traffic is determined to be high if the network parameter of the network transmission channel corresponding to the service access relationship is obtained and is 15, and the display pattern of the service access relationship is determined to be a thick bar according to the high level, and the service access relationship is displayed by the thick bar. And if the flow in the network parameters of the network transmission channel corresponding to the service access relation is 8, judging the service access relation to be in a low level, determining the display pattern of the service access relation to be a thick and thin line according to the low level, and displaying the service access relation by using the thin line.
Therefore, the connection line segment representing the service access relation can visually reflect the network parameter level condition of the network transmission channel corresponding to the service access relation, effectively enrich the information of the display interface, facilitate the user to know the real condition of the network parameter of the relevant network transmission channel, and help to process the abnormal condition of the network.
Preferably, the displaying the service access relationship through the front-end device includes:
and under the condition that the service access relation comprises at least two service access relations, monitoring the duration of the at least two service access relations, and visually displaying the service access relation of which the duration exceeds the preset time through the front-end equipment.
In this embodiment, the preset time may be set to 20 minutes, 10 minutes, and the like, and the duration is longer, which indicates that the service access relationship is important, and displays the important service access relationship, and the unimportant service access relationship is not displayed, so that the display interface may be simplified, the important service access relationship may be highlighted, and the user may obtain related information conveniently.
Preferably, the displaying the service access relationship through the front-end device includes:
and under the condition that the service access relations comprise at least two service access relations, monitoring the occurrence frequency of the at least two service access relations in a preset time period, and visually displaying the service access relations of which the occurrence frequency exceeds the preset frequency within the preset time through front-end equipment.
In this embodiment, the preset time period may be set to 8 am to half am, 4 pm to half 4 pm, and the like, and the more times the service access relationship occurs in the preset time period, the more frequent the service access relationship is, the more important the service access relationship is, the important service access relationship is displayed, the less important service access relationship is not displayed, the display interface may be simplified, the important service access relationship is highlighted, and the user can obtain related information conveniently.
Preferably, referring to fig. 2, after step S103, the method for processing the service access relationship further includes:
step S104, under the condition that the service access relation comprises at least two service access relations, judging whether the services contained in the at least two service access relations have the same service and the first target service with the same IP address corresponding to the same service exists;
step S105, under the condition that the first target service exists, taking the first target service as a central service node, and combining the service access relations including the first target service to obtain a service access relation chain.
For example, the service configuration table includes: the service of IP address 10.0.0.1 is to search web site
100.0.0.2, OA, 100.0.0.9, video playing; the IP address 10.0.0.1 and the IP address 100.0.0.2 have an IP access relation, the IP address 10.0.0.1 and the IP address 100.0.0.9 have an IP access relation, the search website and the OA service have a service access relation, the search website and the video playing service have a service access relation, the search website service names are the same in the two access relations, and the IP addresses are both 10.0.0.1, the search website is used as a central service node, the service access relation between the search website and the OA service, and the service access relations between the search website and the video playing service are combined, so that the service access relations between the video playing service, the search website and the OA service are obtained.
Therefore, a service access relation chain among different services can be generated, the accuracy of the service access relation is ensured, the service access relation can be grasped on the whole, and the method has a guiding function on processing the abnormal conditions of the network.
Preferably, the method for processing the service access relationship further includes: sending a chain of service access relationships to a front
And the end equipment displays the service access relation chain through the front end equipment.
In this embodiment, different graphs can be used to represent different services, the central service node is highlighted, and related services having a service access relationship with the central service node are visually displayed according to a preset importance level, so that the content of the visual interface is enriched while the service access relationship chain is displayed. Therefore, the service access relation chain can be visually and conveniently displayed to the user through visually displaying the service access relation chain, and the display effect is improved.
Preferably, the displaying the service access relationship chain through the front-end device includes:
and monitoring the service access relation chain in real time, and deleting a second target service access relation in the service access relation chain which is displayed in a visualized manner through the front-end equipment under the condition that the second target service access relation of which the service access is finished is detected in the service access relation chain.
For example, if the service access relationship chain includes that a service access relationship exists between the video playing service and the search website and a service access relationship exists between the search website and the OA service, the search website is a central service node, and when the service access between the video playing service and the search website is finished, the service access relationship between the video playing service and the search website is deleted, and only the service access relationship between the search website and the OA service is visually displayed.
Therefore, the service relationship which is accessed is deleted in real time in the service access relationship chain, the accuracy of the service access relationship chain is improved, and the user requirements are met.
Preferably, the displaying the service access relationship chain through the front-end device includes:
and monitoring the service access relation chain in real time, taking the service access relation with the duration less than or equal to the preset time or the service access relation with the occurrence frequency of the preset time period less than or equal to the preset threshold value as a third target service access relation, and deleting the third target service access relation in the service access relation chain which is displayed visually through the front-end equipment.
In this embodiment, the preset time may be 15 minutes, 30 minutes, etc., the preset time period may be set to 7 am to 7 pm 15 minutes, 3 pm to 3 pm 15 minutes, etc., and the preset threshold may be 3, 4, or 5, etc., which is not limited herein. The service access relation is relatively important when the duration is longer, the service access relation is relatively short when the duration is shorter, the service access is not particularly important when the duration is shorter, and the unimportant service access relation is deleted in the service access relation chain which is displayed visually, so that the display interface can be simplified, the important service access relation is highlighted, and a user can conveniently obtain related information.
In addition, the more times of occurrence of the service access relationship in the preset time period, the more frequent the service access relationship is, the more important the service access relationship is, the less times of occurrence of the service access relationship in the preset time period, the less important the service access relationship is, the unimportant service access relationship is deleted in the service access relationship chain which is visually displayed, so that the display interface can be simplified, the important service access relationship is highlighted, and the user can conveniently obtain related information.
For example, if the service access relationship chain includes that a service access relationship exists between the video playing service and the search website and a service access relationship exists between the search website and the OA service, the search website is a central service node, and when the duration of the service access relationship between the video playing service and the search website is less than or equal to the service access relationship of a preset time or the occurrence frequency of a preset time period is less than or equal to a preset threshold, the service access relationship between the video playing service and the search website is deleted, and only the service access relationship between the search website and the OA service is visually displayed.
Therefore, unimportant service access relations are deleted in the service access relation chain in real time, only important service access relations are left, the accuracy of the service access relation chain is improved, and the user requirements are met.
Corresponding to the above method embodiment, referring to fig. 3, an embodiment of the present disclosure further provides a processing apparatus 300 for service access relationship, including:
a first obtaining module 301, configured to obtain a service configuration table, where the service configuration table includes a correspondence between an IP address and a service;
a second obtaining module 302, configured to obtain an IP access relationship through a probe, where the IP access relationship includes a correspondence between an access terminal IP address and an accessed terminal IP address;
a comparison module 303, configured to compare the service configuration table with the IP access relationship to obtain a service access relationship.
Preferably, the processing apparatus 300 for accessing relationships further includes:
and the first display module is used for sending the service access relation to the front-end equipment and displaying the service access relation through the front-end equipment.
Preferably, the processing apparatus 300 for accessing relationships further includes:
the judging module is used for judging whether the services contained in the at least two service access relations have the same service and the first target service with the same IP address corresponding to the same service exists in the services contained in the at least two service access relations under the condition that the service access relations comprise at least two service access relations;
and the processing module is used for taking the first target service as a central service node under the condition that the first target service exists, and merging the service access relations containing the first target service to obtain a service access relation chain.
Preferably, the processing apparatus 300 for accessing relationships further includes:
a second display module, configured to send the service access relationship chain to the front-end device, where the service access relationship chain passes through
And the front-end equipment displays the service access relation chain.
Preferably, the first display module includes:
the setting submodule is used for setting a threshold parameter, and the threshold parameter is used for judging the level of a network transmission channel corresponding to the network access relation;
the obtaining submodule is used for obtaining the network parameters of the network transmission channel corresponding to the service access relation;
the first determining submodule is used for determining the target level of the network transmission channel of the service access relation according to the network parameter and the threshold parameter;
and the display sub-module is used for determining a display pattern of the service access relation according to the target level and displaying the service access relation according to the determined display pattern through the front-end equipment.
Preferably, the first display module is further configured to monitor duration of at least two service access relationships when the service access relationships include at least two service access relationships, and visually display, by the front-end device, the service access relationships whose duration exceeds a preset time.
Preferably, the first display module is further configured to monitor occurrence times of the at least two service access relationships in a preset time period when the service access relationships include at least two service access relationships, and perform visual display on the service access relationships whose occurrence times within a preset time exceed a preset number of times through the front-end device.
Preferably, the second display module is further configured to monitor the service access relationship chain in real time, and delete a second target service access relationship in the service access relationship chain that is visually displayed through the front-end device when it is detected that the second target service access relationship that ends service access exists in the service access relationship chain.
Preferably, the second display module is further configured to monitor the service access relationship chain in real time, use a service access relationship of which a duration is less than or equal to a preset time or a service access relationship of which an occurrence frequency in a preset time period is less than or equal to a preset threshold as a third target service access relationship, and delete the third target service access relationship in the service access relationship chain that is visually displayed through the front-end device.
Preferably, the obtaining module includes:
the second determining submodule is used for determining a port number corresponding to the IP address and determining a service corresponding to the port number;
and the association submodule is used for associating the IP address, the port number corresponding to the IP address and the service corresponding to the port number to obtain the service configuration table. The apparatus shown in fig. 3 may correspondingly execute the content in the above method embodiment, and details of the part not described in detail in this embodiment refer to the content described in the above method embodiment, which is not described again here.
Referring to fig. 4, an embodiment of the present disclosure also provides an electronic device 40, 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 memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of processing service access relationships of the method embodiments described above.
The disclosed embodiment also provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to execute the processing method of the service access relation in the foregoing method embodiment.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method for processing a service access relation in the aforementioned method embodiments.
Referring now to FIG. 4, a block diagram of an electronic device 40 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device 40 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 40 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 40 to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device 40 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (11)

1. A method for processing service access relation is characterized by comprising the following steps:
acquiring a service configuration table, wherein the service configuration table comprises a corresponding relation between an IP address and a service;
acquiring an IP access relation through a probe, wherein the IP access relation comprises a corresponding relation between an IP address of an access terminal and an IP address of an accessed terminal;
comparing the service configuration table with the IP access relation to obtain a service access relation;
sending the service access relation to front-end equipment, and displaying the service access relation through the front-end equipment;
the displaying the service access relationship through the front-end device includes:
setting a threshold parameter, wherein the threshold parameter is used for judging the level of a network transmission channel corresponding to the network access relation;
acquiring network parameters of a network transmission channel corresponding to the service access relation, wherein the network parameters comprise flow and session number;
determining a target level of a network transmission channel of the service access relation according to the network parameter and the threshold parameter, wherein the target level is in direct proportion to the flow and the number of the sessions, and the target level is used for representing the load of the network transmission channel;
and determining a display pattern of the service access relation according to the target level, and displaying the service access relation according to the determined display pattern through the front-end equipment.
2. The method for processing service access relationship according to claim 1, wherein after obtaining the service access relationship, the method for processing service access relationship further comprises:
under the condition that the service access relations comprise at least two service access relations, judging whether the services contained in the at least two service access relations have the same service or not and whether first target services with the same IP addresses corresponding to the same service exist or not;
and under the condition that the first target service exists, taking the first target service as a central service node, and combining the service access relations including the first target service to obtain a service access relation chain.
3. The method for processing service access relation according to claim 2, wherein after obtaining the service access relation chain, the method for processing service access relation further comprises:
sending the service access relation chain to the front-end equipment, and displaying the service access relation chain through the front-end equipment
A chain of business access relationships.
4. The method for processing service access relation according to claim 1, wherein the displaying the service access relation through the front-end device includes:
and under the condition that the service access relations comprise at least two service access relations, monitoring the duration of the at least two service access relations, and visually displaying the service access relations with the duration exceeding the preset time through the front-end equipment.
5. The method for processing service access relation according to claim 1, wherein the displaying the service access relation through the front-end device includes:
and under the condition that the service access relations comprise at least two service access relations, monitoring the occurrence frequency of the at least two service access relations in a preset time period, and visually displaying the service access relations of which the occurrence frequency exceeds the preset frequency within a preset time through the front-end equipment.
6. The method for processing service access relationship according to claim 3, wherein the displaying the service access relationship chain through the front-end device comprises:
and monitoring the service access relation chain in real time, and deleting a second target service access relation in the service access relation chain which is displayed in a visualized manner through the front-end equipment under the condition that the second target service access relation of which service access is finished is detected in the service access relation chain.
7. The method for processing service access relationship according to claim 3, wherein the displaying the service access relationship chain through the front-end device comprises:
and monitoring the service access relation chain in real time, taking the service access relation with the duration less than or equal to preset time or the service access relation with the occurrence frequency of a preset time period less than or equal to a preset threshold value as a third target service access relation, and deleting the third target service access relation in the service access relation chain which is displayed visually through the front-end equipment.
8. The method for processing service access relation according to claim 1, wherein the obtaining the service configuration table includes:
determining a port number corresponding to an IP address, and determining a service corresponding to the port number;
and associating the IP address, the port number corresponding to the IP address and the service corresponding to the port number to obtain the service configuration table.
9. An apparatus for processing service access relationships, comprising:
the first acquisition module is used for acquiring a service configuration table, and the service configuration table comprises a corresponding relation between an IP address and a service;
the second acquisition module is used for acquiring an IP access relation through the probe, wherein the IP access relation comprises a corresponding relation between an IP address of an access terminal and an IP address of an accessed terminal;
the comparison module is used for comparing the service configuration table with the IP access relation to obtain a service access relation;
the first display module is used for sending the service access relation to the front-end equipment and displaying the service access relation through the front-end equipment;
the first display module includes:
the setting submodule is used for setting a threshold parameter, and the threshold parameter is used for judging the level of a network transmission channel corresponding to the network access relation;
the obtaining submodule is used for obtaining network parameters of a network transmission channel corresponding to the service access relation, and the network parameters comprise flow and session numbers;
a first determining submodule, configured to determine, according to the network parameter and the threshold parameter, a target level of a network transmission channel of the service access relationship, where the target level is proportional to the traffic and the number of sessions, and the target level is used to indicate a load size of the network transmission channel;
and the display sub-module is used for determining a display pattern of the service access relation according to the target level and displaying the service access relation according to the determined display pattern through the front-end equipment.
10. 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 memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of processing a business access relationship of any of the preceding claims 1-8.
11. A non-transitory computer readable storage medium storing a program
Storing computer instructions for causing the computer to perform the method of processing a business access relationship of any of the preceding claims 1-8.
CN202011573796.1A 2020-12-28 2020-12-28 Method for processing service access relation and related equipment Active CN112291370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011573796.1A CN112291370B (en) 2020-12-28 2020-12-28 Method for processing service access relation and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011573796.1A CN112291370B (en) 2020-12-28 2020-12-28 Method for processing service access relation and related equipment

Publications (2)

Publication Number Publication Date
CN112291370A CN112291370A (en) 2021-01-29
CN112291370B true CN112291370B (en) 2021-03-23

Family

ID=74426403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011573796.1A Active CN112291370B (en) 2020-12-28 2020-12-28 Method for processing service access relation and related equipment

Country Status (1)

Country Link
CN (1) CN112291370B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242159B (en) * 2021-05-24 2022-12-09 中国工商银行股份有限公司 Application access relation determining method and device
CN113868111B (en) * 2021-12-06 2022-03-08 金锐同创(北京)科技股份有限公司 Mutual access relation adjusting method and device based on service node and electronic equipment
CN115994172B (en) * 2022-12-09 2024-05-14 华青融天(北京)软件股份有限公司 Method, device, equipment and medium for determining service access relation
CN116980182B (en) * 2023-06-21 2024-02-27 杭州明实科技有限公司 Abnormal request detection method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483931A (en) * 2009-02-26 2009-07-15 中兴通讯股份有限公司 Mobile terminal and method for multi-link concurrent processing
CN105592449A (en) * 2014-10-20 2016-05-18 中国电信股份有限公司 Service identification method and system
CN106161339A (en) * 2015-03-26 2016-11-23 腾讯科技(深圳)有限公司 Obtain the method and device of IP access relation
CN107395461A (en) * 2017-08-29 2017-11-24 深信服科技股份有限公司 A kind of safe condition method for expressing and system based on access relation

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550202A (en) * 2015-12-02 2016-05-04 成都科来软件有限公司 Graphic display method and system based on network access relation
US10389722B2 (en) * 2016-12-30 2019-08-20 Ssh Communications Security Oyj Access relationships in a computer system
US10242223B2 (en) * 2017-02-27 2019-03-26 Microsoft Technology Licensing, Llc Access controlled graph query spanning
CN107276858A (en) * 2017-08-17 2017-10-20 深信服科技股份有限公司 A kind of access relation carding method and system
CN109039705A (en) * 2018-06-29 2018-12-18 成都深思科技有限公司 A kind of network interconnection communicating data figure methods of exhibiting, equipment and storage medium
CN110868318B (en) * 2019-11-01 2022-10-18 咪咕文化科技有限公司 Method and device for generating network access relation, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483931A (en) * 2009-02-26 2009-07-15 中兴通讯股份有限公司 Mobile terminal and method for multi-link concurrent processing
CN105592449A (en) * 2014-10-20 2016-05-18 中国电信股份有限公司 Service identification method and system
CN106161339A (en) * 2015-03-26 2016-11-23 腾讯科技(深圳)有限公司 Obtain the method and device of IP access relation
CN107395461A (en) * 2017-08-29 2017-11-24 深信服科技股份有限公司 A kind of safe condition method for expressing and system based on access relation

Also Published As

Publication number Publication date
CN112291370A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN112291370B (en) Method for processing service access relation and related equipment
CN111198859A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111291244B (en) House source information display method, device, terminal and storage medium
WO2020199749A1 (en) Feedback-based information pushing method and apparatus, and electronic device
CN112291121B (en) Data processing method and related equipment
CN110022493B (en) Playing progress display method and device, electronic equipment and storage medium
CN110134905B (en) Page update display method, device, equipment and storage medium
CN110069547B (en) Online database table data statistics method, device, medium and electronic equipment
CN112261176B (en) Method for acquiring actual network access relationship and related equipment
CN111857915A (en) Application page display method and device
CN112260880B (en) Network access relation display method and related equipment
CN117950050A (en) Earthquake shock sensation visual analysis method and system based on mobile internet
CN116319932A (en) Training method, device, equipment and storage medium of content push model
CN111198853B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN110806909A (en) Method and device for determining page frame dropping information of application program and electronic equipment
CN110727558A (en) Information prompting method and device, storage medium and electronic equipment
CN110177270A (en) Video head frame test method and device
CN112231340B (en) Data display method and device and electronic equipment
CN115600964A (en) Voice approval method and device and related equipment
CN114116480A (en) Method, device, medium and equipment for determining application program test coverage rate
CN114022590A (en) Picture rendering method and related equipment
CN113656286A (en) Software testing method and device, electronic equipment and readable storage medium
CN111367592B (en) Information processing method and device
CN111343245A (en) Uploading line scheduling method and device, electronic equipment and readable storage medium
CN110471841A (en) A kind of method, apparatus, medium and electronic equipment comparing pictorial information

Legal Events

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