Interface processing method, electronic equipment and storage medium

By obtaining and analyzing the cyclic redundancy verification count of member interfaces in the link aggregation group, determining and prohibiting target member interfaces with severe oscillations, the problem of network service interruption and jitter caused by CRC oscillation in the link aggregation group is solved, and the stability of the aggregation interface is improved.

CN120075153APending Publication Date: 2025-05-30ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311637489.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The member interfaces in the link aggregation group oscillate due to cyclic redundancy verification (CRC), causing network service interruption and jitter failure.

Method used

By obtaining the first cyclic redundancy check count of the aggregate interface, when the count is greater than the threshold, the second cyclic redundancy check count of each member interface is obtained, the target member interface is determined and it is prohibited from working in the aggregate interface.

Benefits of technology

Effectively control the first cyclic redundancy check count of the aggregation interface, improve the stability of the aggregation interface, and prevent network service interruption and jitter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075153A_ABST
    Figure CN120075153A_ABST
Patent Text Reader

Abstract

The invention discloses an interface processing method, electronic equipment and a storage medium, and belongs to the technical field of communication, and is used for improving the stability of a link aggregation interface, the method comprises the following steps: obtaining a first cyclic redundancy check count of the aggregation interface, the aggregation interface comprising a plurality of member interfaces; under the condition that the first cyclic redundancy check count is greater than a first threshold value, obtaining a second cyclic redundancy check count of each member interface; determining a target member interface from the plurality of member interfaces according to the second cyclic redundancy check count of each member interface; and forbidding the target member interface to work in the aggregation interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technologies, and particularly relates to an interface processing method, an electronic device, and a storage medium. Background Art

[0002] The Link Aggregation Control Protocol (LACP) is a protocol used to implement link aggregation and disaggregation. The role of link aggregation is to increase the link transmission bandwidth and improve the link reliability. Through LACP, multiple physical links can be aggregated together to form a logical link with a larger bandwidth, and this logical link can be referred to as an LACP link aggregation group.

[0003] There are two transmission modes for the link aggregation group: load sharing and non-load sharing. When the member interfaces under the link aggregation group experience interface oscillations due to Cyclic Redundancy Check (CRC), resulting in frequent switching between the UP (enabled) and Down (disabled) states of the interface status, in the load sharing mode, the services carried by the link aggregation group may experience service interruptions due to uneven sharing; in the non-load sharing mode, the services carried by the link aggregation group may experience interrupt jitters. That is to say, for the two transmission modes of the aggregated group link, when the member interfaces experience oscillations due to CRC, it will cause faults such as network service interrupt jitters. Summary of the Invention

[0004] Embodiments of this application provide an interface processing method, an electronic device, and a storage medium, which can solve the problem of faults such as network service interrupt jitters caused by oscillations of member interfaces in the aggregation group due to CRC.

[0005] In a first aspect, embodiments of this application provide an interface processing method, which includes: obtaining a first cyclic redundancy check count of an aggregation interface, where the aggregation interface includes multiple member interfaces; in a case where the first cyclic redundancy check count is greater than a first threshold, obtaining a second cyclic redundancy check count of each of the member interfaces; determining a target member interface from the multiple member interfaces according to the second cyclic redundancy check count of each of the member interfaces; and prohibiting the target member interface from working in the aggregation interface.

[0006] Second aspect, an embodiment of the present application provides an interface processing device, which includes: a first counting module, configured to obtain a first cyclic redundancy check count of an aggregated interface, where the aggregated interface includes a plurality of member interfaces; a second counting module, configured to obtain a second cyclic redundancy check count of each of the member interfaces when the first cyclic redundancy check count is greater than a first threshold; a determination module, configured to determine a target member interface from the plurality of member interfaces according to the second cyclic redundancy check count of each of the member interfaces; and an execution module, configured to prohibit the target member interface from working in the aggregated interface.

[0007] Third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] Fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In the embodiment of the present application, by obtaining the first cyclic redundancy check count of the aggregated interface, where the aggregated interface includes a plurality of member interfaces; obtaining the second cyclic redundancy check count of each of the member interfaces when the first cyclic redundancy check count is greater than the first threshold; determining the target member interface from the plurality of member interfaces according to the second cyclic redundancy check count of each of the member interfaces; and prohibiting the target member interface from working in the aggregated interface, it is possible to determine the target member interface from each of the member interfaces according to the second cyclic redundancy check count of each member interface in the aggregated interface and prohibit the target member interface from working in the aggregated interface, thereby implementing the control of the first cyclic redundancy check count of the aggregated interface and improving the stability of the aggregated interface. Description of the Drawings

