Background
With the high-speed development and wide application of the internet of things technology, the unprecedented speed of the internet of things era affects and changes the development of various industries. In the aspect of life payment, people no longer meet the requirements of laggard traditional field manual handling and related data input. And the aim of on-line life payment is pursued to be simplified, facilitated, safe and intelligent, namely, life payment is realized without going home. In order to realize recharging and purchasing gas on the gas line, the gas business hall is not required to take time and labor any more, the related software technology engineers develop a plurality of mobile phones APP, the mobile phones APP are installed on mobile phones or PADs in a downloading mode, and the mobile phones APP are connected with Bluetooth cards after the related information is registered, so that the purpose that a gas meter user can purchase the gas without going out of the home is realized.
The invention patent publication number CN206807786U entitled "an intelligent terminal and mobile device for opening an intelligent Bluetooth card on line" discloses an intelligent Bluetooth card device, which opens the intelligent Bluetooth card through the intelligent terminal, thereby avoiding queuing and handling of users in business halls and improving convenience and freedom of the users, and the intelligent terminal comprises: the connection unit is used for connecting with the intelligent Bluetooth card through Bluetooth and sending a card opening instruction to the intelligent Bluetooth card; the first forwarding unit is used for receiving identification information which is sent by the intelligent Bluetooth card according to the card opening instruction and used for identifying the intelligent Bluetooth card, and sending the identification information to a server connected with the intelligent terminal; and the second forwarding unit is used for receiving the key for opening the card, which is determined by the server according to the identification information, and sending the key to the intelligent Bluetooth card, wherein the intelligent Bluetooth card is opened.
The embedded intelligent terminal only relates to on-line card opening and gas purchasing, but does not specifically describe the hardware performance function of a Bluetooth card, and only supports one IC card type, at present, a gas meter relates to two IC card types, namely a 4442 type card and a 102 type card, so that the on-line card opening has risks, different Bluetooth card types are required to support aiming at different gas meters, and a large amount of data combination pair work is required for front-stage card releasing; the intelligent IC card mobile device based on the Bluetooth technology can purchase two IC card types related to the gas meter while realizing on-line card opening and gas purchase and stable hardware performance of products, can automatically switch the IC card types according to related data, meets the use requirements of different gas meters, and avoids the work of amplifying a large amount of data pairs of the card in the early stage.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides intelligent IC card mobile equipment based on the Bluetooth technology, wherein an MCU main control device, keys, an indicator light, a power supply and an IC card read-write device are integrated on a circuit board, and the IC card read-write device reads 4442 type cards or 102 type cards through a double-card switching selection chip and can read 2 types of Bluetooth cards.
The technical scheme adopted for solving the technical problems is as follows:
A bluetooth technology based smart IC card mobile device, comprising:
a power supply including a rechargeable battery for providing electrical energy;
The key is connected with the power supply and used for switching on or off the power supply;
the IC card read-write device is connected with the Bluetooth card and is used for carrying out data transmission with the Bluetooth card; wherein the IC card read-write device comprises a double-card switching selection chip
The MCU master control device comprises a Bluetooth communication mechanism and an ARM Cortex-M0CPU core, wherein the MCU master control device performs data transmission with Bluetooth mobile equipment through the Bluetooth communication mechanism, and the input end of the ARM Cortex-M0CPU core is connected with a double-card switching selection chip;
the Bluetooth card is a 4442 type card or a 102 type card; the MCU main control device, the keys, the power supply and the IC card read-write device are integrated on the circuit board and are connected with each other through wires.
Preferably, the model of the dual-card switching selection chip is SGM6503.
Preferably, the method further comprises:
The indicator lamp comprises a blue indicator lamp and a red indicator lamp, wherein the red indicator lamp is a power indicator lamp, and the blue indicator lamp is a Bluetooth connection indicator lamp;
wherein, MCU master control device passes through the wire and connects the pilot lamp.
Preferably, the method further comprises:
The equipment shell comprises an upper shell and a lower shell which are connected by a hidden buckle, and the equipment shell is used for fixing an MCU main control device, a key, a power supply and an IC card read-write device.
Preferably, the rechargeable battery is a lithium battery with a capacity of 3.7VDC/680 mAh.
Preferably, the key adopts an interrupt triggering mode to wake up the rechargeable battery.
Preferably, the power supply further includes a charge protection circuit and a discharge protection circuit.
Preferably, the MCU master control device is an NRF51822 chip.
The beneficial effects of the invention are as follows: 1. the intelligent IC card mobile device based on the Bluetooth technology adopts the Bluetooth communication technology and the integration technology of various intelligent IC type modes, so that the purpose that a user can open a card, recharge and purchase air on line without going out is realized. 2. MCU master control device, button, pilot lamp, power, the IC-card read-write equipment of intelligent bluetooth card adopts industrial grade components and parts design, and stability is high, also can normally work under abominable environment. 3. The Bluetooth card is connected with the mobile phone APP through Bluetooth, the mobile phone APP sends a card reading instruction, the Bluetooth card returns information in the card, the mobile phone APP receives data information and then sends the data information to the background server together with registration information, the server analyzes and processes the data information, the mobile phone APP returns, the mobile phone APP is connected with the Bluetooth card through Bluetooth, the returned information is written into the Bluetooth card, the Bluetooth card automatically judges the card type mode according to the data information, and the data is written into the IC card chip to complete the online card opening operation; after the card opening operation is finished, the mobile phone APP finishes online payment through third party payment, the server issues the air purchasing amount data to the mobile phone APP, the mobile phone APP is connected with the Bluetooth card through Bluetooth, the air purchasing value is written into the Bluetooth card, the Bluetooth card returns the mobile phone APP prompt data to be written successfully, and the mobile phone APP prompts a user to insert the card for inflation. 4. The intelligent Bluetooth card of the mobile device has advanced and reasonable design, compact structure, high intelligent control degree, good stability and simple device operation, and aims to provide a convenient and fast service for users.
Detailed Description
The invention will be described in further detail with reference to the drawings and examples.
Referring to fig. 1, a smart IC card mobile device based on bluetooth technology includes: MCU master control device, button, pilot lamp, power, IC card read-write equipment, MCU master control device, button, power and IC card read-write equipment integrate on the circuit board and interconnect through the wire:
The IC card read-write device is connected with the Bluetooth card, is used for carrying out data transmission with the Bluetooth card, is respectively connected with the input end and the output end of the MCU main control device, and transmits the read Bluetooth card information to the MCU main control device; further, the IC card read-write device includes a dual card switching selection chip, the type of the dual card switching selection chip is SGM6503, the bluetooth card includes two types of national standard IC cards, different national standard IC cards are selected according to different using devices, the type of the national standard IC card is 4442 type or 102 type, the selection of the two types of card data storage modes is selected and switched by the dual card switching selection chip, because the two types of cards are different in storage mode and read-write mode, the current intelligent IC card mobile device applied to gas meter purchasing only supports a single type of mode card, and the purpose of supporting reading 4442 type or 102 type cards is achieved.
The MCU master control device is an NRF51822 chip, a Bluetooth communication mechanism and a 32bit ARM Cortex-M0CPU core are integrated in the chip, the whole internal structure of the NRF51822 chip adopts an ultra-low power consumption design, and a peripheral circuit forms the MCU master control circuit, all parts of the chip are connected by wires, wherein the peripheral circuit is divided into a crystal oscillator circuit and a reset circuit, and the crystal oscillator circuit and the reset circuit are connected with the ARM Cortex-M0CPU core through wires. Further, the input end of the MCU main control device is connected with a double-card switching selection chip. As shown in fig. 1, the MCU main control device is connected with the key, the indicator lamp, the power supply and the IC card read-write device through wires.
The power supply comprises a rechargeable battery, the rechargeable battery is a lithium battery with the capacity of 3.7VDC/680mAh, the lithium battery provides power supply voltage of 3.7V-4.4V, and the power supply is connected to a voltage stabilizing conversion circuit of the lithium battery through a lead and is connected with the power supply +Vcc end of each sub-circuit of the intelligent IC card mobile device. Under normal operation, the recharging and gas purchasing process can be used for more than two years. The power supply adopts SX4059 lithium cell charge management chip, and SX4059 lithium cell charge management chip includes charge protection circuit and discharge protection circuit, and charge protection circuit carries out charge protection to the lithium cell, and discharge protection circuit protects the lithium cell and discharges, and when the lithium cell charges to the upper limit value, stops charging, and power indicator constant simultaneously, power indicator twinkling when normal operation uses to reach the lower limit value, stops operation use. The upper limit value and the lower limit value are set for voltage monitoring of the chip, wherein the voltage monitoring is that data are collected by 12-bit A/D inside the NRF51822 chip, and the data are accurate.
The key is connected with the power supply and the MCU main control device, and the key adopts an interrupt triggering mode to wake up the rechargeable battery and is in a power-down mode when not working. Furthermore, the key adopts an anti-interference design, key shake is effectively filtered, the key is connected with an external interrupt interface of the MCU main control device, a power-down mode is awakened through external interrupt, and all circuits are connected through wires.
The indicator lamp is connected with the MCU main control device through a lead, and comprises a blue indicator lamp and a red indicator lamp, wherein the red indicator lamp is a power indicator lamp, and the blue indicator lamp is a Bluetooth connection indicator lamp; further, the indicator lamp adopts 0306LED encapsulation lamp, when carrying out bluetooth with bluetooth mobile device and being connected, red pilot lamp is bright often, and blue pilot lamp twinkling, and after the bluetooth was connected successfully, blue pilot lamp is bright often, can carry out bluetooth communication.
In another embodiment, the smart IC card mobile device based on bluetooth technology further includes a device housing, the device housing includes an upper case and a lower case connected by a hidden buckle, and the MCU main control device, the key, the indicator light, the power supply and the IC card read-write device are integrated on the circuit board and then packaged in the device housing, and the hidden buckle is used for preventing violent disassembly of the device housing, thereby avoiding damage to the internal circuit.
As shown in fig. 2-3, the smart IC card mobile device based on the bluetooth technology of the present invention can implement the following operations:
initializing a device: the Bluetooth card is inserted into intelligent IC card mobile equipment (hereinafter, simply referred to as Bluetooth card) based on Bluetooth technology, when Bluetooth mobile equipment such as mobile phone APP is connected with the Bluetooth card through Bluetooth, the Bluetooth card is required to be opened, the MCU main control device is electrified, the intelligent IC card mobile equipment is initialized, the internal data of the Bluetooth card and the registration data of the mobile phone APP are sent to a server, the server returns a card opening instruction to the mobile phone APP, and then the data is written in through the Bluetooth card connection, so that card opening and recharging and gas purchasing operations are realized.
On-line card opening operation, as shown in fig. 2: the Bluetooth card is connected with the mobile phone APP through Bluetooth, the mobile phone APP sends a card reading instruction, the Bluetooth card returns information in the card, the mobile phone APP receives data information and then sends the data information to the background server together with registration information, the server analyzes and processes the data information, the mobile phone APP returns, the mobile phone APP is connected with the Bluetooth card through Bluetooth, the returned information is written into the Bluetooth card, the Bluetooth card automatically judges the card type mode according to the data information, and the data is written into the IC card chip to complete the online card opening operation;
On-line card opening operation, as shown in fig. 3: the method comprises the steps of carrying out image shooting on a gas meter number part through a mobile phone APP, uploading the gas meter number part to a background server, then adopting an independently developed SVM technology to extract the picture digital characteristics of the gas meter number to form an image digital distinguishing algorithm, carrying out gray level image processing on the gas meter number, carrying out binarization picture processing, picture filtering noise reduction processing, cutting pictures to form single numbers, processing the single digital pictures, finally extracting the digital characteristics to form an image digital distinguishing algorithm, comparing the extracted meter number with database data, transmitting information such as a user number to the mobile phone APP, transmitting the information such as the user number to a Bluetooth card through the Bluetooth, writing the data into the Bluetooth card by the mobile phone APP, automatically selecting the type of an IC card, and completing image acquisition card opening operation;
Online recharge and purchase, as shown in fig. 4: after the card opening operation is finished, the mobile phone APP finishes online payment through third party payment, the server issues the air purchasing amount data to the mobile phone APP, the mobile phone APP is connected with the Bluetooth card through Bluetooth, the air purchasing value is written into the Bluetooth card, the Bluetooth card returns the mobile phone APP prompt data to be written successfully, and the mobile phone APP prompts a user to insert the card for inflation. The intelligent Bluetooth card of the mobile device has advanced and reasonable design, compact structure, high intelligent control degree, good stability and simple device operation, and aims to provide a convenient and fast service for users.
The intelligent IC card mobile device based on the Bluetooth technology can realize the following functions: opening the card online, automatically matching the structure type of the IC card, paying and inflating. The traditional intelligent Bluetooth card IC card has single structure type, poor matching degree for gas meters of different manufacturers and high cost, and can realize a large amount of matching work under the condition of unified card release of gas companies, namely, a specific intelligent Bluetooth card IC card type mode is selected for the gas meter manufacturer types of users in different cells; the device integrates two IC card storage type modes, can automatically match the IC card storage type modes, and has strong stability and low cost. In the field of gas company application, the labor cost can be reduced to a great extent, and the time of management personnel and business hall operators is saved.
Although embodiments of the invention have been disclosed above, they are not limited to the use listed in the specification and embodiments. It can be applied to various fields suitable for the present invention. Additional modifications will readily occur to those skilled in the art. Therefore, the invention is not to be limited to the specific details and illustrations shown and described herein, without departing from the general concepts defined in the claims and their equivalents.