CN104980882B - A method of calling NFC during printing device Auto Power On and bluetooth automatic matching - Google Patents

A method of calling NFC during printing device Auto Power On and bluetooth automatic matching Download PDF

Info

Publication number
CN104980882B
CN104980882B CN201510238147.9A CN201510238147A CN104980882B CN 104980882 B CN104980882 B CN 104980882B CN 201510238147 A CN201510238147 A CN 201510238147A CN 104980882 B CN104980882 B CN 104980882B
Authority
CN
China
Prior art keywords
printing device
mobile phone
application app
communications chip
near field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510238147.9A
Other languages
Chinese (zh)
Other versions
CN104980882A (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.)
Detong Electronic Technology (Jiangsu) Co., Ltd.
Original Assignee
Tong Tong Electronic Technology (shanghai) 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 Tong Tong Electronic Technology (shanghai) Co Ltd filed Critical Tong Tong Electronic Technology (shanghai) Co Ltd
Priority to CN201510238147.9A priority Critical patent/CN104980882B/en
Publication of CN104980882A publication Critical patent/CN104980882A/en
Application granted granted Critical
Publication of CN104980882B publication Critical patent/CN104980882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The method that the invention discloses a kind of to call NFC during printing device Auto Power On and bluetooth automatic matching, is as follows:By mobile phone close to printing device, printing device detects near-field communication field strength, the GPO pins of near field communications chip export power-supply system and microprocessor of the low level interrupt signal to printing device in printing device, microprocessor carrys out the level in stabilized power source system to power-supply system input signal after receiving the low level interrupt signal, to make printing device be switched on;The uniform resource identifier URI of print application APP configurations in mobile phone is consistent with the uniform resource identifier URI near field communications chip, then automatically opens printing APP, carry out Bluetooth pairing automatically after print application APP acquisition Bluetooth pairing data and connect.The present invention may be implemented to automatically turn on printing device, and automatic to carry out Bluetooth pairing connection and match precisely, low-power consumption, of low cost, data transmission security is stable, data-link quickly connects, function intelligence, shortens the time of booting and Bluetooth pairing, easy to use.

Description

