CN110856274B - Cable flow processing method and device - Google Patents
Cable flow processing method and device Download PDFInfo
- Publication number
- CN110856274B CN110856274B CN201810954628.3A CN201810954628A CN110856274B CN 110856274 B CN110856274 B CN 110856274B CN 201810954628 A CN201810954628 A CN 201810954628A CN 110856274 B CN110856274 B CN 110856274B
- Authority
- CN
- China
- Prior art keywords
- cable
- detector
- manager
- flow
- wireless communication
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000005111 flow chemistry technique Methods 0.000 title description 2
- 238000004891 communication Methods 0.000 claims abstract description 72
- 239000000523 sample Substances 0.000 claims abstract description 22
- 238000012545 processing Methods 0.000 claims abstract description 15
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000012856 packing Methods 0.000 claims 2
- 238000012423 maintenance Methods 0.000 abstract description 25
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000003672 processing method Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000003999 initiator Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention provides a method and a device for processing the flow of a cable, wherein the method comprises the following steps: when the cable is accessed into the communication equipment and the cable power supply PoE supplies power, starting operation is executed; after the startup is successful, establishing a wireless communication link with the manager; detecting, by the probe, a flow of data transmitted in the cable; sending traffic of the cable to the manager over the wireless communication link. The flow of the corresponding detector acquisition cable of each cable configuration is managed in the manager unification, and the operation and maintenance personnel of conveniently carrying out the operation and maintenance work, have improved the simplicity and convenience of operation and maintenance work greatly.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing cable traffic.
Background
In a computer room or other location where a large number of computing devices are deployed, it is often necessary to deploy a large number of cables, such as network cables, making the location relatively cluttered with cabling.
In order to ensure the normal operation of the computing device, operations and maintenance are often required, for example, traffic management, finding a specific cable (such as a cable with an abnormal port), and the like.
For traffic management, it is now common to count the traffic used by a computing device in the computing device, so as to perform traffic management.
However, in the cables accessed in the computing devices, especially the wireless access points, there may be other computing devices accessing the cables (including the wireless access points) in parallel, which results in that the traffic counted by one of the computing devices is smaller than the actual traffic, the accuracy is lower, and the effect of traffic management is affected.
For searching for a specified cable, at present, operation and maintenance personnel manually check the ports one by one, so that the searching workload is large, and the time consumption is long.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing the flow of a cable, which are used for solving the problem that operation and maintenance work is very difficult under the condition that the number of cables is large and the number of access computing devices is large.
According to an aspect of the present invention, there is provided a cable traffic processing method, applied in a detector, where the detector is connected to a cable power PoE in a cable, and a probe of the detector is embedded in the cable, the method includes:
when the cable is accessed into the communication equipment and the cable power supply PoE supplies power, starting operation is executed;
after the startup is successful, establishing a wireless communication link with the manager;
detecting, by the probe, a flow of data transmitted in the cable;
sending traffic of the cable to the manager over the wireless communication link.
Optionally, the detector has a voltage converter connected to the cable power source PoE;
the executing the boot operation includes:
receiving current of a first voltage value transmitted by the cable power supply PoE;
converting, by the voltage converter, the current from the first voltage value to a second voltage value suitable for the detector;
and executing starting operation under the current supply of the second voltage value.
Optionally, the detector has an indicator light, the method further comprising:
receiving a hunting instruction sent by the manager through the wireless communication link;
and driving the indicator light to flash according to the line hunting instruction in a first mode.
Optionally, the detector has an indicator light, the method further comprising:
receiving an alarm instruction sent by the manager through the wireless communication link when the flow of the cable exceeds a preset flow threshold;
and driving the indicator light to flash according to the alarm instruction in a second mode.
Optionally, the method further comprises:
if the flow of the cable is detected to be zero in a preset time period, generating network disconnection prompt information for the cable;
and sending the network disconnection prompt information of the cable to the manager through the wireless communication link.
Optionally, the method further comprises:
if the fact that the cable power source PoE stops supplying power is detected, generating offline prompt information for the cable;
and sending the offline prompt information of the cable to the manager through the wireless communication link.
According to another aspect of the present invention, there is provided a cable traffic processing apparatus, applied in a detector, the detector accesses a cable power PoE in a cable, a probe of the detector is embedded in the cable, the apparatus includes:
the starting module is used for executing starting operation when the cable is accessed into the communication equipment and the PoE power supply is supplied;
the wireless communication link establishing module is used for establishing a wireless communication link with the manager after the starting is successful;
the flow statistic module is used for detecting the flow of the data transmitted in the cable through the probe;
and the flow transmission module is used for transmitting the flow of the cable to the manager through the wireless communication link.
Optionally, the detector has a voltage converter connected to the cable power source PoE;
the starting module comprises:
the current receiving submodule is used for receiving the current of the first voltage value transmitted by the cable power supply PoE;
a voltage conversion submodule for converting the current from the first voltage value to a second voltage value suitable for the detector by the voltage converter;
and the voltage starting submodule is used for executing starting operation under the condition of current supply of the second voltage value.
Optionally, the detector has an indicator light, the apparatus further comprising:
the hunting instruction receiving module is used for receiving the hunting instructions sent by the manager through the wireless communication link;
and the first flashing driving module is used for driving the indicator light to flash according to the line seeking instruction in a first mode.
Optionally, the detector has an indicator light, the apparatus further comprising:
the alarm instruction receiving module is used for receiving an alarm instruction sent by the manager through the wireless communication link when the flow of the cable exceeds a preset flow threshold;
and the second flicker driving module is used for driving the indicator lamp to flicker according to a second mode according to the alarm instruction.
Optionally, the method further comprises:
the network disconnection prompt message generation module is used for generating network disconnection prompt messages for the cables if the flow of the cables is detected to be zero in a preset time period;
and the network disconnection prompt information transmission module is used for sending the network disconnection prompt information of the cable to the manager through the wireless communication link.
Optionally, the method further comprises:
the offline prompt information generation module is used for generating offline prompt information for the cable if the fact that the PoE is stopped supplying power is detected;
and the offline prompt information transmission module is used for sending the offline prompt information of the cable to the manager through the wireless communication link.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, when a cable is accessed into communication equipment and a cable power supply PoE supplies power, starting operation is executed, after the starting is successful, a wireless communication link is established with a manager, the flow of data transmitted in the cable is detected through a probe, the flow of the cable is sent to the manager through the wireless communication link, the flow of the cable is collected through each cable with a corresponding detector, the management is carried out in a unified way in the manager, operation and maintenance personnel can conveniently carry out operation and maintenance work, and the simplicity of the operation and maintenance work is greatly improved.
Drawings
FIG. 1 is a flow chart illustrating the steps of a cable traffic handling method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating steps in another cable traffic handling method according to one embodiment of the present invention;
fig. 3 is a block diagram of a cable traffic processing device according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of a cable traffic processing method according to an embodiment of the present invention is shown, and specifically may include the following steps:
and step 101, when the cable is accessed into the communication equipment and the power is supplied by the cable power supply PoE, executing a starting operation.
In particular implementations, embodiments of the invention may be applied in a detector having components such as a controller, memory, probe, wireless communicator, etc.
The controller may include an MCU (micro controller Unit), etc., and is a control center of the detector, and is connected to various parts of the detector through various interfaces and lines, and executes various functions of the detector and processes data by operating or executing software programs and/or modules stored in the memory and calling data stored in the memory, thereby monitoring the detector as a whole.
In a place where a large number of cables are deployed such as a machine room, one detector may be provided for each cable, and one manager may be provided at the back end to manage the detectors of all the cables.
Furthermore, the detector is connected to a cable power source PoE (power Over ethernet) in the cable, where the cable power source PoE refers to that, under the condition that an ethernet wiring infrastructure is not changed at all, the detector can provide direct current power supply for some IP-based terminals (such as an IP telephone, a wireless local area network access point AP, a network camera, and the like) while transmitting data signals.
Furthermore, the probe of the detector is embedded in the cable.
The cable power PoE may provide power to the detector when either end of the cable is connected to the communication device, at which point a start-up operation may be performed, initializing various components in the detector.
Furthermore, the detector is powered by the cable power supply PoE, so that the configuration of a power supply line for the detector or the installation of a battery in the detector can be avoided, the structure of the detector is simple, wiring is reduced, the replacement of the battery is avoided, and the practicability can be improved.
In one embodiment of the invention, the detector has a voltage converter, which is connected to the cable power PoE, then in an embodiment of the invention, step 101 may comprise the following sub-steps:
sub-step S11, receiving the current of the first voltage value transmitted by the cable power PoE.
Sub-step S12, converting the current from the first voltage value to a second voltage value suitable for the detector by the voltage converter.
And a substep S13 of performing a start-up operation under the current supply of the second voltage value.
In an embodiment of the invention, the first voltage value of the current supplied by the cable power source PoE is higher than the rated voltage defined by the detector, e.g. 48V, and therefore a voltage converter, e.g. a DC-DC converter, may be accessed to step down the current supplied by the cable power source PoE from the first voltage value to the rated voltage (i.e. the second voltage value), e.g. 5V, of the detector, and thus to supply the detector.
After the startup is successful, a wireless communication link is established with the manager, step 102.
If the detector starts successfully, the wireless communicator can be called to detect the wireless communication link with the manager.
If the manager is also deployed in a place such as a computer room, the wireless communicator may perform short-range wireless communication using bluetooth or the like.
If the manager is deployed far away from a place such as a computer room, the wireless communicator may apply NB-IoT (Narrow Band Internet of Things) and the like to perform long-distance wireless communication.
In one example, since most of data transmitted between the detector and the manager is relatively simple data such as traffic data and control instructions, the wireless communicator of the detector may be a BLE (Bluetooth Low Energy) module, and the BLE module is invoked to establish a wireless connection with the manager in the following manner:
1) and broadcasting an ADV _ IND or ADV _ DIRECT _ IND packet according to a certain period when the device is in a connectable state (advertisement).
2) The actively connected device (Initiator), upon receiving the broadcast packet, responds with a CONNECT _ REQ request carrying parameters that determine the subsequent "timing" of the communication, e.g., at which point in time the two parties are transmitting and receiving data, which Physical Channel is transmitting and receiving data, etc.
3) The Initiator automatically transitions to the Connection state after issuing the CONNECT _ REQ packet, and becomes Master role (i.e., without waiting for the other party's response). Similarly, the advertisement automatically transitions to the Connection state after receiving the CONNECT _ REQ request, and becomes the Slave role.
4) And then, the two parties switch to a Physical Channel at regular time according to the convention given by the CONNECT _ REQ parameter, and transmit and receive data according to the sequence of Master- > Slave and then Slave- > Master until the connection is disconnected.
And 103, detecting the flow of the data transmitted in the cable through the probe.
The probe in the detector can capture the data transmitted in the cable, count the size of the data, directly forward the data packet without performing processes such as unpacking, packaging and the like, and thus count the flow of the data transmitted in the cable.
And 104, sending the flow of the cable to the manager through the wireless communication link.
At regular intervals, the detector may send the detected cable traffic to the manager via a wireless communication link.
The manager can manage the flow of all cables, such as flow statistics, flow charging, flow abnormity reminding, line hunting, and the like.
In the embodiment of the invention, when a cable is accessed into communication equipment and a cable power supply PoE supplies power, starting operation is executed, after the starting is successful, a wireless communication link is established with a manager, the flow of data transmitted in the cable is detected through a probe, the flow of the cable is sent to the manager through the wireless communication link, the flow of the cable is collected through each cable with a corresponding detector, the management is carried out in a unified way in the manager, operation and maintenance personnel can conveniently carry out operation and maintenance work, and the simplicity of the operation and maintenance work is greatly improved.
For flow management, the probe can directly detect the flow of data transmitted in the cable, and can count the flows of a plurality of communication devices connected in parallel in the same cable, namely the counted flows are equal to the actual flows, so that the accuracy of flow counting is improved, and the effect of flow management is ensured.
Referring to fig. 2, a flowchart illustrating steps of another cable traffic processing method according to an embodiment of the present invention is shown, and specifically may include the following steps:
After the startup is successful, a wireless communication link is established with the manager, step 202.
And step 203, detecting the flow of the data transmitted in the cable through the probe.
And step 206, driving the indicator light to flash according to the hunting command in a first mode.
In an embodiment of the present invention, the detector has one or more indicator lights, such as an LED (Light-Emitting Diode).
The operation and maintenance personnel can browse the flow of each cable (represented by a cable ID) on the manager, select a certain cable according to the operation and maintenance requirements, and at the moment, the manager generates a line searching instruction for the cable and sends the line searching instruction to the detector deployed for the cable through the wireless communication link.
After the detector receives the hunting command, the driving indicator lamp can be made to flash according to a set first mode (such as limited color, frequency, brightness and the like), so that operation and maintenance personnel can quickly find cables which are actively positioned in places such as a machine room and the like.
And step 207, receiving an alarm instruction sent by the manager through the wireless communication link when the flow of the cable exceeds a preset flow threshold.
And step 208, driving the indicator light to flash according to the alarm instruction in a second mode.
In an embodiment of the invention, the detector has one or more indicator lights, such as LEDs or the like.
The operation and maintenance personnel can set a flow threshold value for the flow of each cable (represented by a cable ID) on the manager according to the requirements of the operation and maintenance (such as bandwidth allocation, charging and the like).
The manager compares the real-time flow of the cable with a corresponding flow threshold, and if the real-time flow of the cable exceeds the flow threshold, an alarm instruction can be generated for the cable and sent to a detector deployed for the cable through a wireless communication link.
After the detector receives the alarm instruction, the driving indicator lamp can flash according to a set second mode (such as limited color, frequency, brightness and the like), and operation and maintenance personnel can conveniently and quickly find cables with flow rate exceeding a set standard through the indicator lamp in places such as a machine room.
And step 210, sending the network disconnection prompt information of the cable to the manager through the wireless communication link.
In the embodiment of the present invention, if the detector detects that the real-time traffic of the cable is zero within a period of time (e.g., 5s, 10s, etc.), at this time, either end of the cable may be disconnected, and at this time, a network disconnection prompting message may be generated for the cable and sent to the manager through the wireless communication link.
After receiving the network disconnection prompt information, the manager sends the network disconnection prompt information to the operation and maintenance personnel in a mode of mails, short messages and the like, and prompts the operation and maintenance personnel that the cable is disconnected.
It should be noted that, in the case where either end of the cable is disconnected, the communication device connected to the other end may continuously transmit a network detection packet (ping packet), and the network detection packet (ping packet) may be ignored.
And step 211, if it is detected that the cable power source PoE stops supplying power, generating offline prompt information for the cable.
In the embodiment of the present invention, if the detector detects that the voltage of the current provided by the cable power source PoE rapidly drops (i.e. exceeds a certain voltage threshold) within a period of time (e.g. 500ms, 1s, etc.), it may consider that the cable power source PoE stops supplying power, at this time, both ends of the cable may be disconnected simultaneously, or communication devices at both ends are powered down and powered off, at this time, an offline prompt message may be generated for the cable, and the offline prompt message is sent to the manager through the wireless communication link.
After receiving the offline prompt information, the manager sends the offline prompt information to the operation and maintenance personnel in a mode of mails, short messages and the like, and prompts the operation and maintenance personnel that the cable is offline.
In the embodiment of the invention, when a cable is accessed into communication equipment and a cable power supply PoE supplies power, starting operation is executed, after the starting is successful, a wireless communication link is established with a manager, the flow of data transmitted in the cable is detected through a probe, the flow of the cable is sent to the manager through the wireless communication link, the flow of the cable is collected through each cable with a corresponding detector, the management is carried out in a unified way in the manager, operation and maintenance personnel can conveniently carry out operation and maintenance work, and the simplicity of the operation and maintenance work is greatly improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a cable traffic processing apparatus according to an embodiment of the present invention is shown, and is applied to a detector, where the detector is connected to a cable power PoE in a cable, and a probe of the detector is embedded in the cable, and the apparatus may specifically include the following modules:
a starting module 301, configured to execute a starting operation when the cable is connected to the communication device and the cable power source PoE supplies power;
a wireless communication link establishing module 302, configured to establish a wireless communication link with the manager after the startup is successful;
a flow rate statistic module 303, configured to detect, through the probe, a flow rate of data transmitted in the cable;
a traffic transmission module 304, configured to send traffic of the cable to the manager through the wireless communication link.
In one embodiment of the invention, the detector has a voltage converter connected to the cable power PoE;
the starting module 301 includes:
the current receiving submodule is used for receiving the current of the first voltage value transmitted by the cable power supply PoE;
a voltage conversion submodule for converting the current from the first voltage value to a second voltage value suitable for the detector by the voltage converter;
and the voltage starting submodule is used for executing starting operation under the condition of current supply of the second voltage value.
In one embodiment of the invention, the detector has an indicator light, the apparatus further comprising:
the hunting instruction receiving module is used for receiving the hunting instructions sent by the manager through the wireless communication link;
and the first flashing driving module is used for driving the indicator light to flash according to the line seeking instruction in a first mode.
In one embodiment of the invention, the detector has an indicator light, the apparatus further comprising:
the alarm instruction receiving module is used for receiving an alarm instruction sent by the manager through the wireless communication link when the flow of the cable exceeds a preset flow threshold;
and the second flicker driving module is used for driving the indicator lamp to flicker according to a second mode according to the alarm instruction.
In one embodiment of the present invention, further comprising:
the network disconnection prompt message generation module is used for generating network disconnection prompt messages for the cables if the flow of the cables is detected to be zero in a preset time period;
and the network disconnection prompt information transmission module is used for sending the network disconnection prompt information of the cable to the manager through the wireless communication link.
In one embodiment of the present invention, further comprising:
the offline prompt information generation module is used for generating offline prompt information for the cable if the fact that the PoE is stopped supplying power is detected;
and the offline prompt information transmission module is used for sending the offline prompt information of the cable to the manager through the wireless communication link.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The cable traffic processing method and the cable traffic processing apparatus provided by the present invention are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present invention, and the description of the above embodiments is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method for processing the traffic of cables is characterized by being applied to a detector, wherein each cable is provided with one detector, the detector is connected to a cable power supply PoE in one cable, and a probe of the detector is embedded into the cable, and the method comprises the following steps:
when the cable is accessed into the communication equipment and the cable power supply PoE supplies power, starting operation is executed;
after the startup is successful, establishing a wireless communication link with the manager;
detecting, by the probe, a flow of data transmitted in the cable; the probe is used for capturing a data packet transmitted in the cable, counting the size of the data packet, directly forwarding the data packet without unpacking and packing processing, and thus counting the flow of data transmitted in the cable;
sending traffic of the cable to the manager over the wireless communication link.
2. The method of claim 1, wherein the detector has a voltage converter connected to the cable power PoE;
the executing the boot operation includes:
receiving current of a first voltage value transmitted by the cable power supply PoE;
converting, by the voltage converter, the current from the first voltage value to a second voltage value suitable for the detector;
and executing starting operation under the current supply of the second voltage value.
3. The method of claim 1 or 2, wherein the detector has an indicator light, the method further comprising:
receiving a hunting instruction sent by the manager through the wireless communication link;
and driving the indicator light to flash according to the line hunting instruction in a first mode.
4. The method of claim 1 or 2, wherein the detector has an indicator light, the method further comprising:
receiving an alarm instruction sent by the manager through the wireless communication link when the flow of the cable exceeds a preset flow threshold;
and driving the indicator light to flash according to the alarm instruction in a second mode.
5. The method of claim 1 or 2, further comprising:
if the flow of the cable is detected to be zero in a preset time period, generating network disconnection prompt information for the cable;
and sending the network disconnection prompt information of the cable to the manager through the wireless communication link.
6. The method of claim 1 or 2, further comprising:
if the fact that the cable power source PoE stops supplying power is detected, generating offline prompt information for the cable;
and sending the offline prompt information of the cable to the manager through the wireless communication link.
7. A cable traffic processing device, characterized in that the device is applied in a detector, wherein each cable is provided with one detector, the detector is connected to a cable power source PoE in a cable, and a probe of the detector is embedded in the cable, the device comprises:
the starting module is used for executing starting operation when the cable is accessed into the communication equipment and the PoE power supply is supplied;
the wireless communication link establishing module is used for establishing a wireless communication link with the manager after the starting is successful;
the flow statistic module is used for detecting the flow of the data transmitted in the cable through the probe; the probe is used for capturing a data packet transmitted in the cable, counting the size of the data packet, directly forwarding the data packet without unpacking and packing processing, and thus counting the flow of data transmitted in the cable;
and the flow transmission module is used for transmitting the flow of the cable to the manager through the wireless communication link.
8. The apparatus of claim 7, wherein the detector has a voltage converter, the voltage converter being connected to the cable power PoE;
the starting module comprises:
the current receiving submodule is used for receiving the current of the first voltage value transmitted by the cable power supply PoE;
a voltage conversion submodule for converting the current from the first voltage value to a second voltage value suitable for the detector by the voltage converter;
and the voltage starting submodule is used for executing starting operation under the condition of current supply of the second voltage value.
9. The apparatus of claim 7 or 8, wherein the detector has an indicator light, the apparatus further comprising:
the hunting instruction receiving module is used for receiving the hunting instructions sent by the manager through the wireless communication link;
and the first flashing driving module is used for driving the indicator light to flash according to the line seeking instruction in a first mode.
10. The apparatus of claim 7 or 8, wherein the detector has an indicator light, the apparatus further comprising:
the alarm instruction receiving module is used for receiving an alarm instruction sent by the manager through the wireless communication link when the flow of the cable exceeds a preset flow threshold;
and the second flicker driving module is used for driving the indicator lamp to flicker according to a second mode according to the alarm instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810954628.3A CN110856274B (en) | 2018-08-21 | 2018-08-21 | Cable flow processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810954628.3A CN110856274B (en) | 2018-08-21 | 2018-08-21 | Cable flow processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110856274A CN110856274A (en) | 2020-02-28 |
CN110856274B true CN110856274B (en) | 2022-03-29 |
Family
ID=69595354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810954628.3A Active CN110856274B (en) | 2018-08-21 | 2018-08-21 | Cable flow processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110856274B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254108A (en) * | 2016-08-01 | 2016-12-21 | 北京百度网讯科技有限公司 | Transmission path management method and device for data transmission network |
CN106656616A (en) * | 2016-12-29 | 2017-05-10 | 北京天元创新科技有限公司 | Whole network flow analysis method of computer network |
CN107094101A (en) * | 2017-05-22 | 2017-08-25 | 山东浪潮商用系统有限公司 | Computer network business real-time monitoring system based on network probe technology |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10826785B2 (en) * | 2015-09-25 | 2020-11-03 | International Business Machines Corporation | Data traffic monitoring tool |
CN205540240U (en) * | 2016-04-13 | 2016-08-31 | 广州番禺职业技术学院 | Computer room circuit resource management system |
-
2018
- 2018-08-21 CN CN201810954628.3A patent/CN110856274B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254108A (en) * | 2016-08-01 | 2016-12-21 | 北京百度网讯科技有限公司 | Transmission path management method and device for data transmission network |
CN106656616A (en) * | 2016-12-29 | 2017-05-10 | 北京天元创新科技有限公司 | Whole network flow analysis method of computer network |
CN107094101A (en) * | 2017-05-22 | 2017-08-25 | 山东浪潮商用系统有限公司 | Computer network business real-time monitoring system based on network probe technology |
Also Published As
Publication number | Publication date |
---|---|
CN110856274A (en) | 2020-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10462881B1 (en) | Quick setup of lighting control system | |
CN105379044A (en) | Power negotiation in daisy-chained systems | |
US11936484B2 (en) | Method and system for managing power delivery and fixture operation for power over Ethernet systems | |
US11894687B2 (en) | Method of ranking MLPE apparatuses and locating devices in a photovoltaic string | |
CN110519068A (en) | A kind of POE power supply control apparatus and POE power supply system | |
EP3672149A1 (en) | Method and device for controlling device activation | |
CN105407166A (en) | Communication implementation method and system for wearable equipment | |
US11626837B2 (en) | Photovoltaic system and method for locating devices in photovoltaic string | |
WO2020098602A1 (en) | Light fixture status information query method and application thereof in a lighting control system | |
CN110856274B (en) | Cable flow processing method and device | |
US20130150094A1 (en) | Server and monitoring method thereof | |
US20130154348A1 (en) | Power feeding system and method | |
CN210807322U (en) | Multifunctional intelligent gateway system of Internet of things | |
CN104678337A (en) | Automatic detection method for performance indicators of optical digital relay protection testers | |
CN112672374B (en) | Electric power data communication state processing system and terminal | |
EP3026978A1 (en) | M2m oriented service platform interface apparatus and method | |
CN210670647U (en) | Lamp and controller | |
CN109409447B (en) | Cable coding method and device | |
CN113611095A (en) | Network equipment control platform based on artificial intelligence | |
CN205484738U (en) | Multichannel pressure regulating reposition of redundant personnel alarm detecting system of security protection power | |
CN110837244A (en) | Multifunctional lamp post controller based on Internet of things and control method | |
CN107276778B (en) | Port control method and device | |
CN103076776B (en) | Remote control management system and information acquisition and control method for multimedia equipment | |
CN210573334U (en) | Multifunctional lamp pole controller based on Internet of things | |
CN108601172A (en) | A kind of airfield aid light monitoring system and monitoring method towards mobile client |
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 | ||
CP03 | Change of name, title or address |
Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113 Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |