Target interface determination method and device, equipment, medium and product

By calculating the reference index of the system interface, the target interface is filtered out, which solves the problem of high interface complexity in system maintenance and realizes rapid monitoring and maintenance of frequently used interfaces.

CN119537279APending Publication Date: 2025-02-28AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411697957.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In system maintenance, due to the large number of interfaces, it is difficult to quickly locate and monitor interfaces that are frequently used and call frequently.

Method used

By obtaining the call information of multiple system interfaces within the preset period, the citation index is calculated based on the call information and the scores of each system, and the target interface is filtered out for monitoring.

Benefits of technology

It realizes rapid acquisition of interfaces that are frequently used and call frequently within the preset cycle, reducing the complexity of system operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537279A_ABST
    Figure CN119537279A_ABST
Patent Text Reader

Abstract

The invention discloses a target interface determination method and device, equipment, a medium and a product. The method comprises the steps that calling information of multiple system interfaces in a preset period is obtained, and the multiple systems are located in the same local area network; determining quoted indexes of the plurality of system interfaces in the preset period according to the calling information of the plurality of system interfaces in the preset period and the score of each system; the multiple system interfaces are screened according to the quoted indexes of all the system interfaces in the preset period, and a target interface is obtained.By means of the technical scheme, the interfaces which are frequently used and high in calling frequency in the preset period can be rapidly obtained, the interfaces are monitored, and the complexity of system operation and maintenance can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a method, device, equipment, medium and product for determining a target interface. Background Art

[0002] As digital transformation progresses, enterprises will deploy more and more systems, which provide many services to the outside world in the form of interfaces. Each system will call each other's interfaces to implement corresponding functions.

[0003] Due to the large number of interfaces, the system maintenance is very complicated. Therefore, it is urgent to find the interfaces that are frequently used and called frequently. Monitoring the above interfaces can reduce the complexity of system operation and maintenance. Summary of the invention

[0004] The embodiments of the present invention provide a target interface determination method, device, equipment, medium and product, which can quickly obtain interfaces that are frequently used and called frequently within a preset period, monitor the above interfaces, and reduce the complexity of system operation and maintenance.

[0005] According to one aspect of the present invention, a method for determining a target interface is provided, comprising:

[0006] Acquire call information of multiple system interfaces within a preset period, wherein the multiple systems are in the same local area network;

[0007] Determine the reference index of the multiple system interfaces within the preset period according to the call information of the multiple system interfaces within the preset period and the score of each system;

[0008] The plurality of system interfaces are screened according to the referenced index of each system interface within the preset period to obtain a target interface.

[0009] According to another aspect of the present invention, a target interface determination device is provided, the target interface determination device comprising:

[0010] A calling information acquisition module, used to acquire calling information of multiple system interfaces within a preset period, wherein the multiple systems are in the same local area network;

[0011] A reference index determination module, used to determine the reference index of multiple system interfaces within a preset period according to the call information of multiple system interfaces within a preset period and the score of each system;

[0012] The target interface determination module is used to screen multiple system interfaces according to the referenced index of each system interface within the preset period to obtain the target interface.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the target interface determination method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target interface determination method described in any embodiment of the present invention when executed.

[0018] According to another aspect of the present invention, a computer program product is provided. When the computer program is executed by a processor, the target interface determination method as described in any one of the embodiments of the present invention is implemented.

[0019] The embodiment of the present invention obtains the calling information of multiple system interfaces within a preset period; determines the reference index of the multiple system interfaces within the preset period according to the calling information of the multiple system interfaces within the preset period and the score of each system; screens the multiple system interfaces according to the reference index of each system interface within the preset period to obtain the target interface, and can quickly obtain the interfaces that are frequently used and have a high calling frequency within the preset period, monitor the above interfaces, and reduce the complexity of system operation and maintenance.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a flow chart of a method for determining a target interface in an embodiment of the present invention;

[0023] Figure 2is a structural schematic diagram of a target interface determination device in an embodiment of the present invention;

[0024] Figure 3 It is a structural schematic diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0028] Embodiment 1

[0029] In the development of modern enterprises, digitalization is an unavoidable topic. In order to achieve digitalization, it is necessary to deploy various types of information systems within the enterprise, such as attendance systems, office systems, unified login systems, etc. The system will provide interfaces to the outside to provide services, and the system will call the interfaces of other systems to implement its own functions. Services refer to services that provide support for applications, such as database services, printing services, file storage services, etc. These services usually run in the background to support the operation of applications and data processing. As time goes by, the calls between interfaces increase, and the call relationships become more and more complex.

[0030] Calling an interface between systems means that one system calls a service of another system and returns the result to the system itself, which then performs the next operation based on the result. This kind of interface call is very common in the software field.

[0031] In the prior art, all interfaces need to be monitored in order to realize system operation and maintenance. Due to the large number of interfaces, there is a problem of high complexity in system maintenance. In view of the above problem, an embodiment of the present invention proposes a method for determining a target interface, which quickly obtains interfaces that are frequently used and called frequently within a preset period, and monitors the above interfaces, which can reduce the complexity of system operation and maintenance.

[0032] Figure 1 A flow chart of a method for determining a target interface provided by an embodiment of the present invention. This embodiment is applicable to the case of determining a target interface. The method can be executed by a target interface determination device in an embodiment of the present invention. The device can be implemented in software and / or hardware. Figure 1 As shown, the method specifically comprises the following steps:

[0033] S110, obtaining calling information of multiple system interfaces within a preset period.

[0034] In this embodiment, the multiple systems are in the same local area network.

[0035] In this embodiment, an interface refers to a specific software interface that allows applications to communicate with each other, defines how requests are made, how to send requests, the expected response format, etc.

[0036] In this embodiment, the preset period may be a pre-set time period. The calling information of the system interface includes: a system interface list and the calling status of each system interface. The calling status of the system interface includes: a system identifier of the calling system interface and the number of times the system interface is called.

[0037] In this embodiment, the method for obtaining the calling information of multiple system interfaces within a preset period can be: obtaining the operation logs of multiple systems within the preset period, filtering the operation logs to obtain the historical operation data corresponding to the system interfaces, and based on the historical operation data corresponding to the system interfaces, determining the system identifiers of calling the multiple system interfaces and the number of times the multiple system interfaces are called.

[0038] S120, determining the reference index of the multiple system interfaces within the preset period according to the call information of the multiple system interfaces within the preset period and the score of each system.

[0039] In this embodiment, the citation index of the system interface is used to characterize the importance of the system interface. The importance of the system calling the interface is scored, and the importance of the interface is further quantitatively analyzed.

[0040] In this embodiment, the score of each system may be determined by: determining the score of each system according to the level of each system (it should be noted that each system will identify the level of the system after deployment, and the level of the system includes but is not limited to the network security level protection level, the system service security level and the business information security level, and different levels correspond to different system scores); the score of each system may also be determined by: pre-setting the score of each system; the score of each system may also be determined by: determining the score of each system according to the number of services provided by each system and / or the service type of the service. For example, it may be that the ratio of the sum of the scores corresponding to the service types of each service provided by the system and the number of services provided by the system is determined as the system score; or, the sum of the scores corresponding to the service types of each service provided by the system is determined as the system score; or, a correspondence table between the number of services and the system score is pre-set, and the correspondence table is queried according to the number of services to obtain the corresponding system score. It should be noted that the more services there are, the higher the system score is.

[0041] In this embodiment, based on the call information of multiple system interfaces within a preset period and the scores of each system, the method for determining the reference index of multiple system interfaces within a preset period can be: if the call information includes: the system identifier of the calling system interface and the number of calls of the system interface, then the product of the system score corresponding to the system identifier of the calling system interface and the number of calls of the system interface is determined as the reference index of the multiple system interfaces within the preset period. Based on the call information of multiple system interfaces within a preset period and the scores of each system, the method for determining the reference index of multiple system interfaces within a preset period can also be: if the call information includes: the system identifier of the calling system interface and the number of calls of the system interface, then the ratio of the product of the system score corresponding to the system identifier of the calling system interface and the number of calls of the system interface to the sum of the system scores of all systems is determined as the reference index of the multiple system interfaces within the preset period.

[0042] Optionally, before determining the reference indexes of the multiple system interfaces within the preset period according to the call information of the multiple system interfaces within the preset period and the system scores of the systems, the method further includes:

[0043] Get the service type corresponding to each system interface.

[0044] In this embodiment, the method for obtaining the service type corresponding to each system interface can be: pre-establishing a correspondence table between system interface identifiers and service types, querying the correspondence table according to the identifier information of each system interface, and obtaining the service type corresponding to each system interface.

[0045] The interface score of each system interface is determined according to the service type corresponding to each system interface.

