Movatterモバイル変換


[0]ホーム

URL:


CN108388818A - A kind of mobile phone card management system and method - Google Patents

A kind of mobile phone card management system and method
Download PDF

Info

Publication number
CN108388818A
CN108388818ACN201810411021.0ACN201810411021ACN108388818ACN 108388818 ACN108388818 ACN 108388818ACN 201810411021 ACN201810411021 ACN 201810411021ACN 108388818 ACN108388818 ACN 108388818A
Authority
CN
China
Prior art keywords
card
card slot
mobile phone
detection device
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.)
Pending
Application number
CN201810411021.0A
Other languages
Chinese (zh)
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.)
Quanzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd
Quanzhou Yixing Electric Power Co Ltd
Original Assignee
Quanzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd
Quanzhou Yixing Electric Power 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 Quanzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd, Quanzhou Yixing Electric Power Co LtdfiledCriticalQuanzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd
Priority to CN201810411021.0ApriorityCriticalpatent/CN108388818A/en
Publication of CN108388818ApublicationCriticalpatent/CN108388818A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present invention provides a kind of mobile phone card management system, including multiple interval settings and all has the pocket set of multiple card slots, multiple connect with each pocket set respectively with the detection device for detecting each card slot plug-in card state, the control device being connect with each detection device, the host computer communicated to connect with control device, the card reader being connect with host computer and multiple instruction devices being connect respectively with each detection device.The present invention also provides a kind of mobile phone card management methods.According to mobile phone card information reasonable distribution, it lends frequency to the present invention, avoids that theres is a situation where the mobile phone card lent to use, and lend to give back to mobile phone card and effectively be managed, prevents mobile phone card from losing.

Description

Translated fromChinese
一种手机卡管理系统及方法A mobile phone card management system and method

技术领域technical field

本发明涉及一种手机卡管理系统及方法。The invention relates to a mobile phone card management system and method.

背景技术Background technique

由于业务特殊性,电力技术人员外出需要借手机卡(即SIM卡),随着业务的扩展需要大量的手机卡,常规管理方法是技术人员借卡时,在存放手机卡的卡箱随便拿一张手机卡,但由于无法识别手机卡的使用情况,常常拿到的是刚归还的卡,如此经常出现一直重复使用同一张卡造成欠费或者无流量而不能使用的情况,且手机卡比较小,若不及时归还或者借出归还情况记录不清楚,容易发生手机卡丢失的现象。Due to the particularity of the business, electric power technicians need to borrow mobile phone cards (ie SIM cards) when they go out. With the expansion of business, a large number of mobile phone cards are required. The conventional management method is that when the technicians borrow cards, they just take one in the card box where the mobile phone cards are stored. A mobile phone card, but because the use of the mobile phone card cannot be recognized, the card that has just been returned is often obtained, so it often happens that the same card is repeatedly used, resulting in arrears or no traffic and cannot be used, and the mobile phone card is relatively small. , If it is not returned in time or the record of the lending and returning is unclear, it is easy to lose the mobile phone card.

发明内容Contents of the invention

本发明的目的是针对现有技术的不足,提出一种手机卡管理系统及方法,根据手机卡信息合理分配其借出频率,避免发生借出的手机卡无法使用的情况,并对手机卡借出归还进行有效管理,防止手机卡丢失。The purpose of the present invention is to address the deficiencies in the prior art, to propose a mobile phone card management system and method, to rationally allocate the lending frequency according to the information of the mobile phone card, to avoid the situation that the loaned mobile phone card cannot be used, and to control the borrowed mobile phone card. Effective management is carried out to prevent the loss of mobile phone cards.

本发明通过以下技术方案实现:The present invention is realized through the following technical solutions:

一种手机卡管理系统,包括多个间隔设置且均具有多个卡槽的卡槽组、多个分别与各卡槽组连接以检测各卡槽插卡状态的检测装置、与各检测装置连接的控制装置、与控制装置通信连接的上位机、与上位机连接的读卡器、多个分别与各检测装置连接的指示装置和与上位机连接的告警装置,指示装置用于指示各卡槽是否插卡以及各卡槽的拔插卡是否异常,插卡时,上位机通过读卡器读取存储手机卡的信息并随机分配未插卡卡槽以供手机卡插入,该卡槽对应的检测装置根据是否将手机卡插入该卡槽内控制对应的指示装置发出不同的指示信号,当插卡异常时,上位机控制告警装置发出告警信号;拔卡时,上位机根据卡槽内手机卡的信息选择可拔卡的卡槽,该卡槽对应的检测装置根据是否为该卡槽内的手机卡被拔出而控制对应的指示装置发出不同的指示信号,当拔卡异常时,上位机控制告警装置发出告警信号。A mobile phone card management system, comprising a plurality of card slot groups arranged at intervals and each having a plurality of card slots, a plurality of detection devices respectively connected to each card slot group to detect the card insertion state of each card slot, and connected to each detection device control device, a host computer communicated with the control device, a card reader connected to the host computer, a plurality of indicating devices connected to each detection device and an alarm device connected to the host computer, the indicating device is used to indicate that each card slot Whether the card is inserted or not and whether the cards are abnormal in each card slot. When inserting the card, the upper computer reads the information of the stored mobile phone card through the card reader and randomly assigns the uninserted card slot for the mobile phone card to be inserted. The corresponding card slot The detection device controls the corresponding indicating device to send out different indication signals according to whether the mobile phone card is inserted into the card slot. When the card is inserted abnormally, the upper computer controls the alarm device to send an alarm signal; According to the information, select the card slot that can be pulled out. The detection device corresponding to the card slot controls the corresponding indicating device to send different indication signals according to whether the mobile phone card in the card slot is pulled out. When the card is pulled out abnormally, the upper computer The alarm device is controlled to send out an alarm signal.

