CN114173390B - Network control method, device, electronic equipment and storage medium - Google Patents

Network control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114173390B
CN114173390B CN202111481135.0A CN202111481135A CN114173390B CN 114173390 B CN114173390 B CN 114173390B CN 202111481135 A CN202111481135 A CN 202111481135A CN 114173390 B CN114173390 B CN 114173390B
Authority
CN
China
Prior art keywords
network
information
target
analysis result
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111481135.0A
Other languages
Chinese (zh)
Other versions
CN114173390A (en
Inventor
赵天钰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111481135.0A priority Critical patent/CN114173390B/en
Publication of CN114173390A publication Critical patent/CN114173390A/en
Application granted granted Critical
Publication of CN114173390B publication Critical patent/CN114173390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

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

Abstract

The embodiment of the application discloses a network control method, a network control device, electronic equipment and a storage medium. The method comprises the following steps: acquiring network use information corresponding to a network component of a target network, and sending the network use information to a server; then obtaining a network performance index returned by the server; then, carrying out network analysis on the target network according to the network use information so as to obtain a network analysis result corresponding to the target network; and finally, controlling the target network according to the network analysis result and the network performance index. Therefore, the network analysis result and the network performance index are used for controlling the network of the components in the target network, and the network quality is improved.

Description

Network control method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network control method, a device, an electronic device, and a storage medium.
Background
With the development of network technology, networks are becoming more and more diverse, more and more complex, and more electronic devices are connected. When different electronic devices are connected with a network, the network has corresponding network scenes, if the network is not monitored, only a single network decision is adopted, the network configuration is poor, and finally the network quality is poor, such as connection problems, speed problems and the like.
Disclosure of Invention
The embodiment of the application provides a network control method, a network control device, electronic equipment and a storage medium. The network control method can improve the network quality.
In a first aspect, an embodiment of the present application provides a network control method, including:
acquiring network use information corresponding to a network component of a target network, and sending the network use information to a server;
acquiring a network performance index returned by the server;
performing network analysis on the target network according to the network use information to obtain a network analysis result corresponding to the target network;
and controlling the target network according to the network analysis result and the network performance index.
In a second aspect, an embodiment of the present application provides a network control device, including:
the first acquisition module is used for acquiring network use information corresponding to a network component of the target network and sending the network use information to the server;
the second acquisition module is used for acquiring the network performance index returned by the server;
the analysis module is used for carrying out network analysis on the target network according to the network use information so as to obtain a network analysis result corresponding to the target network;
and the control module is used for controlling the target network according to the network analysis result and the network performance index.
In a third aspect, embodiments of the present application provide an electronic device, a memory storing executable program code, and a processor coupled to the memory; the processor invokes the executable program code stored in the memory to execute the steps in the network control method provided in the embodiment of the present application.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform steps in a network control method provided by embodiments of the present application.
In the embodiment of the application, the network usage information corresponding to the network component of the target network is acquired, and the network usage information is sent to the server; then obtaining a network performance index returned by the server; then, carrying out network analysis on the target network according to the network use information so as to obtain a network analysis result corresponding to the target network; and finally, controlling the target network according to the network analysis result and the network performance index. Therefore, the network analysis result and the network performance index are used for controlling the network of the components in the target network, and the network quality is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a network control scenario provided in an embodiment of the present application.
Fig. 2 is a schematic flow chart of a network control method according to an embodiment of the present application.
Fig. 3 is a second flow chart of the network control method according to the embodiment of the present application.
Fig. 4 is a schematic structural diagram of a network control device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
With the development of network technology, networks are becoming more and more diverse, more and more complex, and more electronic devices are connected. When different electronic devices are connected with a network, the network has corresponding network scenes, if the network is not monitored, only a single network decision is adopted, the network configuration is poor, and finally the network quality is poor, such as connection problems, speed problems and the like.
In order to solve the technical problem, the embodiment of the application provides a network control method, a network control device, electronic equipment and a storage medium. The network control method can be applied to various electronic devices, such as a gateway, a router, a computer, a mobile phone and the like.
Referring to fig. 1, fig. 1 is a schematic view of a network control scenario provided in an embodiment of the present application.
As shown in fig. 1, as network technology advances, there are often multiple network components in a network, where a network component may be understood as a single piece of networkable electronic equipment, or a network component may be a single piece of networkable application or system component in the electronic equipment, etc.
The electronic equipment is internally provided with a monitoring unit, an aggregation unit, a quality analysis unit and a fusing unit. The monitoring unit may detect and acquire network usage information corresponding to each network component, for example, the network usage information includes at least one of traffic information, bandwidth information, port information, and internet protocol address information. Specifically, the monitoring unit may obtain network flow information and data volume information corresponding to each network component, where the network flow information is a unidirectional packet flow transmitted between a source IP (Internet Protocol) address and a destination IP address in a period of time. The data amount information is a set of ordered data sequences of bytes having a start point and an end point, and the data stream includes an input stream and an output stream. The monitoring unit may also determine information such as bandwidth, throughput data, etc. corresponding to each network component. The monitoring unit is connected with the aggregation unit and the quality analysis unit, and the monitoring unit can send the monitored network use information to the aggregation unit and the quality analysis unit.
The aggregation unit is used for monitoring the cloud database to provide performance indexes corresponding to the network. For example, the aggregation unit may be connected to a server, and the server may send the network performance index corresponding to the target network to the aggregation unit. The aggregation unit may also analyze the network congestion index of the target network.
And the quality analyzer can analyze the target network according to the network use information. For example, the quality analyzer may sense and predict the data flow corresponding to each network component, thereby obtaining the corresponding network analysis result. The quality analyzer is also coupled to each of the network components, and the quality analyzer can transmit the network analysis results to the corresponding network component.
The fusing unit is connected with the aggregation unit, the aggregation unit can send the congestion index to the fusing unit after analyzing the congestion index of the target network, and the fusing unit controls fusing with the corresponding network component according to the congestion index, so that some networks are disconnected from the target network by using the abnormal network component.
In the embodiment of the application, the network components in the target network are monitored, and the network performance index is acquired, so that the connection condition of each network component and the target network is better configured, and the quality of the target network is improved.
For a more detailed understanding of the network control method provided in the embodiments of the present application, please refer to fig. 2, fig. 2 is a first flow chart of the network control method provided in the embodiments of the present application. The network control method may include the steps of:
110. and acquiring network use information corresponding to the network component of the target network, and sending the network use information to the server.
In some embodiments, the electronic device may obtain network usage information corresponding to a network component of the target network, and send the network usage information to the server. Wherein the electronic device may be an electronic device having network analysis and processing capabilities.
In the target network, there is at least one network component, which may be an electronic device of an entity, or may be a virtual application or system component.
Specifically, the electronic device may obtain at least one of flow information, bandwidth information, port information, and internet protocol address information corresponding to the network component; and then determining network usage information corresponding to the network component according to at least one of traffic information, bandwidth information, port information and Internet protocol address information.
The electronic device may also record the data flow information corresponding to the network component, and then determine the bit rate and the corresponding transmission rate in the data flow information, and may also determine the processing capability and the storage capability of the network component corresponding to the data flow. The electronic device may generate network usage information from the data stream information.
In some embodiments, after the electronic device obtains the network usage information corresponding to the network component, the network usage information may be sent to a server, and the server may store and analyze the network usage information. It should be noted that each network component has corresponding network usage information.
120. And acquiring a network performance index returned by the server.
In some embodiments, after the server receives the network usage information, a corresponding network performance index may be allocated to the target network according to the network usage information, for example, the network performance index allocated to the target network includes network index information such as a maximum bandwidth, a maximum connection number, a maximum rate, a maximum network load, and the like.
130. And carrying out network analysis on the target network according to the network use information so as to obtain a network analysis result corresponding to the target network.
In some embodiments, after the electronic device obtains the network usage information, the network usage information may be analyzed, and then a network analysis result corresponding to the network usage information may be obtained. For example, the electronic device may determine, according to the network usage information, target data flow information corresponding to the network component in the target time period, and then obtain, according to the target data flow information and historical data flow information corresponding to the network component in the historical time period, an analysis result corresponding to the target network.
For example, a historical time period is determined, and then historical data flow information corresponding to the historical time period is determined. Then, determining that the historical time period is in the current corresponding target time period, and then determining the target data flow information corresponding to the target time period. Wherein the data flow information includes transmission rate, data size, congestion level, etc.
And comparing the target data stream information with the historical data stream information to obtain the similarity of the target data stream information and the historical data stream information, and finally determining an analysis result corresponding to the target network according to the similarity. And if the similarity is within the preset similarity range, determining a historical analysis result corresponding to the historical data stream information as an analysis result corresponding to the target network.
For example, comparing the target data stream information with the historical data amount information, if the similarity between the target data stream information and the historical data stream information is more than ninety five percent, the target data stream information and the historical data stream information are similar, and at this time, the historical analysis result corresponding to the historical data stream information can be directly determined as the analysis result corresponding to the target network, so that the calculation amount of the electronic equipment can be saved.
If the similarity corresponding to the target data flow information and the historical data volume information is not in the preset similarity range, determining an analysis result corresponding to the target network according to the flow information and the bandwidth information in the network use information.
For example, in some embodiments, the electronic device may further obtain traffic information in the network usage information, and if the total traffic of the electronic device is limited, the network analysis result corresponding to the target network may be determined according to the traffic information and the total traffic. For example, the network analysis results in less traffic, or more traffic.
In some embodiments, the electronic device may further determine maximum bandwidth information corresponding to the network component according to the network usage information, and then determine a network congestion index corresponding to the target network according to the maximum bandwidth information and the available bandwidth information, where the network analysis result includes the network congestion index.
140. And controlling the target network according to the network analysis result and the network performance index.
In some embodiments, after the electronic device obtains the network analysis result and the network performance index, the network analysis result and the network performance index may be sent to the network component, feedback information returned by the network component is obtained, and finally, the target network is controlled according to the feedback information.
For example, after the network component receives the network analysis result and the network performance index, it may determine whether to continue using the target network according to its own network usage. For example, when the network analysis result is that the flow is insufficient and the network performance index is that the bandwidth is reduced, when the network component with larger network flow and network bandwidth requirements continues to connect to the target network, the network component can not be brought to the requirements, so that the network component can send feedback information for stopping connecting to the target network to the electronic device, and the electronic device can control the target network to disconnect from the network component after receiving the feedback information.
If the network component with the more effective network flow and network bandwidth requirements continues to connect with the target network, the target network safely meets the requirements of the network component, and at the moment, the network component sends feedback information of continuing connection to the electronic equipment, and the electronic equipment continues to control the connection of the target network and the network component according to the feedback information.
In some embodiments, the electronic device may also actively control the connection with the network components according to the network analysis result and the network performance index, for example, the electronic device determines that the bandwidth and the rate of the target network are limited according to the network performance index, the electronic device determines that the traffic and the bandwidth consumed by some network components are abnormal according to the network analysis result, and the electronic device may actively disconnect the target network from the network components, so as to ensure that the target network has sufficient bandwidth and traffic. Thereby improving network quality.
In some embodiments, the electronic device may determine whether the network congestion index is within a preset congestion index range, and if the network congestion index is within the preset congestion index range, control the network according to the network congestion index and the network performance index. For example, when the network congestion index is within the preset congestion index range, the network performance index is reduced, for example, the remaining available bandwidth is reduced, and at this time, the electronic device may control the maximum bandwidth available to each network component according to the network congestion index and the network performance index.
If the network congestion index is not in the preset congestion index range, the target network is indicated to be congested, at the moment, the electronic equipment can select the target network component from the plurality of network components, and then the connection between the target network and the target network component is disconnected, so that the target network is ensured to have enough bandwidth, and the network quality of the target network is ensured.
In the embodiment of the application, the network usage information corresponding to the network component of the target network is acquired, and the network usage information is sent to the server; then obtaining a network performance index returned by the server; then, carrying out network analysis on the target network according to the network use information so as to obtain a network analysis result corresponding to the target network; and finally, controlling the target network according to the network analysis result and the network performance index. Therefore, the network analysis result and the network performance index are used for controlling the network of the components in the target network, and the network quality is improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a network control method according to an embodiment of the present application. The network control method may include the steps of:
201. and acquiring at least one of flow information, bandwidth information, port information and Internet protocol address information corresponding to the network component.
Specifically, the electronic device may obtain at least one of flow information, bandwidth information, transmission rate information, port information, and internet protocol address information corresponding to the network component. For example, the traffic information may be traffic consumed by each network component, the bandwidth information may be bandwidth corresponding to each network component, and the transmission rate information may be a total data amount of each network component over a period of time divided by the bandwidth corresponding to the network component.
202. And determining network use information corresponding to the network component according to at least one of traffic information, bandwidth information, port information and Internet protocol address information.
In some embodiments, the electronic device may determine network usage information corresponding to the network component according to at least one of traffic information, bandwidth information, port information, and internet protocol address information, and then encapsulate the information.
In the process of packaging the flow information, the bandwidth information, the port information and the Internet protocol address information by the electronic equipment, the electronic equipment can be packaged by adopting a corresponding encryption algorithm, so that the information leakage of network use is prevented.
In some embodiments, the electronic device may further record data flow information corresponding to the network component, and then determine a bit rate and a corresponding transmission rate in the data flow information, and may further determine a processing capability and a storage capability of the network component corresponding to the data flow, and so on. The electronic device may generate network usage information from the data stream information.
203. And sending the network use information to a server, and acquiring the network performance index returned by the server.
In some embodiments, after determining the network usage information corresponding to the network component, the electronic device may send the network usage information to a server, and the server may issue the network performance index according to the network usage information. For example, after the server receives the network usage information, a corresponding network performance index may be allocated to the target network according to the network usage information, where the network performance index allocated to the target network includes network index information such as a maximum bandwidth, a maximum connection number, a maximum rate, a maximum network load, and the like.
204. And determining the corresponding target data flow information of the network component in the target time period according to the network use information.
For example, a historical time period is determined, and then historical data flow information corresponding to the historical time period is determined. Then, determining that the historical time period is in the current corresponding target time period, and then determining the target data flow information corresponding to the target time period. Wherein the data flow information includes transmission rate, data size, congestion level, etc.
205. And comparing the target data stream information with the historical data stream information to obtain the similarity of the target data stream information and the historical data stream information.
For example, comparing the transmission rate in the target data stream information with the transmission rate in the historical data stream information to obtain the similarity of the target data stream information and the historical data stream information, and finally determining the analysis result corresponding to the target network according to the similarity.
206. And determining an analysis result corresponding to the target network according to the similarity.
And if the similarity is within the preset similarity range, determining a historical analysis result corresponding to the historical data stream information as an analysis result corresponding to the target network.
For example, comparing the target data stream information with the historical data amount information, if the similarity between the target data stream information and the historical data stream information is more than ninety five percent, the target data stream information and the historical data stream information are similar, and at this time, the historical analysis result corresponding to the historical data stream information can be directly determined as the analysis result corresponding to the target network, so that the calculation amount of the electronic equipment can be saved.
If the similarity corresponding to the target data flow information and the historical data volume information is not in the preset similarity range, determining an analysis result corresponding to the target network according to the flow information and the bandwidth information in the network use information.
For example, in some embodiments, the electronic device may further obtain traffic information in the network usage information, and if the total traffic of the electronic device is limited, the network analysis result corresponding to the target network may be determined according to the traffic information and the total traffic. For example, the network analysis results in less traffic, or more traffic.
In some embodiments, the electronic device may further determine maximum bandwidth information corresponding to the network component according to the network usage information, and then determine a network congestion index corresponding to the target network according to the maximum bandwidth information and the available bandwidth information, where the network analysis result includes the network congestion index.
207. And sending the network analysis result and the network performance index to the network component, and acquiring feedback information returned by the network component.
For example, after the network component receives the network analysis result and the network performance index, it may determine whether to continue using the target network according to its own network usage. For example, when the network analysis result is that the flow is insufficient and the network performance index is that the bandwidth is reduced, when the network component with larger network flow and network bandwidth requirements continues to connect to the target network, the network component can not be brought to the requirements, so that the network component can send feedback information for stopping connecting to the target network to the electronic device, and the electronic device can control the target network to disconnect from the network component after receiving the feedback information.
If the network component with the more effective network flow and network bandwidth requirements continues to connect with the target network, the target network safely meets the requirements of the network component, and at the moment, the network component sends feedback information of continuing connection to the electronic equipment, and the electronic equipment continues to control the connection of the target network and the network component according to the feedback information.
208. And controlling the target network according to the feedback information.
For example, when the electronic device confirms that the feedback information is continuous connection, the control target network and the network component continue to be connected. And when the electronic equipment confirms that the feedback information is disconnected, the target network and the network component are controlled to be disconnected. Thereby guaranteeing the network use quality.
In some embodiments, the electronic device may also actively control the connection with the network components according to the network analysis result and the network performance index, for example, the electronic device determines that the bandwidth and the rate of the target network are limited according to the network performance index, the electronic device determines that the traffic and the bandwidth consumed by some network components are abnormal according to the network analysis result, and the electronic device may actively disconnect the target network from the network components, so as to ensure that the target network has sufficient bandwidth and traffic. Thereby improving network quality.
In some embodiments, the electronic device may determine whether the network congestion index is within a preset congestion index range, and if the network congestion index is within the preset congestion index range, control the network according to the network congestion index and the network performance index. For example, when the network congestion index is within the preset congestion index range, the network performance index is reduced, for example, the remaining available bandwidth is reduced, and at this time, the electronic device may control the maximum bandwidth available to each network component according to the network congestion index and the network performance index.
If the network congestion index is not in the preset congestion index range, the target network is indicated to be congested, at the moment, the electronic equipment can select the target network component from the plurality of network components, and then the connection between the target network and the target network component is disconnected, so that the target network is ensured to have enough bandwidth, and the network quality of the target network is ensured.
In the embodiment of the application, the electronic device obtains at least one of traffic information, bandwidth information, port information and internet protocol address information corresponding to the network component. And determining network use information corresponding to the network component according to at least one of traffic information, bandwidth information, port information and Internet protocol address information. And sending the network use information to a server, and acquiring the network performance index returned by the server. And determining the corresponding target data flow information of the network component in the target time period according to the network use information, and comparing the target data flow information with the historical data flow information to obtain the similarity of the target data flow information and the historical data flow information. And determining an analysis result corresponding to the target network according to the similarity, finally sending the network analysis result and the network performance index to the network component, acquiring feedback information returned by the network component, and controlling the target network according to the feedback information. Thereby improving network quality.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a network control device according to an embodiment of the present application. The network control device includes:
the first obtaining module 310 is configured to obtain network usage information corresponding to a network component of the target network, and send the network usage information to the server.
The first obtaining module 310 is further configured to obtain at least one of traffic information, bandwidth information, port information, and internet protocol address information corresponding to the network component; and determining network use information corresponding to the network component according to at least one of traffic information, bandwidth information, port information and Internet protocol address information.
A second obtaining module 320, configured to obtain the network performance index returned by the server.
The analysis module 330 is configured to perform network analysis on the target network according to the network usage information, so as to obtain a network analysis result corresponding to the target network.
The analysis module 330 is further configured to determine maximum bandwidth information corresponding to the network component according to the network usage information; and determining a network congestion index corresponding to the target network according to the maximum bandwidth information and the available bandwidth information, wherein the network analysis result comprises the network congestion index.
The analysis module 330 is further configured to determine, according to the network usage information, target data flow information corresponding to the network component in the target time period; and obtaining an analysis result corresponding to the target network according to the target data flow information and the historical data flow information corresponding to the network component in the historical time period.
The analysis module 330 is further configured to compare the target data stream information with the historical data stream information to obtain a similarity between the target data stream information and the historical data stream information; and determining an analysis result corresponding to the target network according to the similarity.
The analysis module 330 is further configured to determine a historical analysis result corresponding to the historical data flow information as an analysis result corresponding to the target network if the similarity is within a preset similarity range.
And the control module 340 is configured to control the target network according to the network analysis result and the network performance index.
The control module 340 is further configured to send a network analysis result and a network performance index to the network component, and obtain feedback information returned by the network component; and controlling the target network according to the feedback information.
In the embodiment of the application, the network usage information corresponding to the network component of the target network is acquired, and the network usage information is sent to the server; then obtaining a network performance index returned by the server; then, carrying out network analysis on the target network according to the network use information so as to obtain a network analysis result corresponding to the target network; and finally, controlling the target network according to the network analysis result and the network performance index. Therefore, the network analysis result and the network performance index are used for controlling the network of the components in the target network, and the network quality is improved.
Accordingly, the embodiment of the present application further provides an electronic device, as shown in fig. 5, which may include an input unit 401, a display unit 402, a memory 403 including one or more computer readable storage media, a sensor 405, a processor 404 including one or more processing cores, and a power supply 406. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the input unit 401 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 401 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 404, and can receive commands from the processor 404 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface, the input unit 401 may also comprise other input devices. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 402 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of an electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 402 may include a display panel, which may optionally be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is communicated to the processor 404 to determine a type of touch event, and the processor 404 then provides a corresponding visual output on the display panel based on the type of touch event. Although in fig. 5 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The memory 403 may be used to store software programs and modules, and the processor 404 may execute various functional applications and data processing by executing the software programs and modules stored in the memory 403. The memory 403 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device (such as audio data, phonebooks, etc.), and the like. In addition, memory 403 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 403 may also include a memory controller to provide access to the memory 403 by the processor 404 and the input unit 401.
The electronic device may also include at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the device is stationary, and the device can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the electronic device are not described in detail herein.
The processor 404 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 403 and calling data stored in the memory 403, thereby performing overall monitoring of the electronic device. Optionally, processor 404 may include one or more processing cores; preferably, the processor 404 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 404.
The electronic device also includes a power supply 406 (e.g., a battery) for powering the various components, which may be logically connected to the processor 404 via a power management system that performs functions such as managing charge, discharge, and power consumption. The power supply 406 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the processor 404 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 403 according to the following instructions, and the processor 404 executes the application programs stored in the memory 403, so as to implement various functions:
acquiring network use information corresponding to a network component of a target network, and sending the network use information to a server;
acquiring a network performance index returned by a server;
performing network analysis on the target network according to the network use information to obtain a network analysis result corresponding to the target network;
and controlling the target network according to the network analysis result and the network performance index.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform steps in any of the network control methods provided by the embodiments of the present application. For example, the instructions may perform the steps of:
acquiring network use information corresponding to a network component of a target network, and sending the network use information to a server;
acquiring a network performance index returned by a server;
performing network analysis on the target network according to the network use information to obtain a network analysis result corresponding to the target network;
and controlling the target network according to the network analysis result and the network performance index.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium may perform steps in any network control method provided in the embodiments of the present application, so that the beneficial effects that any network control method provided in the embodiments of the present application can achieve are detailed in the previous embodiments, and are not repeated herein.
The foregoing describes in detail a network control method, apparatus, electronic device and storage medium provided in the embodiments of the present application, and specific examples are applied to describe the principles and implementations of the present application, where the descriptions of the foregoing embodiments are only used to help understand the methods and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (7)

1. A network control method, comprising:
acquiring network use information corresponding to a network component of a target network, and sending the network use information to a server;
acquiring a network performance index returned by the server;
determining historical data flow information of the network component in a preset historical time period and corresponding target data flow information in a target time period associated with the historical time period according to the network use information;
comparing the target data stream information with the historical data stream information to obtain the similarity of the target data stream information and the historical data stream information;
if the similarity is within a preset similarity range, determining a historical analysis result corresponding to the historical data stream information as an analysis result corresponding to the target network;
and sending the network analysis result and the network performance index to the network component, acquiring feedback information returned by the network component, and controlling the target network according to the feedback information.
2. The network control method according to claim 1, wherein the obtaining network usage information corresponding to the network component of the target network includes:
acquiring at least one of flow information, bandwidth information, port information and Internet protocol address information corresponding to the network component;
and determining network use information corresponding to the network component according to at least one of the flow information, the bandwidth information, the port information and the Internet protocol address information.
3. The network control method according to claim 1, wherein the performing network analysis on the target network according to the network usage information to obtain a network analysis result corresponding to the target network includes:
determining maximum bandwidth information corresponding to the network component according to the network usage information;
and determining a network congestion index corresponding to the target network according to the maximum bandwidth information and the available bandwidth information, wherein the network analysis result comprises the network congestion index.
4. The network control method according to claim 3, wherein the controlling the target network according to the analysis result and the network performance index comprises:
determining whether the network congestion index is within a preset congestion index range;
and if the network congestion index is within the preset congestion index range, controlling the network according to the network congestion index and the network performance index.
5. A network control apparatus, comprising:
the first acquisition module is used for acquiring network use information corresponding to a network component of the target network and sending the network use information to the server;
the second acquisition module is used for acquiring the network performance index returned by the server;
the analysis module is used for determining historical data flow information of the network component in a preset historical time period and corresponding target data flow information in a target time period related to the historical time period according to the network use information, comparing the target data flow information with the historical data flow information to obtain the similarity of the target data flow information and the historical data flow information, and determining a historical analysis result corresponding to the historical data flow information as an analysis result corresponding to the target network if the similarity is in a preset similarity range;
and the control module is used for sending the network analysis result and the network performance index to the network component, acquiring feedback information returned by the network component and controlling the target network according to the feedback information.
6. An electronic device, comprising:
a memory storing executable program code, a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the steps in the network control method according to any one of claims 1 to 4.
7. A computer readable storage medium, characterized in that the storage medium stores a plurality of instructions adapted to be loaded by a processor for performing the steps in the network control method of any one of claims 1 to 4.
CN202111481135.0A 2021-12-06 2021-12-06 Network control method, device, electronic equipment and storage medium Active CN114173390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111481135.0A CN114173390B (en) 2021-12-06 2021-12-06 Network control method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111481135.0A CN114173390B (en) 2021-12-06 2021-12-06 Network control method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114173390A CN114173390A (en) 2022-03-11
CN114173390B true CN114173390B (en) 2024-01-19

Family

ID=80483543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111481135.0A Active CN114173390B (en) 2021-12-06 2021-12-06 Network control method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114173390B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756381A (en) * 2005-09-16 2006-04-05 惠州Tcl移动通信有限公司 Mobile network real-time transmission storing method and system
CN101521607A (en) * 2009-04-13 2009-09-02 重庆重邮东电通信技术有限公司 Method and device for testing Ethernet network performance
CN102014030A (en) * 2010-12-31 2011-04-13 湖南神州祥网科技有限公司 Network performance measurement diagnostic method and system based on transmission control protocol (TCP)
CN107135525A (en) * 2017-06-21 2017-09-05 天津光电通信技术有限公司 A kind of method that WiFi automatically switches with cellular mo-bile data network
CN107332715A (en) * 2017-08-14 2017-11-07 飞思达技术(北京)有限公司 Active Performance test plus the network application system and its implementation of passive shunting control
WO2017206883A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Application processing method and apparatus, storage medium, and electronic device
CN107508815A (en) * 2017-08-30 2017-12-22 杭州安恒信息技术有限公司 Based on website traffic analysis and early warning method and device
CN107766656A (en) * 2017-10-19 2018-03-06 贵州电网有限责任公司电力科学研究院 Steam turbine valve traffic characteristics analysis method based on historical data regression analysis
CN110311812A (en) * 2019-06-24 2019-10-08 深圳市腾讯计算机系统有限公司 A kind of network analysis method, device and storage medium
WO2019232815A1 (en) * 2018-06-08 2019-12-12 深圳市科迈爱康科技有限公司 Method for controlling unmanned aerial vehicle, device, apparatus, storage medium, and unmanned aerial vehicle
CN111279742A (en) * 2017-11-06 2020-06-12 T移动美国公司 Spectrum sharing system for telecommunication network traffic
CN111614529A (en) * 2020-05-28 2020-09-01 深圳市欧瑞博科技股份有限公司 Intelligent household control panel, network management method thereof and electronic equipment
WO2021077293A1 (en) * 2019-10-22 2021-04-29 华为技术有限公司 Communication method and apparatus, and device and system
CN113037595A (en) * 2021-03-29 2021-06-25 北京奇艺世纪科技有限公司 Abnormal device detection method and device, electronic device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7136638B2 (en) * 2002-10-25 2006-11-14 Nokia Corporation Method and system for analyzing a network environment and network parameters
US7496480B2 (en) * 2003-08-15 2009-02-24 National Instruments Corporation Sweep manager for signal analysis
US9274834B2 (en) * 2012-08-25 2016-03-01 Vmware, Inc. Remote service for executing resource allocation analyses for computer network facilities
MY172616A (en) * 2013-03-13 2019-12-06 Telekom Malaysia Berhad A system for analysing network traffic and a method thereof
US10574673B2 (en) * 2015-07-15 2020-02-25 Guangzhou Ucweb Computer Technology Co., Ltd. Network attack determination method, secure network data transmission method, and corresponding apparatus
CN107094294B (en) * 2016-02-18 2020-06-02 腾讯科技(深圳)有限公司 Network connection method and device
US11601552B2 (en) * 2016-08-24 2023-03-07 Gridspace Inc. Hierarchical interface for adaptive closed loop communication system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756381A (en) * 2005-09-16 2006-04-05 惠州Tcl移动通信有限公司 Mobile network real-time transmission storing method and system
CN101521607A (en) * 2009-04-13 2009-09-02 重庆重邮东电通信技术有限公司 Method and device for testing Ethernet network performance
CN102014030A (en) * 2010-12-31 2011-04-13 湖南神州祥网科技有限公司 Network performance measurement diagnostic method and system based on transmission control protocol (TCP)
WO2017206883A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Application processing method and apparatus, storage medium, and electronic device
CN107135525A (en) * 2017-06-21 2017-09-05 天津光电通信技术有限公司 A kind of method that WiFi automatically switches with cellular mo-bile data network
CN107332715A (en) * 2017-08-14 2017-11-07 飞思达技术(北京)有限公司 Active Performance test plus the network application system and its implementation of passive shunting control
CN107508815A (en) * 2017-08-30 2017-12-22 杭州安恒信息技术有限公司 Based on website traffic analysis and early warning method and device
CN107766656A (en) * 2017-10-19 2018-03-06 贵州电网有限责任公司电力科学研究院 Steam turbine valve traffic characteristics analysis method based on historical data regression analysis
CN111279742A (en) * 2017-11-06 2020-06-12 T移动美国公司 Spectrum sharing system for telecommunication network traffic
WO2019232815A1 (en) * 2018-06-08 2019-12-12 深圳市科迈爱康科技有限公司 Method for controlling unmanned aerial vehicle, device, apparatus, storage medium, and unmanned aerial vehicle
CN110311812A (en) * 2019-06-24 2019-10-08 深圳市腾讯计算机系统有限公司 A kind of network analysis method, device and storage medium
WO2021077293A1 (en) * 2019-10-22 2021-04-29 华为技术有限公司 Communication method and apparatus, and device and system
CN111614529A (en) * 2020-05-28 2020-09-01 深圳市欧瑞博科技股份有限公司 Intelligent household control panel, network management method thereof and electronic equipment
CN113037595A (en) * 2021-03-29 2021-06-25 北京奇艺世纪科技有限公司 Abnormal device detection method and device, electronic device and storage medium

Also Published As

Publication number Publication date
CN114173390A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
WO2015090248A1 (en) Server overload protection method and device
CN106708554B (en) Program operating method and device
CN108039963B (en) Container configuration method and device and storage medium
WO2020007144A1 (en) Switching method and device for split screen application, storage medium and electronic device
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
US20150043312A1 (en) Sound playing method and device thereof
CN112003978A (en) Conference management interface display method and device, storage medium and terminal equipment
CN114428546A (en) Background application cleaning method and device, storage medium and terminal equipment
CN105577712B (en) A kind of file uploading method, device and system
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN114173390B (en) Network control method, device, electronic equipment and storage medium
WO2016019695A1 (en) Voice interaction method and terminal
CN115118636B (en) Method and device for determining network jitter state, electronic equipment and storage medium
CN115348256A (en) Posting data downloading method and device, storage medium and electronic equipment
CN114338770A (en) Cross-block-chain data processing method and device, storage medium and terminal equipment
CN113891492A (en) Device connection method, device, electronic device and storage medium
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
CN114143711B (en) Information processing method, information processing device, electronic equipment and storage medium
CN114095585B (en) Data transmission method, device, storage medium and electronic equipment
CN112114649B (en) Temperature adjusting method and device, storage medium and mobile terminal
CN112565284B (en) Access control method and device for components in application program and electronic equipment
CN112218338B (en) Data acquisition method and system, storage medium and mobile terminal
CN111488123B (en) Storage space management method and device, storage medium and mobile terminal
CN115118508B (en) Data management method, device, electronic equipment and storage medium
CN110673902B (en) Page display method and device and storage medium

Legal Events

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