Method for switching scanning mode of scanning device and scanning device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2022-08-02
- Publication Date
- 2026-08-07
AI Technical Summary
[0005]本发明的主要目的在于提供一种扫描装置的扫描模式的切换方法和扫描装置,以解决现有技术中的扫描装置切换扫描模式时,切换过程复杂,影响工作效率的问题
[0016]The present invention provides a method for switching scanning modes in a scanning device. Specifically, the switching method includes the following steps: acquiring a trigger command from a first sensor; acquiring a trigger command from a second sensor; determining the acquisition order of the trigger commands from the first and second sensors; and determining, based on the acquisition order, whether to execute the (N-1)th scanning mode from the current Nth scanning mode or the (N+1)th scanning mode from the current Nth scanning mode. This ensures that the scanning mode switching method provided by this application can switch between different scanning modes. Compared to existing methods that switch scanning modes by scanning barcodes, this method achieves a faster and more convenient switching of scanning modes, significantly improving convenience.
Smart Images

Figure CN115270842B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of ring-type scanning equipment technology, and more specifically, to a method for switching scanning modes of a scanning device and a scanning device. Background Technology
[0002] Currently, wireless barcode scanners are widely used in logistics and industrial production, especially wireless ring scanners. These scanners are not only small in size, but also have multiple scanning modes such as button scanning, inductive scanning, and continuous scanning, making them suitable for various scanning scenarios. As a result, wireless ring scanners are gradually becoming the mainstream barcode scanning application.
[0003] However, in designing ring-type scanning devices, in order to ensure that the product size is small enough, convenient, and has a high protection level, it is impossible to set a button to switch scanning modes on the ring-type scanning device.
[0004] In existing technologies, barcodes corresponding to different scanning modes are created so that ring-type scanning devices can switch to the corresponding scanning mode by scanning the corresponding barcode. This scanning mode switching method requires paper or electronic barcodes to be used together. However, in industrial scenarios, barcodes are easy to lose and other modes may be accidentally scanned during the switching process. The switching process is relatively complex and time-consuming, affecting work efficiency. Summary of the Invention
[0005] The main objective of this invention is to provide a method for switching scanning modes in a scanning device and a scanning device in general, so as to solve the problem that the switching process of scanning modes in existing scanning devices is complicated and affects work efficiency.
[0006] To achieve the above objectives, according to one aspect of the present invention, a method for switching scanning modes of a scanning device is provided. The scanning device is preset with a first scanning mode, a second scanning mode, a third scanning mode, ..., an (N-1)th scanning mode, an Nth scanning mode, and an (N+1)th scanning mode that are executed sequentially. The switching method includes: acquiring a trigger command from a first sensor; acquiring a trigger command from a second sensor; determining the acquisition order of the trigger commands from the first sensor and the second sensor; and determining, based on the acquisition order, whether to execute the (N-1)th scanning mode from the current Nth scanning mode or to execute the (N+1)th scanning mode from the current Nth scanning mode.
[0007] Furthermore, the switching method also includes: the first scanning mode is a button scanning mode; the second scanning mode is a sensor scanning mode; and the third scanning mode is a continuous scanning mode.
[0008] Furthermore, the switching method also includes: the effective acquisition distance H1 of the first sensor satisfies: 0 < H1 ≤ 30cm; the effective acquisition distance H2 of the second sensor satisfies: 0 < H2 ≤ 30cm.
[0009] Furthermore, the switching method also includes a judgment step before determining the acquisition order of the trigger command of the first sensor and the trigger command of the second sensor. The judgment step includes calculating the time difference between the acquisition time of the trigger command of the first sensor and the acquisition time of the trigger command of the second sensor; and determining whether to continue executing the step of determining the acquisition order based on the relationship between the time difference and the preset effective time difference.
[0010] Furthermore, in the judgment step, the preset effective time difference range is 300ms to 2000ms. If the time difference falls within the preset effective time difference range, the step of determining the acquisition order will continue to be executed; if the time difference does not fall within the preset effective time difference range, the scanning mode will not be switched.
[0011] Furthermore, the switching method also includes an information transmission step, which involves the base of the scanning device communicating with the scanner of the scanning device via Bluetooth or RFID communication tools.
[0012] Furthermore, the switching method also includes a scan switching prompt step, which includes issuing a prompt message corresponding to the scan mode being switched to when the current Nth scan mode is switched to the (N-1)th scan mode or the current Nth scan mode is switched to the (N+1)th scan mode.
[0013] Furthermore, the scan switching prompt step also includes stopping the prompt after a preset duration.
[0014] According to another aspect of the present invention, a scanning device is provided. The scanning device switches scanning modes according to the above-described scanning mode switching method. The scanning device includes a base and a scanner. A first sensor and a second sensor are disposed at intervals on the base. A judgment module is also disposed on the base. The judgment module is used to determine the acquisition order of the trigger command of the first sensor and the trigger command of the second sensor. The scanner is communicatively connected to the base so that the base sends the acquisition order to the scanner, and the scanner switches scanning modes according to the acquisition order.
[0015] Furthermore, the base has a receiving groove for accommodating the scanner, and the first sensor and the second sensor are respectively disposed at the outer periphery of the groove opening.
[0016] The present invention provides a method for switching scanning modes in a scanning device. Specifically, the switching method includes the following steps: acquiring a trigger command from a first sensor; acquiring a trigger command from a second sensor; determining the acquisition order of the trigger commands from the first and second sensors; and determining, based on the acquisition order, whether to execute the (N-1)th scanning mode from the current Nth scanning mode or the (N+1)th scanning mode from the current Nth scanning mode. This ensures that the scanning mode switching method provided by this application can switch between different scanning modes. Compared to existing methods that switch scanning modes by scanning barcodes, this method achieves a faster and more convenient switching of scanning modes, significantly improving convenience. Attached Figure Description
[0017] The accompanying drawings, which form part of this application, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:
[0018] Figure 1 A flowchart illustrating a method for switching scanning modes of a scanning device according to an optional embodiment of the present invention is shown.
[0019] Figure 2 A schematic diagram of a scanning device according to an optional embodiment of the present invention is shown;
[0020] Figure 3 It shows Figure 1 A schematic diagram of the base of the scanning device in the diagram;
[0021] Figure 4 It shows Figure 1 A schematic diagram of the scanner in the scanning device.
[0022] The above figures include the following reference numerals:
[0023] 10. Base; 11. First sensor; 12. Second sensor; 13. Receiving slot; 131. First electrical connection terminal; 14. Third electrical connection terminal;
[0024] 20. Scanner; 21. Prompt; 22. Second electrical connection terminal. Detailed Implementation
[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the present invention or its application or use. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0026] To address the problem that the switching process of scanning modes in existing scanning devices is complex and affects work efficiency, this invention provides a method for switching scanning modes and a scanning device.
[0027] like Figure 1 As shown, the scanning mode switching method of the scanning device includes a first scanning mode, a second scanning mode, a third scanning mode, ..., the (N-1)th scanning mode, the Nth scanning mode, and the N+1th scanning mode, which are preset in sequence. The switching method includes: acquiring a trigger command from the first sensor 11; acquiring a trigger command from the second sensor 12; determining the acquisition order of the trigger commands from the first sensor 11 and the second sensor 12; and determining, based on the acquisition order, whether to execute the (N-1)th scanning mode from the current Nth scanning mode or to execute the N+1th scanning mode from the current Nth scanning mode.
[0028] This application provides a method for switching scanning modes of a scanning device. Specifically, the switching method includes the following steps: acquiring a trigger command from a first sensor 11; acquiring a trigger command from a second sensor 12; determining the acquisition order of the trigger commands from the first sensor 11 and the second sensor 12; and determining, based on the acquisition order, whether to execute the (N-1)th scanning mode from the current Nth scanning mode or the N+1th scanning mode from the current Nth scanning mode. This ensures that the scanning mode switching method provided by this application can switch between different scanning modes. Compared to existing methods that switch scanning modes by scanning barcodes, this method achieves a faster and more convenient switching of scanning modes, greatly improving convenience.
[0029] It should be noted that, in this application, the switching method also includes a first scanning mode of button scanning mode; a second scanning mode of inductive scanning mode; and a third scanning mode of continuous scanning mode.
[0030] It should be noted that, in this application, the switching method further includes: the effective acquisition distance H1 of the first sensor 11 satisfies: 0 < H1 ≤ 30 cm; the effective acquisition distance H2 of the second sensor 12 satisfies: 0 < H2 ≤ 30 cm. This ensures that the first sensor 11 and the second sensor 12 can only detect each other within the effective acquisition distances H1 and H2.
[0031] It should be noted that, in this application, the switching method further includes a judgment step before determining the acquisition order of the trigger command of the first sensor 11 and the trigger command of the second sensor 12. This judgment step includes: calculating the time difference between the acquisition time of the trigger command of the first sensor 11 and the acquisition time of the trigger command of the second sensor 12; and determining whether to continue executing the step of determining the acquisition order based on the relationship between the time difference and a preset effective time difference. This ensures that the acquisition order of the trigger commands of the first sensor 11 and the second sensor 12 can only be further determined after the trigger commands of both sensors are acquired.
[0032] It should be noted that in this application, the preset effective time difference range in the judgment step is 300ms to 2000ms. If the time difference falls within the preset effective time difference range, the step of determining the acquisition order continues; if the time difference does not fall within the preset effective time difference range, the scanning mode will not be switched. This ensures the accuracy of the scanning mode switching of the scanning device.
[0033] It should be noted that, in this application, the switching method also includes an information transmission step, in which the base 10 of the scanning device communicates with the scanner 20 of the scanning device via Bluetooth or RFID communication tools. This ensures reliable communication between the first sensor 11 and the second sensor 12 on the base 10 and the scanner 20 of the scanning device.
[0034] Furthermore, the switching method also includes a scan switching prompt step, which involves the prompting device 21 corresponding to the switched scan mode issuing a prompt message when the current Nth scan mode is switched to the (N-1)th scan mode or the current Nth scan mode is switched to the (N+1)th scan mode. In this way, the prompting device 21 serves as a prompt to the operator.
[0035] Preferably, the scan switching prompt step further includes stopping the prompt after a preset duration has elapsed. This helps to save power in the scanning device.
[0036] like Figures 2 to 4As shown, this application provides a scanning device that switches scanning modes according to the scanning mode switching methods described above and below. The scanning device includes a base 10 and a scanner 20. A first sensor 11 and a second sensor 12 are spaced apart on the base 10. A judgment module is also provided on the base 10 to determine the acquisition order of the trigger command of the first sensor 11 and the trigger command of the second sensor 12. The scanner 20 is communicatively connected to the base 10 so that the base 10 sends the acquisition order to the scanner 20, and the scanner 20 switches scanning modes according to the acquisition order.
[0037] It should be noted that in this application, the judgment module is a set of code programs in the base 10.
[0038] like Figure 2 As shown, the base 10 has a receiving groove 13 for accommodating the scanner 20, and the first sensor 11 and the second sensor 12 are respectively disposed at the outer periphery of the groove opening of the receiving groove 13.
[0039] The following uses a specific embodiment as an example to briefly illustrate the method for switching scanning modes of the scanning device of this application. The specific operation process is as follows:
[0040] A hand sweeps across the base 10 of the scanning device at a predetermined distance, sequentially blocking the first sensor 11 and the second sensor 12 located on the base 10. The first time point after passing the first sensor 11 is T1, and a trigger command for the first sensor 11 is obtained. The second time point after passing the second sensor 12 is T2, and a trigger command for the second sensor 12 is obtained. Determining the order of obtaining the trigger commands for the first sensor 11 and the second sensor 12 mainly includes: when T1 < T2, the base 10 transmits first switching information to the scanning end of the scanner 20 of the scanning device; the first switching information is switching from the current scanning mode to the next scanning mode. When T1 > T2, the base 10 transmits second switching information to the scanner 20 of the scanning device; the second switching information is switching from the current scanning mode to the previous scanning mode.
[0041] Preferably, the time difference between the first time point T1 and the second time point T2 is in the range of 300ms to 2000ms. Thus, if the time difference between the first time point T1 and the second time point T2 exceeds this range, the operation is considered invalid, preventing errors by staff or incorrect identification by the machinery.
[0042] It should be noted that the switching method also includes three different colored indicator lights 21 corresponding to the button scanning mode, sensor scanning mode, and continuous scanning mode. When switching to one of the three scanning modes, the indicator light 21 corresponding to the scanning mode lights up and stays on for a preset time before turning off. In this way, the different colored indicator lights 21 indicate the switching to the corresponding scanning mode, making it easier for staff to intuitively understand the current scanning mode.
[0043] It should be noted that the indicator 21 is red, green and blue. Red corresponds to the button scanning mode, green corresponds to the sensor scanning mode and blue corresponds to the continuous scanning mode. When the corresponding mode is switched, the indicator 21 lights up with the corresponding color light and then turns off after 1 second, indicating that the scanning mode has been successfully switched.
[0044] like Figure 2 As shown, the base 10 has a receiving groove 13 for accommodating the scanner 20. The first sensor 11 and the second sensor 12 are respectively disposed at the outer periphery of the opening of the receiving groove 13. In this way, at least a part of the scanner 20 is located in the receiving groove 13. When not in use, the scanner 20 can be stored in the receiving groove 13, ensuring that the scanner 20 is not easily lost. The first sensor 11 and the second sensor 12 are respectively disposed at the outer periphery of the opening of the receiving groove 13, so that the first sensor 11 and the second sensor 12 are not obstructed by the scanner 20, and the scanning mode can be switched at any time.
[0045] It should be noted that in this application, when the scanner 20 is located inside the base 10, the scanning end of the scanner 20 faces the bottom surface of the receiving groove 13, and the side with the indicator 21 faces away from the bottom surface of the receiving groove 13, so that the operator can observe the current scanning mode of the scanner 20 in a timely manner.
[0046] Preferably, when the scanner 20 is located inside the base 10, a portion of the scanner 20 is located inside the receiving groove 13, and the other portion is higher than the outer periphery of the groove opening of the receiving groove 13, so as to facilitate the use of the scanner 20.
[0047] It should be noted that in this application, the scanner 20 is also equipped with three different colored indicator lights 21, each corresponding to one of the three scanning modes. Thus, when the scanner 20 switches to the corresponding scanning mode, the corresponding colored indicator light 21 will illuminate, allowing staff to directly perform the appropriate operation based on the color of the indicator light 21, thereby improving work efficiency.
[0048] It should be noted that, in this application, when the indicator 21 is red, it represents the button scanning mode, in which the operator operates the scanner 20 by touching the button; when the indicator 21 is green, it represents the induction scanning mode, in which the scanner 20 starts scanning when it senses the corresponding barcode, and stops scanning when it does not sense the corresponding barcode; when the indicator 21 is blue, it represents the continuous scanning mode, in which the scanner 20 is always scanning.
[0049] It should be noted that in this application, the scanning end has supplementary lights and positioning lights on both sides, which makes it easier for staff to accurately locate the corresponding barcode and clearly identify the barcode information in different lighting environments.
[0050] It should be noted that in this application, when the scanner 20 needs charging, at least a portion of the scanner 20 can be placed in the receiving slot 13. The bottom of the receiving slot 13 is provided with a first electrical connection terminal 131, and the side of the scanner 20 facing the receiving slot 13 has a second electrical connection terminal 22. The base 10 replenishes the power of the scanner 20 through the first electrical connection terminal 131 and the second electrical connection terminal 22. In this way, simply placing the scanner 20 in the receiving slot 13 of the base 10 can complete the power replenishment without the need for other charging equipment, realizing the cooperation of multiple functions between the base 10 and the receiving slot 13, which is convenient and quick.
[0051] Furthermore, the base 10 has a third electrical connection terminal 14, which is used for electrical connection with an external power supply device. In this way, the external power supply device provides power to the base 10 on the one hand, so that the base 10 can process the information collected by the first sensor 11 and the second sensor 12, and on the other hand, it replenishes the power of the scanner 20 through the base 10.
[0052] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0053] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the invention. It should also be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn to actual scale. Techniques, methods, and devices known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and devices should be considered part of the specification. In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters in the following figures denote similar items; therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0054] For ease of description, spatial relative terms such as "above," "on top of," "on the upper surface of," "above," etc., are used herein to describe the spatial positional relationship of a device or feature as shown in the figures to other devices or features. It should be understood that spatial relative terms are intended to encompass different orientations in use or operation beyond the orientation of the device as described in the figures. For example, if the device in the figures were inverted, a device described as "above" or "on top of" other devices or structures would subsequently be positioned as "below" or "under" other devices or structures. Thus, the exemplary term "above" can include both "above" and "below." The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used herein will be interpreted accordingly.
[0055] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0056] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in sequences other than those illustrated or described herein.
[0057] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for switching scanning modes in a ring-type scanning device, characterized in that, The ring-type scanning device includes a base (10), on which a first sensor (11) and a second sensor (12) are spaced apart. The ring-type scanning device is pre-set with a first scanning mode, a second scanning mode, a third scanning mode, ..., the (N-1)th scanning mode, the Nth scanning mode, and the N+1th scanning mode to be executed sequentially. The switching method includes: Obtain the trigger command from the first sensor (11); Obtain the trigger command from the second sensor (12); Determine the acquisition order of the trigger command of the first sensor (11) and the trigger command of the second sensor (12); The ring-type scanning device determines, based on the acquisition order, whether to execute the (N-1)th scanning mode from the current Nth scanning mode or to execute the (N+1)th scanning mode from the current Nth scanning mode. The effective acquisition distance H1 of the first sensor (11) satisfies: 0 < H1 ≤ 30 cm; The effective acquisition distance H2 of the second sensor (12) satisfies: 0 < H2 ≤ 30 cm; The switching method further includes a judgment step before determining the acquisition order of the trigger command of the first sensor (11) and the trigger command of the second sensor (12). The determination steps include: Calculate the time difference between the acquisition time of the trigger command of the first sensor (11) and the acquisition time of the trigger command of the second sensor (12); The decision on whether to continue executing the step of determining the acquisition order is based on the relationship between the time difference and the preset effective time difference. In the determination step, the preset effective time difference ranges from 300ms to 2000ms. If the time difference falls within the range of the preset effective time difference, then the step of determining the acquisition order continues; If the time difference does not fall within the range of the preset effective time difference, the scanning mode will not be switched.
2. The switching method according to claim 1, characterized in that, The switching method further includes: The first scanning mode is the button scanning mode; The second scanning mode is the inductive scanning mode; The third scanning mode is a continuous scanning mode.
3. The switching method according to claim 1, characterized in that, The switching method further includes an information transmission step, which includes: The base (10) of the ring-type scanning device communicates with the scanner (20) of the ring-type scanning device via Bluetooth or RFID communication tools.
4. The switching method according to any one of claims 1 to 3, characterized in that, The switching method also includes a step of scanning switching prompts. The scan switching prompt step includes: When the N-1 scan mode is executed from the current N-1 scan mode or the N+1 scan mode is executed from the current N-1 scan mode, the prompting device (21) corresponding to the scan mode switched to issues a prompt message.
5. The switching method according to claim 4, characterized in that, The scan switching prompt step also includes: The prompting stops after the preset duration is displayed on the prompting device (21).
6. A ring-type scanning device, characterized in that, The ring-type scanning device performs scanning mode switching according to the scanning mode switching method according to any one of claims 1 to 5, wherein the ring-type scanning device comprises: A base (10) is provided with a first sensor (11) and a second sensor (12) spaced apart on the base (10). A judgment module is also provided on the base (10). The judgment module is used to determine the acquisition order of the trigger command of the first sensor (11) and the trigger command of the second sensor (12). A scanner (20) is communicatively connected to the base (10) so that the base (10) sends the acquisition sequence to the scanner (20), and the scanner (20) switches scanning modes according to the acquisition sequence.
7. The ring-type scanning device according to claim 6, characterized in that, The base (10) has a receiving groove (13) for accommodating the scanner (20), and the first sensor (11) and the second sensor (12) are respectively disposed at the outer periphery of the groove opening of the receiving groove (13).
Citation Information
Patent Citations
Bar-code scanner device and mode switching method thereof
CN103049724A
Multi-line bar code wired scanner
CN106096478A
Novel kettle based on gesture control and gesture control method thereof
CN111096667A