进一步的,所述卡槽为自弹式SIM卡座,自弹式SIM卡座包括第一脚和第二脚,第一脚接高电平或者低电平,第二脚与检测装置连接,手机卡插入时,第一脚和第二脚短路。Further, the card slot is a self-popping SIM card holder, and the self-popping SIM card holder includes a first pin and a second pin, the first pin is connected to a high level or a low level, and the second pin is connected to the detection device. When the SIM card is inserted, the first pin and the second pin are short-circuited.

进一步的,所述指示装置包括多个分别与各所述卡槽对应的指示灯组,指示灯组包括分别与对应的检测装置连接的第一指示灯和第二指示灯。Further, the indicator device includes a plurality of indicator light groups respectively corresponding to each of the card slots, and the indicator light group includes a first indicator light and a second indicator light respectively connected to the corresponding detection device.

进一步的,所述检测装置包括与卡槽组的各卡槽连接的第一微处理单元、与第一微处理单元连接以设置各卡槽位置信息的地址设置单元和第一通信单元。Further, the detection device includes a first micro-processing unit connected to each card slot of the card slot group, an address setting unit connected to the first micro-processing unit to set the position information of each card slot, and a first communication unit.

进一步的,所述控制装置包括第二微处理单元、分别与第二微处理单元连接的第二通信单元、存储单元和第三通信单元,第二通信单元分别与各检测装置的第一通信单元连接,第二微处理单元通过第三通信单元与上位机通信连接。Further, the control device includes a second micro-processing unit, a second communication unit connected to the second micro-processing unit, a storage unit, and a third communication unit, and the second communication unit is respectively connected to the first communication unit of each detection device connected, the second micro-processing unit communicates with the host computer through the third communication unit.

进一步的,所述地址设置单元集成在第一微处理单元中,第一微处理单元为单片机。Further, the address setting unit is integrated in the first micro-processing unit, and the first micro-processing unit is a single-chip microcomputer.

进一步的,所述第二微处理单元为MCU。Further, the second micro-processing unit is an MCU.

本发明还通过以下技术方案实现:The present invention is also realized through the following technical solutions:

一种手机卡管理方法,包括如下步骤:A mobile phone card management method, comprising the steps of:

插卡步骤,上位机通过读卡器读取存储手机卡的信息并随机分配未插卡卡槽以供手机卡插入,该卡槽对应的检测装置根据是否将手机卡插入该卡槽内控制对应的指示装置发出不同的指示信号,当插卡异常时,上位机控制告警装置发出告警信号;In the card insertion step, the upper computer reads and stores the information of the mobile phone card through the card reader and randomly assigns the uninserted card slot for the insertion of the mobile phone card. The detection device corresponding to the card slot controls the corresponding The indicating device sends out different indicating signals. When the card is abnormal, the upper computer controls the alarming device to send out an alarming signal;

拔卡步骤,上位机根据卡槽内手机卡的信息选择可拔卡的卡槽,该卡槽对应的检测装置根据是否为该卡槽内的手机卡被拔出而控制对应的指示装置发出不同的指示信号,当拔卡异常时,上位机控制告警装置发出告警信号。In the step of pulling out the card, the upper computer selects the card slot that can be pulled out according to the information of the mobile phone card in the card slot, and the detection device corresponding to the card slot controls the corresponding indicating device to send out different signals according to whether the mobile phone card in the card slot is pulled out. When the card is pulled out abnormally, the upper computer controls the alarm device to send out an alarm signal.

进一步的,所述插卡步骤具体包括如下步骤:Further, the step of inserting the card specifically includes the following steps:

A1、检测装置检测到有未插卡的卡槽插卡后,将该卡槽的位置信息通过控制装置发送至上位机,上位机判断设定时间内是否进行卡槽分配,若是,进入步骤A2;否则,进入步骤A4;A1. After the detection device detects that there is a card slot that has not been inserted, the position information of the card slot is sent to the host computer through the control device, and the host computer judges whether the card slot is allocated within the set time. If so, go to step A2 ; Otherwise, go to step A4;

A2、上位机判断接收到的位置信息是否与分配卡槽的位置信息一致,若是,进入步骤A3;否则,进入步骤A7;A2. The host computer judges whether the received location information is consistent with the location information of the distribution card slot, if so, enter step A3; otherwise, enter step A7;

A3、上位机通过控制装置向检测装置发送插卡正常信号,检测装置接收到该插卡正常信号后控制已插卡卡槽对应的指示装置发出第一指示信号,并进入步骤A8;A3. The upper computer sends a card normal signal to the detection device through the control device. After receiving the normal signal of the card insertion, the detection device controls the indicating device corresponding to the inserted card slot to send the first indicating signal, and enters step A8;

A4、上位机控制告警装置发出第一告警信号,并通过控制装置向检测装置发送插卡异常信息,检测装置接收到该插卡异常信号后控制该已插卡卡槽对应的指示装置发出第二指示信号;并进入步骤A5;A4. The upper computer controls the alarm device to send out the first alarm signal, and sends the abnormal card insertion information to the detection device through the control device. After receiving the abnormal card insertion signal, the detection device controls the indicating device corresponding to the inserted card slot to issue the second indication signal; and enter step A5;

A5、检测装置检测到该已插卡卡槽变为未插卡后,控制该卡槽对应的指示装置发出第三指示信号,并通过控制装置向上位机发送拔卡信号,上位机接收到该拔卡信号后控制告警装置停止工作;并进入步骤A6;A5. After the detection device detects that the inserted card slot has changed to no card inserted, it controls the indicating device corresponding to the card slot to send a third indicating signal, and sends a card pull signal to the host computer through the control device, and the host computer receives the card. After the card is pulled out, the alarm device is controlled to stop working; and enter step A6;

