Equipment interface processing method and device and electronic equipment

Through the unified management and configuration of the interface of the controlled device, the complex interface configuration problem in multi-device networking scenarios is solved, and flexible and simple traffic and subnet management is achieved.

CN119996183APending Publication Date: 2025-05-13TP-LINK INT SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510179259.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-18
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the multi-device networking scenario, the prior art requires the configuration of each device separately, resulting in complex configuration and lack of coordination mechanisms.

Method used

Through the main control device, the network interface information of the controlled device is uniformly collected and analyzed, the traffic and subnet are centrally divided, the traffic configuration and subnet configuration information of the interface are generated, and the subnet configuration information is distributed to the corresponding controlled device.

Benefits of technology

It realizes flexible and simple interface configuration management in multi-device networking scenarios, solves the complexity of configuring each device interface separately, and enhances the coordination mechanism between devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996183A_ABST
    Figure CN119996183A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment interface processing method and device and electronic equipment. The method comprises the following steps: determining one or more pieces of controlled equipment to which main control equipment belongs; obtaining interface state information of one or more pieces of controlled equipment; based on the interface state information of the one or more controlled devices, flow is divided for the interfaces in the one or more controlled devices, and flow configuration information of the interfaces in the one or more controlled devices is obtained; and respectively sending the flow configuration information of the interfaces in the one or more controlled devices to the corresponding controlled devices. According to the invention, the technical problem of complex configuration caused by independent configuration of the interface of each device in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a device interface processing method, device and electronic equipment. Background Art

[0002] In the scenario of multiple devices in the access network, it is necessary to configure and manage the interfaces of multiple devices to achieve functions such as bandwidth isolation, traffic priority, and intranet traffic isolation. In the related art, the configuration management of multiple devices is achieved by configuring each device separately, but configuring each device separately is not only troublesome, but also causes a lack of coordination mechanism between the devices.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a device interface processing method, apparatus and electronic device to at least solve the technical problem in the related art that each device interface is configured separately, resulting in complex configuration.

[0005] According to one aspect of an embodiment of the present invention, a device interface processing method is provided, including: determining one or more controlled devices belonging to a master control device in an access network; obtaining interface status information of the one or more controlled devices; based on the interface status information of the one or more controlled devices, dividing traffic for interfaces in the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices; and sending the traffic configuration information of the interfaces in the one or more controlled devices to corresponding controlled devices respectively.

[0006] Optionally, the method also includes: dividing the interfaces in the one or more controlled devices into subnets based on the interface status information of the one or more controlled devices, and obtaining subnet configuration information of the interfaces in the one or more controlled devices; and sending the subnet configuration information of the interfaces in the one or more controlled devices to the corresponding controlled devices respectively.

[0007] Optionally, dividing traffic for interfaces in the one or more controlled devices based on the interface status information of the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices includes: determining the traffic priority of the interfaces in the one or more controlled devices, or allocating bandwidth to the interfaces in the one or more controlled devices based on the interface status information of the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices.

[0008] Optionally, the method of dividing traffic for interfaces in the one or more controlled devices based on the interface status information of the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices also includes: displaying the interface status information of the one or more controlled devices on a display interface, receiving configuration instructions to divide traffic for interfaces in the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices, wherein the configuration instructions are determined based on the interface status information displayed on the display interface; and / or, directly dividing traffic for interfaces in the one or more controlled devices based on the interface status information of the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices.

[0009] Optionally, when the traffic configuration information includes traffic configuration information of an interface in the master control device, the master control device performs data transmission based on the obtained traffic configuration information.

[0010] According to another aspect of an embodiment of the present invention, there is provided a device interface processing method, comprising: acquiring interface status information of a target controlled device in an access network; sending the interface status information to a master control device to which the target controlled device belongs; and receiving traffic configuration information sent by the master control device, wherein the traffic configuration information is obtained by dividing the traffic of the interface of the target controlled device based on the interface status information of the controlled devices included in the master control device.

[0011] Optionally, the method further comprises: receiving subnet configuration information sent by the master control device, wherein the subnet configuration information is obtained by dividing the interface of the target controlled device into subnets based on interface status information of the controlled device included in the master control device.

[0012] Optionally, the method further includes: based on the subnet configuration information and the traffic configuration information, communicating between the interface corresponding to the subnet configuration information and the traffic configuration information and other interfaces.

[0013] According to another aspect of the present invention, there is provided a device interface processing apparatus, comprising: a determination module, used to determine one or more controlled devices belonging to a master control device in an access network; an acquisition module, used to obtain interface status information of the one or more controlled devices; a division module, used to divide traffic for interfaces in the one or more controlled devices based on the interface status information of the one or more controlled devices, and obtain traffic configuration information of the interfaces in the one or more controlled devices; and a sending module, used to send the traffic configuration information of the interfaces in the one or more controlled devices to corresponding controlled devices respectively.

[0014] According to another aspect of the present invention, there is provided a device interface processing apparatus, comprising: an acquisition module, for acquiring interface status information of a target controlled device in an access network; a sending module, for sending the interface status information to a master control device to which the target controlled device belongs; and a receiving module, for receiving traffic configuration information sent by the master control device, wherein the traffic configuration information is obtained by dividing the traffic of the interface of the target controlled device based on the interface status information of the controlled devices included in the master control device.

