CN105635951A - Data transmission control method based on Bluetooth - Google Patents

Data transmission control method based on Bluetooth Download PDF

Info

Publication number
CN105635951A
CN105635951A CN201610035378.4A CN201610035378A CN105635951A CN 105635951 A CN105635951 A CN 105635951A CN 201610035378 A CN201610035378 A CN 201610035378A CN 105635951 A CN105635951 A CN 105635951A
Authority
CN
China
Prior art keywords
mobile terminal
control signal
signal
background server
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.)
Granted
Application number
CN201610035378.4A
Other languages
Chinese (zh)
Other versions
CN105635951B (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.)
Guangdong Yunnan Network Communications Co., Ltd.
Original Assignee
Guangzhou Yunjian Electronic Technology 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 Guangzhou Yunjian Electronic Technology Co Ltd filed Critical Guangzhou Yunjian Electronic Technology Co Ltd
Priority to CN201610035378.4A priority Critical patent/CN105635951B/en
Publication of CN105635951A publication Critical patent/CN105635951A/en
Application granted granted Critical
Publication of CN105635951B publication Critical patent/CN105635951B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/10Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
    • G07F7/1025Identification of user by a PIN code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data transmission control method based on Bluetooth. The data transmission control method comprises the following steps: a mobile terminal is connected with a terminal device by Bluetooth in a pairing manner; the mobile terminal establishes a connection with a background server through a wireless signal to send a control signal to the background server; the background server judges whether the control signal is legal, if so, encrypts the control signal to generate an encrypted control signal and sends the encrypted control signal to the mobile terminal, and if not, terminates the flow; the mobile terminal forwards the received encrypted control signal to the terminal device; and the terminal device decrypts the encrypted control signal, generates a corresponding action instruction according to the decrypted control signal, and sends the action instruction to an execution apparatus corresponding to an I/O port through the corresponding I/O port. According to the data transmission control method disclosed by the invention, the background server and the mobile terminal constitute an authorization control terminal to operate and control different terminal devices, so that the operation is convenient, the application range is wide and the cost of device hardware is reduced.

Description

