CN102932827A - Repeater equipment and control method thereof - Google Patents

Repeater equipment and control method thereof Download PDF

Info

Publication number
CN102932827A
CN102932827A CN2012105049299A CN201210504929A CN102932827A CN 102932827 A CN102932827 A CN 102932827A CN 2012105049299 A CN2012105049299 A CN 2012105049299A CN 201210504929 A CN201210504929 A CN 201210504929A CN 102932827 A CN102932827 A CN 102932827A
Authority
CN
China
Prior art keywords
mode
equipment
repeater equipment
repeater
acquiescence
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.)
Granted
Application number
CN2012105049299A
Other languages
Chinese (zh)
Other versions
CN102932827B (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 Guoren Wireless Communication Co Ltd
Original Assignee
Shenzhen Guoren Communication 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 Guoren Communication Co Ltd filed Critical Shenzhen Guoren Communication Co Ltd
Priority to CN201210504929.9A priority Critical patent/CN102932827B/en
Publication of CN102932827A publication Critical patent/CN102932827A/en
Application granted granted Critical
Publication of CN102932827B publication Critical patent/CN102932827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention relates to repeater equipment and a control method thereof. A repeater comprises a processor (11), and a working mode obtaining module (13), a switching signal obtaining module (15), a working mode switching module (17) and a detection module (19), which are connected with the processor (11). The control method comprises the following steps of: obtaining a default working mode of the repeater equipment, wherein the default working mode is a master equipment working mode or a slave equipment working mode; obtaining a working mode switching signal, and switching the repeater equipment to a corresponding working mode according to the working mode switching signal, wherein the corresponding working mode is the master equipment working mode or slave equipment working mode; and if the working mode of the repeater equipment is different from the default working mode of the repeater equipment and the duration exceeds a preset threshold, resetting the repeater equipment to the default working mode of the repeater equipment. According to the invention, the working mode of the repeater equipment can be switched to perform mutual control on the repeater master equipment and slave equipment.

Description

Repeater equipment and control method thereof
[technical field]
The invention belongs to network coverage field, repeater, more specifically, relate to a kind of repeater equipment and control method thereof.
[background technology]
In the network overlay system of repeater, often can use a repeater incoming end (being main equipment) to cooperate many capped ends (namely from equipment) to carry out signal and cover.Main equipment the operation such as inquires about, arranges to a plurality of from equipment by RS485 or alternate manner, and management to all repeater equipments that comprise main frame and slave is realized at the network management monitoring center of the operator's one side then remote communication module by main equipment.
Before repeater equipment formally came into operation, the attendant need to be to main equipment, carry out more inquiry setting operation from equipment.And main equipment, distant from equipment, and usually be installed on the high-wall from equipment, on-line operation is difficulty relatively.
[summary of the invention]
For overcoming defects, the invention provides a kind of repeater equipment that can switching working mode.This repeater equipment comprises: processor; The mode of operation acquisition module that is connected with processor is used for obtaining the acquiescence mode of operation of repeater equipment, and described acquiescence mode of operation is main equipment mode of operation or from the equipment mode of operation; The switching signal acquisition module that is connected with processor is used for obtaining the mode of operation switching signal; The mode of operation handover module that is connected with processor is used for according to described mode of operation switching signal described repeater equipment being switched to corresponding mode of operation, and the mode of operation of described correspondence is main equipment mode of operation or from the equipment mode of operation.
In a preferred version, if the mode of operation of described repeater equipment is different from the acquiescence mode of operation of described repeater equipment, and the duration surpasses predetermined threshold value, and described mode of operation handover module also is used for described repeater equipment is reset to the acquiescence mode of operation of described repeater equipment.
In a preferred version, described repeater equipment also comprises the detection module that is connected with processor, is used for regularly detecting with the default time interval mode of operation of described repeater equipment, and the described time interval is less than described predetermined threshold value.
In a preferred version, described repeater equipment has the serial ports that is connected with processor, is used for receiving the mode of operation switching signal.
The present invention also provides a kind of control method of repeater equipment, comprises step: obtain the acquiescence mode of operation of repeater equipment, described acquiescence mode of operation is main equipment mode of operation or from the equipment mode of operation; Obtain the mode of operation switching signal, according to described mode of operation switching signal described repeater equipment is switched to corresponding mode of operation, the mode of operation of described correspondence is main equipment mode of operation or from the equipment mode of operation.
In a preferred version, described method also comprises: if the mode of operation of described repeater equipment is different from the acquiescence mode of operation of described repeater equipment, and the duration surpasses predetermined threshold value, then described repeater equipment is reset to the acquiescence mode of operation of described repeater equipment.
In a preferred version, described method comprises: with the regular mode of operation that detects described repeater equipment of the default time interval, the described time interval is less than described predetermined threshold value.
In a preferred version, regularly detect with the default time interval in the step of mode of operation of described repeater equipment: in the mode of operation that detects first described repeater equipment is different from the acquiescence mode of operation of described repeater equipment, moment of this time detection is designated as the zero hour; In regular detection subsequently, if the mode of operation of described repeater equipment is different from the acquiescence mode of operation of described repeater equipment, then ought be designated as current time time detection time; The difference of current time and the zero hour then is reset to described repeater equipment the acquiescence mode of operation of described repeater equipment greater than described predetermined threshold value as described.
In a preferred version, described repeater equipment is main equipment or from equipment.
In a preferred version, by serial ports to described mode of operation handover module input service mode switching signal.
Implement the present invention, the repeater can be switched to the main equipment mode of operation from the mode of operation of equipment, thereby can carry out control and management from equipment to other repeaters.In a preferred embodiment, the present invention can also be automatically be reset to its acquiescence mode of operation with the mode of operation of repeater equipment.
[description of drawings]
The schematic block diagram of the repeater equipment that Fig. 1 provides for one embodiment of the invention;
The flow chart of the control method of the repeater equipment that Fig. 2 provides for one embodiment of the invention;
The flow chart of the control method of the repeater equipment that Fig. 3 provides for another embodiment of the present invention;
The flow chart of the control method of the repeater equipment that Fig. 4 provides for another embodiment of the present invention.
[embodiment]
With reference to figure 1, the repeater equipment that one embodiment of the invention provides comprises: processor 11; The mode of operation acquisition module 13 that is connected with processor 11; The switching signal acquisition module 15 that is connected with processor 11; The mode of operation handover module 17 that is connected with processor 11; The detection module 19 that is connected with processor 11.
With reference to figure 2, the key step of the control method of this repeater comprises:
S21 obtains the acquiescence mode of operation of repeater equipment, and the acquiescence mode of operation is main equipment mode of operation or from the equipment mode of operation.In the present embodiment, can obtain by mode of operation acquisition module 13 the acquiescence mode of operation of repeater equipment.
S23 obtains the mode of operation switching signal, according to the mode of operation switching signal repeater equipment is switched to corresponding mode of operation, and corresponding mode of operation is main equipment mode of operation or from the equipment mode of operation.In the present embodiment, can obtain the mode of operation switching signal by switching signal acquisition module 15.Can according to the mode of operation switching signal repeater equipment be switched to corresponding mode of operation by handover module 17.
Repeater equipment can have the serial ports that is connected with processor 11, is used for receiving the mode of operation switching signal.
With reference to figure 3, further, the control method of repeater also comprises:
S25, if the mode of operation of repeater equipment is different from the acquiescence mode of operation of repeater equipment, and the duration surpass predetermined threshold value, then repeater equipment is reset to the acquiescence mode of operation of repeater equipment.In the present embodiment, can repeater equipment be reset to by mode of operation handover module 17 the acquiescence mode of operation of repeater equipment.In addition, can be by detection module 19 with the regular mode of operation that detects repeater equipment of the default time interval, the described time interval is less than predetermined threshold value.
Implement the present invention, can change the repeater main equipment, from the mode of operation of equipment, realize main equipment, carry out cross complaint from equipment.
Idiographic flow about the mode of operation of regular detection and replacement repeater equipment please refer to Fig. 4.
Among the step S31, every a time interval Tint, regularly detect judgement.If arrive the judgement time, flow process enters step S33; Otherwise flow process is returned and is restarted.
Among the step S33, obtain the work at present pattern g_runmode of repeater equipment, this current mode of operation is divided into host work pattern and slave mode of operation.
Among the step S35, judge whether repeater equipment is main equipment.If main equipment, flow process enters step S37, otherwise flow process enters step S43.
Among the step S37, the work at present pattern g_runmode of judgment device is the main equipment mode of operation whether.If main equipment mode of operation, illustrate that this equipment operates under the acquiescence mode of operation, operational mode change does not occur, just in step S39, the value (main equipment mode of operation) of work at present pattern g_runmode is assigned to the mode of operation pre_runmode of previous detection, and then flow process is returned and is restarted.On the contrary, if among the step S37, find that work at present pattern g_runmode is not the main equipment mode of operation, illustrate that this equipment is not to operate under the acquiescence mode of operation.Therefore, flow process enters step S41, judges what the previous mode of operation pre_runmode that detects is.
Among the step S41, if the previous mode of operation pre_runmode that detects is the main equipment mode of operation, illustrate that switching has occured the mode of operation of this equipment, flow process enters step S49, otherwise flow process enters step S51.
Among the step S49, moment of this time detection is designated as the Tstart zero hour, and the value (from the equipment mode of operation) of work at present pattern g_runmode is assigned to the mode of operation pre_runmode of previous detection.That is to say, in the mode of operation that detects first repeater equipment is different from the acquiescence mode of operation of repeater equipment, moment of this time detection is designated as the Tstart zero hour.
Among the step S51, obtain current time Tcurrent.That is to say that in regularly detecting, detect the acquiescence mode of operation of the mode of operation of repeater equipment and repeater equipment not simultaneously, the moment that ought last time detect is designated as current time Tcurrent.Then, flow process enters step S53.
Among the step S53, judge current time Tcurrent and the zero hour Tstart difference whether greater than predetermined threshold value Tmax.If not greater than, then flow process is returned and is restarted.If greater than, then devices illustrated is long in the duration of non-acquiescence mode of operation, just in step S55 the mode of operation of equipment is switched to the acquiescence mode of operation, and to work at present pattern grunmode assignment " acquiescence mode of operation ".
Among the step S43, whether the work at present pattern g_runmode of judgment device is from the equipment mode of operation.If from the equipment mode of operation, illustrate that this equipment operates under the acquiescence mode of operation, operational mode change does not occur, just in step S45, the value (from the equipment mode of operation) of work at present pattern g_runmode is assigned to the mode of operation pre_runmode of previous detection, and then flow process is returned and is restarted.On the contrary, if among the step S43, find that work at present pattern g_runmode is not from the equipment mode of operation, illustrate that this equipment is not to operate under the acquiescence mode of operation.Therefore, flow process enters step S47, judges what the previous mode of operation pre_runmode that detects is.
Among the step S41, if the previous mode of operation pre_runmode that detects is from the equipment mode of operation, illustrate that switching has occured the mode of operation of this equipment, flow process enters step S49, otherwise flow process enters step S51.
Among the step S49, moment of this time detection is designated as the Tstart zero hour, and the value (main equipment mode of operation) of work at present pattern g_runmode is assigned to the mode of operation pre_runmode of previous detection.That is to say, in the mode of operation that detects first repeater equipment is different from the acquiescence mode of operation of repeater equipment, moment of this time detection is designated as the Tstart zero hour.
For the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1. the control method of repeater equipment is characterized in that, comprises step:
Obtain the acquiescence mode of operation of repeater equipment, described acquiescence mode of operation is main equipment mode of operation or from the equipment mode of operation;
Obtain the mode of operation switching signal, according to described mode of operation switching signal described repeater equipment is switched to corresponding mode of operation, the mode of operation of described correspondence is main equipment mode of operation or from the equipment mode of operation.
2. control method as claimed in claim 1 is characterized in that, described method also comprises:
If the mode of operation of described repeater equipment is different from the acquiescence mode of operation of described repeater equipment, and the duration surpass predetermined threshold value, then described repeater equipment is reset to the acquiescence mode of operation of described repeater equipment.
3. control method as claimed in claim 2 is characterized in that, described method comprises:
With the regular mode of operation that detects described repeater equipment of the default time interval, the described time interval is less than described predetermined threshold value.
4. control method as claimed in claim 2 is characterized in that, regularly detects with the default time interval in the step of mode of operation of described repeater equipment:
In the mode of operation that detects first described repeater equipment is different from the acquiescence mode of operation of described repeater equipment, moment of this time detection is designated as the zero hour;
If in the regular detection subsequently, the mode of operation of described repeater equipment is different from the acquiescence mode of operation of described repeater equipment, and the moment that ought last time detect is designated as current time;
The difference of current time and the zero hour then is reset to described repeater equipment the acquiescence mode of operation of described repeater equipment greater than described predetermined threshold value as described.
5. such as the described control method of any one in the claim 1 to 4, it is characterized in that described repeater equipment is main equipment or from equipment.
6. control method as claimed in claim 5 is characterized in that, by serial ports to described mode of operation handover module input service mode switching signal.
7. a repeater equipment is characterized in that, comprising:
Processor (11);
The mode of operation acquisition module (13) that is connected with processor (11) is used for obtaining the acquiescence mode of operation of repeater equipment, and described acquiescence mode of operation is main equipment mode of operation or from the equipment mode of operation;
The switching signal acquisition module (15) that is connected with processor (11) is used for obtaining the mode of operation switching signal;
The mode of operation handover module (17) that is connected with processor (11), be used for according to described mode of operation switching signal described repeater equipment being switched to corresponding mode of operation, the mode of operation of described correspondence is main equipment mode of operation or from the equipment mode of operation.
8. repeater equipment as claimed in claim 7, it is characterized in that, if the mode of operation of described repeater equipment is different from the acquiescence mode of operation of described repeater equipment, and the duration surpasses predetermined threshold value, and described mode of operation handover module (17) also is used for described repeater equipment is reset to the acquiescence mode of operation of described repeater equipment.
9. repeater equipment as claimed in claim 8, it is characterized in that, described repeater equipment also comprises the detection module (19) that is connected with processor (11), is used for regularly detecting with the default time interval mode of operation of described repeater equipment, and the described time interval is less than described predetermined threshold value.
10. such as the described repeater equipment of any one in the claim 7 to 9, it is characterized in that described repeater equipment has the serial ports that is connected with processor (11), be used for receiving the mode of operation switching signal.
CN201210504929.9A 2012-11-30 2012-11-30 Repeater equipment and control method thereof Active CN102932827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210504929.9A CN102932827B (en) 2012-11-30 2012-11-30 Repeater equipment and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210504929.9A CN102932827B (en) 2012-11-30 2012-11-30 Repeater equipment and control method thereof

Publications (2)

Publication Number Publication Date
CN102932827A true CN102932827A (en) 2013-02-13
CN102932827B CN102932827B (en) 2015-09-16

Family

ID=47647501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210504929.9A Active CN102932827B (en) 2012-11-30 2012-11-30 Repeater equipment and control method thereof

Country Status (1)

Country Link
CN (1) CN102932827B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294236A (en) * 2016-08-25 2017-01-04 广东迪奥技术有限公司 A kind of communication means based on RS485, device and communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960276A (en) * 2005-11-04 2007-05-09 英业达股份有限公司 Remote control system and method
CN101272548A (en) * 2008-04-17 2008-09-24 华为技术有限公司 Base station system and communication networking method
CN101345593A (en) * 2008-08-29 2009-01-14 京信通信***(中国)有限公司 Centralized-monitoring overlapping system network and its multisystem access device
CN102457944A (en) * 2010-10-26 2012-05-16 中兴通讯股份有限公司 Radio remote unit (RRU) and power supply method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960276A (en) * 2005-11-04 2007-05-09 英业达股份有限公司 Remote control system and method
CN101272548A (en) * 2008-04-17 2008-09-24 华为技术有限公司 Base station system and communication networking method
CN101345593A (en) * 2008-08-29 2009-01-14 京信通信***(中国)有限公司 Centralized-monitoring overlapping system network and its multisystem access device
CN102457944A (en) * 2010-10-26 2012-05-16 中兴通讯股份有限公司 Radio remote unit (RRU) and power supply method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294236A (en) * 2016-08-25 2017-01-04 广东迪奥技术有限公司 A kind of communication means based on RS485, device and communication system
CN106294236B (en) * 2016-08-25 2018-12-04 广东迪奥技术有限公司 A kind of communication means based on RS485, device and communication system

Also Published As

Publication number Publication date
CN102932827B (en) 2015-09-16

Similar Documents

Publication Publication Date Title
CN104618940B (en) Electric power acquisition terminal network long distance control system and method for supervising thereof
CN103957138B (en) A kind of method for monitoring network, device and its system
CN102759941B (en) Moisture-proof device for electrical equipment
CN104242450A (en) Method for monitoring state of wireless module in power distribution system
WO2008114364A1 (en) Relay device, its conduction confirmation method, and conduction confirmation circuit
CN103109560A (en) Fault recovery method of operation maintenance channel and network management terminal
CN104581798A (en) Fault state acquire method and device for mobile communication base station
CN112134753A (en) Fault processing method, device and system, electronic equipment and storage medium
CN106330914B (en) A kind of live streaming media hot backup system
CN103957552A (en) Method for improving reliability of data communication in automatic meteorological station
CN102904758B (en) Method for detecting communication failure of mine leakage communication network
CN102932827A (en) Repeater equipment and control method thereof
CN104104519A (en) Power off restart method, device and system
CN103297123A (en) Method and system for monitoring light splitter
CN102710873A (en) Video monitoring system and method based on CDMA2000 (Code Division Multiple Access 2000) network VPDN (Virtual Private Dial Network)
WO2012037826A1 (en) Radio frequency remote unit and abnormity detection method thereof
KR101566414B1 (en) Relay system for multiband mobile communication
CN103532794A (en) Method for automatically switching stable control strategies based on warning signals of synchronous digital hierarchy equipment
KR101940811B1 (en) Power auto restoration device for observation of communacation port(rs-232)
KR101557858B1 (en) Wireless network security system and its access obstacle processing method
CN201947273U (en) Railway communication optical fiber repeater system
CN102769864B (en) The alert processing method of radio frequency stretch system and system thereof
JP6204397B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
CN104065498A (en) Channel establishment method and device
CN103781082A (en) Communication method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHENZHEN GUOREN COMMUNICATION CO., LTD.

Free format text: FORMER OWNER: GUOREN COMMUNICATION CO LTD., SHENZHEN

Effective date: 20150820

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150820

Address after: 518000 Guangdong city of Shenzhen province Nanshan District high tech park of science and technology in three Chinese central road building A building room 13F1303

Applicant after: Shenzhen compatriots limited company that communicates by letter

Address before: 518000 Guangdong city of Shenzhen province Nanshan District high tech Park District in three road of Chinese science and technology building B building 3F and building A 15F

Applicant before: Guoren Communication Co., Ltd., Shenzhen

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191012

Address after: Room 1403, building a, Guoren building, No. 5, Keji Zhongsan Road, gaoxinyuan Middle District, Maling community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Guoren Wireless Communication Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District high tech park of science and technology in three Chinese central road building A building room 13F1303

Patentee before: Shenzhen compatriots limited company that communicates by letter