[0015] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the device interface processing methods described above.

[0016] According to another aspect of the present invention, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes any one of the above-mentioned device interface processing methods when running.

[0017] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any one of the device interface processing methods are implemented.

[0018] In the embodiment of the present invention, a centralized control method is adopted, and the network interface information of all controlled devices is uniformly collected and analyzed by the main control device, and the corresponding interface configuration is issued to each controlled device, thereby achieving the purpose of configuring the interface in a multi-device networking scenario, thereby realizing the technical effect of flexibly and easily realizing the traffic management of multiple devices, and further solving the technical problem of separately configuring the interface of each device in the related technology, resulting in complex configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0020] Figure 1 is a flow chart of a device interface processing method according to an embodiment of the present invention;

[0021] Figure 2 is a flow chart of another device interface processing method according to an embodiment of the present invention;

[0022] Figure 3 is a schematic diagram of a centralized device interface subnet division and traffic isolation system according to an optional implementation mode of the present invention;

[0023] Figure 4 is a structural block diagram of a device interface processing apparatus according to an embodiment of the present invention;

[0024] Figure 5 is a structural block diagram of another device interface processing apparatus according to 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] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:

[0028] Access network: It is the part of the communication network that is close to the end user and is mainly responsible for connecting user devices (such as computers, mobile phones, and IoT devices) to a wider communication network. The access network can be a home broadband network, an enterprise LAN, an area covered by a mobile communication base station, or any infrastructure that can connect end-user devices to the network. There are various types of access networks, the most common ones are: Broadband access network: provides fixed-line broadband services; Wireless access network: provides wireless network services, such as Wi-Fi, 3G, 4G, 5G and other mobile networks; Enterprise access network: The local area network within the enterprise, including routers, switches and other equipment, used to connect computers and servers within the enterprise.

[0029] Core network: It is the central part of the communication network, responsible for processing and routing large amounts of data traffic, and transmitting traffic from the access network to the destination network or the Internet. The core network is the "highway" of the network, connecting access networks in various places, and realizing high-speed and large-capacity data transmission through multiple core routers and switches. The main functions of the core network include: routing: determining the best transmission path for data packets; data exchange and transmission: realizing large-volume data exchange and transmission; network optimization: including load balancing, congestion control, and service quality assurance.

[0030] Network equipment: It is the hardware equipment that constitutes the communication network and plays a key role in the access network and core network. Network equipment includes but is not limited to: Routers: Responsible for forwarding data packets between networks to achieve the connection between different networks. Switches: Efficiently exchange data packets within the local area network to achieve communication between terminal devices. Gateways: Connect different types of networks, such as local area networks and wide area networks, to achieve protocol conversion. Firewalls: Provide security protection, filter malicious traffic, and protect network resources. Wireless access points: Provide wireless network coverage and allow wireless devices to access wired networks.

[0031] Interface: refers to the physical interface on a device that is used to connect to other devices or terminal devices. These interfaces allow data to be transmitted between devices through physical media (such as network cables, optical fibers, or wireless signals). There are various types and functions of physical interfaces, and the following are common ones: Ethernet interface, optical fiber interface, serial interface, wireless interface, Wide Area Network (WAN) interface, Local Area Network (LAN) interface, and Virtual Local Area Network (VLAN) interface.

[0032] Subnetting: refers to the process of subdividing a larger network address range into multiple smaller, logically independent networks (i.e., subnets) in an Internet Protocol (IP) network. This process is mainly based on the subnet mask. By modifying the boundary between the network part and the host part of the IP address, the communication range of different interfaces of different devices in the network can be controlled, thereby achieving traffic isolation and optimization.

[0033] Traffic segmentation: It is a key technology in network management, which is used to classify and control data traffic in the network to meet different performance requirements and security policies. Through traffic segmentation, network optimization and security isolation can be achieved. For example, different types of interfaces used to transmit video streams, game data, file transfers, etc. can be divided into different traffic priority queues to ensure the performance of key applications and user experience.

[0034] In a single device scenario, a device (e.g., a router) can use interface binding technology to divide the traffic of a physical interface, thereby achieving the following functions: (1) Bandwidth isolation. For example, in a scenario with multiple WAN connections, by setting the traffic of a dedicated interface to have an independent bandwidth, such as an Internet Protocol Television (IPTV) interface or a gaming interface, it can be ensured that the traffic of these interfaces will not be preempted by the traffic of other interfaces. (2) Traffic priority. For example, in a single WAN connection configuration, by setting the traffic of different interfaces to have different priorities, such as setting the traffic of network interfaces such as IPTV or gaming to high priority, it is possible to achieve the effect of giving priority to high-priority traffic when data forwarding or bandwidth resources are tight. (3) Intranet traffic isolation. In order to enhance network security, mutual access restrictions can be imposed on intranet clients, such as assigning the interfaces of intranet clients to different subnets, so that clients connected to interfaces belonging to different subnets cannot communicate with each other, thereby achieving traffic isolation.

