CN111951500B - Scanning method and device - Google Patents

Scanning method and device Download PDF

Info

Publication number
CN111951500B
CN111951500B CN202010827348.3A CN202010827348A CN111951500B CN 111951500 B CN111951500 B CN 111951500B CN 202010827348 A CN202010827348 A CN 202010827348A CN 111951500 B CN111951500 B CN 111951500B
Authority
CN
China
Prior art keywords
scanning
service
function
scan
present
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010827348.3A
Other languages
Chinese (zh)
Other versions
CN111951500A (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.)
Shanghai Sunmi Technology Group Co Ltd
Shenzhen Michelangelo Technology Co Ltd
Original Assignee
Shanghai Sunmi Technology Group Co Ltd
Shenzhen Michelangelo 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 Shanghai Sunmi Technology Group Co Ltd, Shenzhen Michelangelo Technology Co Ltd filed Critical Shanghai Sunmi Technology Group Co Ltd
Priority to CN202010827348.3A priority Critical patent/CN111951500B/en
Publication of CN111951500A publication Critical patent/CN111951500A/en
Application granted granted Critical
Publication of CN111951500B publication Critical patent/CN111951500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • G07G1/0045Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader
    • G07G1/0081Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader the reader being a portable scanner or data reader

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a scanning method, comprising the steps of starting scanning service and executing scanning function after the scanning service is started, wherein the step of starting the scanning service comprises the following steps: monitoring a starting broadcast to judge whether the system is started, if so, entering the next step, and if not, ending; judging whether the scanning service needs to be started, if so, starting the scanning service, and if not, ending the scanning service; the step of starting the scanning service comprises the steps of creating a floating button on a desktop of the system; the step of performing the scanning function comprises: and judging whether the suspension button is triggered, if so, executing a scanning function, and otherwise, ending.

Description