A6、上位机通过读卡器读取并存储手机卡的信息,并随机分配未插卡的卡槽后,向控制装置发送分配的卡槽的位置信息,控制装置向该位置信息对应的检测装置发送该位置信息,检测装置根据该位置信息控制相应卡槽对应的指示装置发出第四指示信号;并进入步骤A1;A6. The upper computer reads and stores the information of the mobile phone card through the card reader, and after randomly assigning the card slot without the card inserted, sends the position information of the allocated card slot to the control device, and the control device sends the corresponding detection device to the position information Send the position information, and the detection device controls the indicating device corresponding to the corresponding card slot to send a fourth indicating signal according to the position information; and enter step A1;

A7、上位机控制告警装置发出第二告警信号,并通过控制装置向检测装置发送插卡异常信号,检测装置接收到该插卡异常信号后,控制分配的卡槽对应的指示装置继续发出第四指示信号,并控制已插卡卡槽对应的指示装置发出第二指示信号;并进入步骤A1;A7. The upper computer controls the alarm device to send out the second alarm signal, and sends a card abnormal signal to the detection device through the control device. an indication signal, and control the indication device corresponding to the inserted card slot to send a second indication signal; and enter step A1;

A8、插卡步骤结束。A8. The step of inserting the card is over.

进一步的,所述拔卡步骤具体包括如下步骤:Further, the step of pulling out the card specifically includes the following steps:

B1、控制装置检测到有已插卡的卡槽拔卡后,将该卡槽的位置信息通过控制装置发送至上位机,上位机判断设定时间内是否进行拔卡卡槽选择,若是,进入步骤B2;否则,进入步骤B4;B1. After the control device detects that there is a card slot that has been inserted and the card is pulled out, the position information of the card slot is sent to the host computer through the control device, and the host computer judges whether to select the card slot for card removal within the set time. If so, enter Step B2; otherwise, go to step B4;

B2、上位机判断接收到的位置信息是否与选择的拔卡卡槽位置信息一致,若是,进入步骤B3;否则,进入步骤B7;B2. The host computer judges whether the received location information is consistent with the location information of the selected card slot, if so, proceed to step B3; otherwise, proceed to step B7;

B3、上位机通过控制装置向检测装置发送拔卡正常信号,检测装置接收到该拔卡正常信号后控制已拔卡卡槽对应的指示装置发出第五指示信号,并进入步骤B8;B3. The upper computer sends a normal signal of card removal to the detection device through the control device, and after receiving the normal signal of card removal, the detection device controls the indicating device corresponding to the card slot that has been pulled out to send a fifth indicating signal, and enters step B8;

B4、上位机控制告警装置发出第三告警信号,并通过控制装置向检测装置发送拔卡异常信息,检测装置接收到该拔卡异常信息后控制已拔卡卡槽对应的指示装置发出第六指示信号;并进入步骤B5;B4. The host computer controls the alarm device to send out the third alarm signal, and sends the abnormal card pulling information to the detection device through the control device. After receiving the abnormal card pulling information, the detection device controls the indicating device corresponding to the card slot that has been pulled out to issue the sixth indication signal; and enter step B5;

B5、检测装置检测到该已拔卡卡槽变为已插卡后,控制该卡槽对应的指示装置发出第七指示信号,并通过控制装置向上位机发送拔卡信号,上位机接收到该拔卡信号后控制告警装置停止工作;并进入步骤B6;B5. After the detection device detects that the card slot that has been pulled out has become a card inserted, it controls the indicating device corresponding to the card slot to send a seventh indicating signal, and sends a card pulling signal to the host computer through the control device, and the host computer receives the card. After the card is pulled out, the alarm device is controlled to stop working; and enters step B6;

B6、上位机根据各卡槽内手机卡的信息选择可拔卡的卡槽,并向控制装置发送该卡槽的位置信息,控制装置向该位置信息对应的检测装置发送该位置信息,检测装置根据该位置信息控制相应卡槽对应的指示装置发出第八指示信号;并进入B1;B6, the upper computer selects the card slot that can be pulled out according to the information of the mobile phone card in each card slot, and sends the position information of the card slot to the control device, and the control device sends the position information to the detection device corresponding to the position information, and the detection device Control the indicating device corresponding to the corresponding card slot to send the eighth indicating signal according to the position information; and enter B1;

B7、上位机控制告警装置发出第四告警信号,并通过控制装置向检测装置发送拔卡异常信号,检测装置接收到该拔卡异常信号后,控制上位机选择的拔卡卡槽对应的指示装置继续发出第八指示信号,并控制已拔卡卡槽对应的指示装置发出第六指示信号;并进入B1;B7. The host computer controls the alarm device to send out the fourth alarm signal, and sends a card-drawing abnormal signal to the detection device through the control device. After receiving the card-drawing abnormal signal, the detection device controls the indicating device corresponding to the card-drawing slot selected by the host computer Continue to send out the eighth indication signal, and control the indication device corresponding to the card slot that has been pulled out to send out the sixth indication signal; and enter B1;

B8、拔卡步骤结束。B8, the step of pulling out the card ends.

本发明具有如下有益效果:The present invention has following beneficial effects:

1、指示装置能够指示各卡槽是否插卡,利于观察;插拔卡(即借还卡)时,若未经过上位机处理而直接插卡或者拔卡,告警装置将发出告警信号以提醒管理者,相应的指示装置也会发出指示信号以提醒借卡者或者还卡者,对于经过上位机处理却插错卡槽或者拔错卡槽的情况,告警装置也将发出告警信号以提醒管理者,相应的指示装置也会发出指示信号以提醒借卡者或者还卡者,管理者能够对手机卡借出归还进行有效管理,且能够规范借卡者和还卡者的行为,防止手机卡丢失;插卡时上位机随机分配插卡卡槽,能够避免某一卡槽或者某些卡槽一直被使用而导致这些卡槽损坏的情况;管理者通过上位机对手机卡使用情况充分了解,根据手机卡信息合理分配其借出频率,有效避免借出的手机卡无法使用的情况。1. The indicator device can indicate whether each card slot is inserted or not, which is convenient for observation; when inserting or removing a card (that is, borrowing or returning a card), if the card is directly inserted or removed without being processed by the host computer, the alarm device will send out an alarm signal to remind the management Or, the corresponding indicating device will also send out an indicating signal to remind the card borrower or the card returner, and for the situation that the wrong card slot is inserted or pulled out after being processed by the host computer, the warning device will also send out an alarm signal to remind the manager , the corresponding indicator device will also send out an indicator signal to remind the card borrower or card returner, the manager can effectively manage the loan and return of the mobile phone card, and can regulate the behavior of the card borrower and card returner to prevent the loss of the mobile phone card ; When inserting the card, the upper computer randomly assigns card slots, which can avoid the situation that a certain card slot or some card slots have been used and cause damage to these card slots; the manager fully understands the use of mobile phone cards through the upper computer, according to Mobile phone card information reasonably allocates its lending frequency, effectively avoiding the situation that the loaned mobile phone card cannot be used.

2、卡槽为自弹式SIM卡座,手机卡插入后,向下按一下手机卡即可使其弹出,从而将手机卡拔出,插拔均极为方便;当手机卡插入时,卡槽的第一脚和第二脚短路,检测装置与第二脚连接以检测第二脚的电平,并根据检测到的电平即可判断该卡槽是否插卡,电路简单,检测结果可靠。2. The card slot is a self-popping SIM card holder. After the phone card is inserted, press the phone card down to make it pop up, so that the phone card can be pulled out, which is very convenient to insert and pull out; when the phone card is inserted, the card slot The first pin and the second pin are short-circuited, and the detection device is connected to the second pin to detect the level of the second pin, and according to the detected level, it can be judged whether the card slot is inserted, the circuit is simple, and the detection result is reliable.

附图说明Description of drawings

下面结合附图对本发明做进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings.

图1为本发明管理系统的原理框图。Fig. 1 is a functional block diagram of the management system of the present invention.

图2为本发明管理方法的流程图。Fig. 2 is a flow chart of the management method of the present invention.

图3为本发明插卡步骤的流程图。Fig. 3 is a flow chart of the card insertion steps of the present invention.

图4为本发明拔卡步骤的流程图。Fig. 4 is a flow chart of the steps of pulling out the card in the present invention.

其中,1、卡槽组;11、卡槽;2、检测装置;21、第一微处理单元;22、地址设置单元;23、第一通信单元;3、控制装置;31、第二微处理单元;32、第二通信单元;33、存储单元;34、第三通信单元;4、上位机;5、读卡器;6、指示装置;7、告警装置。Among them, 1. card slot group; 11. card slot; 2. detection device; 21. first micro-processing unit; 22. address setting unit; 23. first communication unit; 3. control device; 31. second micro-processing unit 32, the second communication unit; 33, the storage unit; 34, the third communication unit; 4, the host computer; 5, the card reader; 6, the indicating device; 7, the alarm device.

具体实施方式Detailed ways

如图1和图4所示,手机卡管理系统包括二十个间隔设置且均具有五个卡槽11的卡槽组1、二十个分别与各卡槽组1连接以检测各卡槽11插卡状态的检测装置2、与各检测装置2连接的控制装置3、与控制装置3通信连接的上位机4、与上位机4连接的读卡器5、二十个分别与各检测装置2连接的指示装置6和与上位机4连接的告警装置7,指示装置6用于指示各卡槽11是否插卡以及各卡槽11的拔插卡是否异常,当插卡或者拔卡异常时,上位机4均控制告警装置7发出告警信号。As shown in Figures 1 and 4, the mobile phone card management system includes twenty card slot groups 1 that are arranged at intervals and each has five card slots 11, and twenty are respectively connected with each card slot group 1 to detect each card slot 11 The detection device 2 of the card insertion state, the control device 3 connected with each detection device 2, the upper computer 4 connected with the control device 3, the card reader 5 connected with the upper computer 4, and twenty respectively connected with each detection device 2 The connected indicating device 6 and the warning device 7 connected with the upper computer 4, the indicating device 6 is used to indicate whether each card slot 11 is inserted into a card and whether the plug-in card of each card slot 11 is abnormal. The host computer 4 all controls the alarm device 7 to send an alarm signal.

卡槽11为自弹式SIM卡座,自弹式SIM卡座包括第一脚和第二脚,在本实施例中,第一脚接地,当手机卡插入卡槽11时,第一脚和第二脚短路,检测装置2检测到第二脚为低电平,即判定该卡槽11已有手机卡插入,当检测装置2检测到第二脚为高电平时,即判定该卡槽11无手机卡插入。The card slot 11 is a self-bounce SIM card holder, and the self-bounce SIM card holder includes a first pin and a second pin. In the present embodiment, the first pin is grounded, and when the mobile phone card is inserted into the card slot 11, the first pin and the second pin The second pin is short-circuited, and the detection device 2 detects that the second pin is at a low level, that is, it is determined that a mobile phone card has been inserted into the card slot 11, and when the detection device 2 detects that the second pin is at a high level, it is determined that the card slot 11 No SIM card inserted.

指示装置6包括五个分别与各卡槽11对应的指示灯组,指示灯组包括分别与该卡槽组1对应的检测装置2连接的第一指示灯和第二指示灯,在本实施例中,第一指示灯为绿色LED灯,第二指示灯为橙色LED灯。The indicating device 6 includes five indicator light groups corresponding to each card slot 11 respectively, and the indicator light group includes a first indicator light and a second indicator light connected to the detection device 2 corresponding to the card slot group 1 respectively. , the first indicator light is a green LED light, and the second indicator light is an orange LED light.