[0046] In this embodiment, according to the service type corresponding to each system interface, the interface score of each system interface can be determined by pre-establishing a correspondence table between service type and interface score, querying the correspondence table according to the service type corresponding to each system interface, and obtaining the interface score of each system interface. The system score of each system is determined according to the interface score of each system interface.

[0047] In this embodiment, the system score of each system may be determined according to the interface score of each system interface by taking the sum of the interface scores of all system interfaces of each system as the system score of each system.

[0048] Optionally, the calling information of the system interface includes: a system identifier for calling the system interface and a calling number of the system interface;

[0049] According to the call information of multiple system interfaces within a preset period and the system score of each system, the reference index of multiple system interfaces within the preset period is determined, including:

[0050] The reference score of the system interface is determined according to the system score corresponding to the system identifier that calls the system interface and the number of times the system interface is called.

[0051] In this embodiment, the method for determining the reference score of the system interface based on the system score corresponding to the system identifier that calls the system interface and the number of times the system interface is called can be: the product of the system score corresponding to the system identifier that calls the system interface and the number of times the system interface is called is determined as the reference score of the system interface.

[0052] The ratio of the citation score of the system interface to the sum of the system scores of the multiple systems is determined as the citation index of the system interface.

[0053] In this embodiment, if an enterprise has three systems, namely system A, system B and system C. System A has system interface a1 and system interface a2, system B has system interface b, and system C has system interface c. System interface a1 is called once by system B, system interface a2 is called once by system C, system interface b is not called, and system interface c is called once by system B. The citation score of system interface a1 is 1×85, the citation score of system interface a2 is 1×70, the citation score of system interface b is 0, and the citation score of system interface c is 1×85. The citation index of system interface a1 is 1×85 / (95+85+70), the citation index of system interface a2 is 1×70 / (95+85+70), the citation index of system interface b is 0, and the citation index of system interface c is 1×85 / (95+85+70).

[0054] Optionally, the reference score of the system interface is determined according to the system score corresponding to the system identifier that calls the system interface and the number of times the system interface is called, including:

[0055] The product of the system score corresponding to the system identifier that calls the system interface and the number of times the system interface is called is determined as the reference score of the system interface.

[0056] In a specific example, the system scores of each system are shown in Table 1:

[0057] Table 1

[0058] System Identification System Rating A 90 B 85 C 70

[0059] The system interfaces of each system are shown in Table 2:

[0060] Table 2

[0061] System Identification Interface ID A a1 A a2 B b C c

[0062] The calling information of each system interface is shown in Table 3:

[0063] Table 3

[0064] Interface ID Call Information a1 System B calls once a2 System C called once b null c System B calls once

[0065] The citation index of each system interface is shown in Table 4:

[0066] Table 4

[0067] Interface ID Citation Index a1 1×85 / (95+85+70) a2 1×70 / (95+85+70) b 0 c 1×85 / (95+85+70)

[0068] Optionally, the calling information of the system interface includes: a system interface identifier for calling the system interface and the number of times the system interface is called;

[0069] According to the call information of multiple system interfaces within a preset period and the system score of each system, the reference index of multiple system interfaces within the preset period is determined, including:

[0070] The reference score of the system interface is determined according to the interface score corresponding to the system interface identifier that calls the system interface and the number of times the system interface is called.

[0071] In this embodiment, based on the interface score corresponding to the system interface identifier that calls the system interface and the number of times the system interface is called, the method for determining the reference score of the system interface can be: multiplying the interface score corresponding to the system interface identifier that calls the system interface and the number of times the system interface is called as the reference score of the system interface.

[0072] In this embodiment, the method for obtaining the interface score corresponding to the system interface identifier may be: pre-establishing a correspondence table between the system interface identifier and the interface score, querying the correspondence table, and obtaining the interface score corresponding to the system interface identifier; the method for obtaining the interface score corresponding to the system interface identifier may also be: pre-establishing a correspondence table between the system interface identifier and the service type, querying the correspondence table, obtaining the service type corresponding to the system interface identifier, and determining the interface score corresponding to the system interface identifier according to the service type corresponding to the system interface identifier.

[0073] The ratio of the citation score of the system interface to the sum of the system scores of the multiple systems is determined as the citation index of the system interface.