[0035] In the scenario of multiple devices being networked, there is also a demand for the above functions. When managing the interface traffic of the device, the related technology can adopt a customized interface method, that is, setting several interfaces of a certain model of equipment as dedicated interfaces and not allowing changes, such as dedicated interfaces such as IPTV or gaming, but this method is not flexible enough. If the user needs multiple gaming interfaces, the preset customized interface cannot meet their needs; this method cannot achieve the function of isolating intranet traffic, and a separate traffic isolation system needs to be developed to achieve it. When managing the interface traffic of the device, the related technology can also adopt a method of configuring each device separately, that is, each device only manages its own interface, but this method is cumbersome to configure, and it is necessary to enter the user interface of each device to configure it separately, which is time-consuming and labor-intensive; this method also results in no coordination mechanism between the devices, for example, it is impossible to directly place interfaces belonging to different devices in the same subnet, which requires complex and professional configuration methods, or even impossible to achieve.

[0036] In view of this, in an embodiment of the present invention, an embodiment of a device interface processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0037] Figure 1 is a flow chart of a device interface processing method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0038] Step S102: determine one or more controlled devices under the master control device in the access network.

[0039] As an optional embodiment, the execution subject of the method of this embodiment can be a master control device, which can be used to display the interface status information of the controlled device and can also be used to perform centralized traffic division on the devices in the device network to obtain traffic configuration.

[0040] As an optional embodiment, when determining one or more controlled devices under the master control device, it can be one or more other devices excluding the master control device, or it can be one or more devices including the master control device. That is, among multiple devices in the access network, one of the devices is determined to be the master control device, which can be responsible for the traffic configuration of other devices or the traffic configuration of the devices in the entire access network. The master control device can communicate with the one or more controlled devices, and the one or more controlled devices can send their own interface status information to the master control device, and the master control device can send configuration information to the one or more controlled devices.

[0041] Step S104: obtaining interface status information of one or more controlled devices.

[0042] As an optional embodiment, a variety of methods may be used to obtain the interface status information of one or more controlled devices. For example, the master device may actively query the interface status information of one or more controlled devices, or one or more controlled devices may report the interface status information to the master device. Among them, one or more controlled devices may report the interface status information to the master device in a variety of ways, such as periodic reporting or event reporting, that is, reporting according to a fixed period or reporting triggered by an event. The method of reporting the interface status information to the master device by one or more controlled devices can reduce the number of communications between the master device and the controlled devices, and improve the efficiency of obtaining the interface status information.

[0043] When one or more controlled devices report interface status information to the master device, when the master device and the controlled device establish a connection for the first time, the controlled device can send the inherent attributes of the interface and the current interface status to the master device, where the current interface status can include information such as whether the interface is connected to the network cable and whether it is enabled. This type of interface status does not change frequently and can be sent by the controlled device to the master device when it changes, which can avoid repeated sending of invalid data, ensure that the interface status information sent each time is valid data, occupy the least communication resources, and realize timely update of the interface status information of the controlled device. The current interface status can also include information such as traffic size and traffic type. This type of interface status may be constantly changing and can be actively queried by the master device to the controlled device and displayed in the display interface of the master device.

[0044] Step S106: based on the interface status information of the one or more controlled devices, divide the traffic for the interfaces in the one or more controlled devices to obtain the traffic configuration information of the interfaces in the one or more controlled devices.

[0045] As an optional embodiment, when dividing traffic for interfaces in one or more controlled devices based on the interface status information of one or more controlled devices and obtaining the traffic configuration information of the interfaces in one or more controlled devices, a variety of methods can be used. For example, traffic can be directly divided for interfaces in one or more controlled devices based on the interface status information of one or more controlled devices. For another example, traffic can be divided for interfaces in one or more controlled devices based on the interface status information of one or more controlled devices in combination with certain preset rules. Among them, the method of directly dividing traffic can directly and accurately determine the specific traffic division of each interface of different controlled devices. The method of dividing traffic in combination with certain preset rules can automatically divide traffic for interfaces in one or more controlled devices according to actual application conditions under the guidance of the preset rules, which can not only meet the needs of users, but also simplify the configuration process to a certain extent.

[0046] As an optional embodiment, when dividing the traffic for the interfaces in one or more controlled devices based on the interface status information of one or more controlled devices and obtaining the traffic configuration information of the interfaces in one or more controlled devices, multiple methods can be adopted. For example, based on the interface status information of one or more controlled devices, the traffic priority of the interfaces in one or more controlled devices can be determined to obtain the traffic configuration information of the interfaces in one or more controlled devices. It is also possible to allocate bandwidth for the interfaces in one or more controlled devices based on the interface status information of one or more controlled devices to obtain the traffic configuration information of the interfaces in one or more controlled devices. For example, if the total available bandwidth is 100M, the traffic priority of the interfaces in one or more controlled devices can be determined, such as determining that the IPTV interface has the highest traffic priority. When the IPTV interface actually uses 60M, the remaining 40M will be used by the interface with the second highest traffic priority. It is also possible to allocate bandwidth for the interfaces in one or more controlled devices, such as allocating 100M bandwidth to the IPTV interface, but the IPTV interface actually uses 60M, and at this time other interfaces cannot use the remaining 40M. Selecting traffic priority or bandwidth allocation based on actual usage can achieve more refined network resource management and ensure that different types of interfaces work in a suitable network environment. Traffic priority allocation based on the importance of the interface can give priority to meeting the needs of important interfaces and effectively improve the overall efficiency of the network.