检测装置2包括分别与卡槽组1的五个卡槽11的第二脚连接以检测其电平的第一微处理单元21、与第一微处理单元21连接以设置各卡槽11位置信息的地址设置单元22和第一通信单元23,第一微处理单元21分别与第一指示灯和第二指示灯连接,在本实施例中,地址设置单元22集成在第一微处理单元21中,第一微处理单元21具体为8051单片机,通过单片机设置多个位置,并将相应的位置信息存储在单片机中,是现有技术。The detection device 2 includes a first micro-processing unit 21 connected to the second pins of the five card slots 11 of the card slot group 1 to detect its level, and connected to the first micro-processing unit 21 to set the position information of each card slot 11 The address setting unit 22 and the first communication unit 23, the first micro-processing unit 21 is connected with the first indicator light and the second indicator light respectively, in this embodiment, the address setting unit 22 is integrated in the first micro-processing unit 21 , the first micro-processing unit 21 is specifically an 8051 single-chip microcomputer, setting multiple positions through the single-chip microcomputer, and storing corresponding position information in the single-chip microcomputer is a prior art.

控制装置3包括第二微处理单元31、分别与第二微处理单元31连接的第二通信单元32、存储单元33和第三通信单元34,第二通信单元32分别与各检测装置2的第一通信单元23连接,第二微处理单元31通过第三通信单元34与上位机4通信连接,各第一微处理单元21的数据均反馈至第二微处理单元31,并存储在存储单元33,当控制装置3与上位机4通信连接后,再打包后发送至上位机4,控制装置3还接收上位机4发送的信息,并将该信息转发至相应的检测装置2。在本实施例中,第二微处理单元31具体为MCU,MCU具体型号为STM32F103C8T6,存储单元33包括存储芯片AT24C512;上位机4为电脑;第三通信单元34为RJ45接口;第一通信单元23和第二通信单元32均为RS485接口。The control device 3 includes a second micro-processing unit 31, a second communication unit 32 connected to the second micro-processing unit 31, a storage unit 33 and a third communication unit 34, and the second communication unit 32 is connected to the first communication unit of each detection device 2 respectively. A communication unit 23 is connected, and the second microprocessing unit 31 is communicatively connected with the host computer 4 through the third communication unit 34. The data of each first microprocessing unit 21 is fed back to the second microprocessing unit 31 and stored in the storage unit 33 , when the control device 3 communicates with the host computer 4, it is packaged and sent to the host computer 4, and the control device 3 also receives the information sent by the host computer 4 and forwards the information to the corresponding detection device 2. In the present embodiment, the second microprocessing unit 31 is specifically an MCU, and the specific model of the MCU is STM32F103C8T6, and the storage unit 33 includes a memory chip AT24C512; the upper computer 4 is a computer; the third communication unit 34 is an RJ45 interface; the first communication unit 23 and the second communication unit 32 are both RS485 interfaces.

告警装置7具体为由上位机4控制的声光告警装置,声光告警装置、上位机根据信号控制声光告警装置动作的电路均为现有技术。The alarm device 7 is specifically an acousto-optic alarm device controlled by the host computer 4. The acousto-optic alarm device and the circuit for the host computer to control the action of the acousto-optic alarm device according to the signal are all in the prior art.

手机卡管理方法包括如下步骤:The mobile phone card management method includes the following steps:

插卡步骤,上位机4通过读卡器5读取存储手机卡的信息并随机分配未插卡卡槽11以供手机卡插入,该卡槽11对应的检测装置22根据是否将手机卡插入该卡槽11内控制对应的指示装置6发出不同的指示信号,当插卡异常时,上位机4控制告警装置7发出告警信号;具体为:Inserting the card step, the host computer 4 reads the information of storing the mobile phone card through the card reader 5 and randomly distributes the card slot 11 that has not been inserted into the card for the insertion of the mobile phone card. In the card slot 11, the corresponding indicating device 6 is controlled to send different indicating signals. When the card is inserted abnormally, the upper computer 4 controls the warning device 7 to send a warning signal; specifically:

A1、检测装置2检测到有未插卡的卡槽11插卡后,将该卡槽11的位置信息通过控制装置3发送至上位机4,上位机4判断设定时间内(设定时间可根据实际情况确定,在本实施例中,设定时间为15s)是否进行卡槽11分配,若是,进入步骤A2;否则,进入步骤A4;After A1, detection device 2 detects that there is no card slot 11 to insert a card, the position information of this card slot 11 is sent to host computer 4 by control device 3, and host computer 4 judges within the set time (the set time can be Determine according to the actual situation, in the present embodiment, the set time is 15s) whether the card slot 11 is distributed, if so, enter step A2; otherwise, enter step A4;

A2、上位机4判断接收到的位置信息是否与分配卡槽11的位置信息一致,若是,进入步骤A3;否则,进入步骤A7;A2, host computer 4 judges whether the location information received is consistent with the location information of distribution card slot 11, if so, enters step A3; otherwise, enters step A7;

A3、上位机4通过控制装置3向检测装置2发送插卡正常信号,检测装置2接收到该插卡正常信号后控制已插卡卡槽11对应的指示装置6发出第一指示信号,并进入步骤A8;其中,第一指示信号为该卡槽11对应的第一指示灯亮、第二指示灯灭;A3. The host computer 4 sends a card normal signal to the detection device 2 through the control device 3, and the detection device 2 controls the indicating device 6 corresponding to the inserted card slot 11 to send the first indicating signal after receiving the normal signal of the card inserted, and enters the Step A8; wherein, the first indication signal is that the first indicator light corresponding to the card slot 11 is on and the second indicator light is off;