[0074] In a specific example, if an enterprise has three systems, namely system A, system B and system C. System A has system interface a1 and system interface a2, system B has system interface b1 and system interface b2, and system C has system interface c1 and system interface c2. System interface a1 is called once by interface b1 of system B, system interface a2 is called once by interface c1 of system C, system interface b1 is not called, system interface b2 is not called, system interface c1 is called once by interface b2 of system B, and system interface c2 is not called. The interface score of system interface a1 of system A is 70, the interface score of system interface a2 of system A is 30, the interface score of system interface b1 of system B is 60, the interface score of system interface b2 of system B is 40, the interface score of system interface c1 of system C is 50, and the interface score of system interface c2 of system C is 50. The citation score of system interface a1 is 1×60, the citation score of system interface a2 is 1×50, the citation score of system interface b1 is 0, the citation score of system interface b2 is 0, the citation score of system interface c1 is 1×40, and the citation score of system interface c2 is 0. The citation index of system interface a1 is 1×60 / (70+30+60+40+50+50), the citation index of system interface a2 is 1×50 / (70+30+60+40+50+50), the citation index of system interface b1 is 0, the citation index of system interface b2 is 0, the citation index of system interface c1 is 1×40 / (70+30+60+40+50+50), and the citation index of system interface c2 is 0.

[0075] Optionally, the reference score of the system interface is determined according to the interface score corresponding to the system interface identifier of the calling system interface and the number of calls of the system interface, including:

[0076] The product of the interface score corresponding to the system interface identifier that calls the system interface and the number of times the system interface is called is determined as the reference score of the system interface.

[0077] In this embodiment, the reference score of the system interface is used to represent the importance and calling frequency of the system interface.

[0078] S130, screening multiple system interfaces according to the referenced index of each system interface within the preset period to obtain a target interface.

[0079] In this embodiment, the reference index of the target interface is greater than the reference indexes of other system interfaces.

[0080] In this embodiment, a plurality of system interfaces are screened according to the referenced index of each system interface within the preset period, and a method for obtaining a target interface may be: sorting the system interfaces in descending order of the referenced index, and determining the first N system interfaces in the sorting as the target interface, wherein N is a positive integer greater than or equal to 1. A plurality of system interfaces are screened according to the referenced index of each system interface within the preset period, and a method for obtaining a target interface may be: presetting an index threshold, and determining a system interface whose referenced index within the preset period is greater than the index threshold as the target interface. A plurality of system interfaces are screened according to the referenced index of each system interface within the preset period, and a method for obtaining a target interface may also be: determining the system interface with the largest referenced index among the system interfaces as the target interface.

[0081] In a specific example, the preset period is t, and the target interface determination method includes the following process:

[0082] Step 1: In a complete service request, system A calls a system interface b of system B. Then system interface b of system B is considered useful to system A, and the number of calls to system interface b of system B increases by one. In another complete service request, system A calls system interface b of system B and system interface c of system C. Then the number of calls to system interface b of system B increases by one, and the number of calls to system interface c of system C increases by one. According to this method, the system interface list and call count of other systems called by system A within a time period t can be listed and formed into a table. Similarly, for system B and system C, the list of system interfaces and call counts of other systems called within the period t can be obtained.

[0083] Step 2: Score the importance of each system. The importance score of each system is known and exists in the database.

[0084] Step 3: Calculate the weighted score of each called system interface according to the score of each system. First, calculate the reference index of system interface a, that is, the set of systems that call system interface a within unit time t is s, traverse each system in s, obtain the system score of the system, and multiply the product of each system score and the number of calls to determine the reference score of the system interface for each system.

[0085] Step 4: The ratio of the sum of the cited scores of the system interface for all systems that call the system interface to the sum of the system scores of all systems is determined as the cited index of interface a. Similarly, the cited indexes of other interfaces are obtained in the same way. After that, the list of target system interfaces within the time period t can be sorted, and the system interfaces in the target system interface list are arranged in descending order according to the cited index.

[0086] Step 5: Determine the first N system interfaces in the target system interface list as target interfaces, where N is a positive integer greater than or equal to 1.

[0087] Step six: monitor the target interface.

[0088] The technical solution of this embodiment obtains the calling information of multiple system interfaces within a preset period; determines the reference index of multiple system interfaces within the preset period according to the calling information of multiple system interfaces within the preset period and the scores of each system; screens multiple system interfaces according to the reference index of each system interface within the preset period to obtain the target interface, which can quickly obtain the interfaces that are frequently used and called frequently within the preset period, monitor the above interfaces, and reduce the complexity of system operation and maintenance.

[0089] Embodiment 2

