CN108810959B - Communication protection method and device - Google Patents

Communication protection method and device Download PDF

Info

Publication number
CN108810959B
CN108810959B CN201810819658.3A CN201810819658A CN108810959B CN 108810959 B CN108810959 B CN 108810959B CN 201810819658 A CN201810819658 A CN 201810819658A CN 108810959 B CN108810959 B CN 108810959B
Authority
CN
China
Prior art keywords
preset
time
transmission
radio station
terminal radio
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
CN201810819658.3A
Other languages
Chinese (zh)
Other versions
CN108810959A (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 Friendcom Technology Co Ltd
Original Assignee
Shenzhen Friendcom 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 Friendcom Technology Co Ltd filed Critical Shenzhen Friendcom Technology Co Ltd
Priority to CN201810819658.3A priority Critical patent/CN108810959B/en
Publication of CN108810959A publication Critical patent/CN108810959A/en
Application granted granted Critical
Publication of CN108810959B publication Critical patent/CN108810959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/535Allocation or scheduling criteria for wireless resources based on resource usage policies

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a communication protection method and a communication protection device, which are applied to a terminal radio station. The method comprises the following steps: judging whether the signal transmission times of the terminal radio station at the current transmission time point in the time period corresponding to the preset communication time length are less than the preset transmission times or not according to the recorded transmission time points when the signal is transmitted each time; if the signal transmitting times are less than the preset transmitting times, transmitting the signal at the current transmitting time point, and comparing the current corresponding signal transmitting time length with the preset transmitting time length; and if the signal transmission times are not less than the preset transmission times or the signal transmission time length is not less than the preset transmission time length, controlling not to transmit signals in the time period corresponding to the preset protection time length. The communication protection method can provide protection for the signal transmitting function of the terminal radio station, prevent the terminal radio station from generating long-time transmission, and avoid the paralysis of a radio station communication system comprising the terminal radio station.

Description

Communication protection method and device
Technical Field
The invention relates to the technical field of radio station communication, in particular to a communication protection method and device.
Background
With the continuous development of wireless communication technology, a wireless radio communication system gradually develops in a large-scale trend, and a wireless radio communication system with hundreds of terminal radio stations is very easy to have a phenomenon of long-time generation of the wireless radio station, namely, a certain terminal radio station in the wireless radio communication system occupies a shared channel to transmit signals for a long time, so that other terminal radio stations sharing the same channel with the terminal radio station in the wireless radio communication system are subjected to same-frequency interference and cannot transmit part or all data, and the wireless radio communication system is broken down.
Disclosure of Invention
In order to overcome the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a communication protection method and apparatus, which can protect the signal transmission function of a terminal radio station, prevent the terminal radio station from having a long hair, and avoid the wireless radio station communication system including the terminal radio station from being broken down.
As for a method, an embodiment of the present invention provides a communication protection method, which is applied to a terminal radio station, where a transmission time point of each signal transmission is recorded and stored in the terminal radio station, where the method includes:
when the terminal radio station transmits signals every time, judging whether the signal transmission times of the terminal radio station at the current transmission time point in a time period corresponding to the preset communication time length are less than the preset transmission times or not according to the recorded transmission time points;
if the signal transmission times are less than the preset transmission times, controlling the terminal radio station to transmit signals at the current transmission time point, and comparing the current corresponding signal transmission time length with the preset transmission time length;
and if the signal transmission times are not less than the preset transmission times or the signal transmission time length is not less than the preset transmission time length, controlling the terminal radio station not to transmit signals in a time period corresponding to the preset protection time length.
As for a device, an embodiment of the present invention provides a communication protection device, which is applied to a terminal station, where a transmission time point of each signal transmission is recorded and stored in the terminal station, and the device includes:
the transmission frequency judging module is used for judging whether the signal transmission frequency of the terminal radio station at the current transmission time point in a time period corresponding to the preset communication time length is less than the preset transmission frequency according to each recorded transmission time point when the terminal radio station transmits signals each time;
the transmitting time comparison module is used for controlling the terminal radio station to transmit signals at the current transmitting time point and comparing the current corresponding signal transmitting time with the preset transmitting time if the signal transmitting times are smaller than the preset transmitting times;
and the communication protection control module is used for controlling the terminal radio station not to transmit signals in a time period corresponding to the preset protection time length if the signal transmission times are not less than the preset transmission times or the signal transmission time length is not less than the preset transmission time length.
Compared with the prior art, the communication protection method and the device provided by the embodiment of the invention have the following beneficial effects: the communication protection method can provide protection for the signal transmitting function of the terminal radio station, prevent the terminal radio station from generating long hair, and avoid the condition that a wireless radio station communication system comprising the terminal radio station is paralyzed. The terminal radio station records and stores the transmission time point of each signal transmission. Firstly, when a terminal radio station transmits signals each time, the method judges whether the signal transmission times of the terminal radio station at the current transmission time point in a time period corresponding to the preset communication time length are less than the preset transmission times according to the recorded transmission time points. And then, when the signal transmission times are less than the preset transmission times, the method controls the terminal radio station to transmit signals at the current transmission time point, and compares the current corresponding signal transmission time length with the preset transmission time length. And finally, when the signal transmission times are not less than the preset transmission times or the signal transmission duration is not less than the preset transmission duration, controlling the terminal radio station not to transmit signals in a time period corresponding to the preset protection duration, so that the terminal radio station can stop signal transmission in time when the long-time transmission phenomenon occurs, thereby protecting the signal transmission function of the terminal radio station, preventing the long-time transmission phenomenon from occurring in the terminal radio station and avoiding the condition that a wireless radio station communication system comprising the terminal radio station is paralyzed.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the claims of the present invention, and it is obvious for those skilled in the art that other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of a terminal station according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a communication protection method according to an embodiment of the present invention.
Fig. 3 is a second flowchart of a communication protection method according to an embodiment of the present invention.
Fig. 4 is a third schematic flowchart of a communication protection method according to an embodiment of the present invention.
Fig. 5 is a block diagram of the communication protection apparatus shown in fig. 1 according to an embodiment of the present invention.
Fig. 6 is a second block diagram of the communication protection apparatus shown in fig. 1 according to an embodiment of the present invention.
Icon: 10-a terminal radio station; 11-a memory; 12-a processor; 13-a communication unit; 14-a transmission timer; 15-power-on timer; 100-a communication protection device; 110-a transmission frequency judging module; 120-transmission duration comparison module; 130-communication protection control module; 140-communication parameter configuration module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Fig. 1 is a block diagram of a terminal station 10 according to an embodiment of the present invention. In the embodiment of the present invention, when the terminal radio station 10 is applied to a radio station communication system, the terminal radio station 10 can monitor its own signal transmission status, protect the signal transmission function of the terminal radio station 10, prevent the terminal radio station 10 from having a long hair, and avoid a breakdown of the radio station communication system including the terminal radio station 10. The terminal radio station 10 may be a wireless data transmission analog radio station, or a wireless data transmission digital radio station.
In the present embodiment, the terminal station 10 includes a communication protection device 100, a memory 11, a processor 12, a communication unit 13, a transmission timer 14, and a power-on timer 15. The memory 11, the processor 12, the communication unit 13, the transmission timer 14 and the power-on timer 15 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
In this embodiment, the Memory 11 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an electrically Erasable Programmable Read-Only Memory (EEPROM), and the like. The memory 11 may be used to store programs that are executed by the processor 12 upon receiving execution instructions.
In this embodiment, the processor 12 may be an integrated circuit chip having signal processing capabilities. The Processor 12 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In this embodiment, the communication unit 13 is configured to establish a communication connection between the terminal station 10 and a master station or other terminal stations in a radio station communication system via a network, and to transmit and receive data via the network.
In this embodiment, the communication protection apparatus 100 includes at least one software functional module which may be stored in the memory 11 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the terminal station 10. The processor 12 may execute executable modules stored in the memory 11, such as software functional modules and computer programs included in the communication protection apparatus 100. In this embodiment, the terminal radio station 10 enables the terminal radio station 10 to stop signal transmission in time when a long-hair phenomenon occurs through the communication protection device 100, so as to provide protection for the signal transmission function of the terminal radio station 10, prevent the long-hair phenomenon from occurring in the terminal radio station 10, and avoid a breakdown condition of a radio station communication system including the terminal radio station 10.
In this embodiment, the transmission timer 14 is configured to reference a transmission time length when the terminal radio station 10 transmits a signal each time, and the power-on timer 15 is configured to reference a power-on time length when the terminal radio station 10 is powered on each time, so that the communication protection device 100 regulates and controls a signal transmission state of the terminal radio station 10 based on the transmission timer 14 and the power-on timer 15.
It will be appreciated that the configuration shown in fig. 1 is merely a schematic illustration of the configuration of terminal station 10, and that terminal station 10 may include more or fewer components than shown in fig. 1, or may have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Fig. 2 is a flowchart illustrating a communication protection method according to an embodiment of the present invention. In the embodiment of the present invention, the communication protection method is applied to the terminal station 10, and specific procedures and steps of the communication protection method shown in fig. 2 are described in detail below.
Step S210, when the terminal radio station 10 transmits a signal each time, determining whether the signal transmission frequency of the terminal radio station 10 at the current transmission time point in the time period corresponding to the preset communication duration is less than the preset transmission frequency according to each recorded transmission time point.
In this embodiment, the memory 11 of the terminal station 10 stores a ring buffer created for recording the corresponding transmission time point of each signal transmission, wherein each element space in the ring buffer corresponds to the transmission time point of one signal transmission. The terminal radio station 10 records the transmission time point of the signal transmission in the element space corresponding to the ring buffer every time the signal is transmitted.
In this embodiment, each time the terminal radio station 10 transmits a signal, it is determined whether the signal transmission frequency of the terminal radio station 10 at the current transmission time point of the current signal transmission in the time period corresponding to the preset communication time duration is less than the preset transmission frequency according to the recorded transmission time point of each signal transmission in the ring buffer. Wherein, the step of judging whether the signal transmission times of the terminal radio station 10 at the current transmission time point in the time period corresponding to the preset communication duration is less than the preset transmission times according to the recorded transmission time points comprises:
monitoring the number of target element spaces with the transmitting time points recorded in the annular buffer zone in real time;
when the monitored number of the target element spaces is larger than or equal to the preset emission times, acquiring target emission time points from all recorded emission time points, wherein the number of time points spaced between the target emission time points and the current emission time points when the current signals are emitted is the same as the preset emission times;
calculating a time difference value between the current transmitting time point and the target transmitting time point, and comparing the time difference value with the preset communication time length;
if the time difference is not greater than the preset communication time, judging that the signal transmission times of the terminal radio station 10 in the time period corresponding to the preset communication time are not less than the preset transmission times;
if the time difference is greater than the preset communication time, it is determined that the signal transmission times of the terminal radio station 10 in the time period corresponding to the preset communication time are less than the preset transmission times.
In this embodiment, the total number of element spaces in the ring buffer is greater than the preset number of times of transmission, and the target element space is an element space in which transmission time points are recorded. When monitoring that the number of the target element spaces in the ring buffer is greater than or equal to the preset transmission times, the terminal radio station 10 indicates that the terminal radio station 10 has performed a signal transmission process for which the number of times is not less than the preset transmission times, at this time, the terminal radio station 10 acquires a target transmission time point matched with a current transmission time point of this signal transmission from all recorded transmission time points, wherein the number of time points spaced between the target transmission time point and the current transmission time point is the same as the preset transmission times, and the target transmission time point is one of historical time points of the current transmission time point of this signal transmission.
When the number of the monitored target element spaces is greater than or equal to the preset transmission times and the time difference between the target transmission time point and the current transmission time point is obtained, the terminal radio station 10 judges whether the signal transmission times of the terminal radio station 10 in the time period corresponding to the preset communication time period are less than the preset transmission times by comparing the time difference with the preset communication time period.
If the time difference is not greater than the preset communication time, indicating that the terminal radio station 10 performs signal transmission with the frequency not less than the preset transmission frequency within a time period of which the time is not greater than the preset communication time, determining that the signal transmission frequency of the terminal radio station 10 within a time period corresponding to the preset communication time is not less than the preset transmission frequency; if the time difference is greater than the preset communication time, it indicates that the terminal radio station 10 fails to transmit the signal with the frequency not less than the preset transmission frequency within the time period in which the time is not greater than the preset communication time, and it is determined that the signal transmission frequency of the terminal radio station 10 within the time period corresponding to the preset communication time is less than the preset transmission frequency. Wherein, the preset number of transmission times may be 200, 250 or 300; the preset communication time period may be 10 minutes, 15 minutes, or 20 minutes.
In this embodiment, when the number of the monitored target element spaces is greater than or equal to the preset transmission times and the calculation process of the time difference is completed, the terminal station 10 subtracts the earliest historical time point of the recorded time points in the ring buffer from the current transmission time point of the signal transmission to obtain the corresponding time difference, and compares the obtained time difference with the preset communication time length. And if the obtained time difference is greater than or equal to the preset communication time, deleting the historical time point with the earliest recorded time point in the annular buffer area so as to update the element space of the annular buffer area.
Step S220, if the signal transmission frequency is less than the preset transmission frequency, controlling the terminal radio station 10 to transmit a signal at the current transmission time point, and comparing the current corresponding signal transmission time length with the preset transmission time length.
In this embodiment, when it is determined that the signal transmission times of the terminal radio station 10 at the current transmission time point in the time period corresponding to the preset communication time length are less than the preset transmission times, the terminal radio station 10 is controlled to transmit signals at the current transmission time point, and the current corresponding signal transmission time length is compared with the preset transmission time length. The transmission timer 14 is configured according to a preset transmission duration, and the time length of the transmission timer 14 corresponding to the timing time period is the same as the preset transmission duration. The terminal radio station 10 compares the signal transmission duration corresponding to the signal transmission with a preset transmission duration each time the signal is transmitted, so that the terminal radio station 10 determines whether the signal transmission function of the terminal radio station 10 needs to be protected according to the comparison result.
Optionally, the step of comparing the current corresponding signal transmission duration with the preset transmission duration by the terminal radio station 10 includes:
controlling the transmission timer 14 to be correspondingly started when the terminal radio station 10 transmits signals each time, and monitoring the signal transmission state of the terminal radio station 10 when the corresponding timing time of the transmission timer 14 is exhausted;
if the signal transmission state of the terminal radio station 10 when the corresponding timing time of the transmission timer 14 is exhausted is monitored to be still in a continuous transmission state, it is determined that the current signal transmission time length of the terminal radio station 10 is not less than the preset transmission time length, otherwise, it is determined that the current signal transmission time length of the terminal radio station 10 is less than the preset transmission time length. The preset transmission time period may be 30 seconds, 40 seconds, or 25 seconds.
In this embodiment, when the terminal radio station 10 transmits a signal, the terminal radio station 10 may transmit the signal by turning on a power supply of the transmitter, and stop transmitting the signal by turning off the power supply of the transmitter when the signal transmission is completed, at this time, turning on the power supply of the transmitter may indicate that the terminal radio station 10 is in a signal transmission state of a continuous transmission state, and the turn-on duration of the power supply of the transmitter is the signal transmission duration of the terminal radio station 10. For example, if the preset transmission time is 30 seconds, the terminal radio station 10 correspondingly starts the transmission timer 14 each time the terminal radio station transmits a signal, monitors a signal transmission state when the timing time corresponding to the transmission timer 14, which is 30 seconds, is exhausted, and then determines that the signal transmission time of the terminal radio station 10 at this time is not less than the preset transmission time when the signal transmission state is still in a continuous transmission state when the timing time corresponding to the terminal radio station 10, which is 30 seconds, is exhausted, otherwise determines that the current signal transmission time of the terminal radio station 10 is less than the preset transmission time.
Step S230, if the signal transmission frequency is not less than the preset transmission frequency, or the signal transmission duration is not less than the preset transmission duration, controlling the terminal radio station 10 not to transmit a signal within a time period corresponding to a preset protection duration.
In this embodiment, when it is determined that the signal transmission times of the terminal radio station 10 at the current transmission time point in the time period corresponding to the preset communication time length are not less than the preset transmission times, the terminal radio station 10 starts to be controlled to be maintained in a state of not transmitting signals until the time corresponding to the preset protection time length is exhausted. The preset protection time can be 6 hours, 5 hours or 3 hours.
In this embodiment, when it is determined that the signal transmission times of the terminal radio station 10 at the current transmission time point in the time period corresponding to the preset communication time length are less than the preset transmission times, and the target transmission time length of the terminal radio station 10 at the current transmission time point is less than the preset transmission time length, the terminal radio station 10 starts to be controlled to be maintained in a state of not transmitting signals until the time corresponding to the preset protection time length is exhausted.
Fig. 3 is a second schematic flow chart of the communication protection method according to the embodiment of the present invention. In this embodiment of the present invention, before the step S210, the communication protection method further includes a step S209.
Step S209, comparing the power-on duration corresponding to the power-on of the terminal radio station 10 with a preset power-on duration, and controlling the terminal radio station 10 not to transmit a signal in a time period corresponding to the preset power-on duration when the power-on duration is less than the preset power-on duration.
In this embodiment, the power-on timer 15 is configured according to a preset power-on duration, and a time length of a timing time period corresponding to the power-on timer 15 is the same as the preset power-on duration. The terminal station 10 will maintain the state of not transmitting signal at each power-on until the time corresponding to the preset power-on time is exhausted. The preset power-on time period may be 5 seconds, 6 seconds, or 8 seconds.
Optionally, the step of comparing the power-on duration corresponding to the power-on of the terminal radio station 10 with a preset power-on duration, and controlling the terminal radio station 10 not to transmit a signal in a time period corresponding to the preset power-on duration when the power-on duration is less than the preset power-on duration includes:
and controlling the power-on timer 15 to be correspondingly started when the terminal radio station 10 is powered on, and controlling the terminal radio station 10 not to transmit a signal when the timing time corresponding to the power-on timer 15 is not exhausted.
Fig. 4 is a third schematic flow chart of a communication protection method according to an embodiment of the present invention. In this embodiment of the present invention, before the step S209, the communication protection method further includes a step S208.
Step S208, configuring a preset transmission duration, a preset communication duration, a preset transmission frequency, a preset protection duration, and a preset power-on duration corresponding to the terminal radio station 10.
In this embodiment, the preset transmission time, the preset communication time, the preset transmission times, the preset protection time and the preset power-on time corresponding to the terminal radio station 10 may be configured differently by a manufacturer of the terminal radio station 10 and/or an operation and maintenance worker of a radio station communication system to which the terminal radio station 10 is applied according to actual requirements, so that the terminal radio station 10 can stop signal transmission in time when a long-time phenomenon occurs, thereby protecting a signal transmission function of the terminal radio station 10, preventing the terminal radio station 10 from occurring the long-time phenomenon, and avoiding a situation that a radio station communication system including the terminal radio station 10 is paralyzed.
Fig. 5 is a block diagram of the communication protection apparatus 100 shown in fig. 1 according to an embodiment of the present invention. In the embodiment of the present invention, the terminal station 10 records and stores a transmission time point when a signal is transmitted each time, and the communication protection apparatus 100 includes a transmission frequency determining module 110, a transmission duration comparing module 120, and a communication protection control module 130.
The transmission frequency judging module 110 is configured to, when the terminal radio station 10 transmits a signal each time, judge, according to each recorded transmission time point, whether the signal transmission frequency of the terminal radio station 10 at the current transmission time point in a time period corresponding to a preset communication time length is smaller than a preset transmission frequency.
In this embodiment, the manner that the transmission frequency judging module 110 judges whether the signal transmission frequency of the terminal radio station 10 at the current transmission time point in the time period corresponding to the preset communication duration is less than the preset transmission frequency according to each recorded transmission time point includes:
monitoring the number of target element spaces with the transmitting time points recorded in the annular buffer zone in real time;
when the monitored number of the target element spaces is larger than or equal to the preset emission times, acquiring target emission time points from all recorded emission time points, wherein the number of time points spaced between the target emission time points and the current emission time points when the current signals are emitted is the same as the preset emission times;
calculating a time difference value between the current transmitting time point and the target transmitting time point, and comparing the time difference value with the preset communication time length;
if the time difference is not greater than the preset communication time, judging that the signal transmission times of the terminal radio station 10 in the time period corresponding to the preset communication time are not less than the preset transmission times;
if the time difference is greater than the preset communication time, it is determined that the signal transmission times of the terminal radio station 10 in the time period corresponding to the preset communication time are less than the preset transmission times.
The transmission number judging module 110 may execute step S210 shown in fig. 2, and the specific execution process may refer to the above detailed description of step S210.
The transmission duration comparison module 120 is configured to control the terminal radio station 10 to transmit a signal at a current transmission time point and compare a current corresponding signal transmission duration with a preset transmission duration if the signal transmission times are smaller than the preset transmission times.
In this embodiment, the manner of comparing the current corresponding signal transmission duration with the preset transmission duration by the transmission duration comparing module 120 includes:
controlling the transmission timer 14 to be correspondingly started when the terminal radio station 10 transmits signals each time, and monitoring the signal transmission state of the terminal radio station 10 when the corresponding timing time of the transmission timer 14 is exhausted;
if the signal transmission state of the terminal radio station 10 when the corresponding timing time of the transmission timer 14 is exhausted is monitored to be still in a continuous transmission state, it is determined that the current signal transmission time length of the terminal radio station 10 is not less than the preset transmission time length, otherwise, it is determined that the current signal transmission time length of the terminal radio station 10 is less than the preset transmission time length.
The transmission duration comparing module 120 may execute step S220 shown in fig. 2, and the specific execution process may refer to the above detailed description of step S220.
The communication protection control module 130 is configured to control the terminal radio station 10 not to transmit a signal within a time period corresponding to a preset protection duration if the signal transmission frequency is not less than the preset transmission frequency or the signal transmission duration is not less than the preset transmission duration.
In this embodiment, the communication protection control module 130 may execute step S230 shown in fig. 2, and the specific execution process may refer to the above detailed description of step S230.
The communication protection control module 130 is further configured to compare a power-on duration corresponding to the power-on of the terminal radio station 10 with a preset power-on duration, and when the power-on duration is smaller than the preset power-on duration, control the terminal radio station 10 not to transmit a signal in a time period corresponding to the preset power-on duration.
In this embodiment, the manner that the communication protection control module 130 compares the power-on duration corresponding to the power-on of the terminal radio station 10 with the preset power-on duration, and controls the terminal radio station 10 not to transmit the signal within the time period corresponding to the preset power-on duration when the power-on duration is smaller than the preset power-on duration includes:
and controlling the power-on timer 15 to be correspondingly started when the terminal radio station 10 is powered on, and controlling the terminal radio station 10 not to transmit a signal when the timing time corresponding to the power-on timer 15 is not exhausted.
The communication protection control module 130 may execute step S209 shown in fig. 3, and the specific execution process may refer to the above detailed description of step S209.
Fig. 6 is a second block diagram of the communication protection apparatus 100 shown in fig. 1 according to an embodiment of the present invention. In the embodiment of the present invention, the communication protection apparatus 100 may further include a communication parameter configuration module 140.
The communication parameter configuration module 140 is configured to configure a preset transmission duration, a preset communication duration, a preset transmission frequency, a preset protection duration, and a preset power-on duration corresponding to the terminal radio station 10.
In this embodiment, the communication parameter configuration module 140 may execute step S208 shown in fig. 4, and the specific execution process may refer to the above detailed description of step S208.
In summary, in the communication protection method and the apparatus provided in the embodiments of the present invention, the communication protection method can provide protection for the signal transmission function of the terminal radio station, prevent the terminal radio station from having a long hair, and avoid a breakdown of the radio station communication system including the terminal radio station. The terminal radio station records and stores the transmission time point of each signal transmission. Firstly, when a terminal radio station transmits signals each time, the method judges whether the signal transmission times of the terminal radio station at the current transmission time point in a time period corresponding to the preset communication time length are less than the preset transmission times according to the recorded transmission time points. And then, when the signal transmission times are less than the preset transmission times, the method controls the terminal radio station to transmit signals at the current transmission time point, and compares the current corresponding signal transmission time length with the preset transmission time length. And finally, when the signal transmission times are not less than the preset transmission times or the signal transmission duration is not less than the preset transmission duration, controlling the terminal radio station not to transmit signals in a time period corresponding to the preset protection duration, so that the terminal radio station can stop signal transmission in time when the long-time transmission phenomenon occurs, thereby protecting the signal transmission function of the terminal radio station, preventing the long-time transmission phenomenon from occurring in the terminal radio station and avoiding the condition that a wireless radio station communication system comprising the terminal radio station is paralyzed.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A communication protection method applied to a terminal station in which a transmission time point at each time of transmitting a signal is recorded and stored, the method comprising:
when the terminal radio station transmits signals every time, judging whether the signal transmission times of the terminal radio station at the current transmission time point in a time period corresponding to the preset communication time length are less than the preset transmission times or not according to the recorded transmission time points;
if the signal transmission times are less than the preset transmission times, controlling the terminal radio station to transmit signals at the current transmission time point, and comparing the current corresponding signal transmission time length with the preset transmission time length;
if the signal transmission times are not less than the preset transmission times or the signal transmission duration is not less than the preset transmission duration, controlling the terminal radio station not to transmit signals within a time period corresponding to the preset protection duration;
and comparing the power-on time length corresponding to the power-on of the terminal radio station with a power-on preset time length, and controlling the terminal radio station not to transmit signals in the time period corresponding to the power-on preset time length when the power-on time length is less than the power-on preset time length.
2. The method of claim 1, wherein a ring buffer for recording transmission time points when signals are transmitted is created in the terminal station, wherein the total number of element spaces in the ring buffer is greater than the preset transmission times, each element space corresponds to a transmission time point when a signal is transmitted, and the step of determining whether the signal transmission times of the terminal station at the current transmission time point in a time period corresponding to the preset communication duration is less than the preset transmission times according to the recorded transmission time points comprises:
monitoring the number of target element spaces with the transmitting time points recorded in the annular buffer zone in real time;
when the monitored number of the target element spaces is larger than or equal to the preset emission times, acquiring target emission time points from all recorded emission time points, wherein the number of time points spaced between the target emission time points and the current emission time points when the current signals are emitted is the same as the preset emission times;
calculating a time difference value between the current transmitting time point and the target transmitting time point, and comparing the time difference value with the preset communication time length;
if the time difference is not greater than the preset communication time, judging that the signal transmission times of the terminal radio station in the time period corresponding to the preset communication time are not less than the preset transmission times;
and if the time difference is greater than the preset communication time, judging that the signal transmission times of the terminal radio station in the time period corresponding to the preset communication time are less than the preset transmission times.
3. The method according to claim 1, wherein a transmission timer configured according to a preset transmission duration is provided in the terminal station, and the step of comparing the current corresponding signal transmission duration with the preset transmission duration comprises:
controlling the transmission timer to be correspondingly started when the terminal radio station transmits signals each time, and monitoring the signal transmission state of the terminal radio station when the corresponding timing time of the transmission timer is exhausted;
if the signal transmission state of the terminal radio station when the corresponding timing time of the transmission timer is exhausted is monitored to be still in a continuous transmission state, judging that the current signal transmission time length of the terminal radio station is not less than the preset transmission time length, otherwise, judging that the current signal transmission time length of the terminal radio station is less than the preset transmission time length.
4. The method according to any one of claims 1 to 3, wherein a power-on timer configured according to a power-on preset duration is provided in the terminal radio station, the step of comparing the power-on duration corresponding to the power-on of the terminal radio station with the power-on preset duration, and controlling the terminal radio station not to transmit a signal in a time period corresponding to the power-on preset duration when the power-on duration is less than the power-on preset duration comprises:
and controlling the power-on timer to be correspondingly started when the terminal radio station is powered on, and controlling the terminal radio station not to transmit signals when the timing time corresponding to the power-on timer is not exhausted.
5. The method of claim 1, further comprising:
and configuring the preset transmitting time, the preset communication time, the preset transmitting times, the preset protection time and the preset power-on time corresponding to the terminal radio station.
6. The utility model provides a communication protection device which characterized in that is applied to the terminal radio station, the transmission time point when transmitting signal at every turn is recorded and stored in the terminal radio station, be provided with the emission timer according to presetting transmission duration configuration in the terminal radio station, be provided with the power on timer according to power on presetting duration configuration in the terminal radio station, the device includes:
the transmission frequency judging module is used for judging whether the signal transmission frequency of the terminal radio station at the current transmission time point in a time period corresponding to the preset communication time length is less than the preset transmission frequency according to each recorded transmission time point when the terminal radio station transmits signals each time;
the transmitting time comparison module is used for controlling the terminal radio station to transmit signals at the current transmitting time point and comparing the current corresponding signal transmitting time with the preset transmitting time if the signal transmitting times are smaller than the preset transmitting times;
the communication protection control module is used for controlling the terminal radio station not to transmit signals in a time period corresponding to a preset protection time length if the signal transmission times are not less than the preset transmission times or the signal transmission time length is not less than the preset transmission time length;
the communication protection control module is further configured to compare a power-on duration corresponding to the power-on of the terminal radio station with a preset power-on duration, and control the terminal radio station not to transmit a signal within a time period corresponding to the preset power-on duration when the power-on duration is smaller than the preset power-on duration.
7. The apparatus of claim 6, wherein a ring buffer for recording transmission time points when signals are transmitted is created in the terminal station, wherein the total number of element spaces in the ring buffer is greater than the preset transmission times, each element space corresponds to a transmission time point when a signal is transmitted, and the manner for the transmission time determination module to determine whether the signal transmission times of the terminal station at the current transmission time point in the time period corresponding to the preset communication duration is less than the preset transmission times according to each recorded transmission time point comprises:
monitoring the number of target element spaces with the transmitting time points recorded in the annular buffer zone in real time;
when the monitored number of the target element spaces is larger than or equal to the preset emission times, acquiring target emission time points from all recorded emission time points, wherein the number of time points spaced between the target emission time points and the current emission time points when the current signals are emitted is the same as the preset emission times;
calculating a time difference value between the current transmitting time point and the target transmitting time point, and comparing the time difference value with the preset communication time length;
if the time difference is not greater than the preset communication time, judging that the signal transmission times of the terminal radio station in the time period corresponding to the preset communication time are not less than the preset transmission times;
and if the time difference is greater than the preset communication time, judging that the signal transmission times of the terminal radio station in the time period corresponding to the preset communication time are less than the preset transmission times.
8. The apparatus of claim 6 or 7, further comprising:
and the communication parameter configuration module is used for configuring the preset transmitting time, the preset communication time, the preset transmitting times, the preset protection time and the power-on preset time corresponding to the terminal radio station.
CN201810819658.3A 2018-07-24 2018-07-24 Communication protection method and device Active CN108810959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810819658.3A CN108810959B (en) 2018-07-24 2018-07-24 Communication protection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810819658.3A CN108810959B (en) 2018-07-24 2018-07-24 Communication protection method and device

Publications (2)

Publication Number Publication Date
CN108810959A CN108810959A (en) 2018-11-13
CN108810959B true CN108810959B (en) 2021-03-23

Family

ID=64077851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810819658.3A Active CN108810959B (en) 2018-07-24 2018-07-24 Communication protection method and device

Country Status (1)

Country Link
CN (1) CN108810959B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110528233B (en) * 2019-08-12 2020-11-27 珠海格力电器股份有限公司 Method and device for testing drying of articles and intelligent clothes hanger

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101036061A (en) * 2004-08-05 2007-09-12 讯宝科技公司 System and method for battery conservation in wireless stations
CN202651749U (en) * 2012-06-20 2013-01-02 光一科技股份有限公司 Protection circuit preventing long-term error transmission of radio station
JP6345279B2 (en) * 2015-02-12 2018-06-20 三菱電機株式会社 Train control system, base station controller, ground radio base station, on-board radio station
CN105450429B (en) * 2015-12-30 2019-03-29 海能达通信股份有限公司 Data transmission method, device, system and communication equipment
CN105911933B (en) * 2016-06-28 2018-10-02 中国人民解放军63888部队 A kind of radio station's remote controllers
CN107171974B (en) * 2017-04-27 2018-02-23 北京望远传媒有限公司 A kind of method and device of advertisement machine shared resource

Also Published As

Publication number Publication date
CN108810959A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
US8081590B2 (en) Systems and methods for controlling sleep states of network nodes
EP3142423B1 (en) Heartbeat adjustment method, device and terminal
US11374368B2 (en) Abnormality prompting method and intelligent socket
US9001694B2 (en) Methods and apparatus for controlling a wireless station
CN109524049B (en) SSD abnormal power failure test method and device, computer equipment and storage medium
EP3206428B1 (en) Data traffic management method and device
US10121359B2 (en) Methods and devices for prompting information of a smart socket
CN110031746B (en) Chip test remote monitoring method and device, computer equipment and storage medium
US20170262340A1 (en) Relay device, control method of relay device, control program and recording medium
CN108810959B (en) Communication protection method and device
CN110837456B (en) Control method and device and electronic equipment
EP4351205A1 (en) Active-standby switching processing method and system, and electronic apparatus and storage medium
CN109490675B (en) Early warning method, electronic device and test system
CN205610341U (en) Bus duct monitored control system
US11277325B2 (en) Method and device for monitoring at least one activity of a connected object
CN113454605A (en) Operation device maintenance method and apparatus, storage medium, and program product
JP6798035B2 (en) How to realize value-added services, equipment, and cloud servers
CN109597728B (en) Control method and device of test equipment and computer readable storage medium
CN114791835B (en) Program restarting method and device, storage medium and electronic device
CN110602221A (en) Notification level processing method and device and readable storage medium
EP3214547B1 (en) Data logging apparatus
US11570685B2 (en) Power savings for wireless sensors
US20220126770A1 (en) On-board communication device, program, and communication method
CN115150007A (en) Digital key system monitoring method, device, equipment and storage medium
EP4180947A1 (en) Software upgrading method, apparatus, and system

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
CB03 Change of inventor or designer information

Inventor after: Ma Yongtao

Inventor after: Yang Shuyan

Inventor after: Guo Fuxing

Inventor after: Zhang Yong

Inventor after: Cui Tao

Inventor before: Ma Yongtao

Inventor before: Guo Fuxing

Inventor before: Zhang Yong

Inventor before: Cui Tao

CB03 Change of inventor or designer information
CP02 Change in the address of a patent holder

Address after: 3rd Floor, Building 6, Guangqian Industrial Zone, Longzhu 3rd Road, Longzhu 3rd Road, Longguang Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province, 518000

Patentee after: SHENZHEN FRIENDCOM TECHNOLOGY DEVELOPMENT Co.,Ltd.

Address before: 518000 6th floor, building 17, Guangqian Industrial Zone, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN FRIENDCOM TECHNOLOGY DEVELOPMENT Co.,Ltd.

CP02 Change in the address of a patent holder