CN102130782B - Control method and equipment - Google Patents

Control method and equipment Download PDF

Info

Publication number
CN102130782B
CN102130782B CN 201010612547 CN201010612547A CN102130782B CN 102130782 B CN102130782 B CN 102130782B CN 201010612547 CN201010612547 CN 201010612547 CN 201010612547 A CN201010612547 A CN 201010612547A CN 102130782 B CN102130782 B CN 102130782B
Authority
CN
China
Prior art keywords
equipment
external interface
state
external
base station
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
CN 201010612547
Other languages
Chinese (zh)
Other versions
CN102130782A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 201010612547 priority Critical patent/CN102130782B/en
Publication of CN102130782A publication Critical patent/CN102130782A/en
Application granted granted Critical
Publication of CN102130782B publication Critical patent/CN102130782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a control method and equipment. In the control method, a first device detects the time that the first device keeps connection with an external device; and when the time that the first device keeps the connection with the external device exceeds a preset value, the first device sets the status of an external interface of the external device to be an unavailable status, wherein the external interface is used for connecting the first device with the external device. The equipment comprises the external interface, a detection unit and a control unit, wherein the detection unit is used for detecting the time that the external device keeps the connection with the external interface; and the control unit is used for setting the status of the external interface to be an unavailable status when the time detected by the detection unit exceeds the preset value. The method or the equipment can be used to solve the problem that the devices are abnormal because the external device is not pulled out in time.

Description

