CN112466012A - Method and system for controlling cash register cashbox through Bluetooth - Google Patents

Method and system for controlling cash register cashbox through Bluetooth Download PDF

Info

Publication number
CN112466012A
CN112466012A CN202011377930.0A CN202011377930A CN112466012A CN 112466012 A CN112466012 A CN 112466012A CN 202011377930 A CN202011377930 A CN 202011377930A CN 112466012 A CN112466012 A CN 112466012A
Authority
CN
China
Prior art keywords
bluetooth
cash register
unlocking
remote controller
cashbox
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
CN202011377930.0A
Other languages
Chinese (zh)
Other versions
CN112466012B (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.)
Fujian Huisibo Digital Technology Co ltd
Original Assignee
Fuzhou Huisibo Information 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 Fuzhou Huisibo Information Technology Co ltd filed Critical Fuzhou Huisibo Information Technology Co ltd
Priority to CN202011377930.0A priority Critical patent/CN112466012B/en
Publication of CN112466012A publication Critical patent/CN112466012A/en
Application granted granted Critical
Publication of CN112466012B publication Critical patent/CN112466012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • G07C9/00912Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses for safes, strong-rooms, vaults or the like
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C2009/00753Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys
    • G07C2009/00769Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical keys with data transmission performed by wireless means
    • 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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides a method and a system for controlling a cash register cashbox by Bluetooth, wherein the cash register establishes Bluetooth connection with a Bluetooth remote controller; the Bluetooth remote controller receives the authority issuing request and sends unlocking authority to the cash register according to the authority issuing request; the cash register unlocks the unlocking button according to the unlocking authority so that the cashbox can be opened by pressing the unlocking button. According to the cashbox unlocking method and device, the Bluetooth remote controller is arranged to authenticate the operation of opening the cashbox, the cashbox can be unlocked and opened only by the unlocking case after the cash register needs to send the permission issuing request and the unlocking permission of the Bluetooth remote controller is obtained, the cashbox opening operation is verified, and the safety of the cashbox of the cash register is improved.

Description

Method and system for controlling cash register cashbox through Bluetooth
Technical Field
The invention relates to the field of Bluetooth remote control, in particular to a method and a system for controlling a cash register cashbox by Bluetooth.
Background
The cashbox opening method of the existing cash register frequently comprises the following steps: (1) the cashbox is mechanically opened by a key, and the cashbox does not need a circuit design and is only designed by physical machinery; when the key is turned to unlock the cashbox, the buckle in the cashbox is pushed open to unlock the cashbox by utilizing the lever principle. (2) Referring to fig. 4, an electromagnetic coil in a cashbox is triggered to work by pressing an unlocking key on a cash register, so that the coil generates magnetic force to suck and unlock a locked buckle, referring to fig. 4, an unlocking key and a General-purpose input/output (GPIO) pin are additionally designed on hardware of the cash register to be connected with a cashbox electromagnetic coil circuit, the GPIO is used for controlling the electromagnetic coil circuit to be conducted and operated, a 12V direct current battery is used for supplying power to the electromagnetic coil, the default state is set to be non-conducting and non-operating, when a cashier needs to open the cashbox and presses the cashbox unlocking key of the cash register, cashbox service of a software system detects that the unlocking key is pressed, the output level of the GPIO connected with the cashbox is set to be high by a GPIO level setting function, so that the cashbox circuit is conducted to generate magnetic force, the buckle is sucked away so that the cashbox can be opened.
The cashbox is opened by a traditional key mechanical mode, the cashbox can be opened only by holding a key, a cashier usually directly keeps the key in order to facilitate the work of the cashier, and an authority manager only carries out periodic inspection because the key is kept by the cashier all the time, and the key is easy to be stolen or copied if the cashier is malicious; any person who owns the key can open the cashbox of the radio, and a manager cannot know the specific cashbox opening record and cannot manage the opening authority of the cashbox; and open the cashbox through setting up the unblock button on cash registering machine, as long as cash registering machine starts, the software system of cash registering machine is in operating condition, so only need the button press just can open the cashbox, also can't carry out the management and control to the permission of opening of cashbox.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method and the system for controlling the cashbox of the cash register through the Bluetooth are provided, and the cashbox opening authority is controlled.
In order to solve the technical problems, the invention adopts a technical scheme that:
a method for controlling a cash register cashbox by Bluetooth comprises the following steps:
s1, the cash register establishes Bluetooth connection with the Bluetooth remote controller;
s2, the Bluetooth remote controller receives the authority issuing request and sends unlocking authority to the cash register according to the authority issuing request;
s3, the cash register unlocks the unlocking button according to the unlocking authority, so that the cashbox can be opened by pressing the unlocking button.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
a system for controlling a cash register cashbox by Bluetooth comprises a Bluetooth remote controller and a cash register, wherein the Bluetooth cash register comprises a first memory, a first processor and a first computer program which is stored on the first memory and can run on the first processor; the Bluetooth remote controller comprises a second memory, a second processor and a second computer program which is stored on the second memory and can run on the second processor, and the first processor realizes the following steps when executing the first computer program:
s1, establishing Bluetooth connection with the Bluetooth remote controller;
s3, unlocking the unlocking key according to the unlocking authority so that the cashbox can be opened by pressing the unlocking key;
the second processor, when executing the second computer program, implements the following steps between the S1 and the S3:
and S2, receiving the authority issuing request, and sending unlocking authority to the cash register according to the authority issuing request.
The invention has the beneficial effects that: the method comprises the steps that a Bluetooth remote controller is set to manage opening authority of a cashbox, the Bluetooth remote controller sends unlocking authority to a cash register according to an authority issuing request, after the cash register receives the unlocking authority, a cashier can open the cashbox by pressing an unlocking button, and if authorization of the Bluetooth remote controller is not passed, the cashbox of the cash register cannot be opened, so that the opening authority management of the cashbox of the cash register is realized; use the bluetooth to connect bluetooth remote controller and cash registering machine, can maintain the connection between bluetooth remote controller and the cash registering machine in certain within range, provide certain flexibility, can the disconnection after surpassing the scope simultaneously, if the bluetooth remote controller is stolen then can't exert the effect, compare in carrying out the conveying of data safer through the network.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for controlling a cash register cashbox by Bluetooth according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a system for controlling a cash register cashbox by Bluetooth according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for controlling a cash register cashbox by bluetooth in a specific scenario of an embodiment of the present invention;
FIG. 4 is a prior art method of opening a cash register cashbox;
description of reference numerals:
1. a cash register; 1.1, a first processor; 1.2, a first memory; 2. a Bluetooth remote controller; 2.1, a second processor; 2.2, a second memory; 3. a system for controlling a cash register cashbox by Bluetooth.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1 and 3, a method for controlling a cash register cashbox by bluetooth includes the steps:
s1, the cash register establishes Bluetooth connection with the Bluetooth remote controller;
s2, the Bluetooth remote controller receives the authority issuing request and sends unlocking authority to the cash register according to the authority issuing request;
s3, the cash register unlocks the unlocking button according to the unlocking authority, so that the cashbox can be opened by pressing the unlocking button.
From the above description, the beneficial effects of the present invention are: the method comprises the steps that a Bluetooth remote controller is set to manage opening authority of a cashbox, the Bluetooth remote controller sends unlocking authority to a cash register according to an authority issuing request, after the cash register receives the unlocking authority, a cashier can open the cashbox by pressing an unlocking button, and if authorization of the Bluetooth remote controller is not passed, the cashbox of the cash register cannot be opened, so that the opening authority management of the cashbox of the cash register is realized; use the bluetooth to connect bluetooth remote controller and cash registering machine, can maintain the connection between bluetooth remote controller and the cash registering machine in certain within range, provide certain flexibility, can the disconnection after surpassing the scope simultaneously, if the bluetooth remote controller is stolen then can't exert the effect, compare in carrying out the conveying of data safer through the network.
Further, S1 specifically includes:
the cash register establishes connection with the Bluetooth remote controller through BLE technology.
As can be seen from the above description, Bluetooth connection is established by BLE (Bluetooth Low Energy) technology, power consumption is Low, the service time of the Bluetooth remote controller can be prolonged, and the number of times of battery replacement is reduced.
Further, the S1 specifically includes:
s11, searching surrounding Bluetooth equipment, and acquiring a service UUID of the Bluetooth equipment;
s12, judging the type of the Bluetooth equipment according to the UUID, and if the type of the Bluetooth equipment is a Bluetooth remote controller, stopping searching and pairing the Bluetooth equipment with the Bluetooth remote controller;
s13, obtaining a random value, encrypting the random value through a preset key to obtain a ciphertext, and sending the ciphertext to the Bluetooth remote controller;
s14, receiving the decryption data corresponding to the ciphertext returned by the Bluetooth remote controller;
and S15, judging whether the decrypted data is the same as the random value or not, and if so, maintaining the connection with the Bluetooth remote controller.
According to the description, the cash register directly searches surrounding Bluetooth devices and judges the type of the Bluetooth device through the UUID, if the Bluetooth device is determined to be the Bluetooth remote controller, pairing is carried out, ciphertext verification is required during pairing, the confidentiality of a Bluetooth channel is guaranteed, and one-to-one control or one-to-many control of the Bluetooth remote controller on the cash register can be realized by changing the corresponding relation between the key stored in the cash register and the decryption key stored in the Bluetooth remote controller.
Further, the unlocking authority in S2 includes a valid time;
the S3 further includes:
starting a timing thread while receiving the unlocking authority, and acquiring the current waiting time through the timing thread;
and judging whether the current waiting time exceeds the effective time, and if so, deleting the unlocking authority.
According to the description, the valid time is carried in the unlocking permission, the timing thread is started while the unlocking permission is received, the unlocking permission is deleted from the cash register if the accumulated time in the timing thread exceeds the valid time, after the unlocking permission is deleted, if a cashier still wants to open a cashbox of the cash register, the permission needs to be requested again, namely, after the time limit is exceeded, the administrator needs to issue the permission again through the Bluetooth remote controller, and the situation that the cashbox is operated by other people due to the fact that the cashier leaves for a long time is prevented.
Further, the unlocking of the cash register according to the unlocking authority in S3 specifically includes:
and after receiving the unlocking authority, setting the detectable attribute of the unlocking key to true.
According to the description, after the unlocking permission is received, the detectable attribute of the unlocking key is opened, so that the operation of the cashier on the unlocking key can be received, and the cashier can open the cashbox by pressing the unlocking key at the moment.
Referring to fig. 2, a system for controlling a cash register cashbox by bluetooth includes a bluetooth remote controller and a cash register, where the bluetooth cash register includes a first memory, a first processor, and a first computer program stored in the first memory and operable on the first processor; the Bluetooth remote controller comprises a second memory, a second processor and a second computer program which is stored on the second memory and can run on the second processor, and the first processor realizes the following steps when executing the first computer program:
s1, establishing Bluetooth connection with the Bluetooth remote controller;
s3, unlocking the unlocking key according to the unlocking authority so that the cashbox can be opened by pressing the unlocking key;
the second processor, when executing the second computer program, implements the following steps between the S1 and the S3:
and S2, receiving the authority issuing request, and sending unlocking authority to the cash register according to the authority issuing request.
The invention has the beneficial effects that: the method comprises the steps that a Bluetooth remote controller is set to manage opening authority of a cashbox, the Bluetooth remote controller sends unlocking authority to a cash register according to an authority issuing request, after the cash register receives the unlocking authority, a cashier can open the cashbox by pressing an unlocking button, and if authorization of the Bluetooth remote controller is not passed, the cashbox of the cash register cannot be opened, so that the opening authority management of the cashbox of the cash register is realized; use the bluetooth to connect bluetooth remote controller and cash registering machine, can maintain the connection between bluetooth remote controller and the cash registering machine in certain within range, provide certain flexibility, can the disconnection after surpassing the scope simultaneously, if the bluetooth remote controller is stolen then can't exert the effect, compare in carrying out the conveying of data safer through the network.
Further, S1 specifically includes:
the cash register establishes connection with the Bluetooth remote controller through BLE technology.
As can be seen from the above description, Bluetooth connection is established by BLE (Bluetooth Low Energy) technology, power consumption is Low, the service time of the Bluetooth remote controller can be prolonged, and the number of times of battery replacement is reduced.
Further, the S1 specifically includes:
s11, searching surrounding Bluetooth equipment, and acquiring a service UUID of the Bluetooth equipment;
s12, judging the type of the Bluetooth equipment according to the UUID, and if the type of the Bluetooth equipment is a Bluetooth remote controller, stopping searching and pairing the Bluetooth equipment with the Bluetooth remote controller;
s13, obtaining a random value, encrypting the random value through a preset key to obtain a ciphertext, and sending the ciphertext to the Bluetooth remote controller;
s14, receiving the decryption data corresponding to the ciphertext returned by the Bluetooth remote controller;
and S15, judging whether the decrypted data is the same as the random value or not, and if so, maintaining the connection with the Bluetooth remote controller.
According to the description, the cash register directly searches surrounding Bluetooth devices and judges the type of the Bluetooth device through the UUID, if the Bluetooth device is determined to be the Bluetooth remote controller, pairing is carried out, ciphertext verification is required during pairing, the confidentiality of a Bluetooth channel is guaranteed, and one-to-one control or one-to-many control of the Bluetooth remote controller on the cash register can be realized by changing the corresponding relation between the key stored in the cash register and the decryption key stored in the Bluetooth remote controller.
Further, the unlocking authority in S2 includes a valid time;
the first processor, when executing the first computer program implementation S3, further comprises:
starting a timing thread while receiving the unlocking authority, and acquiring the current waiting time through the timing thread;
and judging whether the current waiting time exceeds the effective time, and if so, deleting the unlocking authority.
According to the description, the valid time is carried in the unlocking permission, the timing thread is started while the unlocking permission is received, the unlocking permission is deleted from the cash register if the accumulated time in the timing thread exceeds the valid time, after the unlocking permission is deleted, if a cashier still wants to open a cashbox of the cash register, the permission needs to be requested again, namely, after the time limit is exceeded, the administrator needs to issue the permission again through the Bluetooth remote controller, and the situation that the cashbox is operated by other people due to the fact that the cashier leaves for a long time is prevented.
Further, the unlocking of the cash register according to the unlocking authority in S3 specifically includes:
and after receiving the unlocking authority, setting the detectable attribute of the unlocking key to true.
According to the description, after the unlocking permission is received, the detectable attribute of the unlocking key is opened, so that the operation of the cashier on the unlocking key can be received, and the cashier can open the cashbox by pressing the unlocking key at the moment.
Referring to fig. 1, a first embodiment of the present invention is:
a method for controlling a cash register cashbox by Bluetooth comprises the following steps:
s1, the cash register establishes Bluetooth connection with the Bluetooth remote controller through BLE technology;
in this embodiment, S1 specifically includes:
s11, searching surrounding Bluetooth equipment, and acquiring a service UUID (service UUID) of the Bluetooth equipment;
s12, judging the type of the Bluetooth equipment according to the UUID, and if the type of the Bluetooth equipment is a Bluetooth remote controller, stopping searching and pairing the Bluetooth equipment with the Bluetooth remote controller; in the pairing process, a popup window is not needed to input a pairing code;
s13, obtaining a random value, encrypting the random value through a preset key to obtain a ciphertext, and sending the ciphertext to the Bluetooth remote controller;
s14, receiving the decryption data corresponding to the ciphertext returned by the Bluetooth remote controller;
s15, judging whether the decrypted data is the same as the random value or not, if so, maintaining the connection with the Bluetooth remote controller;
in an optional implementation manner, the cash register acquires an 8-bit random number as a random value, calculates the exclusive or sum of the random value to obtain a first exclusive or sum value, encrypts by using a fixed key through a Data Encryption Standard (DES) to generate a DES ciphertext and sends the DES ciphertext to the bluetooth remote controller; a fixed key is stored in the Bluetooth remote controller in advance, the Bluetooth remote controller decrypts the DES ciphertext according to the stored fixed key to obtain an 8-bit random number, calculates the XOR sum of the 8-bit random number to obtain a second XOR sum, and sends the second XOR sum to the cash register; the cash register compares the first XOR sum value with the second XOR sum value, and if the first XOR sum value and the second XOR sum value are equal, the connection with the Bluetooth remote controller is maintained;
s2, the Bluetooth remote controller receives the authority issuing request, judges whether the confirmation information corresponding to the authority issuing request is received, if yes, sends unlocking authority to the cash register according to the authority issuing request, and if not, does not respond to the authority issuing request; wherein the unlocking authority comprises valid time;
s3, the cash register unlocks an unlocking button according to the unlocking authority, so that the cashbox can be opened by pressing the unlocking button;
specifically, the cash register receives the unlocking authority and an identifier UUID (Characteristic UUID) of the Bluetooth remote controller, judges whether the unlocking authority comes from the successfully paired Bluetooth remote controller or not according to the identifier UUID, and unlocks an unlocking key if the unlocking authority comes from the successfully paired Bluetooth remote controller;
in this embodiment, S3 further includes:
starting a timing thread while receiving the unlocking authority, and acquiring the current waiting time through the timing thread; judging whether the current waiting time exceeds the effective time, if so, deleting the unlocking authority;
in an optional embodiment, if the cash register receives operation information, the timing thread is restarted;
wherein, the cash registering machine is specifically according to the key of unblanking of the authority unblock: and after receiving the unlocking authority, setting the detectable attribute of the unlocking key to true.
Referring to fig. 3, the second embodiment of the present invention is:
the method for controlling the cash register cashbox by the Bluetooth is applied to actual scenes:
the cash register is started and establishes Bluetooth connection with the Bluetooth remote controller, and sends an authority issuing request to the Bluetooth remote controller;
in an optional embodiment, the administrator wakes up the bluetooth remote controller by long-pressing a power-on key of the bluetooth controller or performing other preset operations;
the Bluetooth controller displays the permission issuing request for the administrator to confirm, the administrator sends confirmation information after confirming the permission issuing request, the Bluetooth remote controller sends unlocking permission corresponding to the permission issuing request to the cash register after receiving the confirmation information, and the unlocking permission comprises valid time;
the method comprises the steps that when the cash register receives unlocking authority, a timing thread is started synchronously, timing is restarted by the timing thread if operation information is detected, and the unlocking authority is deleted if the current waiting time obtained by the timing thread exceeds effective time;
in this embodiment, when the cash register receives the unlocking right, setting a detectable attribute of the unlocking key, namely, persesys casebox, as true, so that the cashbox can be opened by pressing the unlocking key; when the unlocking right is deleted, setting persst.sys.casebox as false so that the cashbox cannot be opened by pressing the unlocking case, wherein the default state of persst.sys.casebox is false;
the cashbox attribute is set in the embodiment and used for controlling the opening authority of the cashbox;
specifically, when the persist.sys.casebox is true, the unlocking key is pressed down to pull up the GPIO connected with the cashbox, so that the cashbox electromagnetic coil circuit is conducted to work to suck the buckle open, and the cashbox is unlocked;
in an optional implementation mode, the effective time is 60 minutes, the situation that the working efficiency is lowered due to repeated requests of a cashier is avoided, timing is restarted when operation information is detected, and the situation that a cashbox is locked in the cash registering process of the cashier and the use of the cashier is influenced is avoided;
the operation information is received information of the cashier operating the cash register, such as key operation, scanning operation and the like.
Referring to fig. 2, a third embodiment of the present invention is:
a bluetooth control cash register cashbox system 3, comprising a bluetooth remote controller 2 and a cash register 1, wherein the cash register 1 comprises a first memory 1.2, a first processor 1.1 and a first computer program stored in the first memory 1.2 and operable on the first processor 1.1; the bluetooth remote controller 2 comprises a second memory 2.2, a second processor 2.1 and a second computer program stored in the second memory 2.2 and operable on the second processor 2.1, wherein the first processor implements the steps implemented by the cash register of the first embodiment or the second embodiment when executing the first computer program;
the steps implemented by the bluetooth remote control in embodiment one or embodiment two are implemented when the second processor executes the second computer program.
In summary, the present invention provides a method and a system for controlling a cash register cashbox by bluetooth, wherein an unlocking button of the cash register cashbox is set to be locked in a default state, that is, the cashbox cannot be opened by pressing a search button in the default state; if the unlocking key needs to be unlocked, an authority issuing request needs to be sent to the Bluetooth remote controller, the Bluetooth remote controller issues unlocking authority with effective time according to the authority issuing request, the cash register starts a timing thread and unlocks the unlocking key while receiving the unlocking authority, the timing thread is reset if the cash register detects operation information, namely timing is restarted, the unlocking authority is deleted from the cash register when the current waiting time acquired by the timing thread is longer than the effective time, and the unlocking key state is recovered to be locked; the cash register cashbox can be opened only by requesting the unlocking permission, the safety of the cash register cashbox is improved, the effective time of the unlocking permission is set, the situation that a cashier needs to request the corresponding permission when unlocking at every time is avoided, the cash register efficiency is influenced, the use experience of the cashier and a consumer is influenced, the timing thread acquires the current waiting time, the timing is restarted as long as the current waiting time receives the operation information, the cash register is in a use state all the time, the repeated request authorization is not needed, and the actual use experience of the cashier is considered while the safety is ensured.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for controlling a cash register cashbox by Bluetooth is characterized by comprising the following steps:
s1, the cash register establishes Bluetooth connection with the Bluetooth remote controller;
s2, the Bluetooth remote controller receives the authority issuing request and sends unlocking authority to the cash register according to the authority issuing request;
s3, unlocking the unlocking key by the cash register according to the unlocking authority so that the cashbox can be opened by pressing the unlocking key.
2. The method for controlling a cash register cashbox according to claim 1, wherein the step S1 is specifically as follows:
the cash register establishes connection with the Bluetooth remote controller through BLE technology.
3. The method for controlling a cash register cashbox according to claim 1, wherein the step S1 is specifically as follows:
s11, searching surrounding Bluetooth equipment, and acquiring a service UUID of the Bluetooth equipment;
s12, judging the type of the Bluetooth equipment according to the UUID, and if the type of the Bluetooth equipment is a Bluetooth remote controller, stopping searching and pairing the Bluetooth equipment with the Bluetooth remote controller;
s13, obtaining a random value, encrypting the random value through a preset key to obtain a ciphertext, and sending the ciphertext to the Bluetooth remote controller;
s14, receiving the decryption data corresponding to the ciphertext returned by the Bluetooth remote controller;
and S15, judging whether the decrypted data is the same as the random value or not, and if so, maintaining the connection with the Bluetooth remote controller.
4. The method of claim 1, wherein the unlocking authority of S2 includes a valid time;
the S3 further includes:
starting a timing thread while receiving the unlocking authority, and acquiring the current waiting time through the timing thread;
and judging whether the current waiting time exceeds the effective time, and if so, deleting the unlocking authority.
5. The method for controlling the cash register cashbox through the Bluetooth according to claim 1, wherein the unlocking of the unlocking key by the cash register according to the unlocking authority in the S3 is specifically as follows:
and after receiving the unlocking authority, setting the detectable attribute of the unlocking key to true.
6. A system for controlling a cash register cashbox by Bluetooth comprises a Bluetooth remote controller and a cash register, wherein the Bluetooth cash register comprises a first memory, a first processor and a first computer program which is stored on the first memory and can run on the first processor; the Bluetooth remote controller comprises a second memory, a second processor and a second computer program which is stored on the second memory and can run on the second processor, and is characterized in that the first processor realizes the following steps when executing the first computer program:
s1, establishing Bluetooth connection with the Bluetooth remote controller;
s3, unlocking the unlocking key according to the unlocking authority so that the cashbox can be opened by pressing the unlocking key;
the second processor, when executing the second computer program, implements the following steps between the S1 and the S3:
and S2, receiving the authority issuing request, and sending unlocking authority to the cash register according to the authority issuing request.
7. The system for controlling a cash register cashbox according to claim 6, wherein the S1 is specifically:
the cash register establishes connection with the Bluetooth remote controller through BLE technology.
8. The system for controlling a cash register cashbox according to claim 6, wherein the S1 is specifically:
s11, searching surrounding Bluetooth equipment, and acquiring a service UUID of the Bluetooth equipment;
s12, judging the type of the Bluetooth equipment according to the UUID, and if the type of the Bluetooth equipment is a Bluetooth remote controller, stopping searching and pairing the Bluetooth equipment with the Bluetooth remote controller;
s13, obtaining a random value, encrypting the random value through a preset key to obtain a ciphertext, and sending the ciphertext to the Bluetooth remote controller;
s14, receiving the decryption data corresponding to the ciphertext returned by the Bluetooth remote controller;
and S15, judging whether the decrypted data is the same as the random value or not, and if so, maintaining the connection with the Bluetooth remote controller.
9. The system of claim 6, wherein the unlocking authority in the S2 comprises a valid time;
the first processor, when executing the first computer program implementation S3, further comprises:
starting a timing thread while receiving the unlocking authority, and acquiring the current waiting time through the timing thread;
and judging whether the current waiting time exceeds the effective time, and if so, deleting the unlocking authority.
10. The system for controlling the cash register cashbox through Bluetooth according to claim 6, wherein the unlocking key of the cash register according to the unlocking authority in S3 is specifically as follows:
and after receiving the unlocking authority, setting the detectable attribute of the unlocking key to true.
CN202011377930.0A 2020-11-30 2020-11-30 Method and system for controlling cash register cashbox through Bluetooth Active CN112466012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011377930.0A CN112466012B (en) 2020-11-30 2020-11-30 Method and system for controlling cash register cashbox through Bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011377930.0A CN112466012B (en) 2020-11-30 2020-11-30 Method and system for controlling cash register cashbox through Bluetooth