Scanning method and device
Technical Field
The invention relates to a scanning method which can be suitable for various scenes and is convenient to use and simple to operate.
Background
With the widespread use of mobile devices, scanning payment is almost an essential part of life, and some electronic devices may not be equipped with a dedicated scanning device due to considerations such as production cost and portability.
Therefore, there is a need for a scanning method that can be adapted to various electronic devices and various scenes.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a scanning method which can be applied to various scenes and is convenient to use and simple to operate.
The technical solution adopted by the present invention to solve the above technical problems is to provide a scanning method, which includes starting a scanning service and executing a scanning function after the scanning service is started, wherein the step of starting the scanning service includes: monitoring a starting broadcast to judge whether the system is started, if so, entering the next step, and if not, ending; judging whether the scanning service needs to be started, if so, starting the scanning service, and if not, ending the scanning service; wherein the step of initiating the scanning service comprises creating a hover button on a desktop of the system; the step of performing the scanning function comprises: and judging whether the suspension button is triggered, if so, executing the scanning function, and otherwise, ending the scanning.
In an embodiment of the present invention, the step of determining whether the scanning service needs to be started includes: detecting a state of a scanning service switch; and judging whether the scanning service needs to be started or not according to the state of the scanning service switch.
In an embodiment of the present invention, the state of the scan service switch is set through a scan service setting interface.
In an embodiment of the present invention, the scan service setting interface is further configured to control the scan service to be turned on and off.
In an embodiment of the present invention, the step of starting the scanning service further includes starting a hover button listening service.
In an embodiment of the present invention, the hover button listening service determines whether the hover button is triggered.
In an embodiment of the present invention, after the scanning function is executed, it is further determined whether the scanning is successful, if so, a scanning result is returned, otherwise, the scanning function is executed again.
In an embodiment of the present invention, the step of re-executing the scanning function after determining that the scanning is unsuccessful comprises: and judging whether the scanning is overtime or not, if so, ending, and otherwise, executing the scanning function again.
In an embodiment of the present invention, the scan timeout is determined and then a scan failure message is prompted.
In an embodiment of the present invention, the method for returning the scanning result after determining that the scanning is successful includes: returning the scanning result to the cursor position of an edit box of the system; or returning the scanning result to a clipboard of the system; or returning the scanning result to the system broadcast of the system; or returning the scanning result to a simulation keyboard of an edit box of the system.
In an embodiment of the present invention, the scanning result information is prompted after the scanning is determined to be successful.
Another aspect of the present invention provides a scanning apparatus comprising: a memory for storing instructions executable by the processor; and a processor for executing the instructions to implement the scanning method as described above.
Another aspect of the invention provides a computer readable medium having stored thereon computer program code which, when executed by a processor, implements a scanning method as described above.
Due to the adoption of the technical scheme, compared with the prior art, the invention has the following remarkable advantages:
the scanning method comprises the steps of starting scanning service and executing a scanning function after the scanning service is started, judging whether the scanning service needs to be started or not after the system is started, and correspondingly creating a floating button on a desktop of the system when the scanning service needs to be started, so that the scanning function can be executed directly according to whether the floating button is triggered or not. The scanning method not only saves system resources, but also can be suitable for various scenes, and is convenient to use and simple to operate.
Drawings
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below, wherein:
fig. 1 is a flowchart of a scanning method for initiating a scanning service according to an embodiment of the present invention;
FIG. 2 is a flow chart of a scanning method according to an embodiment of the present invention;
FIG. 3 is a diagram of a hover button for a scanning method in accordance with an embodiment of the present invention;
FIG. 4 is a diagram of a scan service setup interface of a scanning method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a scan function performed by a scanning method according to an embodiment of the present invention;
fig. 6 is a flowchart of determining whether scanning is successful according to a scanning method of an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating scan result information prompting a scanning method according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a cursor position of an edit box of the system for returning a scan result to a scanning method according to an embodiment of the present invention;
fig. 9 is an architecture diagram of a scanning apparatus according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only examples or embodiments of the application, from which the application can also be applied to other similar scenarios without inventive effort for a person skilled in the art. Unless otherwise apparent from the context, or otherwise indicated, like reference numbers in the figures refer to the same structure or operation.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described herein, and thus the present invention is not limited to the specific embodiments disclosed below.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise. Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description. Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate. In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In describing the embodiments of the present invention in detail, the cross-sectional views illustrating the structure of the device are not enlarged partially in a general scale for convenience of illustration, and the schematic drawings are only examples, which should not limit the scope of the present invention. In addition, the three-dimensional dimensions of length, width and depth should be included in the actual fabrication.
In the description of the present application, it is to be understood that the orientation or positional relationship indicated by the directional terms such as "front, rear, upper, lower, left, right", "lateral, vertical, horizontal" and "top, bottom", etc., are generally based on the orientation or positional relationship shown in the drawings, and are used for convenience of description and simplicity of description only, and in the case of not making a reverse description, these directional terms do not indicate and imply that the device or element being referred to must have a particular orientation or be constructed and operated in a particular orientation, and therefore, should not be considered as limiting the scope of the present application; the terms "inner and outer" refer to the inner and outer relative to the profile of the respective component itself.
For convenience in description, spatial relational terms such as "below," "beneath," "below," "under," "over," "upper," and the like may be used herein to describe one element or feature's relationship to another element or feature as illustrated in the figures. It will be understood that these terms of spatial relationship are intended to encompass other orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the exemplary words "below" and "beneath" can encompass both an orientation of up and down. The device may have other orientations (rotated 90 degrees or at other orientations) and the spatial relationship descriptors used herein should be interpreted accordingly. Further, it will also be understood that when a layer is referred to as being "between" two layers, it can be the only layer between the two layers, or one or more intervening layers may also be present.
In the context of this application, a structure described as having a first feature "on" a second feature may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features are formed in between the first and second features, such that the first and second features may not be in direct contact.
It will be understood that when an element is referred to as being "on," "connected to," "coupled to" or "contacting" another element, it can be directly on, connected or coupled to, or contacting the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly on," "directly connected to," "directly coupled to" or "directly contacting" another element, there are no intervening elements present.
It should be noted that the terms "first", "second", and the like are used to define the components, and are only used for convenience of distinguishing the corresponding components, and the terms have no special meanings unless otherwise stated, and therefore, the scope of protection of the present application is not to be construed as being limited. Further, although the terms used in the present application are selected from publicly known and used terms, some of the terms mentioned in the specification of the present application may be selected by the applicant at his or her discretion, the detailed meanings of which are described in relevant parts of the description herein. Further, it is required that the present application is understood not only by the actual terms used but also by the meaning of each term lying within.
The following embodiments of the present invention provide a scanning method, which can be applied to various scenes, and is convenient to use and simple to operate.
The scanning method comprises the steps of starting scanning service and executing scanning function after the scanning service is started, wherein the step of starting the scanning service comprises the following steps: monitoring a starting broadcast to judge whether the system is started, if so, entering the next step, and if not, ending; and judging whether the scanning service needs to be started, if so, starting the scanning service, and if not, ending the scanning service. Wherein the step of initiating the scanning service comprises creating a hover button on a desktop of the system. The step of performing the scanning function comprises: and judging whether the suspension button is triggered, if so, executing a scanning function, and otherwise, ending.
Fig. 1 is a flowchart of initiating a scanning service of a scanning method according to an embodiment of the present invention. Fig. 2 is a flowchart of a scanning method according to an embodiment of the present invention. The scanning method is described below with reference to fig. 1 and 2.
It is to be understood that the following description is merely exemplary, and that variations may be made by those skilled in the art without departing from the spirit of the invention.
The scanning method of the present invention includes initiating a scanning service (fig. 1) and performing a scanning function (fig. 2) after initiating the scanning service.
The process of starting the scanning service of the scanning method of the present invention is described below with reference to fig. 1. Referring to fig. 1, the step of initiating the scanning service includes:
step 110, monitor the boot broadcast to determine whether the system is booted.
And monitoring the starting broadcast to judge whether the system is started, if so, entering the step 120, and if not, ending the process.
The starting broadcast is sent out when the electronic equipment is started, and whether the system is started successfully or not can be judged by monitoring the starting broadcast. For example, the Android system (Android) sends out a start completion broadcast after the start is completed, and all receivers (broadcastreceivers) registered to receive the start completion broadcast receive the broadcast.
Step 120, determine whether to start the scanning service.
After the system is powered on in step 110, it is determined whether the scanning service needs to be started. If the scanning service needs to be started, step 130 is entered, otherwise, the process is ended. Wherein the step of initiating the scanning service may further comprise creating a hover button on a desktop of the system.
Fig. 3 is a schematic diagram of a hover button for a scanning method according to an embodiment of the invention. Referring to fig. 3, a hover button 301 may be created on the desktop of the system, which is located at the uppermost layer of the system and thus may hover over any editing interface.
In some examples, the hover button 301 is a draggable hover button.
It should be understood that a System may refer to an Operating System (OS) of an electronic device. Operating systems include, but are not limited to, Windows, MacOS, Linux, iOS, Android, and the like.
The operating system is a program that manages the hardware and software resources of the electronic device. The operating system needs to handle basic transactions such as managing and configuring memory, prioritizing system resources, controlling input devices and output devices, operating the network, and managing the file system. The operating system may also provide an operator interface for a user to interact with the system.
Preferably, in the following embodiments of the present invention, the operating system is an android system, but the present invention is not limited thereto.
In an embodiment of the present invention, the step of determining whether the scanning service needs to be started in step 120 further includes detecting a state of a scanning service switch, and determining whether the scanning service needs to be started according to the state of the scanning service switch.
Illustratively, when the state of the scanning service switch is on, it is determined that the scanning service needs to be started. And when the state of the scanning service switch is off, judging that the scanning service is not required to be started.
It is understood that the scanning service switch may be one or more control parameters of the system background, but the application is not limited thereto.
In some examples, the state of the scan service switch may be set through a scan service setup interface.
Fig. 4 is a schematic diagram of a scan service setting interface of a scanning method according to an embodiment of the present invention. Referring to fig. 4, the user can effect setting of the status of the scanning service switch by selecting the "START FLOATING BUTTON" or "STOP FLOATING BUTTON" options on the scanning service setting interface.
For example, when the user clicks "START FLOATING BUTTON", the state of the scan service switch may be set to "on"; when the user clicks "STOP FLOATING BUTTON", the state of the scanning service switch is set to "off".
It should be noted that the state of the scan service switch may affect the determination of whether the scan service needs to be initiated each time the system is powered on.
The user can set the state of the scan service switch through the scan service setting interface. Therefore, when the state of the scanning service switch is set to be 'off', the scanning service does not need to be started after the system is started, so that the efficiency of the system is improved, and the resources of the system are saved.
Step 130, a scanning service is initiated.
When it is determined in step 120 that the scanning service needs to be started after the power-on, the scanning service is started.
In some embodiments, the step of initiating the scanning service further comprises initiating a hover button listening service.
Illustratively, the scanning service may include a hover button listening service that is initiated simultaneously with the initiation of the scanning service.
In an embodiment of the present invention, the scan service setting interface may be further configured to control the scan service to be turned on and off.
With continued reference to FIG. 4, the user may also control the opening and closing of the scanning service by selecting the "START FLOATING BUTTON" or "STOP FLOATING BUTTON" options on the scanning service settings interface.
For example, when a user clicks "START FLOATING BUTTON", the system will turn on the scanning service; when the user clicks "STOP FLOATING BUTTON", the system will shut down the scanning service.
In each startup period, no matter whether the system starts the scanning service or not in the startup process, the user can manually start or close the scanning service through the scanning service setting interface after the system is started, so that the resources of the system are saved, and the efficiency of the system is improved.
The process of performing the scanning function of the scanning method of the present invention will be described with reference to fig. 2. Referring to fig. 2, the step of performing the scan function includes:
step 210, determine whether the hover button is triggered.
And judging whether a floating button (such as the floating button 301) is triggered, if so, entering the step 220, and if not, ending.
Preferably, whether the hover button (e.g., hover button 301) is activated may be determined by the hover button listening service.
It should be understood that "triggering" may refer to a user's operation of clicking a hover button, but the application is not so limited.
Step 220, perform a scan function.
When it is determined in step 210 that the hover button (e.g., hover button 301) is triggered, the scan function is performed.
Fig. 5 is a diagram illustrating a scanning function performed by a scanning method according to an embodiment of the invention. Referring to fig. 5, performing the scan function may include starting the camera while creating a floating scan window 501 on the system desktop to display the previewed scan content.
It is to be understood that the camera may refer to an internal camera of the electronic device, an external camera connected to the electronic device, or a combination of the two, and the present invention is not limited thereto.
In an embodiment of the present invention, after the scanning function is executed, it may further include determining whether the scanning is successful, if so, returning a scanning result, otherwise, executing the scanning function again.
Fig. 6 is a flowchart of determining whether scanning is successful according to a scanning method in an embodiment of the present invention. Referring to fig. 6, after the scanning function is executed in step 610, the determination of step 620 is further included to determine whether the scanning is successful.
When the scanning is successful as determined in step 620, step 630 is executed to return the scanning result. When the scanning is not successful as determined in step 620, the scanning execution function of step 610 is re-entered.
In some embodiments, the step of re-executing the scanning function after determining that the scanning is unsuccessful may further include determining whether the scanning is overtime, if so, ending, otherwise, re-executing the scanning function.
With continued reference to fig. 6, when the scanning is determined to be unsuccessful in step 620, the determination of step 640 as to whether the scanning times out needs to be performed. When it is determined in step 640 that the scan has not timed out, the scan execution function in step 610 is re-entered. When the scan timeout is determined in step 640, the scan execution function in step 610 is no longer entered again, and the process ends.
In an optimized embodiment of the present invention, the scan timeout time may be set to 5 seconds(s), but the present application is not limited thereto. By setting the appropriate scan timeout time, system resources can be saved. Preferably, when the scanning time is judged to be overtime, the scanning failure information can be prompted.
In an embodiment of the present invention, after the scanning is determined to be successful, scanning result information may be further prompted.
Fig. 7 is a schematic diagram of a scanning result information prompting method according to an embodiment of the present invention. Referring to fig. 7, a prompt box 701 of scan result information may also be displayed after the scan is determined to be successful.
It should be appreciated that in some examples, the user may also select to turn on or off the function that prompts the scan result information after determining that the scan was successful.
In an embodiment of the present invention, the method for returning the scanning result after determining that the scanning is successful includes: returning the scanning result to the cursor position of the edit box of the system; or returning the scanning result to a clipboard of the system; or returning the scanning result to the system broadcast of the system; or a simulated keyboard that returns the scan results to the edit box of the system.
Fig. 8 is a schematic diagram of a cursor position of an edit box of a system for returning a scan result to a scanning method according to an embodiment of the present invention. Referring to fig. 6 and 8, in some examples, when step 630 returns a scan result, the scan result may be output to a cursor position of an edit box 801 of the system.
For example, a search operation may be performed on the current interface to determine whether an edit box exists, and if so, the scan result is directly output to the cursor position of the edit box, otherwise, no output processing is performed.
In other examples, the scan results may also be saved to a clipboard of the system and a prompt pops up informing the user that the scan results have been saved to the clipboard. Or, the scanning result can be broadcasted according to the broadcasting mode in the system setting, and the corresponding broadcast receiver can process the scanning result data by monitoring the broadcasting. Still alternatively, the scan results may be output to a simulated keyboard of an edit box of the system.
It will be appreciated that the simulated keyboard output to the edit box of the system may refer to opening the system simulated keyboard and then outputting the scan results step by step into the edit box of the system in a manner similar to keyboard entry.
The scanning method of the invention creates the suspension button on the desktop of the system, and executes the scanning function by clicking the trigger suspension button by the user, thereby being applicable to a plurality of use scenes. Meanwhile, the scanning method is suitable for any electronic equipment with a built-in camera and an external camera.
On the other hand, the user can customize the returning mode of the scanning result, and the scanning result is directly output to the cursor position of the edit box, the clipboard, the system broadcast or the simulation keyboard of the edit box according to the requirement, so that the operation efficiency is improved, and the time of the user is saved.
The flowcharts shown in fig. 1, 2 and 6 are used herein to illustrate the steps/operations performed by the scanning method according to embodiments of the present application. It should be understood that these steps/operations are not necessarily performed in the exact order in which they are performed. Rather, various steps/operations may be processed in reverse order or concurrently. Meanwhile, other steps/operations may be added to or removed from these processes.
The priority of the specific operation steps of the scanning method can be appropriately adjusted according to the actual needs by those skilled in the art, and the present invention is not limited thereto.
The above embodiment of the present invention provides a scanning method, which can be applied to various scenes, and is convenient to use and simple to operate.
Another aspect of the present invention is to provide a scanning device, which is applicable to various scenes, and is convenient to use and simple to operate.
Fig. 9 is an architecture diagram of a scanning apparatus according to an embodiment of the present invention. Referring to fig. 9, the scanning device 900 includes a memory 910 and a processor 920.
The memory 910 is used to store instructions that are executable by the processor 920. The processor 920 is configured to execute instructions to implement the scanning method described above.
It will be appreciated that the Memory may be internal Memory (RAM), external Memory, or a combination of both. The memory may be a semiconductor memory unit, including a Random Access Memory (RAM), a Read Only Memory (ROM), and a CACHE memory (CACHE). The external memory may include, but is not limited to, a hard disk, a floppy disk, an optical disk, a U disk, and the like.
It should be understood that the memory 910 may be a unit in the scanning device 900, or may be a cloud storage device connected to the scanning device 900 through a network. The present invention is not limited to the specific form and arrangement of the memory 910. The network may be any known wired network (e.g., ethernet) or wireless network, and may be a local area network or a wide area network, which is not expanded herein.
Similarly, the processor 920 may be a unit of the scanning device 900, or may be a cloud computing device connected to the scanning device 900 via a network. The present invention is not limited to the specific form or arrangement of the processor 920.
Those skilled in the art can adjust the specific shape and arrangement of the memory 910 and the processor 920 according to actual needs, and the invention is not limited thereto.
In some embodiments of the present invention, the scanning device 900 further includes a communication port 930, an input/output device 940, and an internal communication bus 950.
The communication port 930 may be responsible for data communication between the scanning device 900 and external devices (not shown). Input/output device 940 may support input/output data flow between scanning device 900 and other components. By way of example, the input/output device 940 may include one or more of the following components: input devices such as a keyboard, mouse, camera, display, scanner, touch screen, handwriting input pad, and microphone, or any combination thereof. The input/output device 940 may input various numerical data or various non-numerical data, such as graphics, images, voice, and the like, to the scanner device 900. The internal communication bus 950 may enable data communication between various components in the scanning device 900.
It should be noted that the scanning method of the present invention can be implemented in, for example, the scanning apparatus 900 shown in fig. 9 or a variation thereof, but the present invention is not limited thereto.
It is to be appreciated that a scanning method of the present application is not limited to being implemented by a single scanning device (e.g., scanning device 900), but can be implemented cooperatively by multiple scanning devices that are online. The online scanning device may be connected and communicate via a local area network or a wide area network.
Further implementation details of the scanning device of the present embodiment may refer to the embodiments described in fig. 1 to 8, and are not further expanded herein.
The above embodiments of the present invention provide a scanning device, which can be applied to various scenes, and is convenient to use and simple to operate.
Another aspect of the present invention provides a computer readable medium having stored thereon computer program code, which when executed by a processor implements the above-described scanning method of the present invention.
In an embodiment of the invention, the computer program code may implement the scanning method described above when executed by the processor 920 in the scanning device 900 shown in fig. 9.
For example, a scanning method of the present application can be implemented as a program of the scanning method, stored in the memory 910, and loaded into the processor 920 to be executed, so as to implement the scanning method of the present application.
When implemented as a computer program, a scanning method of the present application may also be stored as an article of manufacture in a computer readable medium having computer program code embodied therein. For example, computer-readable storage media can include but are not limited to magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips), optical disks (e.g., Compact Disk (CD), Digital Versatile Disk (DVD)), smart cards, and flash memory devices (e.g., electrically Erasable Programmable Read Only Memory (EPROM), card, stick, key drive). In addition, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" can include, without being limited to, wireless channels and various other media (and/or storage media) capable of storing, containing, and/or carrying code and/or instructions and/or data.
It should be noted that the number and size of the components are not limited in the present invention, and as in another embodiment of the present invention, the parallel mechanism of the present invention comprises more than two sets of the first connecting member, the second connecting member and the telescopic rod, any selection and adjustment of the number and size of the components to achieve the effect of free rotation and meet the actual production requirement is within the spirit and scope of the present invention.
It is to be understood that while certain presently contemplated embodiments of the invention have been discussed in the foregoing disclosure by way of illustration, and not by way of limitation, such details are provided for purposes of illustration only and the appended claims are intended to cover all such modifications and equivalent arrangements as fall within the true spirit and scope of the embodiments of the disclosure.
It should be understood that the above-described embodiments are illustrative only. The embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, and/or other electronic units designed to perform the functions described herein, or a combination thereof.
Having thus described the basic concept, it will be apparent to those skilled in the art that the foregoing disclosure is by way of example only, and is not intended to limit the present application. Various modifications, improvements and adaptations to the present application may occur to those skilled in the art, although not explicitly described herein. Such modifications, improvements and adaptations are proposed in the present application and thus fall within the spirit and scope of the exemplary embodiments of the present application.
Also, this application uses specific language to describe embodiments of the application. Reference throughout this specification to "one embodiment," "an embodiment," and/or "some embodiments" means that a particular feature, structure, or characteristic described in connection with at least one embodiment of the present application is included in at least one embodiment of the present application. Therefore, it is emphasized and should be appreciated that two or more references to "an embodiment" or "one embodiment" or "an alternative embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, some features, structures, or characteristics of one or more embodiments of the present application may be combined as appropriate.
Computer program code required for the operation of various portions of the present application may be written in any one or more programming languages, including an object oriented programming language such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C + +, C #, VB.NET, Python, and the like, a conventional programming language such as C, Visual Basic, Fortran 2003, Perl, COBOL 2002, PHP, ABAP, a dynamic programming language such as Python, Ruby, and Groovy, or other programming languages, and the like. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any network format, such as a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet), or in a cloud computing environment, or as a service, such as a software as a service (SaaS).
Additionally, the order in which elements and sequences of the processes described herein are processed, the use of alphanumeric characters, or the use of other designations, is not intended to limit the order of the processes and methods described herein, unless explicitly claimed. While various presently contemplated embodiments of the invention have been discussed in the foregoing disclosure by way of example, it is to be understood that such detail is solely for that purpose and that the appended claims are not limited to the disclosed embodiments, but, on the contrary, are intended to cover all modifications and equivalent arrangements that are within the spirit and scope of the embodiments herein. For example, although the system components described above may be implemented by hardware devices, they may also be implemented by software-only solutions, such as installing the described system on an existing server or mobile device.
Similarly, it should be noted that in the preceding description of embodiments of the application, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure aiding in the understanding of one or more of the embodiments. This method of disclosure, however, is not intended to require more features than are expressly recited in the claims. Indeed, the embodiments may be characterized as having less than all of the features of a single embodiment disclosed above.
Numerals describing the number of components, attributes, etc. are used in some embodiments, it being understood that such numerals used in the description of the embodiments are modified in some instances by the use of the modifier "about", "approximately" or "substantially". Unless otherwise indicated, "about", "approximately" or "substantially" indicates that the number allows a variation of ± 20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximations that may vary depending upon the desired properties of the individual embodiments. In some embodiments, the numerical parameter should take into account the specified significant digits and employ a general digit preserving approach. Notwithstanding that the numerical ranges and parameters setting forth the broad scope of the range are approximations, in the specific examples, such numerical values are set forth as precisely as possible within the scope of the application.
Although the present invention has been described with reference to the present specific embodiments, it will be appreciated by those skilled in the art that the above embodiments are merely illustrative of the present invention, and various equivalent changes and substitutions may be made without departing from the spirit of the invention, and therefore, it is intended that all changes and modifications to the above embodiments within the spirit and scope of the present invention be covered by the appended claims.

