CN103246337B - A kind of method and system being common to various module power-on and power-off - Google Patents

A kind of method and system being common to various module power-on and power-off Download PDF

Info

Publication number
CN103246337B
CN103246337B CN201310155960.0A CN201310155960A CN103246337B CN 103246337 B CN103246337 B CN 103246337B CN 201310155960 A CN201310155960 A CN 201310155960A CN 103246337 B CN103246337 B CN 103246337B
Authority
CN
China
Prior art keywords
module
power
level
foot
signal
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
CN201310155960.0A
Other languages
Chinese (zh)
Other versions
CN103246337A (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 Hongdian Technologies Corp
Original Assignee
Shenzhen Hongdian Technologies Corp
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 Hongdian Technologies Corp filed Critical Shenzhen Hongdian Technologies Corp
Priority to CN201310155960.0A priority Critical patent/CN103246337B/en
Publication of CN103246337A publication Critical patent/CN103246337A/en
Application granted granted Critical
Publication of CN103246337B publication Critical patent/CN103246337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention belongs to the communications field and field of circuit control, particularly relate to a kind of method and system being common to various module power-on and power-off, described method includes: the power on signal foot level of the module that powers on down for low level, and is remained low level by device systems, makes described module power on;Identifying lower electricity module id, the lower signal of telecommunication foot low level of lower electricity module is drawn high as high level by device systems, then adopts AT instruction to close described module, makes electricity under described module。The invention reside in the problem that settlement procedure person spends the life-span causing module data to be lost during electricity under plenty of time debugging module power-on and power-off signal pins low duration and powered-off fault and to compromise module, reach to save programmer's plenty of time, reduce human cost, it is ensured that the purpose in data safety and module service life。

Description

A kind of method and system being common to various module power-on and power-off
Technical field
The invention belongs to the communications field and field of circuit control, particularly relate to a kind of method and system being common to various module power-on and power-off。
Background technology
Along with communication technology is increasingly advanced, at present for meeting each customer demand, used type of modules gets more and more, and communication equipment possesses the function of compatible multiple module becomes each company problem encountered。A usual communication equipment needs to support multiple module, and different manufacturers disparate modules there are differences, when usual EM equipment module powers on, signal pins needs a certain time low level and allows module power on, needing certain time low level under module during electricity makes module normally lower electric, is also required to put into bigger workload when debugging the low level of power-on and power-off on systems soft ware。Shortcoming is in that the AT instruction that part of module is shut down is different, and programmer needs to increase new instruction shutdown, and needs on-hook to verify。
Often often increase new module on a communications device and be required for the debugging module power on signal foot low level persistent period again, to ensure that various module can normally power on, due under module electricity time disparate modules signal pins low level time inconsistent, and it is different to there is disparate modules signal pin, a lot of companies will adopt to module powered-off fault mode to electricity under module, ensure that electricity under module although it is so, but may result in loss of data and compromise the life-span of module。
Summary of the invention
The purpose of the embodiment of the present invention is in that to provide the method and system being common to various module power-on and power-off, the invention reside in the problem that settlement procedure person spends the life-span causing module data to be lost during electricity under plenty of time debugging module power-on and power-off signal pins low duration and powered-off fault and to compromise module, reach to save programmer's plenty of time, reduce human cost, it is ensured that the purpose in data safety and module service life。
The embodiment of the present invention is achieved in that a kind of method being common to various module power-on and power-off, said method comprising the steps of:
The power on signal foot level of the module that powers on down for low level, and is remained low level by device systems, makes described module power on;
Identifying lower electricity module id, the lower signal of telecommunication foot low level of lower electricity module is drawn high as high level by device systems, then adopts AT instruction to close described module, makes electricity under described module。
The embodiment of the present invention is achieved in that a kind of system being common to various module power-on and power-off, and described system includes:
Upper electric unit, for device systems by the power on signal foot level of the module that powers on down for low level, and remains low level;。
Lower electric unit, draws high as high level for device systems by the lower signal of telecommunication foot low level of lower electricity module, then adopts AT dependent instruction that described module is closed。
Being compared with the prior art, the present invention at least has several advantages that
1, specification module power-on and power-off, it is provided that controlled molding block power-on and power-off method;
2, the hidden danger of loss of data during abnormal lower electricity is solved;
3, substantial amounts of man power and material's cost has been saved。
Accompanying drawing explanation
Fig. 1 is the flow chart of the method being common to various module power-on and power-off that the embodiment of the present invention one provides。
Fig. 2 is the flow chart of the module powering method that the embodiment of the present invention one provides。
Fig. 3 is the flow chart of method for electrically under the module that the embodiment of the present invention one provides。
Fig. 4 is the structural representation of the system being common to various module power-on and power-off that the embodiment of the present invention two provides。
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and beneficial effect clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated。Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention。
In order to technical solutions according to the invention are described, illustrate below by specific embodiment。
Embodiment one:
Fig. 1, it is shown that the flow chart of the method being common to various module power-on and power-off that the embodiment of the present invention one provides, specifically comprising the following steps that of the method
The power on signal foot level of the module that powers on down for low level, and is remained low level by step S101, device systems, makes described module power on。
Fig. 2, it is shown that the flow chart of module powering method in the embodiment of the present invention one, specifically comprises the following steps that
Step S201, device power;
Step S202, inserting and power on module, device systems identifies this module power on signal foot level automatically;
The power on signal foot level of the module that powers on is dragged down by step S203, device systems;
Step S204, differentiating whether the power on signal foot level of module of powering on is continuously low level, if the low level of being continuously, perform step S205, otherwise described module powers on unsuccessfully, performs step S203;
Step S205, module power on successfully。
In the embodiment of the present invention, equipment, for having one or more extendible communication or the network equipment, supports the plug of different manufacturers multimode, and the communication of compatible vendor module and procotol。Wherein device systems is the hardware and software platform that a holding equipment is properly functioning。The hardware product that wherein module provides for each producer, includes but not limited to board。
The power on signal foot level of module is all defined by equipment CPU, and original state is high-impedance state, and device systems all can the low and high level of identification module automatically。When the power on signal foot level of module is pulled low and is continuously low level, module powers on after successfully, and this module level remains low level。Low level interval is (0v-0.8v), and the interval of high level is (2.8v-3.3v)。
Owing to the module of each producer is when powering on, the low level time required is different, such as the low duration of G610 module (wide and logical) power on signal foot is 800ms, the low duration of 52i module (Siemens) power on signal foot is 100ms, in the low duration of emerging 8332 module power on signal feet be 2.5s-4s。In order to reduce the workload of programmer, reduce writing of code, guarantee that different vendor module can power on successfully, the power on signal foot level of the module that powers on is dragged down by device systems unification in embodiments of the present invention, this module power on signal foot level is made to meet low level requirement, it is achieved module powers on successfully。User can input " AT " instruction then carriage return on device systems, and screen shows " OK ", checks whether module powers on successful。
Step S102, identification lower electricity module, the lower signal of telecommunication foot low level of lower electricity module is drawn high by device systems, then adopts AT instruction to shut down, electricity under module。
Fig. 3, it is shown that the flow chart of method for electrically under module in the embodiment of the present invention one, specifically comprises the following steps that
Step S301, in device systems input " AT+CGMM " instruction obtain lower electricity module id;
The lower signal of telecommunication foot low level obtaining the lower electricity module of mark is drawn high by step S302, device systems;
Step S303, according to this module type, in device systems input AT dependent instruction this module is closed;
Whether step S304, the lower signal of telecommunication foot level differentiating this module are high level, if for high level, perform step S306, otherwise perform step S305;
Step S305, module are restarted;
Step S306, module power-off。
In the embodiment of the present invention, in lower electric process, programmer can input " AT+CGMM " instruction on device systems and obtain lower electricity module id, signal of telecommunication foot low level under the lower electricity module identified is drawn high, reach high level region, further according to this module type, adopt AT instruction that this module is shut down, if the lower signal of telecommunication foot level of lower electricity module maintains low level, then adopt AT shutdown command that module can be made to restart。If electricity under module powered-off fault, it will have the persistent period 5 seconds, meet various module and carry out data storage, it is ensured that data safety and module life。
Such as, under G610 module (wide and logical), the low duration of signal of telecommunication foot is 3s, under 52i module (Siemens), the low duration of signal of telecommunication foot is 10ms, in under emerging 8332 modules the low duration of signal of telecommunication foot be 2s, due to each vendor module traditional approach be all meet under respective lower signal of telecommunication foot low-voltage carries out electrically operated, so cause the electricity persistent period under each module inconsistent, the AT instruction of part of module shutdown is different, programmer needs to increase new instruction shutdown, and need on-hook to verify, and in processing procedure, cause and automatically restart again after electricity under part of module。And in the embodiment of the present invention, the lower signal of telecommunication foot low level of lower electricity module is drawn high by device systems, solves the electricity persistent period under each module inconsistent, the problem automatically restarted again after electricity under part of module, and ensure that the safety of module data, extend module service life。
Embodiment two:
Fig. 4, it is shown that the system structure schematic diagram being common to various module power-on and power-off that the embodiment of the present invention two provides, described system includes: upper electric unit 41 and lower electric unit 42。
Upper electric unit 41, for device systems by the power on signal foot level of the module that powers on down for low level, and remains low level, makes this module power on successfully。
Lower electric unit 42, draws high the lower signal of telecommunication foot low level of lower electricity module for device systems, then adopts AT dependent instruction that this module is shut down, make electricity success under this module。
Described upper electric unit 41 also includes: level drags down unit 411 and judging unit 412。
Level drags down unit 411, is dragged down by the power on signal foot level of the module that powers on for device systems。
Judging unit 412, whether the power on signal foot level being used for judging to power on module is continuously low level, and when the power on signal foot level of the module that powers on is low level, this module powers on successfully。
Described lower electric unit 42 also includes: recognition unit 421, level draw high unit 422, judging unit 423。
Recognition unit 421, is used for identifying lower electricity module id。
Level draws high unit 422, the lower signal of telecommunication foot low level of lower electricity module is drawn high for device systems。
Whether judging unit 423, be high level for judging the lower signal of telecommunication foot level of lower electricity module, when the lower signal of telecommunication foot level of electricity module is high level instantly, adopts AT instruction to close, electricity success under this module。
In the embodiment of the present invention, the unit in system is functional software unit, and the hardware product that module provides for each producer includes but not limited to board。
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method can be by the hardware that program carrys out instruction relevant and completes, described program can be stored in a computer read/write memory medium, described storage medium, such as ROM/RAM, disk, CD etc.。
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention。

Claims (4)

1. the method being common to various module power-on and power-off, said method comprising the steps of:
The power on signal foot level of the module that powers on down for low level, and is remained low level by device systems, makes described module power on;
Identifying lower electricity module id, the lower signal of telecommunication foot low level of lower electricity module is drawn high as high level by device systems, then adopts AT instruction to close described module, makes electricity under described module;
The power on signal foot level of the module that powers on down for low level, and is remained low level by described device systems, make step that described module powers on particularly as follows:
Device power;
Insertion powers on module, and device systems identifies described module power on signal foot level automatically;
The power on signal foot level of the module that powers on is dragged down by device systems;
Differentiating whether the power on signal foot level of the module that powers on is continuously low level, if the low level of being continuously, described module powers on successfully, and otherwise described module powers on unsuccessfully;
Electricity module id under described identification, the lower signal of telecommunication foot low level of lower electricity module is drawn high as high level by device systems, then adopts AT instruction to close described module, make the step of electricity under described module particularly as follows:
Device systems inputs electricity module id under AT instruction obtains;
The lower signal of telecommunication foot low level obtaining the lower electricity module of mark is drawn high by device systems;
According to described module type, device systems inputs AT instruction described module is closed;
Whether the lower signal of telecommunication foot level differentiating described module is high level, if being high level, electricity under described module, otherwise described module is restarted。
2. the method for claim 1, it is characterised in that described low level interval is 0v-0.8v。
3. the method for claim 1, it is characterised in that described high level interval is 2.8v-3.3v。
4. the system being common to various module power-on and power-off, it is characterised in that described system includes:
Upper electric unit, for device systems by the power on signal foot level of the module that powers on down for low level, and remains low level;
Lower electric unit, draws high as high level for device systems by the lower signal of telecommunication foot low level of lower electricity module, then adopts AT instruction that described module is closed;
Described upper electric unit specifically includes:
Level drags down unit, is dragged down by the power on signal foot level of the module that powers on for device systems;
Judging unit, whether the power on signal foot level being used for judging to power on module is continuously low level, and when the power on signal foot level of the module that powers on is low level, described module powers on successfully;
Described lower electric unit specifically includes:
Recognition unit, is used for identifying lower electricity module id;
Level draws high unit, the lower signal of telecommunication foot low level of lower electricity module is drawn high for device systems;
Whether judging unit, be high level for judging the lower signal of telecommunication foot level of lower electricity module, when the lower signal of telecommunication foot level of electricity module is high level instantly, adopts AT instruction to close, electricity success under described module。
CN201310155960.0A 2013-04-28 2013-04-28 A kind of method and system being common to various module power-on and power-off Active CN103246337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310155960.0A CN103246337B (en) 2013-04-28 2013-04-28 A kind of method and system being common to various module power-on and power-off

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310155960.0A CN103246337B (en) 2013-04-28 2013-04-28 A kind of method and system being common to various module power-on and power-off

Publications (2)

Publication Number Publication Date
CN103246337A CN103246337A (en) 2013-08-14
CN103246337B true CN103246337B (en) 2016-06-22

Family

ID=48925903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310155960.0A Active CN103246337B (en) 2013-04-28 2013-04-28 A kind of method and system being common to various module power-on and power-off

Country Status (1)

Country Link
CN (1) CN103246337B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108550253A (en) * 2018-03-28 2018-09-18 宁波三星医疗电气股份有限公司 A kind of interaction control method of meter and digital transmission module
CN108763135B (en) * 2018-05-31 2019-07-19 北京达佳互联信息技术有限公司 Dual-cpu communication system, starting method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202050430U (en) * 2011-01-20 2011-11-23 中兴通讯股份有限公司 Power up and down control circuit and communication equipment of single board
CN103064816A (en) * 2013-01-07 2013-04-24 华为终端有限公司 SIM (subscriber identity module) card hot plug protection method and terminal, and SIM card in-place power-down swiping method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7089036B2 (en) * 2000-10-03 2006-08-08 Cingular Wireless Ii, Llc Location information erase on SIM cards

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202050430U (en) * 2011-01-20 2011-11-23 中兴通讯股份有限公司 Power up and down control circuit and communication equipment of single board
CN103064816A (en) * 2013-01-07 2013-04-24 华为终端有限公司 SIM (subscriber identity module) card hot plug protection method and terminal, and SIM card in-place power-down swiping method and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
有方GPRS模块开机和关机流程操作指南V1.3;xinghui_hr1;《http://www.doc88.com/p-999390823830.html》;20111209;1-8页 *

Also Published As

Publication number Publication date
CN103246337A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN103488498A (en) Computer booting method and computer
EP2942716A1 (en) Sim card hot-plug guard and sim card on-site shutdown swipe-card method, and terminal
CN104777891A (en) OTG (on-the-go) connecting control method applied to intelligent terminal and connecting control device
CN107678997B (en) Hot plug method, system, device and readable storage medium of PCIE (peripheral component interface express) card
CN105095142B (en) Control the system and method for expansion card
WO2018001068A1 (en) Web page link access method and device, and mobile terminal
CN106326061A (en) High-speed cache data processing method and equipment
CN105045599A (en) Television and computer integrated machine and method for realizing remote startup and shutdown control of same
CN109471670A (en) Equipment starting method and electronic equipment
CN103246337B (en) A kind of method and system being common to various module power-on and power-off
EP4124957A2 (en) Core board, server, fault repairing method and apparatus, and storage medium
CN106249832B (en) Touch control all-in-one machine and power supply control method thereof
CN103995717B (en) A kind of method of embedded device software upgrading
CN104166521A (en) Computer with a memory card
CN104077250A (en) Connection processing method and device for intelligent terminal and storage equipment
CN203502954U (en) Computer device and identification device thereof
CN103870564A (en) Data updating method and electronic equipment
CN114443067B (en) CPLD (complex programmable logic device) file burning system and CPLD file burning method
CN103677941B (en) A kind of method and device for realizing smart card operating system module upgrade
CN104834875A (en) Computer secondary mainboard system for physical isolation for information security and isolation method
CN105005717A (en) Upgrade and encryption method of USBS (Universal Serial Bus) firmware
CN105183673A (en) Method and apparatus for supporting hot swap of external storage device under recovery mode
CN115098324A (en) Hard disk maintenance method, device, equipment and storage medium
CN104423790A (en) Information processing method and electronic device
CN104252609A (en) Hot plug protecting method and hot plug protecting 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