A4、上位机4控制告警装置7发出第一告警信号,并通过控制装置3向检测装置2发送插卡异常信息,检测装置2接收到该插卡异常信号后控制该已插卡卡槽11对应的指示装置6发出第二指示信号;并进入步骤A5;其中,第二指示信号为该卡槽11对应的第一指示灯和第二指示灯均一直闪烁;A4. The host computer 4 controls the alarm device 7 to send the first alarm signal, and sends the abnormal card insertion information to the detection device 2 through the control device 3. After receiving the abnormal card insertion signal, the detection device 2 controls the inserted card slot 11 to correspond The indicating device 6 sends out a second indicating signal; and enters step A5; wherein, the second indicating signal is that the first indicator light and the second indicator light corresponding to the card slot 11 are always flashing;

A5、检测装置2检测到该已插卡卡槽11变为未插卡后,控制该卡槽11对应的指示装置6发出第三指示信号,并通过控制装置3向上位机4发送拔卡信号,上位机4接收到该拔卡信号后控制告警装置7停止工作;并进入步骤A6;其中,第三指示信号为该卡槽11对应的第一指示灯和第二指示灯均灭;A5. After the detection device 2 detects that the card slot 11 has not been inserted, it controls the indicating device 6 corresponding to the card slot 11 to send a third indicating signal, and sends a card pulling signal to the upper computer 4 through the control device 3 , the host computer 4 controls the alarm device 7 to stop working after receiving the card pull signal; and enters step A6; wherein, the third indication signal is that the first indicator light and the second indicator light corresponding to the card slot 11 are all off;

A6、上位机4通过读卡器5读取并存储手机卡的信息,并随机分配未插卡的卡槽11后,向控制装置3发送分配的卡槽11的位置信息,控制装置3向该位置信息对应的检测装置2发送该位置信息,检测装置2根据该位置信息控制相应卡槽11对应的指示装置6发出第四指示信号;并进入步骤A1;其中,第四指示信号为该卡槽11对应的第一指示灯灭、第二指示灯一直闪烁;A6, the host computer 4 reads and stores the information of the mobile phone card through the card reader 5, and after randomly assigning the card slot 11 without the card inserted, sends the position information of the card slot 11 distributed to the control device 3, and the control device 3 sends the card slot 11 to the control device 3. The detection device 2 corresponding to the position information sends the position information, and the detection device 2 controls the indication device 6 corresponding to the corresponding card slot 11 to send the fourth indication signal according to the position information; and enters step A1; wherein, the fourth indication signal is the card slot 11 The corresponding first indicator light is off, and the second indicator light keeps flashing;

A7、上位机4控制告警装置7发出第二告警信号,并通过控制装置3向检测装置2发送插卡异常信号,检测装置2接收到该插卡异常信号后,控制分配的卡槽11对应的指示装置6继续发出第四指示信号,并控制已插卡卡槽11对应的指示装置6发出第二指示信号;并进入步骤A1;A7. The upper computer 4 controls the alarm device 7 to send a second alarm signal, and sends the card insertion abnormality signal to the detection device 2 through the control device 3. After the detection device 2 receives the card insertion abnormality signal, it controls the card slot 11 corresponding to the allocation. The indicating device 6 continues to send out the fourth indicating signal, and controls the indicating device 6 corresponding to the inserted card slot 11 to send out the second indicating signal; and enter step A1;

A8、上位机4控制告警装置7停止工作,插卡步骤结束;A8, the host computer 4 controls the alarm device 7 to stop working, and the card insertion step ends;

其中,第一指示信号、第二指示信号、第三指示信号和第四指示信号,均为上位机4与检测装置2约定好的信号,这种信号设置方式为现有技术,第一告警信号和第二告警信号可通过设置声光告警装置7实现,如第一告警信号告警声音大于第二告警信号,依次来区分第一、第二告警信号,这种设置方式也为现有技术。Among them, the first indication signal, the second indication signal, the third indication signal and the fourth indication signal are all signals agreed between the host computer 4 and the detection device 2. This signal setting method is the prior art. The first alarm signal and the second alarm signal can be realized by setting the acousto-optic alarm device 7, such as the alarm sound of the first alarm signal is greater than that of the second alarm signal, and the first and second alarm signals are sequentially distinguished. This setting method is also a prior art.

拔卡步骤,上位机4根据卡槽11内手机卡的信息选择可拔卡的卡槽11,该卡槽11对应的检测装置2根据是否为该卡槽11内的手机卡被拔出而控制对应的指示装置6发出不同的指示信号,当拔卡异常时,上位机4控制告警装置7发出告警信号;具体为:In the step of pulling out the card, the upper computer 4 selects the card slot 11 that can be pulled out according to the information of the mobile phone card in the card slot 11, and the detection device 2 corresponding to the card slot 11 is controlled according to whether the mobile phone card in the card slot 11 is pulled out. The corresponding indicating device 6 sends different indicating signals, and when the card is pulled abnormally, the upper computer 4 controls the warning device 7 to send a warning signal; specifically:

B1、控制装置3检测到有已插卡的卡槽11拔卡后,将该卡槽11的位置信息通过控制装置3发送至上位机4,上位机4判断设定时间内(设定时间可根据实际情况确定,在本实施例中,设定时间为15s)是否进行拔卡卡槽11选择,若是,进入步骤B2;否则,进入步骤B4;After B1, control device 3 detects that the card slot 11 that has inserted card is pulled out, the position information of this card slot 11 is sent to host computer 4 by control device 3, and host computer 4 judges within the set time (the set time can be Determine according to the actual situation, in the present embodiment, the setting time is 15s) whether to select the card slot 11 for pulling out the card, if so, enter step B2; otherwise, enter step B4;

B2、上位机4判断接收到的位置信息是否与选择的拔卡卡槽11位置信息一致,若是,进入步骤B3;否则,进入步骤B7;B2, host computer 4 judges whether the location information received is consistent with the selected card slot 11 location information, if so, enters step B3; otherwise, enters step B7;