[0047] As an optional embodiment, when dividing the traffic for the interfaces in one or more controlled devices based on the interface status information of one or more controlled devices and obtaining the traffic configuration information of the interfaces in one or more controlled devices, multiple methods can also be used. For example, the interface status information of one or more controlled devices can be displayed on the display interface, and the configuration instructions can be received to divide the traffic for the interfaces in one or more controlled devices and obtain the traffic configuration information of the interfaces in one or more controlled devices, wherein the configuration instructions are determined based on the interface status information displayed on the display interface. It is also possible to directly divide the traffic for the interfaces in one or more controlled devices based on the interface status information of one or more controlled devices and obtain the traffic configuration information of the interfaces in one or more controlled devices. The configuration is performed by receiving the configuration instructions, allowing the user to perform customized configuration according to the interface status information of all controlled devices collected by the master device and the actual usage, so as to meet the user's usage requirements. The configuration is performed by direct configuration of the master device, that is, the master device automatically performs intelligent configuration according to the interface status information of all controlled devices collected by the master device, which can further reduce the complexity of the configuration and make it more convenient and quick.

[0048] Step S108: Send the flow configuration information of the interfaces in one or more controlled devices to the corresponding controlled devices respectively.

[0049] As an optional embodiment, when the flow configuration information of the interface in one or more controlled devices is sent to the corresponding controlled devices respectively, for the controlled devices within the signal coverage of the master device, the flow configuration information can be directly sent to the controlled devices by the master device, and for the controlled devices outside the signal coverage of the master device, the flow configuration information can be sent to the controlled devices through the transfer of other controlled devices. Through the transfer of other controlled devices, it can be ensured that each controlled device in the multi-device network can receive the flow configuration information.

[0050] As an optional embodiment, based on the interface status information of one or more controlled devices, subnets can be divided for interfaces in one or more controlled devices to obtain subnet configuration information of interfaces in one or more controlled devices; and the subnet configuration information of interfaces in one or more controlled devices can be sent to corresponding controlled devices respectively. When subnets are divided for interfaces in one or more controlled devices based on the interface status information of one or more controlled devices to obtain subnet configuration information of interfaces in one or more controlled devices, a variety of methods can also be used. For example, subnets can be directly divided for interfaces in one or more controlled devices based on the interface status information of one or more controlled devices, or subnets can be divided for interfaces in one or more controlled devices based on the interface status information of one or more controlled devices in combination with certain preset rules. Directly dividing subnets can achieve refined management of interface subnets, and dividing subnets in combination with certain preset rules can still be divided in combination with rules when the network environment changes, thereby enhancing flexibility.

[0051] The processes of dividing subnets and dividing traffic for interfaces in one or more controlled devices are independent of each other. Subnets can be divided only for interfaces in one or more controlled devices, traffic can be divided only for interfaces in one or more controlled devices, or subnets and traffic can be divided for interfaces in one or more controlled devices at the same time. By dividing subnets and dividing traffic at the same time, the requirements of interfaces in one or more controlled devices for subnet traffic isolation and traffic bandwidth can be met at the same time.

[0052] As an optional embodiment, when the traffic configuration information includes the traffic configuration information of the interface in the master device, the master device performs data transmission based on the obtained traffic configuration information. When the traffic configuration information includes the traffic configuration information of the interface in the master device, the master device can not only manage the interfaces of other controlled devices, but also manage its own interfaces, avoiding the need for another device as the master device to manage the interfaces of multiple devices in the network in a multi-device network scenario, but better cope with complex and changing network environments through self-management and self-optimization.

[0053] Through the above steps, the master device can serve as the center of multi-device networking to globally collect and analyze the interface status information of the controlled devices, so that the subnet division and traffic control of the interfaces of the entire network can be managed at a single control point, avoiding the need for complex configuration on each device separately.

[0054] According to an embodiment of the present invention, another embodiment of a device interface processing method is provided. Figure 2 is a flow chart of another device interface processing method according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0055] Step S202: Acquire interface status information of a target controlled device in the access network.

[0056] As an optional embodiment, the execution subject of the method of this embodiment may be a controlled device, which is used to send its own interface status information to the master device and receive configuration information sent by the master device, and send and receive data according to the configuration information.

[0057] As an optional embodiment, when obtaining the interface status information of the target controlled device, multiple methods can be used. For example, the interface status can be regularly checked and reported through the built-in monitoring tool of the target controlled device, or when a change (such as disconnection, speed change, etc.) is detected, the interface status information is immediately updated and notified to the main control device. The target controlled device can also record events related to the interface in a log file, such as changes in connection status, packet loss, etc., and the main control device obtains the interface status information of the target controlled device by reading the log file.

[0058] Step S204: Send the interface status information to the master control device to which the target controlled device belongs.

[0059] As an optional embodiment, when sending the interface status information to the master device to which the target controlled device belongs, a variety of methods can be used. For example, the target controlled device can directly send the interface status information to the master device to which it belongs, or the target controlled device can send the interface status information to other controlled devices for transfer, and then the other controlled devices forward it to the master device to which it belongs. Among them, the direct sending method can reduce delays, improve efficiency, and ensure that the master device can receive the interface status information faster and respond to network changes in a timely manner. The transfer sending method can expand the effective coverage of the master device and prevent the master device from becoming a communication bottleneck. When the communication link between the target controlled device and the master device is unstable or the signal coverage is limited, the transfer communication through other controlled devices can enhance the reliability of information transmission.