A kind of data transfer control method based on bluetooth
Technical field
The present invention relates to a kind of data transfer control method based on Bluetooth technology.
Background technology
Currently, before the actual manipulation of a certain equipment that must license is used by user, often first must register on the spot and user identity that certification, acquisition are legal, get authority card (operation card, pre-payment card, access card etc.), the inconvenience bring certainly, carried and the risk forgotten, lose.
Typical mandate controlling equipment is exactly user self-help equipment more and more common at present, as Self-help vending machine, Self-help car washer, self-service refueling machine, expressway electronic bill payment play gate etc. This kind equipment is required for mutually transmitting the keyboard of information, card reader and display interface with user at present; Also need to combined network communication module and communication carrier network circuit is rented in paying, data could be transmitted with back-stage management center and be monitored and manage. Function is similar but uncurrent device hardware also result in system manufacture, maintenance cost rises, and also leads to higher rate of breakdown.
Summary of the invention
In order to overcome the deficiencies in the prior art, it is an object of the invention to provide a kind of data transfer control method based on bluetooth, authorization control end is formed by background server and mobile terminal, can manipulate for different terminal units, easy to operate, applied widely, and reduce the cost of device hardware.
For solving the problems referred to above, the technical solution adopted in the present invention is as follows:
A kind of data transfer control method based on bluetooth, comprises the following steps:
S1, mobile terminal are connected with terminal unit pairing by bluetooth;
S2, mobile terminal are connected with background server foundation by wireless signal, send control signal to background server;
S3, background server judge that whether control signal is legal, if so, control signal are encrypted generation Encryption Control Signal transmission to mobile terminal, if it is not, then process ends;
The Encryption Control Signal received is forwarded to terminal unit by S4, mobile terminal;
Encryption Control Signal is decrypted by S5, terminal unit, generates corresponding action command according to the control signal after deciphering, and is sent to the execution device corresponding with this I/O port by corresponding I/O port by this action command.
Preferably, also include after step s 5:
Feedback signal is also sent to mobile terminal by feedback signal that S6, terminal unit receiving actuating equipment send;
Feedback signal is sent to background server by S7, mobile terminal, by background server more new data.
Preferably, further comprising the steps of:
If terminal unit does not receive Encryption Control Signal within the default time, then send to mobile terminal and connect timeout signal, and disconnection is connected with the bluetooth of mobile terminal.
Preferably, also include in step sl: mobile terminal obtains device id from terminal unit;
Described control signal includes: control instruction, device id and ID, and wherein, control instruction is initiated by mobile terminal by user, and ID is obtained from the account logged in by mobile terminal.
Preferably, in step s3, it is judged that the whether legal rule of control signal includes:
Whether rule 1, ID are the validated user recorded in background server;
Whether rule 2, device id are the legitimate device recorded in background server;
Whether rule 3, control instruction include in the authority corresponding to this ID;
If it is that then this control signal is legal that the judgement of rule 1-3 is, it is otherwise illegal.
Preferably, in step s3, it is judged that the whether legal rule of control signal includes:
Whether rule 1, ID are the validated user recorded in background server;
Whether rule 2, device id are the legitimate device recorded in background server;
Whether rule 3, control instruction include in the authority corresponding to this ID;
If it is that then this control signal is legal that the judgement of rule 1-3 is, it is otherwise illegal.
Preferably, one of them the I/O port in terminal unit is printer port, and the execution device corresponding to this printer port is printer.
Compared to existing technology, the beneficial effects of the present invention is: suitable in unattended Authorized operation system, as terminal unit therein can be sell goods, refuel, carwash, the Possum such as printing, it is also possible to be other Authorized operation equipment etc. in enterprise. Use the terminal unit of the method without Card Reader and display device, also need not direct networking module, reduce the cost of device hardware and the use cost of system. It addition, realize controlling by mobile terminal, user need not authorize, need not carry and take care of the authorization card of various item in advance, more convenient to operate, it is possible to different terminal units is controlled.
Accompanying drawing explanation
Fig. 1 is the data transfer control method flow chart based on bluetooth of the present invention.
Fig. 2 is the system diagram of the data transfer control method based on bluetooth of the application present invention.
Detailed description of the invention
Below, in conjunction with accompanying drawing and detailed description of the invention, the present invention is described further:
With reference to Fig. 1 and 2, a kind of data transfer control method based on bluetooth, be applied in the system being made up of background server, mobile terminal and terminal unit, including with following steps:
S1, mobile terminal are connected with terminal unit pairing by bluetooth, and obtain device id from terminal unit. Concrete, terminal unit includes bluetooth module, processor and one or more I/O ports, mobile terminal just can carry out data communication with the processor in terminal unit after being connected by bluetooth, such that it is able to obtain the device id about this terminal unit from processor.
S2, mobile terminal are connected with background server foundation by wireless signal, send control signal to background server. Mobile terminal is set up after bluetooth is connected with device end, user can pass through mobile terminal and initiate the control instruction that terminal unit is concrete, then the encapsulation of control instruction, ID and device id can be sent in the control signal to background server, wherein, ID is obtained from the account logged in by mobile terminal.
S3, background server judge that whether control signal is legal, if so, control signal are encrypted generation Encryption Control Signal transmission to mobile terminal, if it is not, then process ends. Background server reads concrete information from control signal and judges, it is judged that the whether legal rule of control signal includes:
Whether rule 1, ID are the validated user recorded in background server;
Whether rule 2, device id are the legitimate device recorded in background server;
Whether rule 3, control instruction include in the authority corresponding to this ID;
If it is that then this control signal is legal that the judgement of rule 1-3 is, it is otherwise illegal.
Wherein, validated user and legitimate device are the user profile and facility information registered in background server in advance, in background server, each ID has the authority of its correspondence, the form of authority has multiple, for instance can be using the account balance of this user as authority, then can include amount information in control instruction, when the amount of money is less than or equal to account balance, then it represents that this control instruction includes in the authority corresponding to this ID.
The Encryption Control Signal received is forwarded to terminal unit by S4, mobile terminal.
Encryption Control Signal is decrypted by S5, terminal unit, generates corresponding action command according to the control signal after deciphering, and is sent to the execution device corresponding with this I/O port by corresponding I/O port by this action command.
Processor in terminal unit has decryption capabilities, Encryption Control Signal is decrypted, concrete action command is generated after obtaining the control signal after deciphering, this action command is sent to the execution device of correspondence by corresponding I/O port, this execution device perform corresponding action according to action command. Such as, one of them I/O port in terminal unit is print.er port, execution device corresponding to this printer port is printer, the action command generated in terminal unit is print command, which includes concrete print data, sent to printer by print.er port, this printer print according to print data therein.
Feedback signal is also sent to mobile terminal by feedback signal that S6, terminal unit receiving actuating equipment send. By corresponding I/O port, feedback signal being sent back terminal unit after performing device execution action, this feedback signal is sent to mobile terminal by terminal unit again.
Feedback signal is sent to background server by S7, mobile terminal, by background server more new data. Mobile terminal can show the information in this feedback signal, also feedback signal can be sent to background server simultaneously, updated accordingly by background server, such as background server represents that the control instruction that mobile terminal is initiated is complete after receiving feedback signal, then can deduct the corresponding amount of money of this user.
The method of the present invention is further comprising the steps of: if terminal unit does not receive Encryption Control Signal within the default time, then send to mobile terminal and connect timeout signal, and disconnection is connected with the bluetooth of mobile terminal. This step and above-mentioned step do not have strict ordering relation, establish after bluetooth is connected with terminal unit at mobile terminal, terminal unit just starts timing, the time reaching to preset is but without receiving Encryption Control Signal, then represent operation overtime, can automatically disconnect the connection with mobile terminal, it is to avoid be deactivated for a long time and take, too increase safety.
Preferably, wireless signal is the one in WIFI signal, GPRS signal, 3G signal and 4G signal.
The data transfer control method based on bluetooth of the present invention, it is adaptable in unattended Authorized operation system, as terminal unit therein can be sell goods, refuel, carwash, the Possum such as printing, it is also possible to be other Authorized operation equipment etc. in enterprise. Use the terminal unit of the method without Card Reader and display device, also need not direct networking module, reduce the cost of device hardware and the use cost of system. It addition, realize controlling by mobile terminal, user need not authorize, need not carry and take care of the authorization card of various item in advance, more convenient to operate, it is possible to different terminal units is controlled.
It will be apparent to those skilled in the art that can technical scheme as described above and design, make other various corresponding changes and deformation, and all these change and deformation all should belong within the protection domain of the claims in the present invention.