B3、上位机4通过控制装置3向检测装置2发送拔卡正常信号,检测装置2接收到该拔卡正常信号后控制已拔卡卡槽11对应的指示装置6发出第五指示信号,并进入步骤B8;其中,第五指示信号为该卡槽11对应的指示装置6的第一指示灯和第二指示灯均灭;B3, the upper computer 4 sends the normal card-drawing signal to the detection device 2 through the control device 3, and the detection device 2 controls the indicating device 6 corresponding to the card-drawing slot 11 to send the fifth indicating signal after receiving the card-drawing normal signal, and enters Step B8; wherein, the fifth indication signal is that both the first indicator light and the second indicator light of the indicating device 6 corresponding to the card slot 11 are off;

B4、上位机4控制告警装置7发出第三告警信号,并通过控制装置3向检测装置2发送拔卡异常信息,检测装置2接收到该拔卡异常信息后控制已拔卡卡槽11对应的指示装置6发出第六指示信号;并进入步骤B5;其中,第六指示信号为该卡槽11对应的指示装置6的第一指示灯和第二指示灯均一直闪烁;B4, the host computer 4 controls the alarm device 7 to send the third alarm signal, and sends the card-drawing abnormality information to the detection device 2 through the control device 3, and the detection device 2 controls the corresponding card slot 11 after receiving the card-drawing abnormality information The indicating device 6 sends a sixth indicating signal; and enters step B5; wherein, the sixth indicating signal is that the first indicator light and the second indicator light of the indicating device 6 corresponding to the card slot 11 are always flashing;

B5、检测装置2检测到该已拔卡卡槽11变为已插卡后,控制该卡槽11对应的指示装置6发出第七指示信号,并通过控制装置3向上位机4发送拔卡信号,上位机4接收到该拔卡信号后控制告警装置7停止工作;并进入步骤B6;其中,第七指示信号为该卡槽11对应的第一指示灯亮、第二指示灯灭;B5. After the detection device 2 detects that the card slot 11 that has been pulled out has become a card inserted, it controls the indicating device 6 corresponding to the card slot 11 to send a seventh indicating signal, and sends a card pulling signal to the upper computer 4 through the control device 3 , the host computer 4 controls the alarm device 7 to stop working after receiving the card pull signal; and enters step B6; wherein, the seventh indication signal is that the first indicator light corresponding to the card slot 11 is on, and the second indicator light is off;

B6、上位机4根据各卡槽11内手机卡的信息选择可拔卡的卡槽11,并向控制装置3发送该卡槽11的位置信息,控制装置3向该位置信息对应的检测装置2发送该位置信息,检测装置2根据该位置信息控制相应卡槽11对应的指示装置6发出第八指示信号;并进入B1;其中,第八指示信号为该卡槽11对应的第一指示灯灭,第二指示灯一直闪烁;B6, host computer 4 selects the card slot 11 that can pull out the card according to the information of the mobile phone card in each card slot 11, and sends the position information of this card slot 11 to the control device 3, and the control device 3 sends the detection device 2 corresponding to the position information Send the position information, and the detection device 2 controls the indicating device 6 corresponding to the corresponding card slot 11 to send the eighth indication signal according to the position information; and enters B1; wherein, the eighth indication signal is that the first indicator light corresponding to the card slot 11 goes out , the second indicator light keeps flashing;

B7、上位机4控制告警装置7发出第四告警信号,并通过控制装置3向检测装置2发送拔卡异常信号,检测装置2接收到该拔卡异常信号后,控制上位机4选择的拔卡卡槽11对应的指示装置6继续发出第八指示信号,并控制已拔卡卡槽11对应的指示装置6发出第六指示信号;并进入B1;B7, the upper computer 4 controls the alarm device 7 to send the fourth alarm signal, and sends the abnormal card drawing signal to the detection device 2 through the control device 3, and after the detection device 2 receives the card abnormal signal, it controls the card removal selected by the upper computer 4 The indicating device 6 corresponding to the card slot 11 continues to send the eighth indicating signal, and controls the indicating device 6 corresponding to the drawn card slot 11 to send the sixth indicating signal; and enter B1;

B8、上位机4控制告警装置7停止工作,拔卡步骤结束。B8. The host computer 4 controls the alarm device 7 to stop working, and the card pulling step ends.

其中,第五指示信号、第六指示信号、第七指示信号和第八指示信号,均为上位机4与检测装置2约定好的信号,这种信号设置方式为现有技术,第三告警信号和第四告警信号可通过设置声光告警装置7实现,如第三告警信号告警声音大于第四告警信号,依次来区分第三、第四告警信号,这种设置方式也为现有技术。Among them, the fifth indication signal, the sixth indication signal, the seventh indication signal and the eighth indication signal are all signals agreed between the host computer 4 and the detection device 2. This signal setting method is the prior art, and the third alarm signal and the fourth warning signal can be realized by setting the acousto-optic warning device 7. If the warning sound of the third warning signal is greater than that of the fourth warning signal, the third and fourth warning signals are sequentially distinguished. This setting method is also a prior art.

单片机控制第一指示灯和第二指示灯发出上述第一至第八指示信号的具体电路均为现有技术。The specific circuits for the single-chip microcomputer to control the first indicator light and the second indicator light to send out the above-mentioned first to eighth indicator signals are all in the prior art.

以上所述,仅为本发明的较佳实施例而已,故不能以此限定本发明实施的范围,即依本发明申请专利范围及说明书内容所作的等效变化与修饰,皆应仍属本发明专利涵盖的范围内。The above is only a preferred embodiment of the present invention, so it cannot limit the scope of the present invention, that is, equivalent changes and modifications made according to the patent scope of the present invention and the content of the specification should still belong to the present invention covered by the patent.

Claims (10)