[0060] For another example, the above-mentioned multiple methods can be combined to send the interface status information to the master device to which the target controlled device belongs. For example, direct sending or relay sending can be flexibly selected according to the distance between the target controlled device and the master device and the signal coverage of the two. The combination of direct sending and relay sending can not only improve communication efficiency and response speed, but also enhance the robustness of network communication and expand the coverage of network management, so as to better adapt to dynamic changes in the network and maintain efficient and stable information transmission under various network conditions.

[0061] Step S206: receiving the flow configuration information sent by the master device, wherein the flow configuration information is obtained by dividing the flow of the interface of the target controlled device based on the interface status information of the controlled device included in the master device.

[0062] As an optional embodiment, the target controlled device can receive the traffic configuration information sent by the master control device. When obtaining the traffic configuration information, the master control device not only considers the interface status information of the target controlled device, but also considers the interface status information of other controlled devices included, thereby enhancing the coordination mechanism between the controlled devices and enabling the obtained traffic configuration information to be more comprehensive and reasonable from a global perspective.

[0063] As an optional embodiment, the target controlled device can also receive subnet configuration information sent by the master device, wherein the subnet configuration information is obtained by dividing the interface of the target controlled device into subnets based on the interface status information of the controlled device included in the master device. Similarly, the subnet configuration information is obtained by comprehensively considering the interface status information of the target controlled device and the interface status information of other controlled devices included in the master device, and is more comprehensive and reasonable configuration information. After receiving the subnet configuration information, the controlled device can adjust the subnet division strategy of its own interface according to the instruction of the master device to achieve efficient use of network resources.

[0064] As an optional embodiment, the target controlled device can also communicate between the interface corresponding to the subnet configuration information and the flow configuration information and other interfaces based on the subnet configuration information and the flow configuration information. By combining the subnet configuration information and the flow configuration information, it can be determined in which subnet the interface of the target controlled device is divided and how much flow can be used, so as to communicate with other interfaces according to the determined information. Among them, when communicating with other interfaces, it is possible to communicate with other interfaces of the target controlled device based on the correspondence between the subnet and the interface in the subnet configuration information and the flow configuration information, or it is possible to communicate with other interfaces of other controlled devices based on the correspondence between the subnet and the identifier in the subnet configuration information and the flow configuration information. Among them, the correspondence between the subnet and the identifier can be the correspondence between the subnet and the identifier by the master control device, and the correspondence is sent to all controlled devices to which the master control device belongs, so as to realize the unification of the subnet identifiers between different devices in the access network, and then allow the controlled devices to communicate based on the unified subnet identifier. By combining subnet division and flow control, it is possible to optimize network communication, ensure timely and accurate transmission of data, and improve the response speed and security of the system.

[0065] Through the above steps, the target controlled device can send interface status information to the master device and receive configuration information from the master device. According to the received traffic configuration information, traffic can be intelligently distributed between local interfaces to ensure that high-priority or specific types of traffic can be processed first, while maximizing the use of bandwidth resources. Dynamically divide subnets according to the received subnet configuration information and implement traffic isolation between subnets, which not only enhances network security, but also enables more refined network resource allocation, such as subnet isolation based on applications or user groups. Finally, communication can be carried out between interfaces with divided subnets and traffic to improve communication quality.

[0066] In combination with the above-mentioned embodiments and optional embodiments, an optional implementation mode is provided. In this optional implementation mode, a centralized device interface subnet division and traffic isolation system is proposed. The system includes a single master control device and a group of controlled devices (in particular, the master control device can also be one of the controlled devices at the same time). The user only needs to access the user interface of the master control device to configure the interface traffic of all devices, just like configuring the entire device network as a single device. While providing a coordination mechanism between devices, the cost of configuring each device separately can be avoided. For example, the interfaces of different controlled devices can be configured in the same subnet. In addition, the user can also only formulate policies, and the system will automatically perform accurate interface traffic management.

[0067] Figure 3 is a schematic diagram of a centralized device interface subnet division and traffic isolation system according to an optional implementation mode of the present invention, such as Figure 3 As shown, the system includes the following modules: user configuration module, inter-device communication module, intra-device data forwarding module, inter-device data forwarding module, and network interface monitoring module. The master device can only run the user configuration module and the inter-device communication module, and the controlled device can run the inter-device communication module, the intra-device data forwarding module, the inter-device data forwarding module, and the network interface monitoring module.

[0068] User configuration module 301: responsible for displaying the physical network interface status of all controlled devices currently belonging to the master device and supporting users to perform subnet division and traffic division as needed. Specifically, the user configuration module supports displaying all devices installed with this system in the network, and lists the interface type and status of each device. Users configure the subnet to which each interface belongs, specify the subnet traffic outlet, and manage the subnet traffic control strategy based on the listed content.

[0069] In order to support the display of the above information, the master control device can manage a global interface status information database, using devices and interfaces as indexes to store the interface status information that needs to be displayed.

[0070] Optionally, the user configuration module of the system may be integrated into the user interface of the main control device, which may include a mobile app, a web configuration interface, a remote management interface, and the like.

[0071] Inter-device communication module 302: responsible for transmitting the physical network interface status of the controlled device and the configuration instructions of the master device. The inter-device communication module can support the communication between the master device and any controlled device, and also support message forwarding between controlled devices.

[0072] When transmitting the physical network interface status of the controlled device, only the master device processes the message from the controlled device, and other controlled devices only forward the message. The message should contain the identifier of the controlled device, the inherent interface information of the different interfaces of the controlled device, and the current interface status.