Claims (7)

1. the data transfer control method based on bluetooth, it is characterised in that comprise the following steps:
S1, mobile terminal are connected with terminal unit pairing by bluetooth;
S2, mobile terminal are connected with background server foundation by wireless signal, send control signal to background server;
S3, background server judge that whether control signal is legal, if so, control signal are encrypted generation Encryption Control Signal transmission to mobile terminal, if it is not, then process ends;
The Encryption Control Signal received is forwarded to terminal unit by S4, mobile terminal;
Encryption Control Signal is decrypted by S5, terminal unit, generates corresponding action command according to the control signal after deciphering, and is sent to the execution device corresponding with this I/O port by corresponding I/O port by this action command.
2. the data transfer control method based on bluetooth according to claim 1, it is characterised in that also include after step s 5:
Feedback signal is also sent to mobile terminal by feedback signal that S6, terminal unit receiving actuating equipment send;
Feedback signal is sent to background server by S7, mobile terminal, by background server more new data.
3. the data transfer control method based on bluetooth according to claim 1, it is characterised in that further comprising the steps of:
If terminal unit does not receive Encryption Control Signal within the default time, then send to mobile terminal and connect timeout signal, and disconnection is connected with the bluetooth of mobile terminal.
4. the data transfer control method based on bluetooth according to claim 1, it is characterised in that also include in step sl: mobile terminal obtains device id from terminal unit;
Described control signal includes: control instruction, device id and ID, and wherein, control instruction is initiated by mobile terminal by user, and ID is obtained from the account logged in by mobile terminal.
5. the data transfer control method based on bluetooth according to claim 4, it is characterised in that in step s3, it is judged that the whether legal rule of control signal includes:
Whether rule 1, ID are the validated user recorded in background server;
Whether rule 2, device id are the legitimate device recorded in background server;
Whether rule 3, control instruction include in the authority corresponding to this ID;
If it is that then this control signal is legal that the judgement of rule 1-3 is, it is otherwise illegal.
6. the data transfer control method based on bluetooth according to claim 1, it is characterised in that described wireless signal is the one in WIFI signal, GPRS signal, 3G signal and 4G signal.
7. the data transfer control method based on bluetooth according to claim 1, it is characterised in that one of them the I/O port in terminal unit is printer port, the execution device corresponding to this printer port is printer.
CN201610035378.4A 2016-01-19 2016-01-19 A kind of data transfer control method based on bluetooth Active CN105635951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610035378.4A CN105635951B (en) 2016-01-19 2016-01-19 A kind of data transfer control method based on bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610035378.4A CN105635951B (en) 2016-01-19 2016-01-19 A kind of data transfer control method based on bluetooth

Publications (2)

Publication Number Publication Date
CN105635951A true CN105635951A (en) 2016-06-01
CN105635951B CN105635951B (en) 2019-03-15

Family

ID=56050356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610035378.4A Active CN105635951B (en) 2016-01-19 2016-01-19 A kind of data transfer control method based on bluetooth

Country Status (1)