Claims (13)

1. A scanning method for an electronic device not equipped with a dedicated scanning payment device, comprising initiating a scanning service and performing a scanning function after initiating the scanning service, the step of initiating the scanning service comprising:
monitoring a starting broadcast to judge whether the system is started, if so, entering the next step, and if not, ending; and
judging whether the scanning service needs to be started, if so, starting the scanning service, and if not, ending the scanning service;
wherein the step of initiating the scanning service comprises creating a hover button on a desktop of the system;
the step of performing the scanning function comprises:
judging whether the suspension button is triggered, if so, executing the scanning function, and if not, finishing the scanning;
and executing the scanning function comprises starting a camera, and simultaneously creating a suspended scanning window on a desktop of the system to display the previewed scanning content, wherein the camera is an internal camera of the electronic equipment, an external camera connected with the electronic equipment or a combination of the internal camera and the external camera.
2. The scanning method of claim 1, wherein the step of determining whether the scanning service needs to be initiated comprises:
detecting a state of a scanning service switch; and
and judging whether the scanning service needs to be started or not according to the state of the scanning service switch.
3. The scanning method according to claim 2, characterized in that the state of the scanning service switch is set through a scanning service setting interface.
4. The scanning method of claim 3 wherein the scanning service setup interface is further configured to control the scanning service to be turned on and off.
5. The scanning method of claim 1 wherein the step of initiating the scanning service further comprises initiating a hover button listening service.
6. The scanning method according to claim 5, wherein the hover button listening service determines whether the hover button is triggered.
7. The method of claim 1, wherein the performing the scan function further comprises determining whether the scan is successful, if so, returning a scan result, otherwise, re-performing the scan function.
8. The scanning method of claim 7, wherein the step of re-executing the scanning function after determining that the scanning is unsuccessful comprises:
and judging whether the scanning is overtime or not, if so, ending, and otherwise, executing the scanning function again.
9. The scanning method according to claim 8, characterized in that, the scanning overtime is judged and then scanning failure information is prompted.
10. The scanning method according to claim 7, wherein the method for returning the scanning result after the scanning is successfully judged comprises:
returning the scanning result to the cursor position of an edit box of the system; or
Returning the scanning result to a clipboard of the system; or
Returning the scanning result to the system broadcast of the system; or
And returning the scanning result to a simulation keyboard of an edit box of the system.
11. The scanning method according to claim 7, wherein the scanning result information is prompted after the scanning is judged to be successful.
12. A scanning device, comprising:
a memory for storing instructions executable by the processor; and
a processor for executing the instructions to implement the scanning method of any one of claims 1-11.
13. A computer-readable medium having stored thereon computer program code which, when executed by a processor, implements a scanning method according to any one of claims 1-11.
CN202010827348.3A 2020-08-17 2020-08-17 Scanning method and device Active CN111951500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010827348.3A CN111951500B (en) 2020-08-17 2020-08-17 Scanning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010827348.3A CN111951500B (en) 2020-08-17 2020-08-17 Scanning method and device