It is a kind of to call NFC's during printing device Auto Power On and bluetooth automatic matching Method
Technical field
It is specifically a kind of automatic in printing device Auto Power On and bluetooth the present invention relates to high frequency wireless communication technology field The method that NFC is called during pairing.
Background technology
Near-field communication(NFC)Also known as wireless near field communication allows to carry out non-connect in ten centimetres between electronic equipment Touch Point-to-Point Data Transmission exchanges data, is being developed by non-contact radio-frequency identification technology.Current near-field communication technology It is mainly used in the public services such as mobile-phone payment and ticket, cash register.
The booting of existing printing device and Bluetooth pairing are typically all artificial manual mode, and the booting of printing device is generally It is switched on by mechanical switch, button or long-press, Bluetooth pairing needs artificial bluetooth discovery, Password Input and with the multiple steps of equity Suddenly, equipment search hunting time is more long, due to artificial Password Input, so will appear unpaired feelings during password pairing Condition extends the time of bluetooth connection.
Bluetooth pairing flow generally comprises following steps:1. inquiry scan:Matched by equipment response policy is queried Set the influence of the factors such as power, communication distance, the annoyance level of parameter and radiofrequency signal, it is possible to which hundreds of milliseconds are scanned for target Equipment, it is also possible to which time-out was still scanned less than generally surveying within the scope of unobstructed 3 meters could inquire in 2-3 seconds in more than ten seconds To bluetooth equipment;2. link layer connects, the Signalling exchange of pure baseband module, just completed within 100 milliseconds;3. Password Input is used Family interface inputs PIN code, clicks and confirms that the option of pairing exists simultaneously Password Input since the time artificially inputted is unknowable Mistake generally takes at 5-20 seconds or so;4. pairing, general 100 milliseconds or so of the order flow of pairing, the long time is not defeated Membership sentences time-out and fails to match;5. service is established, determined depending on top service various types, it is generally time-consuming also shorter, 100 milliseconds or so.In conclusion most fast conventional Bluetooth pairing takes and probably needs 15 seconds or so, the specific time is uncontrollable, together When there is connection time-out the case where can not connecting, it is inconvenient to use.
Invention content
That the purpose of the present invention is to provide a kind of speed is fast, it is easy to use using near-field communication make equipment Auto Power On and The method of bluetooth automatic matching, to solve the problems mentioned in the above background technology.
To achieve the above object, the present invention provides the following technical solutions:
A method of it calling NFC during printing device Auto Power On and bluetooth automatic matching, is as follows:
1)By the mobile phone with near-field communication module close to printing device, printing device is detected by near-field communication module Near-field communication field strength, the GPO pins of near field communications chip export a low level interrupt signal to printing device in printing device Power-supply system and microprocessor;
2)The microprocessor receives comes stabilized power source system after the low level interrupt signal to power-supply system input signal Level on system, to make printing device be switched on;
3)When the mobile phone with near-field communication module is close to printing device, if being equipped with print application in mobile phone APP, then print application APP obtains the uniform resource identifier near field communications chip by near-field communication module in mobile phone URI, if on uniform resource identifier URI and mobile phone near field communications chip print application APP configurations unified resource Identifiers, URIs are consistent, then print application APP is automatically opened, and print application APP obtains the indigo plant near field communications chip Tooth paired data simultaneously executes Bluetooth pairing connection;
4)When the mobile phone with near-field communication module is close to printing device, if print application is not installed in mobile phone The uniform resource identifier URI of the print application APP installed on APP or mobile phone and the unified resource near field communications chip Identifiers, URIs are inconsistent, then on mobile phone automatic spring using the uniform resource identifier URI near field communications chip as download address Application APP download interface, carry out application APP download;
5)It downloads and pacifies as the application APP of download address using the uniform resource identifier URI near field communications chip After the completion of dress, print application APP is automatically opened, and the bluetooth that print application APP is obtained near field communications chip is matched To data and execute Bluetooth pairing connection.
As a further solution of the present invention:Uniform resource identifier URI burnings in the near field communications chip are close On the communication chip of field.
As a further solution of the present invention:The GPO pins of the near field communications chip are separately connected power-supply system and micro- The GPIO pins of processor.
As a further solution of the present invention:The printing device realizes that the time of Auto Power On is 500ms-1s.
As further scheme of the invention:The bluetooth of the printing device realizes that the time of automatic matching connection is little In 2.5s.
Compared with prior art, the beneficial effects of the invention are as follows:
Auto Power On printing device may be implemented in the present invention, automatic to carry out Bluetooth pairing connection and match precisely, low-power consumption, It is of low cost, data transmission security is stable, data-link quickly connects, function intelligence, shorten the time of booting and Bluetooth pairing, It is easy to use.
Description of the drawings
Fig. 1 is the structural schematic diagram of printing device 2 in the present invention.
Fig. 2 is the flow diagram that bluetooth automatic matching is carried out in the present invention.
In figure:1- mobile phones;2- printing devices;3- near-field communication modules;4- near field communications chips;5- power-supply systems;6- is micro- Processor.
Specific implementation mode
The technical solution of this patent is described in more detail With reference to embodiment.
- 2 are please referred to Fig.1, a method of calling NFC during printing device Auto Power On and bluetooth automatic matching, It is as follows:
1)By the mobile phone 1 with near-field communication module 3 close to printing device 2, printing device 2 passes through near-field communication module 3 Detect near-field communication field strength, in printing device 2 the GPO pins of near field communications chip 4 export a low level interrupt signal to The power-supply system 5 and microprocessor 6 of printing device 2;
2)The microprocessor 6 receives carrys out stabilized power source after the low level interrupt signal to 5 input signal of power-supply system Level in system 5, to make printing device 2 be switched on, this makes device power-up more convenient and intelligent, to printing device 2 There is no limit as long as the smart mobile phone 1 with near-field communication module 3 can be incited somebody to action close to printing device 2 for placement position and space Printing device 2 is opened, and without manual booting, the printing device 2 realizes that the time of Auto Power On is 500ms-1s, the near field The GPO pins of communication chip 4 are separately connected the GPIO pins of power-supply system 5 and microprocessor 6;
3)When the mobile phone 1 with near-field communication module 3 is close to printing device 2, if being equipped with print application in mobile phone 1 Program APP, then print application APP obtains the unified money near field communications chip 4 by near-field communication module 3 in mobile phone 1 Source identifier URI, if print application APP configurations on uniform resource identifier URI and mobile phone 1 near field communications chip 4 Uniform resource identifier URI it is consistent, then print application APP is automatically opened, and print application APP obtains near-field communication Bluetooth pairing data in chip 4 simultaneously execute Bluetooth pairing connection, and the uniform resource identifier URI near field communications chip 4 is burnt Record is near field communications chip 4;
4)When the mobile phone 1 with near-field communication module 3 is close to printing device 2, if not installing print application in mobile phone 1 The uniform resource identifier URI of the print application APP installed on program APP or mobile phone 1 and the system near field communications chip 4 One resource identifiers, URIs are inconsistent, then automatic spring is with the uniform resource identifier URI near field communications chip 4 on mobile phone 1 The application APP of download address downloads interface, carries out application APP download;
5)It downloads and pacifies as the application APP of download address using the uniform resource identifier URI near field communications chip 4 After the completion of dress, print application APP is automatically opened, and the bluetooth that print application APP is obtained near field communications chip 4 is matched To data and Bluetooth pairing connection is executed, the bluetooth of the printing device 2 realizes that the time of automatic matching connection is not more than 2.5s.
The mobile phone 1 with near-field communication module 3 close to printing device 2 can not need to input pairing password automatically at Work(connection pairing, the process that Bluetooth pairing eliminates manual search, Password Input and pairing, very big journey are carried out by near-field communication The speed that Bluetooth pairing is improved on degree simplifies pairing process so that Bluetooth pairing is faster so that user can be rapidly performed by Data transmission and printing.
Auto Power On printing device 2 may be implemented in the present invention, automatic to carry out Bluetooth pairing connection and match accurate, low work( Consumption, of low cost, data transmission security is stable, data-link quickly connect, function is intelligent, shorten booting and Bluetooth pairing when Between, it is easy to use.
The better embodiment of this patent is explained in detail above, but this patent is not limited to above-mentioned embodiment party Formula, one skilled in the relevant art within the scope of knowledge, can also be under the premise of not departing from this patent objective Various changes can be made.

Claims (3)

1. a kind of method for calling NFC during printing device Auto Power On and bluetooth automatic matching, which is characterized in that specific Steps are as follows:
1) there will be the mobile phone (1) of near-field communication module (3) close to printing device (2), printing device (2) passes through near-field communication mould Block (3) detects near-field communication field strength, and the GPO pins of near field communications chip (4) export in a low level in printing device (2) Power-supply system (5) and microprocessor (6) of the break signal to printing device (2);
2) microprocessor (6) receives carrys out stabilized power source after the low level interrupt signal to power-supply system (5) input signal Level in system (5), to make printing device (2) be switched on;
3) when the mobile phone (1) with near-field communication module (3) is close to printing device (2), if being equipped with printing in mobile phone (1) Application APP, then print application APP obtains near field communications chip (4) by near-field communication module (3) in mobile phone (1) In uniform resource identifier URI, answered if being printed on uniform resource identifier URI and mobile phone (1) near field communications chip (4) Uniform resource identifier URI with program APP configurations is consistent, then print application APP is automatically opened, print application APP obtains the Bluetooth pairing data near field communications chip (4) and executes Bluetooth pairing connection;
4) when the mobile phone (1) with near-field communication module (3) is close to printing device (2), if not installing printing in mobile phone (1) The uniform resource identifier URI and near field communications chip of the print application APP installed in application APP or mobile phone (1) (4) the uniform resource identifier URI in is inconsistent, then automatic spring is provided with the unification near field communications chip (4) on mobile phone (1) Source identifier URI is that the application APP of download address downloads interface, carries out application APP download;
5) it downloads and installs as the application APP of download address using the uniform resource identifier URI near field communications chip (4) After the completion, print application APP is automatically opened, and the bluetooth that print application APP is obtained near field communications chip (4) is matched To data and execute Bluetooth pairing connection;
Uniform resource identifier URI burnings in the near field communications chip (4) are near field communications chip (4);The near field The GPO pins of communication chip (4) are separately connected the GPIO pins of power-supply system (5) and microprocessor (6).
2. the method according to claim 1 that NFC is called during printing device Auto Power On and bluetooth automatic matching, It is characterized in that, the printing device (2) realizes that the time of Auto Power On is 500ms-1s.
3. the method according to claim 1 that NFC is called during printing device Auto Power On and bluetooth automatic matching, It is characterized in that, the bluetooth of the printing device (2) realizes that the time of automatic matching connection is not more than 2.5s.
CN201510238147.9A 2015-05-12 2015-05-12 A method of calling NFC during printing device Auto Power On and bluetooth automatic matching Active CN104980882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510238147.9A CN104980882B (en) 2015-05-12 2015-05-12 A method of calling NFC during printing device Auto Power On and bluetooth automatic matching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510238147.9A CN104980882B (en) 2015-05-12 2015-05-12 A method of calling NFC during printing device Auto Power On and bluetooth automatic matching