[0073] When transmitting the configuration instruction of the master device, all controlled devices can receive the instruction as the recipient, and all controlled devices receive the same instruction. The instruction includes a global part and a unique part. The controlled device reads and parses the global part and the unique part that matches the identifier of the controlled device to configure the controlled device.

[0074] The communication and forwarding methods include, but are not limited to, protocols such as EasyMesh, Bluetooth, and Zigbee. The device identifier may be set to a device media access control address (MAC). The inherent interface information of the controlled device may refer to the number and arrangement of the physical network interfaces of the controlled device, and the current interface status of the controlled device may include the switch of the physical network interface, the flow size, and the flow data type.

[0075] The data forwarding module 306 within the device is responsible for data forwarding, traffic isolation and control within the controlled device. The data forwarding module within the device can support forwarding and isolating the traffic of each subnet corresponding to different interfaces of the controlled device according to the configuration instructions of the master device, and perform traffic control according to the data type. Among them, data forwarding within the device can be achieved according to the corresponding relationship between the subnet and the interface in the configuration instructions of the master device.

[0076] The data forwarding module within the device can also support the forwarding of data messages between different interfaces of the controlled device, for example, the WAN side dial-up interface, the LAN side user access interface and the inter-device data forwarding module of the controlled device belonging to the same subnet. The processing of forwarding data messages between different interfaces of the above-mentioned controlled device can obtain forwarding rules based on the forwarding rule database of the controlled device. The forwarding rule database can contain information such as the interface list of each subnet, the forwarding relationship of each interface, and can be updated according to the instructions of the master control device. In addition, the subnet corresponding identifier can be added to the above-mentioned data message for distinction.

[0077] In some embodiments, data forwarding and traffic isolation can be performed through a network bridge inside the controlled device, and data packets of different subnets can be placed in data queues of different priorities to achieve traffic control. In some embodiments, data forwarding and traffic isolation can also be performed through a policy routing mechanism inside the controlled device.

[0078] Inter-device data forwarding module 308: responsible for data forwarding and traffic isolation between multiple controlled devices. The inter-device data forwarding module can support the isolation and transmission of data with different subnet identifiers. The traffic of each subnet is forwarded and isolated according to the configuration instructions of the master device, and the traffic is controlled according to the data type. Among them, data forwarding between devices can be achieved according to the correspondence between the subnet and the identifier in the configuration instructions of the master device.

[0079] The inter-device data forwarding module can also realize data forwarding and traffic isolation functions when wireless and / or wired connections are adopted between controlled devices, and perform traffic isolation according to the subnet to which they belong. The inter-device data forwarding module can determine the subnet to which the data message belongs by querying the forwarding rule database and using the subnet identifier of the data message.

[0080] The data message may be marked with a virtual LAN identifier (VLAN ID) as an identifier for distinguishing subnets. For wireless communication, different channels may be used to distinguish subnets based on the VLAN ID to establish a mapping relationship between channels and subnets.

[0081] Network interface monitoring module 310: responsible for monitoring the various states of the physical network interface of the controlled device. Based on the inherent interface properties of the controlled device, the above interface state should at least include: whether the device is connected, the negotiation rate, the duplex mode, and the real-time rate. The above interface state can also be expanded to include: information such as the flow type and the corresponding type of rate to support flow control based on the flow type, and can also be expanded to include: interface information related to wireless access.

[0082] To manage the above interface status information, the network interface monitoring module can maintain an interface status information database indexed by the interface name, and the aforementioned other modules can read the interface status information database to execute automatic and more precise subnet division strategies and traffic control.

[0083] Based on the above system module, combined with the above embodiment and optional embodiment, an optional implementation is provided. In this optional implementation, a centralized device interface subnet division and traffic isolation method is proposed, and the above method includes the following steps:

[0084] S1, the controlled device generates its inherent interface attributes and current interface status and sends them to the master control device, and the master control device displays the received inherent interface attributes and current interface status of each controlled device.

[0085] The network interface monitoring module of the controlled device obtains the inherent interface attributes and current interface status of the controlled device, and stores them in the interface status information database of the controlled device.

[0086] The inter-device communication module of the controlled device reads the inherent interface attributes and current interface status of the controlled device from the interface status information database of the controlled device, and sends them to the inter-device communication module of the master device. Among them, the inherent interface attributes of the controlled device will only be sent when the controlled device and the master device establish contact for the first time, and the current interface status of the controlled device will be notified to the inter-device communication module of the controlled device to send when it changes, or when the master device actively queries it, it will notify the inter-device communication module of the controlled device to send it.

[0087] The inter-device communication module of the master control device receives the above information and stores it in a global interface status information database managed by the master control device.

[0088] The user configuration module of the master device reads the global interface status information database, and displays the inherent interface attributes and current interface status of all controlled devices accordingly.

[0089] S2, the master device generates a global configuration of subnet division and traffic isolation for the controlled device, and the controlled device updates its data forwarding rule base.

[0090] The user configuration module of the master device displays the inherent interface properties and current interface status of all controlled devices. Based on the displayed inherent interface properties and current interface status, the user can customize the subnet division and traffic isolation of the controlled devices, and can also select subnet division and traffic isolation strategies for the controlled devices.