Publications (2)

Publication Number Publication Date
CN112466012A true CN112466012A (en) 2021-03-09
CN112466012B CN112466012B (en) 2023-02-14

Family

ID=74806196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011377930.0A Active CN112466012B (en) 2020-11-30 2020-11-30 Method and system for controlling cash register cashbox through Bluetooth

Country Status (1)

Country Link
CN (1) CN112466012B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682506A (en) * 2012-05-25 2012-09-19 北京华大信安科技有限公司 Intelligent Bluetooth door access control method and device based on symmetric cryptographic technique
CN105187878A (en) * 2015-09-07 2015-12-23 深圳Tcl数字技术有限公司 Television Bluetooth connection method and device
CN105788042A (en) * 2016-02-26 2016-07-20 姜恒 Bluetooth door opening method and system
KR101673189B1 (en) * 2015-09-09 2016-11-07 유비벨록스(주) Method and server for performing entry management using mobile student id
CN106335572A (en) * 2016-08-31 2017-01-18 武汉大学 Low-power-consumption Bluetooth intelligent bicycle lock and public bicycle system adopting bicycle lock under Internet of things technology based on time-space safety
CN106355701A (en) * 2016-08-29 2017-01-25 上海斐讯数据通信技术有限公司 Intelligent door lock and unlocking method
EP3293995A1 (en) * 2016-09-09 2018-03-14 Swissprime Technologies AG Locking system and secure token and ownership transfer
CN107808460A (en) * 2017-09-19 2018-03-16 深圳市橙子兄弟信息科技有限公司 Coin-feed machine and accounting data processing system
CN108027992A (en) * 2015-07-06 2018-05-11 阿克赛思Ip控股公司 For providing the lock of redundant access passage
CN208335313U (en) * 2018-06-04 2019-01-04 南昌航空大学 The controllable permission blue-tooth intelligence door lock of cell phone application
CN208445145U (en) * 2018-06-30 2019-01-29 重庆建树电力设备制造有限公司 One kind can self-locking electric power box
CN109697769A (en) * 2017-10-23 2019-04-30 中兴通讯股份有限公司 A kind of method for unlocking of intelligent door lock, device, equipment and storage medium
CN208861345U (en) * 2018-09-20 2019-05-14 青岛文达通科技股份有限公司 A kind of multimode enabling gate inhibition being detached from network
CN209543438U (en) * 2019-01-04 2019-10-25 北京信诚百年工程技术有限公司 A kind of safe buildings access control system based on two dimensional code identification
CN110491011A (en) * 2019-09-28 2019-11-22 彭国智 The precisely control of bluetooth access system of safety
CN110519737A (en) * 2019-08-30 2019-11-29 南京爱沃客信息科技有限公司 A kind of methods, devices and systems that bluetooth connects automatically
CN111369713A (en) * 2018-12-26 2020-07-03 章娱信息科技(上海)有限公司 Door lock device with charging function and door lock system comprising same

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682506A (en) * 2012-05-25 2012-09-19 北京华大信安科技有限公司 Intelligent Bluetooth door access control method and device based on symmetric cryptographic technique
CN108027992A (en) * 2015-07-06 2018-05-11 阿克赛思Ip控股公司 For providing the lock of redundant access passage
CN105187878A (en) * 2015-09-07 2015-12-23 深圳Tcl数字技术有限公司 Television Bluetooth connection method and device
KR101673189B1 (en) * 2015-09-09 2016-11-07 유비벨록스(주) Method and server for performing entry management using mobile student id
CN105788042A (en) * 2016-02-26 2016-07-20 姜恒 Bluetooth door opening method and system
CN106355701A (en) * 2016-08-29 2017-01-25 上海斐讯数据通信技术有限公司 Intelligent door lock and unlocking method
CN106335572A (en) * 2016-08-31 2017-01-18 武汉大学 Low-power-consumption Bluetooth intelligent bicycle lock and public bicycle system adopting bicycle lock under Internet of things technology based on time-space safety
EP3293995A1 (en) * 2016-09-09 2018-03-14 Swissprime Technologies AG Locking system and secure token and ownership transfer
CN107808460A (en) * 2017-09-19 2018-03-16 深圳市橙子兄弟信息科技有限公司 Coin-feed machine and accounting data processing system
CN109697769A (en) * 2017-10-23 2019-04-30 中兴通讯股份有限公司 A kind of method for unlocking of intelligent door lock, device, equipment and storage medium
CN208335313U (en) * 2018-06-04 2019-01-04 南昌航空大学 The controllable permission blue-tooth intelligence door lock of cell phone application
CN208445145U (en) * 2018-06-30 2019-01-29 重庆建树电力设备制造有限公司 One kind can self-locking electric power box
CN208861345U (en) * 2018-09-20 2019-05-14 青岛文达通科技股份有限公司 A kind of multimode enabling gate inhibition being detached from network
CN111369713A (en) * 2018-12-26 2020-07-03 章娱信息科技(上海)有限公司 Door lock device with charging function and door lock system comprising same
CN209543438U (en) * 2019-01-04 2019-10-25 北京信诚百年工程技术有限公司 A kind of safe buildings access control system based on two dimensional code identification
CN110519737A (en) * 2019-08-30 2019-11-29 南京爱沃客信息科技有限公司 A kind of methods, devices and systems that bluetooth connects automatically
CN110491011A (en) * 2019-09-28 2019-11-22 彭国智 The precisely control of bluetooth access system of safety

Also Published As

Publication number Publication date
CN112466012B (en) 2023-02-14

Similar Documents

Publication Publication Date Title
CN105118127B (en) A kind of guest system and control method thereof
US8787902B2 (en) Method for mobile-key service
WO2017177383A1 (en) Remote management method and device
US10574466B1 (en) Authenticated external biometric reader and verification device
KR101259546B1 (en) Method for smart-key service
KR101242122B1 (en) Method for remotely controlling doorlock apparatus using smart phone and the doorlock appratus
KR100881938B1 (en) System and method for managing multiple smart card sessions
WO2019203306A1 (en) Sharing system
CN101345626A (en) Verification method between electronic lock and electronic key
CN107864124B (en) Terminal information security protection method, terminal and Bluetooth lock
CN105915336B (en) Object collaborative decryption method and device
CN112669104B (en) Data processing method of leasing equipment
KR101978232B1 (en) Vehicle Door-Lock Locking Control Method by Using Smart Key Based on BAN and System thereof
CN112333133A (en) Data security transmission method, device, equipment and computer readable storage medium
CN112184952A (en) Intelligent lock control system, method and storage medium
CN113674455A (en) Intelligent door lock remote control method, device, system, equipment and storage medium
US20140025946A1 (en) Audio-security storage apparatus and method for managing certificate using the same
KR101763140B1 (en) Authentification Method by User Terminal Connecting Access Controller, Software therefor, and Program Distributing Server Storing the Software
US20210370872A1 (en) Information processing apparatus, information processing method and non-transitory storage medium
CN110738764A (en) Security control system and method based on intelligent lock
CN112425116B (en) Intelligent door lock wireless communication method, intelligent door lock, gateway and communication equipment
JP2018148463A (en) Authentication system, authentication information generator, apparatus to be authenticated, and authentication apparatus
CN112466012B (en) Method and system for controlling cash register cashbox through Bluetooth
CN113240836A (en) Bluetooth lock connection method adopting two-dimensional code and related configuration system
JP2015088804A (en) Control apparatus and control method using authentication device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 201-9, Zone C, No. 18 Guanri Road, Phase II, Software Park, Torch High tech Zone, Xiamen City, Fujian Province, 361000

Patentee after: Fujian Huisibo Digital Technology Co.,Ltd.

Address before: No. 89 Software Avenue, Tongpan Road, Gulou District, Fuzhou City, Fujian Province, 350000. 510, Floor 5, 34 #, Zone C, Fuzhou Software Park

Patentee before: FUZHOU HUISIBO INFORMATION TECHNOLOGY Co.,Ltd.