Publications (2)

Publication Number Publication Date
CN104980882A CN104980882A (en) 2015-10-14
CN104980882B true CN104980882B (en) 2018-09-14

Family

ID=54276864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510238147.9A Active CN104980882B (en) 2015-05-12 2015-05-12 A method of calling NFC during printing device Auto Power On and bluetooth automatic matching

Country Status (1)

Country Link
CN (1) CN104980882B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060492B (en) * 2016-06-28 2018-11-13 联想(北京)有限公司 A kind of projecting method and device
CN106502113B (en) 2016-11-09 2020-05-29 中磊电子(苏州)有限公司 Automatic pairing method and server
JP6784155B2 (en) * 2016-11-28 2020-11-11 セイコーエプソン株式会社 Wireless communication devices, wireless communication terminals, wireless communication systems, and wireless communication methods
CN113055864A (en) * 2019-12-26 2021-06-29 Oppo广东移动通信有限公司 Bluetooth connection method, device, storage medium and electronic equipment
CN113890773A (en) * 2020-07-01 2022-01-04 华为技术有限公司 Cross-device control method, device and system
CN112394890B (en) * 2020-11-06 2022-10-14 厦门喵宝科技有限公司 Printing method of intelligent terminal, label printing method and portable thermal label printer
CN113491873A (en) * 2021-07-13 2021-10-12 翱砺科技(上海)有限公司 Equipment with real-time interaction function and use method
CN113660149B (en) * 2021-08-13 2023-08-01 Oppo广东移动通信有限公司 Equipment control method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609838A (en) * 2011-12-15 2012-07-25 北京互帮国际技术有限公司 Paperless transaction receipt equipment and system
CN102752681A (en) * 2012-06-18 2012-10-24 歌尔声学股份有限公司 NFC (near field communication)-based Bluetooth headset and NFC-based Bluetooth communication method
CN102932365A (en) * 2012-11-13 2013-02-13 黄昱钊 Device control method and system based on mobile phone camera
CN103167144A (en) * 2012-09-20 2013-06-19 深圳市金立通信设备有限公司 Intelligent player system and method of mobile phone
CN103885732A (en) * 2012-12-20 2014-06-25 三星电子株式会社 Image Forming Method And Apparatus Using Near Field Communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609838A (en) * 2011-12-15 2012-07-25 北京互帮国际技术有限公司 Paperless transaction receipt equipment and system
CN102752681A (en) * 2012-06-18 2012-10-24 歌尔声学股份有限公司 NFC (near field communication)-based Bluetooth headset and NFC-based Bluetooth communication method
CN103167144A (en) * 2012-09-20 2013-06-19 深圳市金立通信设备有限公司 Intelligent player system and method of mobile phone
CN102932365A (en) * 2012-11-13 2013-02-13 黄昱钊 Device control method and system based on mobile phone camera
CN103885732A (en) * 2012-12-20 2014-06-25 三星电子株式会社 Image Forming Method And Apparatus Using Near Field Communication

