CN103106757B - A kind of bluetooth is waken the method for pos machine up - Google Patents
A kind of bluetooth is waken the method for pos machine up Download PDFInfo
- Publication number
- CN103106757B CN103106757B CN201310056146.3A CN201310056146A CN103106757B CN 103106757 B CN103106757 B CN 103106757B CN 201310056146 A CN201310056146 A CN 201310056146A CN 103106757 B CN103106757 B CN 103106757B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- pos machine
- bluetooth module
- waken
- machine
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Power Sources (AREA)
Abstract
The present invention relates to a kind of bluetooth and wake the method for pos machine up, it is characterized in that: the method is applicable to the pos machine that bluetooth protocol repertory moves in system kernel, described pos machine is in the time of park mode, and the bluetooth module of this POS machine is received after data message, produce one and interrupt, wake the system of this pos machine up. The present invention can ensure that bluetooth can normally be worked in the time of the dormancy of pos machine, and with other bluetooth devices, method is simple, has good use value.
Description
Technical field
The present invention relates to POS machine awakening technology field, particularly a kind of bluetooth is waken the method for pos machine up.
Background technology
Along with popularizing of bluetooth applications, increasing POS machine has also possessed Bluetooth function. But for mobile pos machine, use powered battery, system power dissipation is had to strict requirement, so during in idle condition, require system to enter park mode at pos machine, bluetooth module also enters low-power consumption mode simultaneously.
The bluetooth equipment that can normally work completing comprises bluetooth protocol repertory and Bluetooth chip, and bluetooth protocol repertory is processed Bluetooth protocol message, and Bluetooth chip is for transceiving data, and both only have cooperation together, and bluetooth equipment could normal work.
Bluetooth module generally includes two types, and one is only to comprise Bluetooth chip, and bluetooth protocol repertory needs equipment vendor to be transplanted in system kernel; Another is to have comprised bluetooth protocol repertory and Bluetooth chip, and this module can work alone. What at present a lot of companies adopted is the first scheme, independently transplants bluetooth protocol repertory, can more support Bluetooth function. But the scheme that this protocol stack separates with chip, the application on pos machine, in the time that system enters dormancy, bluetooth also enters low-power consumption mode, does not support at present to only have the mode by button by bluetooth waken system, when waken system, the bluetooth state of resuming work, Bluetooth function could normally use.
Adopt the scheme moved of bluetooth protocol repertory in system kernel, in the time that pos machine enters dormancy, system kernel dormancy, protocol stack also can be out of service, even if now bluetooth module has been received and the connection request of other bluetooth equipment also do not had any response. Therefore,, in the time of the dormancy of pos machine, Bluetooth function cannot use.
Summary of the invention
The object of this invention is to provide a kind of bluetooth and wake the method for pos machine up, can realize by bluetooth module waken system, make bluetooth protocol repertory normal process blue-teeth data message, ensure that under park mode, the bluetooth module of pos machine is normally worked.
The present invention adopts following scheme to realize: a kind of bluetooth is waken the method for pos machine up, it is characterized in that: the method is applicable to the pos machine that bluetooth protocol repertory moves in system kernel, described pos machine is in the time of park mode, the bluetooth module of this POS machine is received after data message, produce one and interrupt, wake the system of this pos machine up.
In an embodiment of the present invention, described bluetooth module receives that data message is that the Bluetooth chip that this POS machine configures receives the unicast packet that mac address is the machine.
In an embodiment of the present invention, described interruption is on the universal I/O port of described Bluetooth chip, to produce level triggers to produce.
In an embodiment of the present invention, before described pos machine enters park mode, need to configure bluetooth module and produce trailing edge level at IO mouth in the time receiving bluetooth message; The IO of the host CPU that is connected with bluetooth module IO mouth of configuration is input port, and triggers while receiving trailing edge level and interrupt.
The present invention is in the time that pos machine enters sleep block, in the time that bluetooth module is received data message, produce and interrupt, waken system, the data message that the bluetooth protocol repertory that operates in like this system kernel just can normal process bluetooth module be received, the Bluetooth function that uses pos machine, under resting state, can normally use. The method is simple, has overcome the inconvenience that the existing system of manually booting is brought, and has good practical value.
Brief description of the drawings
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention will be further described.
The present embodiment provides a kind of bluetooth to wake the method for pos machine up, it is characterized in that: the method is applicable to the pos machine that bluetooth protocol repertory moves in system kernel, described pos machine is in the time of park mode, and the bluetooth module of this POS machine is received after data message, produce one and interrupt, wake the system of this pos machine up.
In the present embodiment, described bluetooth module receives that data message is that the Bluetooth chip that this POS machine configures receives the unicast packet that mac address is the machine. Described interruption is on the universal I/O port of described Bluetooth chip, to produce level triggers to produce.
Refer to Fig. 1, Fig. 1 is the present embodiment schematic flow sheet, in figure, needs to configure bluetooth module and produced trailing edge level at IO mouth before described pos machine enters park mode in the time receiving bluetooth message; The IO of the host CPU that is connected with bluetooth module IO mouth of configuration is input port, and triggers while receiving trailing edge level and interrupt. Concrete, below its workflow is described further.
First, modification circuits, is connected the universal I/O port of bluetooth module with the universal I/O of host CPU, for sending and interrupt to main system.
Secondly,, before system enters dormancy, configuration bluetooth module, in the time receiving the unicast message of the machine mac address, produces low level on universal I/O port.
Then, the universal I/O port that configuration host CPU is connected with bluetooth module is input port, and in the time producing trailing edge, triggering can wake the interruption of CPU up.
Finally, in the time that system is recovered normal mode, forbid that the universal I/O port that host CPU is connected with bluetooth module triggers interruption.
In the time of system hibernates, in the time that bluetooth module receives the unicast message of the machine mac address, on the universal I/O port of module, produce one by high level to low level saltus step, this IO is connected with the input IO of host CPU, triggering system produces interrupts, waken system, now, bluetooth protocol repertory can be processed the message receiving with bluetooth module, realizes and communicating by letter normally with other bluetooth equipment.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
Claims (2)
1. bluetooth is waken a method for pos machine up, and the method is applicable to the pos machine that bluetooth protocol repertory moves in system kernel, it is characterized in that: before pos machine enters park mode, configuration bluetooth module produces trailing edge level at IO mouth in the time receiving bluetooth message; The IO of the host CPU that is connected with bluetooth module IO mouth of configuration is input port, and triggers while receiving trailing edge level and interrupt; When the system that is configured in is recovered normal mode, forbid that the universal I/O port that host CPU is connected with bluetooth module triggers interruption; Described pos machine is in the time of park mode, and the bluetooth module of this POS machine is received after data message, produces one and interrupts, and wakes the system of this pos machine up; Described bluetooth module receives that data message is that the Bluetooth chip that this POS machine configures receives the unicast packet that mac address is the machine.
2. a kind of bluetooth according to claim 1 is waken the method for pos machine up, it is characterized in that: described interruption is on the universal I/O port of described Bluetooth chip, to produce level triggers to produce.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310056146.3A CN103106757B (en) | 2013-02-22 | 2013-02-22 | A kind of bluetooth is waken the method for pos machine up |
| PCT/CN2014/070982 WO2014127690A1 (en) | 2013-02-22 | 2014-01-21 | Method for waking pos machine up using bluetooth |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310056146.3A CN103106757B (en) | 2013-02-22 | 2013-02-22 | A kind of bluetooth is waken the method for pos machine up |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103106757A CN103106757A (en) | 2013-05-15 |
| CN103106757B true CN103106757B (en) | 2016-05-25 |
Family
ID=48314578
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310056146.3A Active CN103106757B (en) | 2013-02-22 | 2013-02-22 | A kind of bluetooth is waken the method for pos machine up |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103106757B (en) |
| WO (1) | WO2014127690A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103106757B (en) * | 2013-02-22 | 2016-05-25 | 福建联迪商用设备有限公司 | A kind of bluetooth is waken the method for pos machine up |
| CN107589824B (en) * | 2017-09-21 | 2021-02-26 | 上海顺舟智能科技股份有限公司 | Method for reducing power consumption of MCU only supporting IO wakeup |
| CN111327933A (en) * | 2020-02-18 | 2020-06-23 | 展讯通信(上海)有限公司 | Equipment awakening method and device and electronic equipment |
| CN112396777A (en) * | 2020-10-12 | 2021-02-23 | 深圳市广和通无线股份有限公司 | Sales terminal control method, device and system and sales terminal |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101123454A (en) * | 2007-09-21 | 2008-02-13 | 北京交通大学 | Method and system for data transmission of mobile UnionPay card based on bluetooth |
| CN101567106A (en) * | 2008-04-24 | 2009-10-28 | 北京爱奥时代信息科技有限公司 | Method and system for payment of Bluetooth cellular phone-POS machine |
| CN101582188A (en) * | 2009-06-11 | 2009-11-18 | 金纯� | Bluetooth POS machine |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004038295A (en) * | 2002-06-28 | 2004-02-05 | Toshiba Corp | Information processing apparatus and power control method |
| US7024396B2 (en) * | 2003-12-10 | 2006-04-04 | Ncr Corporation | Transaction system and method of conducting a point-of-sale transaction between a merchant and a consumer using a wireless platform |
| CN100568297C (en) * | 2008-08-05 | 2009-12-09 | 东南大学 | Passenger Flow Statistics Method in Urban Public Transport System |
| CN101645051B (en) * | 2009-06-10 | 2013-04-24 | 无锡中星微电子有限公司 | GPIO interrupt control device, chip and GPIO interrupt control method |
| CN102055501B (en) * | 2009-11-10 | 2015-07-22 | 上海真灼电子技术有限公司 | Electronic tour guide system and method based on bluetooth technology |
| CN101833833A (en) * | 2010-05-19 | 2010-09-15 | 北京环宏通信技术有限公司 | POS (Point of Sale) terminating machine |
| EP2475182A3 (en) * | 2011-01-04 | 2013-04-03 | Samsung Electronics Co., Ltd. | Display apparatus, 3D glasses, and control method thereof |
| CN102752681A (en) * | 2012-06-18 | 2012-10-24 | 歌尔声学股份有限公司 | NFC (near field communication)-based Bluetooth headset and NFC-based Bluetooth communication method |
| CN103106757B (en) * | 2013-02-22 | 2016-05-25 | 福建联迪商用设备有限公司 | A kind of bluetooth is waken the method for pos machine up |
-
2013
- 2013-02-22 CN CN201310056146.3A patent/CN103106757B/en active Active
-
2014
- 2014-01-21 WO PCT/CN2014/070982 patent/WO2014127690A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101123454A (en) * | 2007-09-21 | 2008-02-13 | 北京交通大学 | Method and system for data transmission of mobile UnionPay card based on bluetooth |
| CN101567106A (en) * | 2008-04-24 | 2009-10-28 | 北京爱奥时代信息科技有限公司 | Method and system for payment of Bluetooth cellular phone-POS machine |
| CN101582188A (en) * | 2009-06-11 | 2009-11-18 | 金纯� | Bluetooth POS machine |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2014127690A1 (en) | 2014-08-28 |
| CN103106757A (en) | 2013-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101938818B (en) | Two-way waking method, equipment and system based on USB | |
| CN101242447B (en) | A dual-CPU architecture smart phone and its communication control method | |
| CN103200314B (en) | A kind of intelligent dormancy method of mobile terminal and device | |
| CN102799550B (en) | Based on the waking up of chip chamber high-speed interface HSIC, hot-plug method and equipment | |
| CN203366017U (en) | Building talk-back intelligent terminal and crash restart system for same | |
| CN102692984B (en) | Electronic device | |
| US10324891B2 (en) | Methods and apparatus for reducing power consumption within embedded systems | |
| CN104469905B (en) | Reduce the method and system of power consumption when NFC chip is left unused | |
| CN101170777A (en) | A method for realizing sleep/wakeup of multi-mode mobile terminal | |
| CN105446916B (en) | USB bus state switching method and device | |
| CN103106757B (en) | A kind of bluetooth is waken the method for pos machine up | |
| CN106060911A (en) | Radio unit (RU) hibernation and wakeup methods and node B | |
| CN103092319A (en) | A data processing method and device | |
| CN101420775B (en) | Communication device and signal transferring method | |
| CN103634885B (en) | A kind of identification card and operation method thereof | |
| CN101997963B (en) | Power management method and system for portable communication device | |
| CN102958142B (en) | Method and system for starting sleep and wakeup modes | |
| CN102131304B (en) | A kind of method for connecting network and communicating terminal | |
| CN201698324U (en) | Embedded system | |
| CN205038592U (en) | Electric system is economized to PCIE equipment based on SMBUS bus agreement | |
| EP2674833A1 (en) | Method, system and device for a usb data card with u disk function to enter sleep state | |
| CN101782838A (en) | Printing system | |
| CN104423530A (en) | Electricity saving control method and device of mobile device, mobile device and host terminal | |
| CN104331304A (en) | Standby waking-up method of external notebook computer of audio equipment | |
| CN101719111B (en) | Integration equipment and realizing method thereof |
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 |