Disclosure of Invention
The application provides a control method and device of network data and electronic equipment, which are used for avoiding the problem of network link abnormality caused by network equipment failure.
In a first aspect, the present application provides a control method of network data, applied to a control system in a network device, where the network device is composed of the control system, a network processing system, a power module, and a bypass system, the method includes:
determining current running state information of the network equipment; wherein the running state information comprises the running state of the power supply module and/or the running state of the network processing system;
Determining whether the network equipment is abnormal according to the running state information;
if yes, a first control instruction is generated, and the bypass system is controlled to start a fault mechanism through the first control instruction, so that the network equipment is disconnected; if not, generating a second control instruction, and controlling the bypass system to start a data permission mechanism through the second control instruction so as to enable the network equipment to be on line.
According to the embodiment of the application, the control system decoupled from the network processing system is utilized, whether the network equipment is abnormal or not is determined according to the state information of the network equipment, the network equipment is controlled to be off line when the network equipment is abnormal, and the network equipment is controlled to be on line when the network equipment is normal, so that the network equipment can be ensured to normally process network data when the network equipment is on line, and a safe and stable network environment is provided for a user. And when the network equipment is abnormal, the network equipment is controlled to be offline, so that the problem that network link abnormality occurs due to the fact that network data is still received when the network equipment is abnormal is avoided, and the stability of a user network is ensured.
A possible implementation manner, the controlling, by the second control instruction, the bypass system to start a data permission mechanism to bring the network device online includes:
And sending the second control instruction to the bypass system through control IO, so that the bypass system opens a control circuit in the bypass system, and the bypass system receives network data.
A possible implementation manner, the determining current operation state information of the network device includes:
collecting a power supply voltage based on an analog-to-digital conversion controller ADC;
removing noise of the power supply voltage to obtain an analog voltage;
and determining the analog voltage as the running state information of the power supply module.
A possible implementation manner, the determining whether the network device is abnormal according to the operation state information includes:
determining whether the analog voltage is in a voltage calibration range; if not, determining that the analog voltage is abnormal;
and determining that the network device is abnormal in response to the analog voltage abnormality.
A possible implementation manner, the determining current operation state information of the network device includes:
sending heartbeat signals to a network processing system in the network equipment at intervals of a first set time;
determining the running state of the network processing system according to whether the control system receives a feedback signal sent by the network processing system or not at every second set time; wherein the second set time is greater than the first set time;
If yes, determining that the running state of the network processing system is an on-line state; if not, determining the running state of the network processing system as a disconnection state;
and determining the running state of the network processing system as the running state information of the network equipment.
In one possible implementation manner, the generating the second control instruction, and controlling the bypass system to start the data permission mechanism through the second control instruction, after enabling the network device to be on line, further includes:
detecting whether a data transmission channel between the bypass system and the network processing system is normal or not; if not, sending a switching instruction to the network processing system, so that the network processing system is switched from the current data transmission channel to the standby transmission channel of the network processing system based on the switching instruction.
In a second aspect, the present application provides a network device comprising:
a control system for performing the method of the first aspect and any one of the possible implementations;
the network processing system is used for receiving the network data input by the bypass system and processing the network data according to the setting rule to obtain the processed network data; the processed network data is sent to the bypass system and is output through the bypass system;
The bypass system is used for receiving a control instruction of the control system and controlling a control circuit in the bypass system to start a response mechanism corresponding to the control instruction based on the control instruction; receiving the network data in response to a data permission mechanism in the response mechanism, and inputting the network data into the network processing system; receiving the processed network data and outputting the network data; the control instructions include a first control instruction and a second control instruction, the response mechanism includes a start-up failure mechanism corresponding to the first control instruction, and the data grant mechanism corresponding to the second control instruction;
and a power supply module: for powering the network processing system, bypass system, and control system; wherein,
the bypass system is connected with the network processing system based on any group of redundant service ports, the network processing system is connected with the control system based on a bus, and the control system is connected with the bypass system based on control IO; the first circuit in the power module is connected with the network processing system, the second circuit in the power module is connected with the control system and the bypass system, and the second circuit comprises an energy storage capacitor.
In a third aspect, the present application provides a control device for network data, applied to a control system in a network device, where the network device is composed of the control system, a network processing system and a bypass system, the device includes:
state unit: for determining current operational status information of the network device; the running state information comprises the running state of a power supply module of the network equipment and/or the working state of the network processing system;
a determination unit: the network equipment is used for determining whether the network equipment is abnormal according to the running state information;
a first instruction unit: if yes, a first control instruction is generated, and the bypass system is controlled to start a fault mechanism through the first control instruction, so that the network equipment is disconnected;
a second instruction unit: if not, generating a second control instruction, and controlling the bypass system to start a data permission mechanism through the second control instruction so as to enable the network equipment to be on line.
In one possible implementation manner, the second instruction unit is specifically configured to send the second control instruction to the bypass system by controlling IO, so that the bypass system opens a control circuit in the bypass system, and the bypass system receives network data.
A possible implementation manner, the state unit is specifically configured to collect a supply voltage based on an analog-to-digital conversion controller ADC; removing noise of the power supply voltage to obtain an analog voltage; and determining the analog voltage as the running state information of the power supply module.
In one possible embodiment, the determining unit is specifically configured to determine whether the analog voltage is within a voltage calibration range; if not, determining that the analog voltage is abnormal; and determining that the network device is abnormal in response to the analog voltage abnormality.
A possible implementation manner, the state unit is further configured to send a heartbeat signal to a network processing system in the network device at every first set time; determining the running state of the network processing system according to whether the control system receives a feedback signal sent by the network processing system or not at every second set time; wherein the second set time is greater than the first set time; if yes, determining that the running state of the network processing system is an on-line state; if not, determining the running state of the network processing system as a disconnection state; and determining the running state of the network processing system as the running state information of the network equipment.
In a possible implementation manner, the device further comprises a detection unit, specifically configured to detect whether a data transmission channel between the bypass system and the network processing system is normal; if not, sending a switching instruction to the network processing system, so that the network processing system is switched from the current data transmission channel to the standby transmission channel of the network processing system based on the switching instruction.
In a fourth aspect, the present application provides a readable storage medium comprising,
the memory device is used for storing the data,
the memory is configured to store instructions that, when executed by a processor, cause an apparatus comprising the readable storage medium to perform the method of the first aspect and any one of the possible implementations.
In a fifth aspect, the present application provides an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program stored on the memory to implement the method according to the first aspect and any one of the possible implementation manners.
Detailed Description
Aiming at the problem of network link abnormality caused by network equipment failure in the prior art, the embodiment of the application provides a control method of network data, which is applied to a control system in the network equipment and comprises the following steps: the control system determines the current running state information of the network equipment, determines whether the network equipment is abnormal according to the running state information, and then generates corresponding control instructions (a first control instruction or a second control instruction) to control the bypass system to enable the network equipment to be on-line or off-line; therefore, when the network equipment cannot normally operate, the network equipment is controlled to be disconnected, and the problem of network link abnormality caused by the fact that the network equipment cannot normally process the network data when the network data enters the network equipment is avoided.
The method in the embodiment of the application determines the running state information of the network equipment based on the control system heterogeneous with the network processing system, determines the abnormality of the network equipment according to the running state information, discovers the abnormality of the network equipment in time, namely, cannot normally process the network data, generates the first control instruction corresponding to the abnormality of the network equipment, and controls the bypass system to enable the network equipment to be disconnected, so that the network link is not influenced by the network equipment with faults, and the purpose of guaranteeing the network stability of the user is achieved.
It should be noted that, the network device described in the embodiments of the present application may be any network security platform hardware product, and for convenience of description, the network device will be hereinafter collectively referred to as a network device; the control system in the network device may be a health embedded control system having a dynamic detection function.
In order to better understand the above technical solutions, the following detailed description of the technical solutions of the present application is made by using the accompanying drawings and specific embodiments, and it should be understood that the specific features of the embodiments and the embodiments of the present application are detailed descriptions of the technical solutions of the present application, and not limiting the technical solutions of the present application, and the embodiments and the technical features of the embodiments of the present application may be combined with each other without conflict.
Referring to fig. 1, the present application provides a control method of network data, which is applied to a control system in a network device, wherein the network device comprises a control system, a network processing system, a power module and a bypass system. The method is used for avoiding the problem of network link abnormality caused by the failure of network equipment, and specifically comprises the following implementation steps:
step 101: and determining the current running state information of the network equipment.
Wherein the operation state information includes an operation state of the power module and/or an operation state of the network processing system.
Specifically, fig. 2 is a schematic structural diagram of a network device according to an embodiment of the present application. As shown in fig. 2, the network device includes a control system, a network processing system, a power module, and a bypass system. The bypass system is connected with the connector interface and is used for receiving the network data and transmitting the network data to the network processing system for processing. The connector interface may be an RJ45. The control system controls the bypass system by controlling the IO and communicates with the network processing system based on a bus (e.g., an IIC bus) while detecting the status of the power module to determine the operational status of the power module.
Further, when the power module operation state is one of the operation state information, the power supply voltage may be collected based on the digital-to-analog converter ADC. The digital filter may then be used to remove noise from the supply voltage to obtain an analog voltage. The analog voltage may then be used as reference data indicating the stability of the supply voltage as the operating state information of the power supply module.
When the operating state of the network device is one of the state information of the network device, the current state information of the network device may be determined based on the heartbeat monitoring. Specifically, the control system sends a heartbeat signal to the network processing system based on a bus (e.g., IIC bus) every first set time. And then, determining the running state of the network processing system according to whether the control system receives feedback information sent by the network processing system or not at every second set time. The second set time is greater than the first set time. In general, the length of the second set time may be set to be an integer multiple of the length of the first set time.
If yes, namely, at the second set time, the feedback signal sent by the network processing system is received, and the running state of the network processing system is determined to be an on-line state. If not, determining the running state of the network processing system as a disconnection state. And further, the running state (on-line/off-line) of the network processing system can be determined as the running state information of the network equipment.
Step 102: and determining whether the network equipment is abnormal according to the running state information.
Specifically, in response to the network device operating state being a dropped state, the network device anomaly is determined.
Further, it can also be determined whether the analog voltage is in the voltage calibration range, if not, it is determined that the analog voltage is abnormal, that is, the voltage provided by the power supply is unstable.
Further, in response to the analog voltage anomaly, a network device anomaly is determined.
In fact, for the power supply module, in addition to the above-mentioned case of unstable power supply, another possible case is: the network device is turned off, and the power supply is powered down. When the control system determines that the analog voltage is lower than the voltage threshold, the power supply module can be determined to be powered down, so that the related power-down mode parameter can be adjusted, the power-down mode parameter is used as the running state of the power supply module, and the network equipment is determined to be abnormal.
If it is determined that the error occurs, step 103 is executed; if it is determined that it is normal, step 104 is performed.
Step 103: if yes, a first control instruction is generated, and the bypass system is controlled to start a fault mechanism through the first control instruction, so that the network equipment is disconnected.
Specifically, the first control instruction may modify a register parameter in the bypass system to achieve the purpose of controlling a control circuit in the bypass system.
Fig. 3 is a schematic diagram of connection of a control circuit corresponding to a first control command according to an embodiment of the application. As shown in fig. 3, the network port No. 1 and the network port No. 2 are interfaces for receiving network data by the bypass system. When the bypass system controls the bypass system to start a fault mechanism based on the first control instruction, ab in the switches S1 and S2 in the control circuit is conducted, so that the network data No. 1 network port enters and is output from the No. 2 network port through the ab channel, and therefore the network processing system in the network equipment does not receive network data any more, and the network equipment is disconnected at the moment, so that the influence of the network equipment in the fault on a network link is effectively avoided.
Step 104: if not, generating a second control instruction, and controlling the bypass system to start a data permission mechanism through the second control instruction so as to enable the network equipment to be on line.
In particular, the second control instruction may also be used by the control system to modify a register parameter in the bypass system to achieve the purpose of controlling the control circuit in the bypass system.
In the embodiment of the application, the control system sends the second control instruction to the bypass system based on the control IO, so that the bypass system opens the control circuit in the bypass system, and further can receive the network data. The control IO may be GPIO (General Purpose Input/Output Port, general purpose input Output Port).
Fig. 4 is a schematic connection diagram of a control circuit corresponding to a second control instruction according to an embodiment of the present application. As shown in fig. 4, the control system controls ac conduction of the switches S1 and S2 in the control circuit in the bypass system based on the second control instruction, so that after the network data enters the No. 1 network port, the network data enters the bypass system in the direction shown by the arrow, and then is sent to the network processing system. After being processed by the network processing system, the network data is sent from the network processing system to the bypass system in the direction indicated by the arrow, and then is output through the No. 2 network port. At this time, the network device is on line, and the network data can be normally processed and output based on the network processing system.
Further, the embodiment of the application sets a redundant service port, ensures that the network processing system can successfully receive the network data for processing when the bypass system starts a data permission mechanism, and outputs the processed network data. Fig. 5 is a schematic diagram of a redundant service port (i.e., a redundant network port) between a network processing system and a bypass system according to an embodiment of the present application. As shown in fig. 5, in the embodiment of the present application, the number of network ports is set to be even, and 2 network ports are used as a group of network ports, where one network port is used for receiving network data, and the other network is used for outputting the network data to the bypass system. Specifically, a No. 1 net port is set, a No. 2 net port is a first net port group, and a No. 3 net port and a No. 4 net port are set as a second net port group. The first network port and the second network port are redundant network ports, and one network port can be used for transmitting/receiving data each time.
Therefore, after generating the second control instruction and controlling the bypass system to start the data permission mechanism and receive the network data, the control system can also detect whether the data transmission channel for transmitting the network data is normal. If not, a switching instruction is sent to the network processing system, so that the network processing system is switched from the current data transmission channel to the standby data transmission channel based on the switching instruction, namely, the current network port (i.e. the service port) is switched to the redundant network port corresponding to the current network port, and the network data is ensured not to be interrupted. For example, the network processing system is instructed to switch from the first set of traffic ports to the second set of traffic ports.
Further, in the embodiment of the present application, the control system may further receive a remote control of the main processor based on the corresponding message. The remote control may include mode settings such as timer reset, timing period, function enable, channel settings, power down settings, start up settings, etc. parameter settings. And a timer reset instruction for resetting the timer used for determining the first set time or the second set time to zero. The remote control modifies the parameters in the corresponding registers through the control system so as to achieve the purpose of controlling or monitoring other systems.
Fig. 6 is a schematic flow chart of remote control of the control system by the main processor according to the embodiment of the application. As shown in fig. 6, interrupt enable is first turned off to facilitate parameter setting in the relevant registers. And then receiving a message sent by the main process and indicating the setting parameters. The message is then parsed and the corresponding register parameters are modified/set according to the parameters indicated by the message. If the message includes a query instruction, register query information can be set, so that the network processing information queries corresponding content for the network data according to the query instruction. If the message includes the heartbeat information, the timing counting register is cleared so that the control system monitors the heartbeat of the network processing system according to the first set time and the second set time indicated by the heartbeat information. If the message includes information indicating the setting parameters, the parameters in the associated registers may be set based on the message. After the parameter settings/modifications of the relevant registers are completed according to the message, the interrupt enable may be turned on to exit the interrupt routine.
It should be noted that the interrupt enable is used for triggering the control system to control the bypass system when the control system detects that the power supply is abnormal or fails, and notifying the network processing system to stop working.
Fig. 7 is a schematic diagram of a control system according to an embodiment of the present application for performing heartbeat monitoring on a network device and performing power supply monitoring on a power supply module. Wherein, the power supply abnormality comprises power supply failure and unstable power supply. Referring to fig. 7, in an embodiment of the present application, a network device may be initialized at the start-up. The initialization may be for a network device to perform clock configuration, register configuration, IIC communication parameters, etc. And then inquiring the running state of the power supply, and if the running state of the power supply is abnormal, generating a first control instruction and modifying a state register in the bypass system. If the power supply running state is normal, the running state of the network processing system is queried, a first control instruction is still generated, parameters of a state register in the bypass system are modified to control the on/off of a control circuit in the bypass system, network equipment is ensured to process network data in a normal state, and a fault processing mechanism is started in an abnormal state to smoothly run off, so that the condition that the stability of a user network is reduced due to the influence of a network link is avoided. Correspondingly, if the query power state and the network processing state are not abnormal, generating a second control instruction to modify parameters corresponding to the second control instruction in the bypass switch state register, thereby achieving the purpose of controlling the bypass system.
The network device in the embodiment of the application can be deployed between an intranet and an extranet and is used for unpacking, analyzing and analyzing network behavior risks for the network flow data packet, so that the control method for the network data in the steps 101-104 can effectively avoid the problem of the isolation between the intranet and the extranet caused by the failure of the network device, and further effectively reduce the influence of the failure of the network device on enterprise business.
Further, in the embodiment of the present application, a network device is provided, where the control system is configured to execute the control method of the network data in steps 101 to 104.
The network device also comprises a network processing system for receiving the network data input by the bypass system and processing the network data according to the set rule to obtain the processed network data. And sending the processed network data to a bypass system and inputting the network data through the bypass system.
The network device further comprises a bypass system for receiving control instructions of the control system and controlling control circuits in the bypass system to start response mechanisms corresponding to the control instructions based on the control instructions. Receiving network data in response to a data permission mechanism in the response mechanism, and inputting the network data into a network processing system; and receiving the processed network data and outputting the network data. The aforementioned control instructions include a first control instruction, a second control instruction, and the response mechanism includes a start-up failure mechanism corresponding to the first control instruction, and a data grant mechanism corresponding to the second control instruction.
The network device may also include a power module for powering the network processing system, the bypass system, and the control system. The power module comprises a first circuit and a second circuit. The first circuit is composed of a DC/DC and LDO circuit, and is connected with the network processing system and supplies power to the network processing system. The second circuit is a micro-control power supply circuit and supplies power to the control system and the bypass system, and in order to ensure that the control system can generate a first control instruction to control the bypass system when the power supply is abnormal or fails, the second circuit is required to have a power failure delaying function, so that a capacitor can be arranged in the second circuit, and the power failure delaying function is realized based on the charge-discharge principle of the capacitor. Fig. 8 is a schematic diagram of a second circuit according to an embodiment of the application. The current limiter is arranged on the positive side of the capacitor, so that the impact of instantaneous current can be reduced, and the effect of protecting the second circuit is achieved. Fig. 9 is a schematic structural diagram of a power module according to an embodiment of the application. As shown in fig. 9, in the embodiment of the present application, redundant power supplies are provided, including a first power supply and a second power supply. The power supply can be connected to the power supply control channel at the same time, and the power supply control channel is mainly controlled by the MOS tube combined control logic unit to realize the on/off of the first power supply or the second power supply. The control logic unit comprises a comparator and a logic unit, so that the first power supply or the second power supply can be started according to the input and output of external power supply, namely according to the voltage of the input power switch and according to the voltage of the output power switch.
Further, when determining the analog voltage, the control system may monitor the power supply abnormality through the main system voltage monitoring circuit shown in fig. 10, that is, detect the output voltage of the first circuit (i.e., the main system power circuit) in the power module, where the analog circuit may attempt to switch the power supply when the power supply is abnormal, so as to ensure that the network processing system in the network device operates in a stable power supply environment. Further, the control system may further include a total power supply voltage monitoring circuit for monitoring whether power is lost, i.e. whether the power input to the network device via the power switch is turned on. Fig. 11 is a schematic diagram of a total power supply voltage monitoring circuit according to an embodiment of the present application. As shown in fig. 11, the total power supply monitoring circuit includes a comparator Q2, resistors R3 and R4, and a capacitor C1. Wherein, R4 and C1 form a first-order low-pass filter to filter noise of the reference voltage Vref. When the power supply source has power failure, V I Rapidly decreasing, the voltage is lower than the reference voltage Vref, the output voltage Vo of the comparator Q1 is changed from a high level to a low level, and the output signal is output in a step formAnd (5) outputting. The output signal may be received by a microcontroller interrupt interface in the control system for detecting a dip in the voltage input via the power switch.
Further, fig. 12 is a schematic diagram of connection between systems/modules in a network device according to an embodiment of the present application. As shown in fig. 12, the bypass system is connected with the network processing system based on any group of redundant network ports, the control system is connected with the network processing system based on buses, the control system is connected with the bypass system based on control IO, a first circuit in the power module is connected with the network processing system, and a second circuit in the power module is connected with the control system and the bypass system. In the embodiment of the application, reserved IO can be arranged between the network processing system and the control system, so that other forms of signals can be sent between the control system and the network processing system based on the control IO. The control system can also control the control circuit in the IO control bypass system to be closed when the power failure is determined, interrupt the input of network data, ensure that the network data is not input into the network equipment any more, avoid the problem of abnormal communication links caused by the power failure of the network equipment, and further ensure the stability of the user network.
Based on the same inventive concept, the embodiment of the present application provides a control device for network data, where the device is applied to a control system in a network device, where the network device is composed of the control system, a network processing system, a power module and a bypass system, the device corresponds to the control method for network data shown in fig. 1, a specific implementation manner of the device may refer to the description of the foregoing method embodiment part, and details are not repeated, and referring to fig. 13, a single chip microcomputer in the device includes:
State unit 1301: for determining current operational status information of the network device.
The running state information comprises the running state of a power supply module of the network equipment and/or the working state of the network processing system;
the state unit 1301 is specifically configured to collect a supply voltage based on the analog-to-digital conversion controller ADC; removing noise of the power supply voltage to obtain an analog voltage; and determining the analog voltage as the running state information of the power supply module.
The state unit 1301 is further configured to send a heartbeat signal to a network processing system in the network device at intervals of a first set time; determining the running state of the network processing system according to whether the control system receives a feedback signal sent by the network processing system or not at every second set time; wherein the second set time is greater than the first set time; if yes, determining that the running state of the network processing system is an on-line state; if not, determining the running state of the network processing system as a disconnection state; and determining the running state of the network processing system as the running state information of the network equipment.
The determination unit 1302: and the network equipment is used for determining whether the network equipment is abnormal according to the running state information.
The determining unit 1302 is specifically configured to determine whether the analog voltage is within a voltage calibration range; if not, determining that the analog voltage is abnormal; and determining that the network device is abnormal in response to the analog voltage abnormality.
The first instruction unit 1303: and if yes, generating a first control instruction, and controlling the bypass system to start a fault mechanism through the first control instruction so as to enable the network to be disconnected.
A second instruction unit 1304: if not, generating a second control instruction, and controlling the bypass system to start a data permission mechanism through the second control instruction so as to enable the network equipment to be on line.
The second instruction unit 1304 is specifically configured to send the second control instruction to the bypass system by controlling IO, so that the bypass system opens a control circuit in the bypass system, and the bypass system receives network data.
The control device of the network data further comprises a detection unit, which is specifically used for detecting whether a data transmission channel between the bypass system and the network processing system is normal or not; if not, sending a switching instruction to the network processing system, so that the network processing system is switched from the current data transmission channel to the standby transmission channel of the network processing system based on the switching instruction.
Based on the same inventive concept, an embodiment of the present application also provides a readable storage medium including:
the memory device is used for storing the data,
the memory is for storing instructions that, when executed by the processor, cause an apparatus comprising the readable storage medium to perform the method of controlling network data as described above.
Based on the same inventive concept as the control method of network data, the embodiment of the present application further provides an electronic device, where the electronic device may implement the function of the control method of network data, please refer to fig. 14, and the electronic device includes:
at least one processor 1401, and a memory 1402 connected to the at least one processor 1401, the specific connection medium between the processor 1401 and the memory 1402 is not limited in the embodiment of the present application, and the connection between the processor 1401 and the memory 1402 through the bus 1400 is exemplified in fig. 14. The bus 1400 is shown in bold lines in fig. 14, and the manner in which other components are connected is merely illustrative and not limiting. The bus 1400 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 14 for ease of illustration, but does not represent only one bus or one type of bus. Alternatively, the processor 1401 may be referred to as a controller, and is not limited in name.
In an embodiment of the present application, the memory 1402 stores instructions executable by the at least one processor 1401, and the at least one processor 1401 can perform the control method of network data as previously discussed by executing the instructions stored in the memory 1402. The processor 1401 may implement the functions of the respective modules in the apparatus shown in fig. 13.
Wherein the processor 1401 is the control center of the device, and may utilize various interfaces and lines to connect the various parts of the overall control apparatus, and by executing or executing instructions stored in the memory 1402 and invoking data stored in the memory 1402, the various functions of the device and processing the data, thereby overall monitoring the device.
In one possible design, processor 1401 may include one or more processing units, and processor 1401 may integrate an application processor and a modem processor, wherein the application processor primarily processes operating systems, user interfaces, application programs, and the like, and the modem processor primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1401. In some embodiments, processor 1401 and memory 1402 may be implemented on the same chip, and in some embodiments they may be implemented separately on separate chips.
The processor 1401 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, and may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the control method for network data disclosed in connection with the embodiment of the application can be directly embodied as being executed by a hardware processor or by a combination of hardware and software modules in the processor.
Memory 1402 acts as a non-volatile computer readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules. Memory 1402 may include at least one type of storage medium, which may include, for example, flash Memory, hard disk, multimedia card, card Memory, random access Memory (Random Access Memory, RAM), static random access Memory (StaticRandom Access Memory, SRAM), programmable Read Only Memory (Programmable Read OnlyMemory, PROM), read Only Memory (ROM), charged erasable programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic Memory, magnetic disk, optical disk, and the like. Memory 1402 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto. Memory 1402 in embodiments of the present application may also be circuitry or any other device capable of performing memory functions for storing program instructions and/or data.
By programming the processor 1401, the code corresponding to the network data control method described in the foregoing embodiment can be solidified into a chip, so that the chip can execute the steps of the network data control method shown in fig. 1 at the time of operation. How to design and program the processor 1401 is a technology well known to those skilled in the art, and will not be described in detail herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a universal serial bus flash disk (Universal SerialBus flash disk), a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, or other various media capable of storing program codes.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.