[0010] Figure 1 is a schematic flowchart of an interface processing method provided by an embodiment of the present application;

[0011] Figure 2 is a schematic flowchart of another interface processing method provided by an embodiment of the present application;

[0012] Figure 3 is a schematic structural diagram of an interface processing device provided by an embodiment of the present application;

[0013] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments

[0014] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present application.

[0015] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the associated objects before and after are in an "or" relationship.

[0016] Next, in combination with the accompanying drawings, the interface processing method, electronic device, and storage medium provided by the embodiments of the present application will be described in detail through specific embodiments and their application scenarios.

[0017] Figure 1 An interface processing method provided by an embodiment of the present application is shown. This method can be executed by an electronic device, and the electronic device can include: a server and / or a terminal device. In other words, this method can be executed by software or hardware installed in the electronic device. The method includes the following steps:

[0018] Step 102: Obtain the first cyclic redundancy check count of the aggregation interface.

[0019] During the communication transmission process, the function of multiple link aggregations is to increase the transmission bandwidth and improve the link reliability. LACP can aggregate multiple physical links together and form a logical link with a larger bandwidth, such as an LACP link aggregation group, etc.

[0020] In the embodiments of the present application, the first cyclic redundancy check count of the aggregation interface of the link aggregation group, that is, the first CRC count, can be obtained first. The aggregation interface includes multiple member interfaces. The first cyclic redundancy check count is the sum value of the CRC counts of the multiple member interfaces.

[0021] Step 104: When the first cyclic redundancy check count is greater than the first threshold, obtain the second cyclic redundancy check count of each of the member interfaces.

[0022] Specifically, when it is determined that the first cyclic redundancy check count of the aggregation interface is greater than a preset first threshold, it is necessary to obtain the second cyclic redundancy check counts of each member interface included in the aggregation interface. In the embodiments of the present application, the first threshold may be the threshold at which the aggregation interface goes down, or a threshold set according to actual requirements, and the first threshold is not specifically limited herein.

[0023] Step 106: Determine a target member interface from the multiple member interfaces according to the second cyclic redundancy check counts of the member interfaces.

[0024] Specifically, after obtaining the second cyclic redundancy check counts of each member interface, it is necessary to determine a target member interface from the multiple member interfaces according to the second cyclic redundancy check counts of each member interface.

[0025] The determining a target member interface from the multiple member interfaces according to the second cyclic redundancy check counts of the member interfaces includes:

[0026] Determine the member interface with the second cyclic redundancy check count greater than a second threshold and the largest second cyclic redundancy check count as the target member interface.

[0027] Specifically, after obtaining the second cyclic redundancy check counts of each member interface, it can be determined whether there is a member interface among the multiple member interfaces whose second cyclic redundancy check count is greater than the second threshold. The second threshold may be the threshold at which the member interface goes down, or a threshold set according to actual requirements, and the second threshold is not specifically limited herein.

[0028] When there is a member interface with a second cyclic redundancy check count greater than the second threshold, the member interfaces with a second cyclic redundancy check count greater than the second threshold can be sorted, and the member interface with the largest second cyclic redundancy check count is determined as the above-mentioned target member interface. In this way, a target member interface can be determined among the multiple member interfaces, and then the target member interface can be processed.

[0029] In one implementation manner, the determining a target member interface from the multiple member interfaces according to the second cyclic redundancy check counts of the member interfaces includes:

[0030] In the case where the second cyclic redundancy check counts of all the member interfaces are less than or equal to the second threshold, obtain multiple third cyclic redundancy check counts corresponding to each of the member interfaces at multiple acquisition times, and the time difference between the multiple acquisition times and the acquisition time of the first cyclic redundancy check count satisfies a time threshold; determine the target member interface from each of the member interfaces according to the third cyclic redundancy check counts corresponding to each of the member interfaces.

[0031] When the second cyclic redundancy check counts of all member interfaces are less than or equal to the second threshold, that is, the second cyclic redundancy check count of no member interface is greater than the second threshold, it is necessary to elect the member interface with the largest CRC value at multiple acquisition moments. That is, obtain multiple third redundant cyclic check counts corresponding to each member interface at multiple acquisition moments, where the time difference between the multiple acquisition moments and the acquisition moment of the first cyclic redundancy check count satisfies the time threshold. As an example, for instance, the third redundant cyclic check counts of each member interface at the acquisition moments t1 and t2 can be obtained. In the embodiments of the present application, the target member interface can be determined from each member interface according to the third cyclic redundancy check count corresponding to each member interface, and then the target member interface can be processed.

