CN102332191B - Android system-based Bluetooth communication open computer room surfing method - Google Patents
Android system-based Bluetooth communication open computer room surfing method Download PDFInfo
- Publication number
- CN102332191B CN102332191B CN 201110319314 CN201110319314A CN102332191B CN 102332191 B CN102332191 B CN 102332191B CN 201110319314 CN201110319314 CN 201110319314 CN 201110319314 A CN201110319314 A CN 201110319314A CN 102332191 B CN102332191 B CN 102332191B
- Authority
- CN
- China
- Prior art keywords
- card
- money
- machine
- swiping
- bluetooth
- 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
Links
Images
Abstract
The invention discloses an android system-based Bluetooth communication open computer room surfing method. The method is developed by Java 2 platform enterprise edition (J2EE), C# and a structured query language (SQL) server 2005, a client program in an android system is developed by the J2EE to realize zero-cost Bluetooth transmission in an android system platform, the C# realizes the Bluetooth transmission and receiving and data access operation of computers provided with Bluetooth adapters and the message sending and control operation of the computers in a computer room, surfing charging and surfing registration operation is performed through interaction of the android system platform and the computers, and an android system-based Bluetooth communication and computer management combined computer room surfing management system is established by a computer technology, a network technology and a communication technology on the basis of the conventional computer room card-swiping surfing mode.
Description
Technical field
The present invention relates to transmission and the computer management method of communication data, relate in particular to a kind ofly based on machine method on the bluetooth communication open Software Foundation of Android system, belong to communication technique field.
Background technology
At present the method for machine mainly is that the upper machine of swiping the card is main on the open Software Foundation of each school, do machine calorie requirement cost, if losing in addition, makes up by upper machine card, and present various IC-card is too many, everyone is with a lot of cards with it, beauty treatment card, body-building card, the card etc. that repairs block these and are integrated together all that to become a card be unpractical, and this becomes the go out problem of a worry of present people.At present because the popularizing of mobile phone, the IME code of mobile phone is unique, and the communication modes of mobile phone has several, and wireless and bluetooth are modal, so a lot of thing can be integrated in the mobile phone, the communication by mobile phone realizes.Bluetooth is the technology that a kind of support equipment carries out short haul connection, can carry out the wireless messages exchange between the computer of mobile phone, PDA, installation Bluetooth adapter.The Android cell phone system is under the support of Google, Motorola, three magnitude producers at present, the market share is increasing, the data communication of cell phone system mainly realizes by note, but note depends on the provider of short message service, and there is a problem of expense, the main process of machine and need not to carry out at a distance the transmission of data on the open Software Foundation, the bluetooth point-to-point transmission is satisfactory.
Summary of the invention
The object of the present invention is to provide a kind of based on machine method on the bluetooth communication open Software Foundation of Android system, utilize J2EE, C# and SQL Server2005 develop, utilize client-side program in the J2EE exploitation Android system to realize the Bluetooth transmission of 0 expense in the Android system platform, C# realizes that the computer Bluetooth transmission that is equipped with Bluetooth adapter receives and data access operation, and the message of machine room computer sends and control operation, the upper machine that carries out alternately by Android system platform and computer is supplemented with money, upper machine log-on operation, the computer technology, network technology and mechanics of communication, machine room is former swipe the card on the basis of machine mode set up the machine room Code Computer Management System that the Bluetooth transmission with the Android system combines with computer management.
A kind of based on machine method on the bluetooth communication machine room of Android system, may further comprise the steps:
(1) machine load locations on open Software Foundation at first, use the Android mobile phone to connect by bluetooth and supplement computer with money, this computer has been installed Bluetooth adapter, supplementing with money for the first time needs the new user of registration, after the successful connection, input student number or other unique numberings in the client of Android platform, the android platform is charged to student number and mobile phone IME code in the remote system database to supplementing computer with money by Bluetooth transmission after confirming; Supplement with money supplementing computer with money again, in the Android platform, can carry out the inquiry of remaining sum by wireless network after supplementing with money;
(2) remove machine on the computer room, upper machine personnel go in mobile phone and the OK range that the former server bluetooth equipment of swiping the card can normally be connected, be introduced into the client-side program of Android platform, then connect the former server of swiping the card of machine room by bluetooth, this server is equipped with Bluetooth adapter, after the successful connection, the mobile phone IME code that transmitting cell-phone IME code is preserved in swipe the card server and the database compares checking;
If be proved to be successful, from database, read the upper machine remaining sum of corresponding mobile phone IME code; If verify unsuccessfully, return (2) and reconnect;
(3) system judges that whether upper machine remaining sum is greater than 0 yuan:
If greater than 0 yuan, upper machine personnel select the computer plane No. of computer room in the client-side program of Android platform, again by Bluetooth transmission in the former server of swiping the card, in the data-in storehouse, then server carries out timing, per renewal operation of carrying out the upper machine amount of money in 2 minutes;
If less than or equal to 0 yuan, upper machine personnel can carry out the inquiry of remaining sum by wireless network in the Android platform, and the amount of money can return not step (1) and again supplement with money;
(4) in the upper machine process, the per inquiry of carrying out the upper machine amount of money in 2 minutes of the server system of swiping the card:
If real-time remaining sum〉0.2 yuan, can normally go up machine;
If in real time remaining sum<0.2 yuan and 0 yuan, the server of swiping the card sends the inadequate message of balance amount prompting to upper machine personnel's computer, the machine personnel supplement with money at the recharge point that loses no time in the prompting;
If directly closing by remote control software, real-time remaining sum<0 yuan, the server of swiping the card close machine personnel's computer;
(5) machine finishes on computer room, upper machine personnel go in mobile phone and the OK range that the former server bluetooth equipment of swiping the card can normally be connected, enter again the client-side program of Android platform, then connect the former server of swiping the card of machine room by bluetooth, after the successful connection, the mobile phone IME code that transmitting cell-phone IME code is preserved in swipe the card server and the database compares checking, be proved to be successful the information of machine on the rear end of transmission (EOT) to server, then server finishes withholing of the amount of money, and the plane No. of changing former upper machine is available;
(6) upper machine personnel can carry out the inquiry of remaining sum by wireless network in the Android platform, and the amount of money can be supplemented with money not again.
Compared with prior art, the invention has the beneficial effects as follows: machine must be swiped the card and change the Android mobile phone into upper machine card and be simulated the problem of swiping the card on the existing open Software Foundation of solution, reduced the cost payout of IC-card, for engaging one, later crowd lays the foundation, main operation of the present invention has utilized the opening of bluetooth, free characteristic, need not any expense.
Description of drawings
Fig. 1 is process flow diagram of the present invention.
Embodiment
The invention will be further described below by specific embodiment.
(1) machine load locations on open Software Foundation at first, use the Android mobile phone to connect by bluetooth and supplement computer with money, this computer has been installed Bluetooth adapter, supplementing with money for the first time needs the new user of registration, after the successful connection, input student number or other unique numberings in the client of Android platform, such as student number: 201003123001, the android platform is with student number and mobile phone IME code after confirming: 356897020445689 charge in the remote system database to supplementing computer with money by Bluetooth transmission; Supplement 10 yuan with money supplementing computer with money again, in the Android platform, can carry out the inquiry of remaining sum by wireless network after supplementing with money;
(2) remove machine on the computer room, upper machine personnel go in mobile phone and the OK range that the former server bluetooth equipment of swiping the card can normally be connected, be introduced into the client-side program of Android platform, then connect the former server of swiping the card of machine room by bluetooth, this server is equipped with Bluetooth adapter, after the successful connection, transmitting cell-phone IME code: the 356897020445689 mobile phone IME codes of preserving in swipe the card server and the database compare checking; After being proved to be successful, from database, read the upper machine remaining sum of corresponding mobile phone IME code, be at present 10 yuan;
(3) system judges that whether upper machine remaining sum is greater than 0 yuan, be at present 10 yuan, upper machine personnel select the computer plane No. of computer room in the client-side program of Android platform, again by Bluetooth transmission in the former server of swiping the card, in the data-in storehouse, then server carries out timing, carries out the renewal operation of the upper machine amount of money according to the charge method of open Software Foundation in per 2 minutes, such as 2 yuan of upper machine charges in 1 hour;
(4) in the upper machine process, the per inquiry of carrying out the upper machine amount of money in 2 minutes of the server system of swiping the card when upper machine before 4 hours 54 minutes, can normally be gone up machine; When upper machine in the time of 4 hours 54 minutes, the server of swiping the card sends the inadequate message of balance amount prompting to upper machine personnel's computer, and the machine personnel supplement with money at the recharge point that loses no time in the prompting; If upper machine personnel ignore, when upper machine after 5 hours, the server of swiping the card directly closes by remote control software closes machine personnel's computer;
(5) the upper machine of machine personnel descends machine on after 1 hour, upper machine personnel go in mobile phone and the OK range that the former server bluetooth equipment of swiping the card can normally be connected, enter again the client-side program of Android platform, then connect the former server of swiping the card of machine room by bluetooth, after the successful connection, the mobile phone IME code that transmitting cell-phone IME code is preserved in swipe the card server and the database compares checking, be proved to be successful the information of machine on the rear end of transmission (EOT) to server, then server finishes withholing of the amount of money, remaining sum becomes 8 yuan from 10 yuan, and the plane No. of changing former upper machine is available;
(6) upper machine personnel can carry out the inquiry of remaining sum by wireless network in the Android platform, and the amount of money can be supplemented with money not again.
Machine must be swiped the card and change the Android mobile phone into upper machine card and be simulated the problem of swiping the card on the existing open Software Foundation of the present invention's solution, reduced the cost payout of IC-card, for engaging one, later crowd lays the foundation, main operation of the present invention has utilized the opening of bluetooth, free characteristic, need not any expense.
In addition to the implementation, the present invention can also have other embodiments, and all employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop in the protection domain of requirement of the present invention.
Claims (1)
1. one kind based on machine method on the bluetooth communication open Software Foundation of Android system, it is characterized in that, may further comprise the steps:
(1) machine load locations on open Software Foundation at first, use the Android mobile phone to connect by bluetooth and supplement computer with money, supplement computer with money Bluetooth adapter has been installed, supplementing with money for the first time needs the new user of registration, after the successful connection, input student number or other unique numberings in the client of Android platform, the Android platform is charged to student number and mobile phone IME code in the remote system database to supplementing computer with money by Bluetooth transmission after confirming; Supplement with money supplementing computer with money again, in the Android platform, can carry out the inquiry of remaining sum by wireless network after supplementing with money;
(2) remove machine on the computer room, upper machine personnel go in mobile phone and the OK range that the former server bluetooth equipment of swiping the card can normally be connected, be introduced into the client-side program of Android platform, then connect the former server of swiping the card of machine room by bluetooth, the former server of swiping the card is equipped with Bluetooth adapter, after the successful connection, the mobile phone IME code that transmitting cell-phone IME code is preserved in former swipe the card server and the remote system database compares checking;
If be proved to be successful, from the remote system database, read the upper machine remaining sum of corresponding mobile phone IME code; If verify unsuccessfully, reconnect;
(3) the former server system of swiping the card judges that whether upper machine remaining sum is greater than 0 yuan:
If greater than 0 yuan, upper machine personnel select the computer plane No. of computer room in the client-side program of Android platform, again by Bluetooth transmission in the former server of swiping the card, charge in the remote system database, then server carries out timing, per renewal operation of carrying out the upper machine amount of money in 2 minutes;
If less than or equal to 0 yuan, upper machine personnel can carry out the inquiry of remaining sum by wireless network in the Android platform, and the amount of money can be supplemented with money not again;
(4) in the upper machine process, the per inquiry of carrying out the upper machine amount of money in 2 minutes of the former server system of swiping the card:
If real-time remaining sum>0.2 yuan can normally be gone up machine;
If in real time remaining sum<0.2 yuan and>0 yuan, the former server of swiping the card sends the inadequate message of balance amount prompting to upper machine personnel's computer, the machine personnel supplement with money at the recharge point that loses no time in the prompting;
If real-time remaining sum<0 yuan, the former server of swiping the card directly closes by remote control software closes machine personnel's computer;
(5) machine finishes on computer room, upper machine personnel go in mobile phone and the OK range that the former server bluetooth equipment of swiping the card can normally be connected, enter again the client-side program of Android platform, then connect the former server of swiping the card of machine room by bluetooth, after the successful connection, the mobile phone IME code that transmitting cell-phone IME code is preserved in former swipe the card server and the remote system database compares checking, be proved to be successful the information of machine on the rear end of transmission (EOT) to the former server of swiping the card, then the former server of swiping the card finishes withholing of the amount of money, and the plane No. of changing former upper machine is available;
(6) upper machine personnel can carry out the inquiry of remaining sum by wireless network in the Android platform, and the amount of money can be supplemented with money not again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110319314 CN102332191B (en) | 2011-10-20 | 2011-10-20 | Android system-based Bluetooth communication open computer room surfing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110319314 CN102332191B (en) | 2011-10-20 | 2011-10-20 | Android system-based Bluetooth communication open computer room surfing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102332191A CN102332191A (en) | 2012-01-25 |
CN102332191B true CN102332191B (en) | 2013-03-27 |
Family
ID=45483951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110319314 Active CN102332191B (en) | 2011-10-20 | 2011-10-20 | Android system-based Bluetooth communication open computer room surfing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102332191B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101071491A (en) * | 2007-05-11 | 2007-11-14 | 丘华群 | Net bar value-added settlement payment system |
CN101442728A (en) * | 2008-12-25 | 2009-05-27 | 杭州梦凯网络科技有限公司 | Method for management, value-charging and settlement of communication equipment terminal fee |
CN101540697A (en) * | 2009-04-14 | 2009-09-23 | 张涌春 | Internet information service management system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AUPS339102A0 (en) * | 2002-07-04 | 2002-08-01 | Three Happy Guys Pty Ltd | Method of monitoring volumes of data between multiple terminals and an external communication network |
US7085745B2 (en) * | 2003-03-05 | 2006-08-01 | Klug John R | Method and apparatus for identifying, managing, and controlling communications |
-
2011
- 2011-10-20 CN CN 201110319314 patent/CN102332191B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101071491A (en) * | 2007-05-11 | 2007-11-14 | 丘华群 | Net bar value-added settlement payment system |
CN101442728A (en) * | 2008-12-25 | 2009-05-27 | 杭州梦凯网络科技有限公司 | Method for management, value-charging and settlement of communication equipment terminal fee |
CN101540697A (en) * | 2009-04-14 | 2009-09-23 | 张涌春 | Internet information service management system |
Also Published As
Publication number | Publication date |
---|---|
CN102332191A (en) | 2012-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104751313A (en) | Smart express item storing and taking method and system | |
CN102509157A (en) | Library book-borrowing management method based on Android system | |
CN103139182A (en) | Method, client end, server and system allowing user to visit | |
CN109615384B (en) | Method, device and server for generating timeliness check rule | |
CN106872996A (en) | The optimization method of alignment system performance, device and mobile terminal | |
CN103839340A (en) | Method and system for synchronizing electronic purse information and over-the-air earmarking service platform | |
CN103914769A (en) | Method and system for achieving self-service Internet surfing services based on WIFI and WIFI charging terminal | |
RU2009117636A (en) | PAYMENT CHARGES IN SPECIALIZED NETWORKS | |
CN111383093A (en) | Intelligent overdue bill collection method and system | |
CN110400139B (en) | Payment method, device and system based on public digital wallet | |
CN106503990A (en) | A kind of transaction processing method and mobile device | |
CN103781053B (en) | Multi-card mobile terminal locking network and card method, device and associated terminal | |
CN102437924A (en) | Method for managing computer room based on Android system | |
CN102609840A (en) | Multi-application mobile payment system | |
CN106878945A (en) | The optimization method of alignment system performance, device and mobile terminal | |
CN106169137B (en) | Resource transfer method, device and system | |
US20210049584A1 (en) | Device, combination of devices, system, and method for paying transportation fares | |
CN102332191B (en) | Android system-based Bluetooth communication open computer room surfing method | |
CN103338320A (en) | Recharging data processing method and device for mobile user | |
KR20130041401A (en) | Integrated message send system | |
CN101827347A (en) | Communication method, communication system and access method to service provider base | |
CN102857914A (en) | NFC (near field communication) safety system, and method and mobile terminal of NFC safety communication | |
CN111626726A (en) | Life payment method, device, equipment and storage medium | |
CN114926166A (en) | User consumption information processing method and device | |
US20150026059A1 (en) | Money Lending Via A Mobile 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 | ||
C56 | Change in the name or address of the patentee |
Owner name: JIANGSU KEDA HUIFENG TECHNOLOGY CO., LTD. Free format text: FORMER NAME: ZHENJIANG KEDA CHUANYUAN COMPUTER NETWORK ENGINEERING CO., LTD. |
|
CP01 | Change in the name or title of a patent holder |
Address after: 212003 Zhenjiang City, Jiangsu province dream Creek Road, No. 2 Patentee after: Jiangsu Keda Huifeng Science & Technology Co., Ltd. Address before: 212003 Zhenjiang City, Jiangsu province dream Creek Road, No. 2 Patentee before: Zhenjiang Keda Chuanyuan Computer Network Engineering Co., Ltd. |