[0090] Figure 2 This is a schematic diagram of the structure of a target interface determination device provided by an embodiment of the present invention. This embodiment is applicable to the case of target interface determination. The device can be implemented in software and / or hardware. The device can be integrated in any device that provides a target interface determination function, such as Figure 2 As shown, the target interface determination device specifically includes: a call information acquisition module 210 , a reference index determination module 220 and a target interface determination module 230 .

[0091] The calling information acquisition module is used to acquire the calling information of multiple system interfaces within a preset period, wherein the multiple systems are in the same local area network;

[0092] A reference index determination module, used to determine the reference index of multiple system interfaces within a preset period according to the call information of multiple system interfaces within a preset period and the score of each system;

[0093] The target interface determination module is used to screen multiple system interfaces according to the referenced index of each system interface within the preset period to obtain the target interface.

[0094] The above-mentioned product can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0095] The technical solution of this embodiment obtains the calling information of multiple system interfaces within a preset period; determines the reference index of multiple system interfaces within the preset period according to the calling information of multiple system interfaces within the preset period and the scores of each system; screens multiple system interfaces according to the reference index of each system interface within the preset period to obtain the target interface, which can quickly obtain the interfaces that are frequently used and called frequently within the preset period, monitor the above interfaces, and reduce the complexity of system operation and maintenance.

[0096] Embodiment 3

[0097] Figure 3 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0098] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0099] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0100] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the target interface determination method.

[0101] In some embodiments, the target interface determination method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the target interface determination method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the target interface determination method in any other appropriate manner (e.g., by means of firmware).

[0102] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0103] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0104] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0105] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0106] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0107] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0108] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0109] An embodiment of the present invention further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the target interface determination method according to any embodiment of the present invention is implemented.

[0110] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can 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 can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0111] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining a target interface, characterized in that: include: Acquire call information of multiple system interfaces within a preset period, wherein the multiple systems are in the same local area network; Determine the reference index of the multiple system interfaces within the preset period according to the call information of the multiple system interfaces within the preset period and the score of each system; The plurality of system interfaces are screened according to the referenced index of each system interface within the preset period to obtain a target interface.

2. The method according to claim 1, characterized in that Before determining the reference indexes of the multiple system interfaces within the preset period according to the call information of the multiple system interfaces within the preset period and the system scores of the systems, the method further includes: Get the service type corresponding to each system interface; Determine the interface score of each system interface according to the service type corresponding to each system interface; The system score of each system is determined based on the interface score of each system interface.

3. The method according to claim 2, characterized in that The calling information of the system interface includes: the system identifier of the calling system interface and the calling times of the system interface; According to the call information of multiple system interfaces within a preset period and the system score of each system, the reference index of multiple system interfaces within the preset period is determined, including: Determine the reference score of the system interface according to the system score corresponding to the system identifier that calls the system interface and the number of times the system interface is called; The ratio of the citation score of the system interface to the sum of the system scores of the multiple systems is determined as the citation index of the system interface.

4. The method according to claim 3, characterized in that The reference score of the system interface is determined according to the system score corresponding to the system identifier that calls the system interface and the number of times the system interface is called, including: The product of the system score corresponding to the system identifier that calls the system interface and the number of times the system interface is called is determined as the reference score of the system interface.

5. The method according to claim 2, characterized in that: The calling information of the system interface includes: the system interface identifier of the calling system interface and the calling times of the system interface; According to the call information of multiple system interfaces within a preset period and the system score of each system, the reference index of multiple system interfaces within the preset period is determined, including: Determine the reference score of the system interface according to the interface score corresponding to the system interface identifier of the calling system interface and the number of calls of the system interface; The ratio of the citation score of the system interface to the sum of the system scores of the multiple systems is determined as the citation index of the system interface.

6. The method according to claim 5, characterized in that The reference score of the system interface is determined according to the interface score corresponding to the system interface identifier of the calling system interface and the number of calls of the system interface, including: The product of the interface score corresponding to the system interface identifier that calls the system interface and the number of times the system interface is called is determined as the reference score of the system interface.

7. A target interface determination device, characterized in that: include: A calling information acquisition module, used to acquire calling information of multiple system interfaces within a preset period, wherein the multiple systems are in the same local area network; A reference index determination module, used to determine the reference index of multiple system interfaces within a preset period according to the call information of multiple system interfaces within a preset period and the score of each system; The target interface determination module is used to screen multiple system interfaces according to the referenced index of each system interface within the preset period to obtain the target interface.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the target interface determination method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target interface determination method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the target interface determination method according to any one of claims 1 to 6.