[0032] In one implementation manner, the determining the target member interface from each member interface according to the third cyclic redundancy check count corresponding to each member interface includes:

[0033] For any one of the member interfaces, obtain the first count average value of the multiple third cyclic redundancy check counts of the member interface to obtain the first count average value corresponding to each member interface; determine the member interface with the first count average value greater than the third threshold and the largest first count average value as the target member interface.

[0034] Specifically, for any one of the member interfaces, obtain the first count average value of the multiple third cyclic redundancy check counts of the member interface, so that the first count average value corresponding to each member interface can be obtained. In the embodiments of the present application, the member interface with the largest first count average value can be determined as the target member interface.

[0035] In addition, a configurable threshold can also be set. According to this configurable threshold, first, the member interfaces with the first count average value greater than this configurable threshold can be screened out from the multiple member interfaces and enter the election queue, and then the member interface with the largest first count average value among the screened-out member interfaces is determined as the target member interface.

[0036] As an example, the second cyclic redundancy check counts of each member interface are collected at time t1 and time t2. For any member interface, the second cyclic redundancy check count collected at time t1 is CRC1, and the second cyclic redundancy check count collected at time t2 is CRC2. If |CRC2 + CRC1| / 2 > the configurable threshold, then this member interface will enter the election list. The member interface with the largest |CRC2 + CRC1| / 2 value in the election list is determined as the target member interface. When no member interface enters the election list, the status of each member interface remains unchanged. In this way, the target member interface can be determined by means of election and sorting according to the second cyclic redundancy check counts of each member interface.

[0037] Step 108: Prohibit the target member interface from working in the aggregation interface.

[0038] Specifically, after determining the target member interface from multiple member interfaces, the target member interface can be prohibited from working in the aggregation interface.

[0039] The interface processing method provided by the embodiments of the present application obtains the first cyclic redundancy check count of the aggregation interface, where the aggregation interface includes multiple member interfaces; when the first cyclic redundancy check count is greater than the first threshold, obtains the second cyclic redundancy check counts of each of the member interfaces; determines the target member interface from the multiple member interfaces according to the second cyclic redundancy check counts of each of the member interfaces; prohibits the target member interface from working in the aggregation interface, and can determine the target member interface from each member interface according to the second cyclic redundancy check counts of each member interface in the aggregation interface and prohibit the target member interface from working in the aggregation interface, thereby realizing controlling the first cyclic redundancy check count of the aggregation interface within a normal range, improving the stability of the aggregation interface, and ensuring the quality of the services carried by the aggregation interface.

[0040] In one implementation, the prohibiting the target member interface from working in the aggregation interface includes:

[0041] Set the target member interface to an interface abnormal state to prohibit the target member interface from working in the aggregation interface.

[0042] In the embodiments of the present application, after determining the target member interface, the target member interface can be set to an interface abnormal state, that is, the error-down state, to prohibit the target member interface from working in the aggregation interface, thereby realizing controlling the first cyclic redundancy check count of the aggregation interface within a normal range and improving the stability of the aggregation interface.

[0043] In one implementation, the prohibiting the target member interface from working in the aggregation interface includes:

[0044] When the number of the target member interfaces is multiple, randomly determine a to-be-processed member interface from the multiple target member interfaces; prohibit the to-be-processed member interface from working in the aggregation interface.

[0045] In the embodiments of the present application, at most one member interface is allowed to enter the interface exception state each time. That is, when it is determined that the number of target member interfaces is multiple, a to-be-processed member interface can be randomly determined from the multiple target member interfaces, and the state of the to-be-processed member interface is set to the interface exception state, and the to-be-processed member interface is prohibited from working in the aggregation interface.

[0046] In one implementation, after prohibiting the target member interface from working in the aggregation interface, it further includes:

[0047] Iteratively obtain the first cyclic redundancy check count of the aggregation interface, where the aggregation interface includes multiple member interfaces; when the first cyclic redundancy check count is greater than a first threshold, obtain the second cyclic redundancy check count of each member interface; determine a target member interface from the multiple member interfaces according to the second cyclic redundancy check count of each member interface; prohibit the target member interface from working in the aggregation interface until the working states of the multiple member interfaces remain unchanged.

[0048] Specifically, after prohibiting the target member interface from working in the aggregation interface, the first cyclic redundancy check count of the aggregation interface can be iteratively obtained. If the first cyclic redundancy check count is still greater than the first threshold, the second cyclic redundancy check count of each member interface can be obtained again, and a target member interface is determined from the multiple member interfaces according to the second cyclic redundancy check count of each member interface. Prohibit the target member interface from working in the aggregation interface until the working states of the multiple member interfaces remain unchanged.

[0049] In one implementation, the maintaining the working states of the multiple member interfaces unchanged includes:

[0050] When any preset condition is satisfied, maintain the working states of the multiple member interfaces unchanged, where the preset condition includes: the first cyclic redundancy check count is less than or equal to the first threshold; according to the second cyclic redundancy check count, it is determined that there is no target member interface among the multiple member interfaces.

[0051] In an embodiment of the present application, if the first cyclic redundancy check count of the aggregated interface obtained is less than or equal to the first threshold, the states of multiple member interfaces in the aggregated interface can be maintained unchanged. If it is determined according to the second cyclic redundancy check count that there is no target member interface among the multiple member interfaces, the states of multiple member interfaces in the aggregated interface can also be maintained unchanged.

[0052] To further illustrate the interface processing method provided in the embodiment of the present application, the embodiment of the present application provides another interface processing method, as Figure 2 shown. This interface processing method includes the following processes:

[0053] First, it is determined whether the first CRC count of the aggregated interface is greater than the first threshold. When the first CRC count of the aggregated interface is greater than the first threshold, there are two cases.

[0054] 1) When it is checked that the second CRC count of no member interface is greater than the second threshold, it is necessary to elect multiple member interfaces with the largest third cyclic redundancy check counts corresponding to multiple acquisition times, and put this member interface into the error-down state.

[0055] Among them, the election mechanism is as follows: Each member interface collects the third CRC count at multiple times. For example, the third cyclic redundancy check counts of each member interface at time t1 and time t2 are collected. For any member interface, it can be considered that the third cyclic redundancy check count collected at time t1 is CRC1, and the third cyclic redundancy check count collected at time t2 is CRC2. If |CRC2 + CRC1| / 2 > the configurable threshold, then this member interface will enter the election list. The member interface with the largest |CRC2 + CRC1| / 2 value in the election list is determined as the target member interface. When no member interface enters the election list, the states of each member interface remain unchanged. In this way, the target member interface can be determined by election and sorting according to the third cyclic redundancy check counts of each member interface.

[0056] 2) When the second CRC count of a member interface is greater than the second threshold, the member interfaces with the second CRC count greater than the second threshold are sorted in descending order, and the member interface with the largest second CRC count enters the error-down state.

[0057] In the above two cases, at most one member interface enters the error-down state each time. The above process can be iterated until the first CRC count of the aggregated interface is less than or equal to the first threshold or no member interface enters the error-down state.

[0058] It should be noted that for the interface processing method provided in the embodiments of the present application, the execution subject can be an interface processing device, or a control module in the interface processing device for executing the interface processing method. In the embodiments of the present application, taking the interface processing device executing the interface processing method as an example, the interface processing device provided in the embodiments of the present application is described.

[0059] Figure 3 is a schematic structural diagram of an interface processing device according to an embodiment of the present application. As Figure 3 shown, the interface processing device 300 includes: a first counting module 310, a second counting module 320, a determination module 330, and an execution module 340.

[0060] The first counting module 310 is used to obtain the first cyclic redundancy check count of the aggregated interface, where the aggregated interface includes a plurality of member interfaces; the second counting module 320 is used to obtain the second cyclic redundancy check count of each of the member interfaces when the first cyclic redundancy check count is greater than a first threshold; the determination module 330 is used to determine a target member interface from the plurality of member interfaces according to the second cyclic redundancy check count of each of the member interfaces; the execution module 340 is used to prohibit the target member interface from working in the aggregated interface.

[0061] In one implementation, the determination module 330 is used to obtain a plurality of third cyclic redundancy check counts corresponding to each of the member interfaces at a plurality of acquisition times when the second cyclic redundancy check count of each of the member interfaces is less than or equal to a second threshold, and the time difference between the plurality of acquisition times and the acquisition time of the first cyclic redundancy check count satisfies a time threshold; the target member interface is determined from each of the member interfaces according to the third cyclic redundancy check count corresponding to each of the member interfaces.

[0062] In one implementation, the determination module 330 is used to, for any one of the member interfaces, obtain a first count average value of the plurality of third cyclic redundancy check counts of the member interface to obtain a first count average value corresponding to each of the member interfaces; the member interface with the first count average value greater than a third threshold and the largest first count average value is determined as the target member interface.

[0063] In one implementation, the determination module 330 is used to determine the member interface with the second cyclic redundancy check count greater than the second threshold and the largest second cyclic redundancy check count as the target member interface.

[0064] In one implementation, the execution module 340 is used to set the target member interface to an interface abnormal state to prohibit the target member interface from working in the aggregated interface.

[0065] In one implementation, the execution module 340 is configured to prohibit the target member interface from working in the aggregation interface, including: when the number of the target member interfaces is multiple, randomly determining a to-be-processed member interface from the multiple target member interfaces; and prohibiting the to-be-processed member interface from working in the aggregation interface.

[0066] In one implementation, the execution module 340 is configured to iteratively obtain the first cyclic redundancy check count of the aggregation interface, where the aggregation interface includes multiple member interfaces; when the first cyclic redundancy check count is greater than a first threshold, obtain the second cyclic redundancy check count of each member interface; determine a target member interface from the multiple member interfaces according to the second cyclic redundancy check count of each member interface; and prohibit the target member interface from working in the aggregation interface until the working states of the multiple member interfaces remain unchanged.

[0067] In one implementation, the execution module 340 is configured to keep the working states of the multiple member interfaces unchanged when any preset condition is met, where the preset condition includes: the first cyclic redundancy check count is less than or equal to the first threshold; and according to the second cyclic redundancy check count, it is determined that there is no target member interface among the multiple member interfaces.

[0068] The interface processing device in the embodiments of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.

[0069] The interface processing device in the embodiments of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.

[0070] The interface processing device provided by the embodiments of the present application can implement Figures 1 to 2 each process implemented by the method embodiments. To avoid repetition, details are not described herein again.

[0071] Optionally, as Figure 4 shown, another embodiment of the present application provides an electronic device 400, including a processor 401 and a memory 402. A program or instruction that can run on the processor 401 is stored on the memory 402. When the program or instruction is executed by the processor 401, it implements: obtaining a first cyclic redundancy check count of an aggregation interface, where the aggregation interface includes a plurality of member interfaces; in a case where the first cyclic redundancy check count is greater than a first threshold, obtaining a second cyclic redundancy check count of each of the member interfaces; determining a target member interface from the plurality of member interfaces according to the second cyclic redundancy check count of each of the member interfaces; and prohibiting the target member interface from working in the aggregation interface.

[0072] In one implementation, in a case where the second cyclic redundancy check count of each of the member interfaces is less than or equal to a second threshold, obtaining a plurality of third cyclic redundancy check counts corresponding to each of the member interfaces at a plurality of acquisition times, where a time difference between the plurality of acquisition times and an acquisition time of the first cyclic redundancy check count satisfies a time threshold; and determining the target member interface from each of the member interfaces according to the third cyclic redundancy check count corresponding to each of the member interfaces.

[0073] In one implementation, for any one of the member interfaces, obtaining a first count average of the plurality of third cyclic redundancy check counts of the member interface to obtain a first count average corresponding to each of the member interfaces; and determining the member interface with the first count average greater than a third threshold and the largest first count average as the target member interface.

[0074] In one implementation, determining the member interface with the second cyclic redundancy check count greater than the second threshold and the largest second cyclic redundancy check count as the target member interface.

[0075] In one implementation, setting the target member interface to an interface abnormal state to prohibit the target member interface from working in the aggregation interface.

[0076] In one implementation, in a case where the number of the target member interfaces is multiple, randomly determining a to-be-processed member interface from the multiple target member interfaces; and prohibiting the to-be-processed member interface from working in the aggregation interface.

[0077] In one implementation, after prohibiting the target member interface from operating in the aggregation interface, the first cyclic redundancy check count of the aggregation interface is iteratively obtained, where the aggregation interface includes a plurality of member interfaces; when the first cyclic redundancy check count is greater than a first threshold, the second cyclic redundancy check counts of the respective member interfaces are obtained; based on the second cyclic redundancy check counts of the respective member interfaces, a target member interface is determined from the plurality of member interfaces; the target member interface is prohibited from operating in the aggregation interface until the operating states of the plurality of member interfaces remain unchanged.

[0078] In one implementation, the first cyclic redundancy check count is less than or equal to the first threshold; based on the second cyclic redundancy check counts, it is determined that there is no target member interface among the plurality of member interfaces.

[0079] For the specific execution steps, reference can be made to the respective steps of the above-mentioned interface processing method embodiments, and the same technical effects can be achieved. To avoid repetition, details are not elaborated here.

[0080] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices other than terminals.

[0081] The above electronic device structure does not limit the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or have different component arrangements. For example, the input unit may include a Graphics Processing Unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes at least one of a touch panel and other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, which are not elaborated here.

[0082] The memory can be used to store software programs and various data. The memory mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory can include volatile memory or non-volatile memory, or the memory can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchlink dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM).

[0083] The processor can include one or more processing units; optionally, the processor integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor either.

[0084] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above embodiment of the interface processing method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0085] Among them, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as ROM, RAM, a magnetic disk, or an optical disc, etc.

[0086] It should be noted that, in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device that includes such element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.

[0087] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.

[0088] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.

Claims

1. An interface processing method, characterized in that, it includes: Obtain the first cyclic redundancy check count of the aggregated interface, where the aggregated interface includes multiple member interfaces; When the first cyclic redundancy check count is greater than a first threshold, obtain the second cyclic redundancy check counts of the respective member interfaces; Determine a target member interface from the multiple member interfaces according to the second cyclic redundancy check counts of the respective member interfaces; Prohibit the target member interface from working in the aggregated interface.

2. The method according to claim 1, characterized in that, The step of determining a target member interface from the multiple member interfaces according to the second cyclic redundancy check counts of the respective member interfaces includes: When the second cyclic redundancy check counts of the respective member interfaces are all less than or equal to a second threshold, obtain multiple third cyclic redundancy check counts corresponding to the respective member interfaces at multiple acquisition times, and the time difference between the multiple acquisition times and the acquisition time of the first cyclic redundancy check count satisfies a time threshold; Determine the target member interface from the respective member interfaces according to the third cyclic redundancy check counts corresponding to the respective member interfaces.

3. The method according to claim 2, characterized in that, The step of determining the target member interface from the respective member interfaces according to the third cyclic redundancy check counts corresponding to the respective member interfaces includes: For any one of the member interfaces, obtain a first count average value of the multiple third cyclic redundancy check counts of the member interface to obtain a first count average value corresponding to each member interface; Determine the member interface with the first count average value greater than a third threshold and the largest first count average value as the target member interface.

4. The method according to claim 1, characterized in that, The step of determining a target member interface from the multiple member interfaces according to the second cyclic redundancy check counts of the respective member interfaces includes: Determine the member interface with the second cyclic redundancy check count greater than the second threshold and the largest second cyclic redundancy check count as the target member interface.

5. The method according to claim 1, characterized in that, The step of prohibiting the target member interface from working in the aggregated interface includes: Set the target member interface to an interface abnormal state to prohibit the target member interface from working in the aggregated interface.

6. The method according to claim 1, characterized in that, The step of prohibiting the target member interface from working in the aggregated interface includes: When the number of the target member interfaces is multiple, randomly determine a to-be-processed member interface from the multiple target member interfaces; Prohibit the to-be-processed member interface from working in the aggregated interface.

7. The method according to claim 1, characterized in that, After prohibiting the target member interface from working in the aggregated interface, it further includes: Iteratively obtain the first cyclic redundancy check count of the aggregation interface, where the aggregation interface includes a plurality of member interfaces; when the first cyclic redundancy check count is greater than a first threshold, obtain the second cyclic redundancy check counts of the respective member interfaces; determine a target member interface from the plurality of member interfaces according to the second cyclic redundancy check counts of the respective member interfaces; prohibit the target member interface from operating in the aggregation interface until the operating states of the plurality of member interfaces remain unchanged.

8. The method according to claim 7, wherein, the maintaining the operating states of the plurality of member interfaces unchanged includes: when any preset condition is satisfied, maintaining the operating states of the plurality of member interfaces unchanged, where the preset condition includes: the first cyclic redundancy check count is less than or equal to the first threshold; determining that there is no target member interface among the plurality of member interfaces according to the second cyclic redundancy check count.

9. An electronic device, wherein, it includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the interface processing method according to any one of claims 1-8 are implemented.

10. A readable storage medium, wherein, a program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the interface processing method according to any one of claims 1-8 are implemented.