1. a kind of mobile phone card management system, it is characterised in that:Including it is multiple interval setting and all have multiple card slots pocket sets,It is multiple to be connect with each pocket set respectively with the detection device for detecting each card slot plug-in card state, the control being connect with each detection device dressThe host computer that set, communicates to connect with control device, multiple is connect with each detection device the card reader that is connect with host computer respectivelyInstruction device and the alarm device being connect with host computer, instruction device is used to indicate each card slot, and whether plug-in card and each card slot pull outWhether plug-in card is abnormal, and when plug-in card, host computer reads the information of memory mobile phone card by card reader and is randomly assigned non-plug-in card card slotSo that mobile phone card is inserted into, the corresponding detection device of the card slot controls corresponding instruction according to whether mobile phone card is inserted into the card slotDevice sends out different indication signals, and when plug-in card exception, PC control alarm device sends out alarm signal;When pulling out card, onPosition machine can pull out the card slot of card according to the information selection of mobile phone card in card slot, and the corresponding detection device of the card slot is according to whether be the cardMobile phone card in slot is pulled out and controls corresponding instruction device and send out different indication signals, when pulling out card exception, host computerControl alarm device sends out alarm signal.
CN201810411021.0A2018-05-022018-05-02A kind of mobile phone card management system and methodPendingCN108388818A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810411021.0ACN108388818A (en)2018-05-022018-05-02A kind of mobile phone card management system and method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810411021.0ACN108388818A (en)2018-05-022018-05-02A kind of mobile phone card management system and method

Publications (1)

Publication NumberPublication Date
CN108388818Atrue CN108388818A (en)2018-08-10

Family

ID=63066083

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810411021.0APendingCN108388818A (en)2018-05-022018-05-02A kind of mobile phone card management system and method

Country Status (1)

CountryLink
CN (1)CN108388818A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110381498A (en)*2019-06-282019-10-25深圳市奥克多普科技有限公司SIM card pond, server, the method and system alerted for SIM card pond

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPH09212600A (en)*1996-01-311997-08-15Sharp Corp IC card insertion / extraction detection control device
JP2004349967A (en)*2003-05-212004-12-09Nec CorpCard plug-in mounted electronic apparatus
KR20050080333A (en)*2004-02-092005-08-12삼성전자주식회사Apparatus and method for recognizing the sort of inserted smart card
CN101944670A (en)*2010-08-272011-01-12华为终端有限公司Intelligent card socket, mobile terminal and working method for mobile terminal
CN206658079U (en)*2017-04-252017-11-21上海无衍电子科技有限公司A kind of charging base for the portable power source for being used to lease
CN107437301A (en)*2017-03-142017-12-05上海无衍电子科技有限公司Portable power source leases control system and lease control method
CN107464361A (en)*2017-07-072017-12-12深圳街电科技有限公司Portable power source leasing method and equipment
CN107527262A (en)*2017-08-162017-12-29深圳市迪比科电子科技有限公司Leasing and returning method for shared mobile power supply

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPH09212600A (en)*1996-01-311997-08-15Sharp Corp IC card insertion / extraction detection control device
JP2004349967A (en)*2003-05-212004-12-09Nec CorpCard plug-in mounted electronic apparatus
KR20050080333A (en)*2004-02-092005-08-12삼성전자주식회사Apparatus and method for recognizing the sort of inserted smart card
CN101944670A (en)*2010-08-272011-01-12华为终端有限公司Intelligent card socket, mobile terminal and working method for mobile terminal
CN107437301A (en)*2017-03-142017-12-05上海无衍电子科技有限公司Portable power source leases control system and lease control method
CN206658079U (en)*2017-04-252017-11-21上海无衍电子科技有限公司A kind of charging base for the portable power source for being used to lease
CN107464361A (en)*2017-07-072017-12-12深圳街电科技有限公司Portable power source leasing method and equipment
CN107527262A (en)*2017-08-162017-12-29深圳市迪比科电子科技有限公司Leasing and returning method for shared mobile power supply

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110381498A (en)*2019-06-282019-10-25深圳市奥克多普科技有限公司SIM card pond, server, the method and system alerted for SIM card pond

Similar Documents

PublicationPublication DateTitle
US5555510A (en)Automatic computer card insertion and removal algorithm
US9658269B2 (en)Systems and methods for connectors with insertion counters
CN102662897B (en)Mobile terminal and data interaction method between mobile terminals
CN102934130B (en)Micro SD device loaded with intelligent card
CN101097563A (en)System and method for realizing board centralized management and controlling
CN112799985B (en)USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN103220411A (en)Method and device of hot plug detection and mobile terminal
CN102883423A (en)Method and device for allocating power of power over Ethernet (POE) modules
CN108388818A (en)A kind of mobile phone card management system and method
CN109901664A (en) Method, apparatus, system, device and readable storage medium for providing clock signal
CN113325940A (en)Power consumption control method, system, terminal and storage medium of intelligent device
CN105677596A (en)Control method and electronic equipment
CN106918775A (en)The access method of chip test mode
CN109446142A (en)Electronic equipment, mainboard and control method
CN120196519A (en) PCIe device fault alarm method, system, device, medium and product
CN211698949U (en)Mobile phone card management system
CN103136487A (en)Method, device and system for managing data in hard disc hidden area
CN105184995A (en)Retrofitting-preventing card plugging device, detection method thereof, card reading device and finance device
CN101221547B (en)Memory card having multiple interfaces, reset control method thereof
CN1100306C (en)IC card reader/writer and its control method
CN102074082B (en)Network tax controller and method for detecting plug and pull of same
CN201383177Y (en)Coin circulating processing device
CN104166686B (en)Database Systems, main frame and application method based on PCI or PCIE boards
CN215181526U (en)Intelligent cabinet U-position management system
CN214540750U (en)USB control circuit, intelligent networking equipment mainboard and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20180810

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp