Method for switching scanner buttons, apparatus, storage medium, and scanner

US12026573B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12026573-B2
Application numberUS-202118004297-A
CountryUS
Kind codeB2
Filing dateMay 12, 2021
Priority dateSep 15, 2020
Publication dateJul 2, 2024
Grant dateJul 2, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure provides a method for switching scanner buttons, an apparatus, a storage medium, and a scanner. The method comprises: scanning a barcode and obtaining barcode data; determining whether the barcode data matches preset button switching barcode data; in a case that the barcode data matches the button switching barcode data, switching an active button bit for waking up a scanner from a button at the current side to a button at the other side.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for switching scanner buttons, wherein buttons are disposed on both left and right sides of a scanner; and the method comprises: scanning a barcode and obtaining barcode data; determining whether the barcode data matches preset button switching barcode data; and in a case that the barcode data matches the button switching barcode data, switching an active button bit for waking up the scanner from a button at the current side to a button at the other side. 2. The method for switching the scanner buttons as claimed in claim 1 , wherein switching the active button bit for waking up the scanner from the button at the current side to the button at the other side comprises: setting flag bits that respectively correspond to the buttons on the both sides, and configuring the flag bit of the button corresponding to the active button bit to be active. 3. The method for switching the scanner buttons as claimed in claim 1 , further comprising: after the active button bit is switched, detecting whether the barcode data matching the button switching barcode data is continuously inputted; and in a case that the barcode data matching the button switching barcode data is continuously inputted, switching the active button bit from the button at the current side to the button at the other side. 4. The method for switching the scanner buttons as claimed in claim 1 , further comprising: detecting whether the scanner is restarted; in a case that the scanner is restarted, initializing the active button bit, and resetting the active button bit as the button corresponding to a default side; and in a case that the scanner is not restarted, maintaining the active button bit to continuously correspond to the button on the current side which is active. 5. The method for switching the scanner buttons as claimed in claim 4 , wherein the initialized active button bit corresponds to the button on the left side under the condition that the scanner is worn on the right hand. 6. The method for switching the scanner buttons as claimed in claim 1 , further comprising: after the active button bit is switched, maintaining the button currently corresponding to the active button bit active before next switching. 7. The method for switching the scanner buttons as claimed in claim 1 , wherein waking up the scanner comprises: the scanner in dormancy continuously detecting whether button interruption occurs; under the condition that it is detected that button interruption occurs, determining whether the interrupted button is a button currently corresponding to the active button bit; in a case that the interrupted button is the button currently corresponding to the active button bit, waking up the scanner; and in a case that the interrupted button is not the button currently corresponding to the active button bit, shielding button interruption, maintaining the dormancy of the scanner, and continuously detecting whether button interruption occurs. 8. An apparatus for switching scanner buttons, comprising: a scanning component, configured to scan a barcode and obtain barcode data; and a control component, configured to, in a case that the barcode data obtained by the scanning component matches preset button switching barcode data, switch an active button bit for waking up a scanner from a button at the current side to a button at the other side. 9. A storage medium, having a computer program stored thereon, wherein, when the computer program is executed by a processor, the scanner button switching method as claimed in claim 1 is implemented. 10. A scanner, comprising: a memory, configured to store a computer program; and a processor, configured to execute the computer program in the memory, so as to implement the scanner button switching method as claimed in claim 1 . 11. The storage medium as claimed in claim 9 , wherein switching the active button bit for waking up the scanner from the button at the current side to the button at the other side comprises: setting flag bits that respectively correspond to the buttons on the both sides, and configuring the flag bit of the button corresponding to the active button bit to be active. 12. The storage medium as claimed in claim 9 , further comprising: after the active button bit is switched, detecting whether the barcode data matching the button switching barcode data is continuously inputted; and in a case that the barcode data matching the button switching barcode data is continuously inputted, switching the active button bit from the button at the current side to the button at the other side. 13. The storage medium as claimed in claim 9 , further comprising: detecting whether the scanner is restarted; in a case that the scanner is restarted, initializing the active button bit, and resetting the active button bit as the button corresponding to a default side; and in a case that the scanner is not restarted, maintaining the active button bit to continuously correspond to the button on the current side which is active. 14. The storage medium as claimed in claim 13 , wherein the initialized active button bit corresponds to the button on the left side under the condition that the scanner is worn on the right hand. 15. The storage medium as claimed in claim 9 , further comprising: after the active button bit is switched, maintaining the button currently corresponding to the active button bit active before next switching. 16. The storage medium as claimed in claim 9 , wherein waking up the scanner comprises: the scanner in dormancy continuously detecting whether button interruption occurs; under the condition that it is detected that button interruption occurs, determining whether the interrupted button is a button currently corresponding to the active button bit; in a case that the interrupted button is the button currently corresponding to the active button bit, waking up the scanner; and in a case that the interrupted button is not the button currently corresponding to the active button bit, shielding button interruption, maintaining the dormancy of the scanner, and continuously detecting whether button interruption occurs. 17. The scanner as claimed in claim 10 , wherein switching the active button bit for waking up the scanner from the button at the current side to the button at the other side comprises: setting flag bits that respectively correspond to the buttons on the both sides, and configuring the flag bit of the button corresponding to the active button bit to be active. 18. The scanner as claimed in claim 10 , further comprising: after the active button bit is switched, detecting whether the barcode data matching the button switching barcode data is continuously inputted; and in a case that the barcode data matching the button switching barcode data is continuously inputted, switching the active button bit from the button at the current side to the button at the other side. 19. The scanner as claimed in claim 10 , further comprising: detecting whether the scanner is restarted; in a case that the scanner is restarted, initializing the active button bit, and resetting the active button bit as the button corresponding to a default side; and in a case that the scanner is not restarted, maintaining the active button bit to continuously correspond to the button on the current side which is active. 20. The scanner as claimed in claim 19 , wherein the initialized active button bit corresponds to the button on the left side under t

Assignees

Inventors

Classifications

  • 1D bar codes · CPC title

  • the scanner to be worn on a finger or on a wrist · CPC title

  • means to wake up the scanner from a sleep mode, e.g. using an acceleration sensor indicating that the scanner is being picked up by a user · CPC title

  • the interrogation device being wearable, e.g. as a glove, bracelet, or ring (wearable aerials in general H01Q1/27) · CPC title

  • setting parameters for the interrogator, e.g. programming parameters and operating modes · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12026573B2 cover?
The present disclosure provides a method for switching scanner buttons, an apparatus, a storage medium, and a scanner. The method comprises: scanning a barcode and obtaining barcode data; determining whether the barcode data matches preset button switching barcode data; in a case that the barcode data matches the button switching barcode data, switching an active button bit for waking up a scan…
Who is the assignee on this patent?
Gree Electric Appliances Wuhan Co Ltd, Gree Electric Appliances Inc Zhuhai, Zhuhai Leayun Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06K7/10198. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 02 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).