[0091] The user configuration module of the master device can generate a global configuration of subnet division and traffic isolation for all controlled devices according to the user's custom configuration or subnet division and traffic isolation strategy. When the user only selects the subnet division and traffic isolation strategy, the user configuration module of the master device can generate a global configuration based on the status of different interfaces of all controlled devices. The global configuration includes at least: device information, interface information, subnet configuration and subnet identifier. After obtaining the global configuration, the inter-device communication module of the master device is notified to send the configuration to all controlled devices.

[0092] The inter-device communication module of the controlled device receives the global configuration and notifies the intra-device data forwarding module and the inter-device data forwarding module of the controlled device to process. The intra-device data forwarding module and the inter-device data forwarding module of the controlled device update the forwarding rule database of the controlled device according to the global configuration and the physical network interface status of the controlled device. The forwarding rule database at least includes: the correspondence between the subnet and the interface and the correspondence between the subnet and the identifier.

[0093] S3, the controlled device processes the data forwarded via the network interface of the controlled device according to the forwarding rule database of the controlled device.

[0094] When the data forwarding module within the controlled device receives data from a network interface of the controlled device, it forwards the data to another network interface of the controlled device, or to the inter-device data forwarding module of the controlled device, or directly discards the data according to the forwarding rule database of the controlled device.

[0095] When the inter-device data forwarding module of the controlled device receives data from the intra-device data forwarding module of the controlled device, it can add an identifier of the subnet to the data and then perform inter-device data transmission.

[0096] When the inter-device data forwarding module of a controlled device receives data from another controlled device, it sends the data to the intra-device data forwarding module of the controlled device. The intra-device data forwarding module removes the identifier for the data and forwards it to another network interface of the controlled device, or forwards it to the inter-device data transmission module of the controlled device, or directly discards the data based on the forwarding rule database of the controlled device and the identifier.

[0097] The above steps may be performed several times in the entire forwarding process until the data is forwarded to a network interface of a controlled device.

[0098] The above-mentioned centralized device interface subnet division and traffic isolation system can be deployed in a network with devices of various network interface types or numbers to implement the above-mentioned centralized device interface subnet division and traffic isolation method. Through the acquisition and configuration of the physical network interface status of the device, the subnet division and traffic isolation of the device's data forwarding and transmission, the user can simply, intuitively and quickly configure the interface traffic of the entire network, with good flexibility and ease of use. In addition, the system also supports the configuration of interface management policies only, and automatically manages the interface accurately according to the traffic situation, which further improves flexibility and can manage traffic in complex and changeable scenarios of access devices.

[0099] According to an embodiment of the present invention, a device interface processing apparatus is provided. Figure 4 is a structural block diagram of a device interface processing apparatus according to an embodiment of the present invention. Figure 3 As shown, the device includes: a determination module 402, an acquisition module 404, a division module 406 and a sending module 408. The device is described below.

[0100] A determination module 402 is used to determine one or more controlled devices belonging to a master control device in an access network; an acquisition module 404 is connected to the determination module 402 and is used to obtain interface status information of one or more controlled devices; a division module 406 is connected to the acquisition module 404 and is used to divide traffic for interfaces in one or more controlled devices based on the interface status information of one or more controlled devices, and obtain traffic configuration information of interfaces in one or more controlled devices; a sending module 408 is connected to the division module 406 and is used to send the traffic configuration information of interfaces in one or more controlled devices to corresponding controlled devices respectively.

[0101] It should be noted here that the above-mentioned determination module 402, acquisition module 404, division module 406 and sending module 408 correspond to steps S102 to S108 in the embodiment, and the instances and application scenarios implemented by multiple modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0102] As an optional embodiment, the device further includes: a second division module and a second sending module. The second division module is used to divide the interfaces in one or more controlled devices into subnets based on the interface status information of the one or more controlled devices, and obtain the subnet configuration information of the interfaces in the one or more controlled devices; the second sending module is connected to the second division module, and is used to send the subnet configuration information of the interfaces in the one or more controlled devices to the corresponding controlled devices.

[0103] As an optional embodiment, the division module 406 includes: a determination unit, wherein the determination unit is used to determine the traffic priority of the interface in one or more controlled devices, or allocate bandwidth to the interface in one or more controlled devices, and obtain the traffic configuration information of the interface in one or more controlled devices based on the interface status information of the one or more controlled devices.

[0104] As an optional embodiment, the above-mentioned division module 406 also includes: a first division unit and a second division unit. The first division unit is used to display the interface status information of one or more controlled devices on the display interface, receive the configuration instruction to divide the traffic for the interface in the one or more controlled devices, and obtain the traffic configuration information of the interface in the one or more controlled devices, wherein the configuration instruction is determined based on the interface status information displayed on the display interface; the second division unit is used to directly divide the traffic for the interface in the one or more controlled devices based on the interface status information of the one or more controlled devices, and obtain the traffic configuration information of the interface in the one or more controlled devices.

[0105] As an optional embodiment, the apparatus further includes: a transmission module, wherein the transmission module is used for, when the flow configuration information includes flow configuration information of an interface in the master control device, the master control device to perform data transmission based on the obtained flow configuration information.

[0106] According to an embodiment of the present invention, another device interface processing apparatus is also provided. Figure 5 is a structural block diagram of another device interface processing apparatus according to an embodiment of the present invention. Figure 5 As shown, the device includes: an acquisition module 502, a sending module 504 and a receiving module 506. The device is described below.

