CN102130782A - Control method and equipment - Google Patents
Control method and equipment Download PDFInfo
- Publication number
- CN102130782A CN102130782A CN2010106125479A CN201010612547A CN102130782A CN 102130782 A CN102130782 A CN 102130782A CN 2010106125479 A CN2010106125479 A CN 2010106125479A CN 201010612547 A CN201010612547 A CN 201010612547A CN 102130782 A CN102130782 A CN 102130782A
- Authority
- CN
- China
- Prior art keywords
- equipment
- external interface
- external
- state
- 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.)
- Granted
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
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.
With the base station in the mobile communication system is example, and 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 is used to detect the time that external equipment is connected with described external interface maintenance; 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;
When time that described first equipment and described external equipment keep being connected above preset value, the state that described first equipment is used for the external interface that is connected with external equipment is set to unavailable.
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,, can avoid occurring unit exception, thereby lower cost of equipment maintenance by automatic forbidding external interface.Further, under the disabled situation of the external interface of equipment, need not the intervention of remote management apparatus,, external interface can be used by extracting external equipment, 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 is obtained 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 is used to detect the time that external equipment is connected with external interface 120 maintenances, and control unit 160 is used for when the 140 detected times of detecting unit surpass preset value, 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, effectively avoid in time not being pulled out and causing equipment 100 unusual problem to occur by external equipment from any information or operation in the 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 promptly 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, the external equipment that is connected with equipment 100 by external interface 120 is pulled out or At time of eject, 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, be used to preserve the state of the external interface 120 that control unit 160 is provided with, after the state of external interface being set at every turn at control unit 160, the state of the external interface that memory cell 180 storage control units 160 are provided with.For example, control unit 160 preserves to memory cell 180 state notifying of the external interface 120 that is provided with 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, promptly the state of preserving according to memory cell 180 is provided with 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 is meant 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 on the throne 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 a 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,, can avoid occurring unit exception, thereby lower the maintenance cost of operator by automatic forbidding external interface.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, effectively avoid in time not being pulled out and causing the base station unusual problem to occur by external equipment from any information or operation in the 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 a 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 the 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 once more.
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 the foregoing description 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, promptly disabled state.When external equipment A was connected with the base station disconnection, the state of base station external interface was set to available, and preserves the state of this external interface, promptly available state.When the base station restarted, the state of external interface was set to the last state of preserving in base station, promptly 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, for example recover initial value if the timer of inside of base station disconnects with the base station in external equipment B.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, promptly available state when then the base station restarted.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, promptly 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, promptly 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 the foregoing description 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 (15)
1. an equipment is characterized in that, comprises external interface, detecting unit and control unit, wherein,
Described detecting unit is used to detect the time that external equipment is connected with described external interface maintenance;
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.
2. equipment as claimed in claim 1 is characterized in that, also comprises memory cell, and described memory cell is used to preserve the state of the external interface that described control unit is provided with;
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. as claim 1 or 4 described equipment, it is characterized in that 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.
6. as each described equipment of claim 1 to 4, it is characterized in that,
Whether described detecting unit also is used to detect described external equipment and is connected with described external interface disconnection;
Described control unit also is used for disconnecting when being connected when described detecting unit detects described external equipment and described external interface, and the state of described external interface is set to available.
7. as each described equipment of claim 1 to 4, it is characterized in that described equipment is the base station.
8. 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;
When time that described first equipment and described external equipment keep being connected above preset value, the state that described first equipment is used for the external interface that is connected with described external equipment is set to unavailable.
9. method as claimed in claim 8 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.
10. method as claimed in claim 8 or 9 is characterized in that, also comprises:
When described first equipment was connected with described external equipment disconnection, the state of the described external interface of described first equipment was set to available.
11. method as claimed in claim 10 is characterized in that, also comprises:
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.
12. method as claimed in claim 8, 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.
13. method as claimed in claim 8 is characterized in that, also comprises:
The time that described first equipment is connected with the external equipment maintenance alarms when surpassing preset value.
14., it is characterized in that described preset value equals by described external equipment described first equipment to be done the required duration maximum of near-end maintaining as claim 8 or 12 or 13 described methods; Perhaps, described preset value is greater than by described external equipment described first equipment being done the required duration maximum of near-end maintaining.
15. method is characterized in that as claimed in claim 8 or 9, described first equipment is the base station.
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 true CN102130782A (en) | 2011-07-20 |
CN102130782B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111540133A (en) * | 2020-04-27 | 2020-08-14 | 中国银行股份有限公司 | Method and device for detecting state of external equipment and related equipment |
Citations (2)
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 |
CN101930383A (en) * | 2009-06-24 | 2010-12-29 | 佳能株式会社 | Messaging device and control method thereof |
-
2010
- 2010-12-30 CN CN 201010612547 patent/CN102130782B/en active Active
Patent Citations (2)
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 |
CN101930383A (en) * | 2009-06-24 | 2010-12-29 | 佳能株式会社 | Messaging device and control method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111540133A (en) * | 2020-04-27 | 2020-08-14 | 中国银行股份有限公司 | Method and device for detecting state of external equipment and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102130782B (en) | 2013-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2942716B1 (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 | |
CN100492305C (en) | Fast restoration method of computer system and apparatus | |
CN102882267B (en) | Power supply device, electronic equipment and power supply method | |
CN101312515A (en) | Timing standby method, system and apparatus | |
CN104777891A (en) | OTG (on-the-go) connecting control method applied to intelligent terminal and connecting control device | |
CN102263645A (en) | Power management method and power management system for communication equipment | |
CN101577561A (en) | Mobile terminal realizing hot plug of SIM card and SIM card hot plug method | |
CN101207519A (en) | Version server, operation maintenance unit and method for restoring failure | |
CN104133730A (en) | Method and device for repairing system abnormality and mobile terminal | |
CN109471670A (en) | Equipment starting method and electronic equipment | |
CN104010077A (en) | Information processing method and electronic equipment | |
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 | |
CN105183673A (en) | Method and apparatus for supporting hot swap of external storage device under recovery mode | |
CN105224416A (en) | Restorative procedure and related electronic device | |
CN201047943Y (en) | Fast recovery equipment of computer system | |
CN105100344A (en) | Hot plug processing method for user recognition module card, and mobile terminal | |
CN104469614A (en) | Power amplifier fault self-recovery circuit and implementation method thereof | |
CN101335447B (en) | Power-off protection system and method | |
CN113900487B (en) | Board card, computer equipment, board card power-down control method and device | |
CN102751701A (en) | Electric motor current interference prevention method |
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 |