Publications (2)

Publication Number Publication Date
CN111951500A CN111951500A (en) 2020-11-17
CN111951500B true CN111951500B (en) 2022-03-25

Family

ID=73343529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010827348.3A Active CN111951500B (en) 2020-08-17 2020-08-17 Scanning method and device

Country Status (1)

Country Link
CN (1) CN111951500B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836955A (en) * 2021-08-20 2021-12-24 青岛中科英泰商用系统股份有限公司 Output configuration method and system for scanning gun, electronic equipment and storage medium
CN113852542B (en) * 2021-09-26 2023-04-07 湖南于一科技有限公司 One-key group sending method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677110A (en) * 2012-09-25 2014-03-26 联想(北京)有限公司 Electronic device and scanning method of electronic device
CN105094236A (en) * 2015-09-24 2015-11-25 王欢 Wireless computer
CN105751710A (en) * 2016-02-23 2016-07-13 昇捷丰电子(厦门)有限公司 Handheld inkjet printer with gesture scanning and identifying function and method for realizing the function
CN106951299A (en) * 2017-04-25 2017-07-14 北京小米移动软件有限公司 The operating method and device of application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677110A (en) * 2012-09-25 2014-03-26 联想(北京)有限公司 Electronic device and scanning method of electronic device
CN105094236A (en) * 2015-09-24 2015-11-25 王欢 Wireless computer
CN105751710A (en) * 2016-02-23 2016-07-13 昇捷丰电子(厦门)有限公司 Handheld inkjet printer with gesture scanning and identifying function and method for realizing the function
CN106951299A (en) * 2017-04-25 2017-07-14 北京小米移动软件有限公司 The operating method and device of application program