[0107] An acquisition module 502 is used to acquire the interface status information of a target controlled device in an access network; a sending module 504 is connected to the acquisition module 502 and is used to send the interface status information to a master device to which the target controlled device belongs; a receiving module 506 is connected to the sending module 504 and is used to receive the flow configuration information sent by the master device, wherein the flow configuration information is obtained by dividing the flow of the interface of the target controlled device based on the interface status information of the controlled device included in the master device.

[0108] It should be noted here that the above-mentioned acquisition module 502, sending module 504 and receiving module 506 correspond to steps S202 to S206 in the embodiment, and the instances and application scenarios implemented by multiple modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment.

[0109] As an optional embodiment, the above-mentioned device further includes: a second receiving module. The second receiving module is used to receive subnet configuration information sent by the master control device, wherein the subnet configuration information is obtained by dividing the interface of the target controlled device into subnets based on the interface status information of the controlled device included in the master control device.

[0110] As an optional embodiment, the above device further includes: a communication module, wherein the communication module is used to communicate between the interface corresponding to the subnet configuration information and the flow configuration information and other interfaces based on the subnet configuration information and the flow configuration information.

[0111] According to an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute any one of the device interface processing methods described above.

[0112] According to an embodiment of the present invention, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes any one of the above-mentioned device interface processing methods when running.

[0113] According to an embodiment of the present invention, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the steps of any one of the above methods are implemented.

[0114] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0115] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0116] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0117] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0118] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0120] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A device interface processing method, characterized in that: include: Determine one or more controlled devices under the master control device in the access network; Acquire interface status information of the one or more controlled devices; Based on the interface status information of the one or more controlled devices, divide the traffic for the interfaces in the one or more controlled devices to obtain the traffic configuration information of the interfaces in the one or more controlled devices; The flow configuration information of the interfaces in the one or more controlled devices is sent to the corresponding controlled devices respectively.

2. The method according to claim 1, characterized in that The method further comprises: Based on the interface status information of the one or more controlled devices, divide the interfaces in the one or more controlled devices into subnets to obtain subnet configuration information of the interfaces in the one or more controlled devices; The subnet configuration information of the interfaces in the one or more controlled devices is sent to the corresponding controlled devices respectively.

3. The method according to claim 1, characterized in that The dividing traffic for interfaces in the one or more controlled devices based on the interface status information of the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices includes: Based on the interface status information of the one or more controlled devices, determine the traffic priority of the interface in the one or more controlled devices, or allocate bandwidth to the interface in the one or more controlled devices, and obtain the traffic configuration information of the interface in the one or more controlled devices.

4. The method according to claim 1, characterized in that: The dividing of traffic for interfaces in the one or more controlled devices based on the interface status information of the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices further includes: Displaying the interface status information of the one or more controlled devices on a display interface, receiving a configuration instruction to divide traffic for interfaces in the one or more controlled devices, and obtaining traffic configuration information of the interfaces in the one or more controlled devices, wherein the configuration instruction is determined based on the interface status information displayed on the display interface; and / or, Based on the interface status information of the one or more controlled devices, traffic is directly divided for the interfaces in the one or more controlled devices to obtain traffic configuration information of the interfaces in the one or more controlled devices.

5. The method according to any one of claims 1 to 4, characterized in that In a case where the traffic configuration information includes traffic configuration information of an interface in the master control device, the master control device performs data transmission based on the obtained traffic configuration information.

6. A device interface processing method, characterized in that: include: Obtaining interface status information of target controlled devices in the access network; Sending the interface status information to the master control device to which the target controlled device belongs; Receive traffic configuration information sent by the master control device, wherein the traffic configuration information is obtained by dividing the traffic of the interface of the target controlled device based on the interface status information of the controlled device included in the master control device.

7. The method according to claim 6, characterized in that The method further comprises: The subnet configuration information sent by the master control device is received, wherein the subnet configuration information is obtained by dividing the interface of the target controlled device into subnets based on the interface status information of the controlled device included in the master control device.

8. The method according to claim 7, characterized in that The method further comprises: Based on the subnet configuration information and the traffic configuration information, communication is performed between interfaces corresponding to the subnet configuration information and the traffic configuration information and other interfaces.

9. A device interface processing device, characterized in that: include: A determination module, used to determine one or more controlled devices under the master control device in the access network; An acquisition module, used to acquire interface status information of the one or more controlled devices; A division module, configured to divide traffic for interfaces in the one or more controlled devices based on the interface status information of the one or more controlled devices, and obtain traffic configuration information of the interfaces in the one or more controlled devices; The sending module is used to send the flow configuration information of the interfaces in the one or more controlled devices to the corresponding controlled devices respectively.

10. A device interface processing apparatus, characterized in that: include: An acquisition module is used to acquire the interface status information of the target controlled device in the access network; A sending module, used for sending the interface status information to the main control device to which the target controlled device belongs; The receiving module is used to receive the flow configuration information sent by the master control device, wherein the flow configuration information is obtained by dividing the flow of the interface of the target controlled device based on the interface status information of the controlled device included in the master control device.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute the device interface processing method according to any one of claims 1 to 8.

12. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein the program executes the device interface processing method described in any one of claims 1 to 8 when running.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.