Also Published As

Publication number Publication date
CN104980882A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104980882B (en) A method of calling NFC during printing device Auto Power On and bluetooth automatic matching
CN110225487B (en) Profile generating and acquiring method, related equipment and storage medium
JP6305559B2 (en) Secure element management method and terminal
JP5367847B2 (en) Terminal supporting enhancement type short-range wireless communication and processing method thereof
CN104025696B (en) The method and apparatus for controlling attachment
CN111543041B (en) Selection method of analog card and mobile device
US8995957B2 (en) Communication apparatus, communication method and communication system
CN101330334B (en) Apparatus and method for calibrating communication distance of radio frequency SIM card
US8989663B2 (en) Portable terminal system using a contactless communication unit to enable access to application programs
CN108293181A (en) A kind of processing method and terminal of communication identifier binding
CN103347105B (en) Mobile phone radio-frequency SIM card with SWP function in compatible mode
WO2011044740A1 (en) Method and system for mobile payment
CN105321330A (en) Smart home equipment, binding method, device and system thereof and mobile terminal
WO2017161794A1 (en) Nfc mobile payment method and system thereof
CN101515814A (en) Enhanced near field communication device and realization method thereof
WO2011103734A1 (en) Method of terminal equipment for implementing near field communication and terminal equipment for implementing near field communication
CN104247484B (en) Terminal installation, communication means, computer-readable recording medium and communication system
CN105913106A (en) Fingerprint encrypted EID financial card and realization method
TW201430709A (en) Method, intelligent terminal, service platform and system for changing application type of intelligent card
KR102109906B1 (en) information treating device and a NFC communication system including the same
WO2015096459A1 (en) Method and system for selecting contactless communication technique based on mobile terminal type
CN104794521B (en) A kind of NFC of Non-contact radio-frequency communication band distance controlling blocks entirely
CN109076428B (en) Data processing method and related device
WO2009140811A1 (en) A method for automatically adjusting the effective communication distance of the radio frequency sim card by short message
CN105991816A (en) User identification module, mobile terminal and communication method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180312

Address after: Room 901, house A, No. 15, Changyi Road, Baoshan District, Shanghai

Applicant after: Tong Tong Electronic Technology (Shanghai) Co., Ltd.

Address before: 200433 Shanghai City, Yangpu District National Road No. 335 Building No. 2 2007

Applicant before: SHANGHAI DOTHAN INFORMATION TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191122

Address after: 215625 No. 27 Jinxing Road, Jinfeng Town, Zhangjiagang City, Suzhou City, Jiangsu Province

Patentee after: Detong Electronic Technology (Jiangsu) Co., Ltd.

Address before: 200441, room 901, building A, No. 15 Chang Yi Road, Shanghai, Baoshan District

Patentee before: Tong Tong Electronic Technology (Shanghai) Co., Ltd.

TR01 Transfer of patent right