Country Link
CN (1) CN105635951B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132106A (en) * 2019-12-23 2020-05-08 广州随意门科技有限公司 Terminal equipment management method, system, device and storage medium
CN111119655A (en) * 2019-12-12 2020-05-08 创斯达科技集团(中国)有限责任公司 Lock control system, safe and lock control method based on communication module
CN112543424A (en) * 2020-12-30 2021-03-23 合肥工业大学 Autonomous edge control method for distributed smart power grid
CN113347597A (en) * 2021-05-27 2021-09-03 江铃汽车股份有限公司 Communication encryption method and system of Bluetooth key
CN113347159A (en) * 2021-05-18 2021-09-03 浪潮金融信息技术有限公司 Data transmission method and system of self-service terminal and storage medium
CN114244879A (en) * 2021-12-15 2022-03-25 北京声智科技有限公司 Industrial control system, industrial control method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887610A (en) * 2010-07-08 2010-11-17 中山市万合信息科技有限公司 Automatic vending system based on electronic money payment, vending machine and communication method
EP2254080A1 (en) * 2009-05-18 2010-11-24 Amadeus S.A.S. Improvements in or relating to the distribution and printing of travel documents
CN104392165A (en) * 2014-11-10 2015-03-04 广州日滨科技发展有限公司 Identity authorization controlling method and system
CN105118127A (en) * 2015-09-17 2015-12-02 慧锐通智能科技股份有限公司 Visiting system and control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2254080A1 (en) * 2009-05-18 2010-11-24 Amadeus S.A.S. Improvements in or relating to the distribution and printing of travel documents
CN101887610A (en) * 2010-07-08 2010-11-17 中山市万合信息科技有限公司 Automatic vending system based on electronic money payment, vending machine and communication method
CN104392165A (en) * 2014-11-10 2015-03-04 广州日滨科技发展有限公司 Identity authorization controlling method and system
CN105118127A (en) * 2015-09-17 2015-12-02 慧锐通智能科技股份有限公司 Visiting system and control method thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111119655A (en) * 2019-12-12 2020-05-08 创斯达科技集团(中国)有限责任公司 Lock control system, safe and lock control method based on communication module
CN111132106A (en) * 2019-12-23 2020-05-08 广州随意门科技有限公司 Terminal equipment management method, system, device and storage medium
CN112543424A (en) * 2020-12-30 2021-03-23 合肥工业大学 Autonomous edge control method for distributed smart power grid
CN112543424B (en) * 2020-12-30 2022-04-26 合肥工业大学 Autonomous edge control method for distributed smart power grid
CN113347159A (en) * 2021-05-18 2021-09-03 浪潮金融信息技术有限公司 Data transmission method and system of self-service terminal and storage medium
CN113347159B (en) * 2021-05-18 2024-04-02 浪潮金融信息技术有限公司 Data transmission method, system and storage medium of self-service terminal
CN113347597A (en) * 2021-05-27 2021-09-03 江铃汽车股份有限公司 Communication encryption method and system of Bluetooth key
CN113347597B (en) * 2021-05-27 2022-07-15 江铃汽车股份有限公司 Communication encryption method and system of Bluetooth key
CN114244879A (en) * 2021-12-15 2022-03-25 北京声智科技有限公司 Industrial control system, industrial control method and electronic equipment

Also Published As

Publication number Publication date
CN105635951B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN105635951A (en) Data transmission control method based on Bluetooth
US11276051B2 (en) Systems and methods for convenient and secure mobile transactions
EP3130103B1 (en) Systems and methods for wireless authorization of transactions with mobile payment devices
CN110033534B (en) Secure seamless access control
WO2014014526A1 (en) Mobile transactions using authorized tokens
CN103679062A (en) Intelligent electric meter main control chip and security encryption method
AU2013248166A2 (en) System and method for secure transaction process via mobile device
CN104395937A (en) Device and method for controlling an access authorisation and/or driving authorisation for a vehicle
CN103401844A (en) Operation request processing method and system
CN105610871B (en) A kind of vehicle input-output control system and control method based on semi-on-line key
CN108023727A (en) A kind of authorization method and its system
CN103714453A (en) Payment platform system and payment method based on intelligent device
US20230281600A1 (en) System and method for indicating entry of personal identification number
CN106797381A (en) Certification rod
CN102264069B (en) Authentication control method, device and system based on universal guide architecture
CN115297137A (en) Shared bicycle using method, electronic equipment and storage medium
CN116368771A (en) System for authenticating a user at a charging device and reporting usage regarding the charging device
CN108600218B (en) Remote authorization system and remote authorization method
KR101057227B1 (en) Mutual authentication method and system for wireless LAN using smart card information of mobile communication terminal
CN114022964B (en) ETC application key updating method, device and system
US11720073B2 (en) Smart electrical outlet for monitoring and tracking electricity usage
CN109509298B (en) Intelligent vending machine replenishment method and system
KR101886807B1 (en) Payment System for HCE Mobile Advance Payment Type Traffic Card using minimum balance and Payment Method thereof
WO2020038467A1 (en) System and method for indicating entry of personal identification number
KR20200102100A (en) Apparatus and system for measuring energy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190327

Address after: 510220 Room 610, 10 Haicheng East Street, Xingang East Road, Haizhu District, Guangzhou City, Guangdong Province (office use only)

Patentee after: Guangdong Yunnan Network Communications Co., Ltd.

Address before: 510730 Tianhe Road 559, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU YUNJIAN ELECTRONIC TECHNOLOGY CO., LTD.