A kind of control method and equipment thereof
Technical field
The present invention relates to field of telecommunications, particularly relate to a kind of control method and equipment thereof.
Background technology
At present, in the telecommunication technology field, the method that equipment is safeguarded comprises remote maintenance and near-end maintaining.
Be example with the base station in the mobile communication system, its near-end maintaining operation comprises adopts USB (Universal Serial Bus, USB) interface to open operations such as station, upgrading and accent survey.Because the near-end maintaining operation need not the base station is connected with computer, also need not special attendant and operates, and only needs the hardware installer to use USB just can finish, and therefore, can significantly reduce the cost of serving of operator.
For example, be connected with the base station by USB interface storing the memory device of safeguarding control documents, the control documents of safeguarding of this memory device, stores is read in the base station, and automatically performs attended operation according to this document.
But, if the hardware installation personnel after finishing near-end maintaining, forgets and extracts memory device that it is unusual then may to cause the base station to occur.
Summary of the invention
The embodiment of the invention provides a kind of control method and equipment, can solve in time not to be pulled out at external equipment to cause equipment unusual problem to occur.
An aspect of of the present present invention provides a kind of equipment, comprises external interface, detecting unit and control unit, and wherein, described detecting unit keeps time of being connected for detection of external equipment and described external interface; Described control unit is used for when the detected time of described detecting unit surpasses preset value, and the state of described external interface is set to unavailable.
Another aspect of the present invention provides a kind of control method, comprising:
The time that described first equipment of first Equipment Inspection is connected with the external equipment maintenance;
The time that keeps being connected when described first equipment and described external equipment surpasses preset value, and described first equipment is set to unavailable for the state of the external interface that is connected with external equipment.
When the method and apparatus that the embodiment of the invention provides in time is not pulled out at external equipment, need not the intervention of human intervention or remote management apparatus, by automatic forbidding external interface, can avoid occurring unit exception, thereby lower cost of equipment maintenance.Further, under the disabled situation of the external interface of equipment, need not the intervention of remote management apparatus, by extracting external equipment, external interface can be used, easy to operate timely.
Description of drawings
The equipment schematic diagram that Fig. 1 provides for one embodiment of the present of invention;
The method flow diagram that Fig. 2 provides for an alternative embodiment of the invention;
The method flow diagram that Fig. 3 provides for an alternative embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
As shown in Figure 1, one embodiment of the present of invention provide a kind of equipment 100, and this equipment 100 comprises external interface 120, detecting unit 140 and control unit 160.Wherein, detecting unit 140 keeps time of being connected, control unit 160 to be used for when 140 detected times of detecting unit during above preset value for detection of external equipment and external interface 120, and the state of external interface 120 is set to unavailable.When equipment 100 is unavailable at the state of external interface 120, can receive or read from any information or operation in the external equipment, effectively avoid in time not being pulled out and causing equipment 100 unusual problem to occur by external equipment.
For example, detecting unit 140 is when detecting external equipment and be connected (also be external equipment pass through external interface 120 be connected with equipment 100) with external interface 120, start timer 150, the duration of this timer 150 is above-mentioned preset value, when this timer 150 was overtime, the state of control unit 160 external interfaces 120 was set to unavailable.When external equipment and external interface 120 disconnects when being connected, this timer 150 can stop, and for example recovers initial value.Optionally, timer 150 is somes (as shown in Figure 1) of detecting unit 120.
Preset value in the present embodiment can equal by external equipment equipment 100 to be done the required duration maximum of near-end maintaining, also can be greater than by external equipment equipment 100 being done the required duration maximum of near-end maintaining.For example, suppose that by external equipment equipment 100 being done the required duration maximum of near-end maintaining is 20 minutes, then preset value can be 20 minutes, perhaps greater than other values of 20 minutes, and for example 25 minutes, 30 minutes etc.
Optionally, when control unit 160 also was used for being connected (also namely disconnect with equipment 100 and being connected) with external interface 120 disconnections when detecting unit 140 detects external equipment, the state of external interface 120 was set to available.For example, in equipment 100 runnings, when the external equipment that is connected with equipment 100 by external interface 120 is pulled out or ejects, detecting unit 140 can detect external equipment and be connected with external interface 120 disconnections, and notice control unit 160, accordingly, the state of control unit 160 external interfaces 120 is set to available.
Optionally, equipment 100 in the present embodiment also comprises memory cell 180, the state that is used for the external interface 120 of preservation control unit 160 settings, after at control unit 160 state of external interface being set at every turn, the state of the external interface that memory cell 180 storage control units 160 arrange.For example, control unit 160 preserves to memory cell 180 state notifying of the external interface 120 that arranges behind the state that external interface is set at every turn.And for example, when memory cell 180 changes at the state of each external interface 120, preserve the state after changing automatically, and need not to wait for the notice of control unit 160.And for example, memory cell 180 is somes (as shown in Figure 1) of control unit 160.Further, control unit 160 also is used for when equipment 100 starts, the state of external interface 120 is set to the state that memory cell 180 is preserved, namely the state of preserving according to memory cell 180 arranges the state of external interface 120, thereby the state of external interface 120 is consistent before and after the startup of equipment 100, avoids the state of external interface to change along with restarting of equipment 100.Before if equipment 100 restarts, the state of external interface 120 is unavailable, illustrate that external equipment is not pulled out, after then equipment 100 restarts, the state of external interface 120 still is unavailable, can avoid external equipment operation automatically in the start-up course of equipment 100, and cause equipment 100 unusual problem to occur.Before if equipment 100 restarts, the state of external interface 120 is available, illustrating does not have external equipment to keep being connected with equipment 100, after then equipment 100 restarts, the state of external interface 120 still is available, can begin to be connected with external equipment at any time, receive or read data or other information of this external equipment.
Optionally, equipment 100 also comprises Alarm Unit 190, be used for when the detected time of described detecting unit surpasses preset value, alarm, for example light stand by lamp, and/or the alarm sound that sounds, extract external equipment to remind operating personnel, reduce operating personnel and forget the possibility of extracting external equipment.
Optionally, all or part of can being integrated in the circuit realized in each unit in the present embodiment.The function of each unit can realize by circuit or software.Can come announcement information or trigger action by modes such as certain pulses or pulse change or logic switches between each unit.
Connection in the present embodiment refers to that external equipment contacts with the physics of external interface 120.Whether the detecting unit 140 in the present embodiment can detect this physics contact and exist, and whether this external equipment is in place in other words.For example, detecting unit 140 time of detecting the contact of this physics is the time that above-mentioned external equipment is connected with external interface 120 maintenances.And for example, detecting unit 140 detects the contact of this physics and becomes from existence and do not exist, and is above-mentioned external equipment and is connected with external interface 120 disconnections.
Optionally, external interface 120 in the present embodiment is USB interface, external equipment is any equipment that can be connected with equipment 100 by USB interface, USB or have other equipment of USB for example, external equipment can store to equipment 100 carry out near-end maintaining required safeguard control documents.
Optionally, equipment 100 is the base station, or other equipment that can safeguard by external equipment, and is not limited to the equipment in base station or the mobile communication system.Optionally, external interface 120 is circuit or terminals that equipment 100 is connected with external equipment, thereby makes equipment 100 can receive or read data or other information of external equipment.
When the equipment 100 that present embodiment provides in time is not pulled out at external equipment, need not the intervention of human intervention or remote management apparatus, by automatic forbidding external interface, can avoid occurring unit exception, thereby lower the maintenance cost of operator.Further, under the disabled situation of the external interface of equipment 100, the intervention of no remote management apparatus only need be extracted external equipment, and external interface can be used, and is easy to operate timely.
As shown in Figure 2, an alternative embodiment of the invention provides a kind of control method, is that example describes with the base station.Present embodiment comprises the steps.
210, whether the base station detection surpasses preset value with the time that external equipment keeps being connected, if, execution in step 220.
Wherein, the base station is connected with external equipment by external interface.
For example, base station base stations detected and external equipment keep time of being connected, and the time that is connected with the external equipment maintenance when the base station is above preset value, execution in step 220.
220, the state of base station external interface is set to unavailable.
When the base station is unavailable at the state of external interface, can receive or read from any information or operation in the external equipment, effectively avoid in time not being pulled out and causing the base station unusual problem to occur by external equipment.
For example, in step 210-220, the timer in the base station starts when external equipment is connected with the base station, and this length of timer is preset value.When this timer expiry, the state of base station external interface is set to unavailable.For example, preset value can equal by external equipment the required duration maximum of near-end maintaining to be done in the base station, also can be greater than by external equipment the required duration maximum of near-end maintaining being done in the base station.
Optionally, the base station also starts alarm in step 220, for example light stand by lamp and/or the alarm sound that sounds, and extracts external equipment to remind operating personnel, reduces operating personnel and forgets the possibility of extracting external equipment.
Optionally, present embodiment also comprises the steps 230-240.
230, the state of external interface is preserved in the base station.
240, base station initiated, and the state of external interface is set to the state that preserve the base station in step 230.
By step 230-240, the state of external interface is consistent before and after the startup of base station.It will be appreciated by those skilled in the art that the base station started before step 210, therefore, base station initiated with respect to the startup of base station before step 210 in the step 240 is that the base station restarts base station resets in other words, and other embodiment repeat no more.
In the present embodiment, before the base station restarts, the state of external interface is unavailable, illustrate that external equipment is not in time extracted, after then the base station restarts, the state of external interface still is unavailable, can avoid external equipment operation automatically in the start-up course of base station, and cause the base station unusual problem to occur.
In the present embodiment, when external equipment in time was not pulled out, the base station need not the intervention of human intervention or remote management apparatus, and by automatic forbidding external interface, it is unusual to avoid the base station to occur, thereby lowers the maintenance cost of operator.
As shown in Figure 3, an alternative embodiment of the invention provides a kind of control method, is that example describes with the base station.Present embodiment comprises the steps.
310, the base station detects external equipment and base station and disconnects and being connected.
For example, the base station is subjected to the action triggers that external equipment is pulled out or ejects, and perhaps is subjected to external equipment and disconnects the action triggers that is connected with the base station, and then execution in step 320.
320, the state of base station external interface is set to available.
When but the state of the external interface of base station is the time spent, the base station can receive or read from the data in this external equipment, other information or operation when other external equipments be connected with the base station, and the information that also can send is to external equipment.Other external equipments here may be the equipment different with the external equipment in the step 310, also may be the external equipments in the step 310, after for example the external equipment in the step 310 is pulled out, are connected with the base station again.
Optionally, present embodiment also comprises the steps 330-340.
330, the state of external interface is preserved in the base station.
340, base station initiated, and the state of external interface is set to the state that preserve the base station in step 330.
By step 330-340, the state of external interface is consistent before and after the startup of base station.Before the base station restarted, the state of external interface was available, and illustrating does not have external equipment and base station to keep being connected, after then the base station restarts, the state of external interface still is available, can begin to be connected with external equipment at any time, receives or read data or other information of this external equipment.
In the present embodiment, external interface disconnects in external equipment and base station and recovers upstate when being connected automatically, and need not the intervention of remote management apparatus, and is easy to operate timely.
Step 210-230 in above-described embodiment and step 310-340 can combine, and perhaps step 210-240 and step 310-330 combine, thereby constitute new embodiment.
For example, in an alternative embodiment of the invention, the base station is connected with external equipment A by external interface, and detect time that base station and external equipment A keep being connected above preset value, the state of base station external interface is set to unavailable, and preserve the state of this external interface, i.e. disabled state.When external equipment A and base station disconnect when being connected, the state of base station external interface is set to available, and preserves the state of this external interface, i.e. available state.When the base station restarted, the state of external interface was set to the last state of preserving in base station, i.e. available state.
And for example, in an alternative embodiment of the invention, the base station is connected with external equipment B by external interface, external equipment B disconnected with the base station and being connected above before the preset value time that keeps being connected with external equipment B in the base station, and the state of base station external interface is set to available, and preserve the state of this external interface, be available state, stop when being connected if the timer of inside of base station disconnects with the base station in external equipment B, for example recover initial value.When the base station is connected with external equipment C by external interface, base station initiated timer.When external interface kept linking to each other with external equipment C, timer kept operation.If before the timer expiry, the base station restarts, and the state of external interface was set to the last state of preserving in base station when then the base station restarted, i.e. available state.If before the timer expiry, the base station does not restart, and then the base station is when timer expiry, and the state of external interface is set to unavailable, and preserves the state of this external interface, i.e. disabled state.In a certain moment behind timer expiry, if the base station restarts, then the state of external interface is set to the last state of preserving in base station, i.e. disabled state.
The control method that the above embodiment of the present invention provides only is that example describes with the base station, in fact also is applicable to the equipment that other are safeguarded by external equipment, and is not limited to the base station, also is not limited to the equipment in the mobile communication system.The function of the said equipment 100 can be realized in base station in the said method, also can adopt the structure of the said equipment 100, repeats no more herein.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
It below only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. an equipment is characterized in that, described equipment is the base station, comprises external interface, detecting unit and control unit, wherein,
Described detecting unit keeps time of being connected for detection of external equipment and described external interface;
Described control unit is used for when the detected time of described detecting unit surpasses preset value, and the state of described external interface is set to unavailable; Described preset value equals by described external equipment described equipment to be done the required duration maximum of near-end maintaining; Perhaps, described preset value is greater than by described external equipment described equipment being done the required duration maximum of near-end maintaining;
Whether described detecting unit also is connected with described external interface disconnection for detection of described external equipment;
Described control unit also is used for when described detecting unit detects described external equipment and is connected with described external interface disconnection, and the state of described external interface is set to available.
2. equipment as claimed in claim 1 is characterized in that, also comprises memory cell, and described memory cell is used for the state of the external interface of the described control unit setting of preservation;
Described control unit also is used for when described device start, and the state of external interface is set to the state that described memory cell is preserved.
3. equipment as claimed in claim 2 is characterized in that, described memory cell is arranged in described control unit.
4. equipment as claimed in claim 1 is characterized in that, described detecting unit comprises timer, and described timer is used for starting when described external equipment begins to be connected with described external interface, and described length of timer is described preset value;
When described control unit was further used for described timer expiry, the state of described external interface was set to unavailable.
5. a control method is characterized in that, comprising:
The time that described first equipment of first Equipment Inspection is connected with the external equipment maintenance, described first equipment is the base station;
The time that keeps being connected when described first equipment and described external equipment surpasses preset value, and described first equipment is set to unavailable for the state of the external interface that is connected with described external equipment; Described preset value equals by described external equipment described first equipment to be done the required duration maximum of near-end maintaining; Perhaps, described preset value is greater than by described external equipment described first equipment being done the required duration maximum of near-end maintaining;
When described first equipment and described external equipment disconnect when being connected, the state of the described external interface of described first equipment is set to available.
6. method as claimed in claim 5 is characterized in that, also comprises:
Described first equipment is preserved the disabled state of described external interface;
During described first device start, the disabled state that the state of described external interface is set to preserve.
7. as claim 5 or 6 described methods, it is characterized in that, also comprise:
Described first equipment is preserved the available state of described external interface;
During described first device start, the available state that the state of described external interface is set to preserve.
8. method as claimed in claim 5, it is characterized in that, described first equipment referred to above preset value with the time that external equipment keeps being connected: the timer expiry in described first equipment, described timer is used for starting when described external equipment begins to be connected with described external interface, and described length of timer is described preset value.
9. method as claimed in claim 5 is characterized in that, also comprises:
The time that described first equipment is connected with the external equipment maintenance alarms when surpassing preset value.
CN 201010612547 2010-12-30 2010-12-30 Control method and equipment Active CN102130782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010612547 CN102130782B (en) 2010-12-30 2010-12-30 Control method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010612547 CN102130782B (en) 2010-12-30 2010-12-30 Control method and equipment