Also Published As

Publication number Publication date
CN111951500A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN105204745B (en) Screen capturing method and device for mobile terminal
US10275586B2 (en) Method for power management using fingerprint identification in mobile terminal and mobile terminal
KR102444061B1 (en) Electronic device and method for recognizing voice of speech
CN111951500B (en) Scanning method and device
CN107357540B (en) Display direction adjusting method and mobile terminal
KR102309175B1 (en) Scrapped Information Providing Method and Apparatus
KR102080183B1 (en) Electronic device and method for unlocking in the electronic device
WO2020088167A1 (en) Application activation method, device, terminal and storage medium
US9794380B2 (en) Method for execution control using cover and electronic device supporting the same
US9098695B2 (en) Secure note system for computing device lock screen
RU2521283C2 (en) Presenting dynamic grids
US9423908B2 (en) Distinguishing between touch gestures and handwriting
KR20190021141A (en) Electronic device for controlling multi-window and method for operating thereof
US20150331557A1 (en) Selector to coordinate experiences between related applications
CN106383638B (en) Payment mode display method and mobile terminal
CN109726539B (en) Application starting method, device, terminal and storage medium
US10747387B2 (en) Method, apparatus and user terminal for displaying and controlling input box
US20190369825A1 (en) Electronic device and method for providing information related to image to application through input unit
US20150089449A1 (en) Electronic device and method for unlocking the electronic device
EP2703981A2 (en) Mobile apparatus having hand writing function using multi-touch and control method thereof
US20150077371A1 (en) Electronic device and method for unlocking the electronic device
US9639749B2 (en) Apparatus and method for displaying user input applying texture of background image
US9424416B1 (en) Accessing applications from secured states
US20180011772A1 (en) Peripheral device operation
WO2020051884A1 (en) Display control method and related product

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