Publications (2)

Publication Number Publication Date
CN102130782A CN102130782A (en) 2011-07-20
CN102130782B true CN102130782B (en) 2013-10-09

Family

ID=44268681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010612547 Active CN102130782B (en) 2010-12-30 2010-12-30 Control method and equipment

Country Status (1)

Country Link
CN (1) CN102130782B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111540133B (en) * 2020-04-27 2022-07-05 中国银行股份有限公司 Method and device for detecting state of external equipment and related equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441508A (en) * 2008-12-12 2009-05-27 成都市华为赛门铁克科技有限公司 Control method of equipment operation mode, equipment and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5328511B2 (en) * 2009-06-24 2013-10-30 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441508A (en) * 2008-12-12 2009-05-27 成都市华为赛门铁克科技有限公司 Control method of equipment operation mode, equipment and system

Also Published As

Publication number Publication date
CN102130782A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
EP2942716A1 (en) Sim card hot-plug guard and sim card on-site shutdown swipe-card method, and terminal
CN109710046B (en) Frame type equipment service board power-on and power-off control system, method and device and main control board
CN104156273A (en) System exception repair method, system exception repair device and mobile terminal
CN103425506A (en) Powering off method, starting up method and communication terminal
CN104777891A (en) OTG (on-the-go) connecting control method applied to intelligent terminal and connecting control device
CN104079724A (en) Mobile phone card losing recovery method and mobile terminal applying mobile phone card
CN101207519A (en) Version server, operation maintenance unit and method for restoring failure
CN109471670A (en) Equipment starting method and electronic equipment
CN104133730A (en) Method and device for repairing system abnormality and mobile terminal
CN108833981B (en) Startup and shutdown method
CN103747242B (en) A kind of method of automatic detection picture pick-up device and checkout equipment
CN102130782B (en) Control method and equipment
CN103002115A (en) Communication device and abnormal power failure processing method
CN103257906B (en) Storage card hot plug control method and device
CN201051664Y (en) Power supply device and equipment
CN105323104A (en) Alarm management method and apparatus and packet transmission equipment
CN105224416A (en) Restorative procedure and related electronic device
CN105100344A (en) Hot plug processing method for user recognition module card, and mobile terminal
CN101980554A (en) System and method for backing up address list of mobile terminal through E-mail
CN105183673A (en) Method and apparatus for supporting hot swap of external storage device under recovery mode
CN101335447B (en) Power-off protection system and method
US11211806B2 (en) Power supply method, power supply device, and electronic device
CN102751701A (en) Electric motor current interference prevention method
CN113900487B (en) Board card, computer equipment, board card power-down control method and device
CN105553049A (en) Charging operation control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant