CN110110567A - Control system and method based on scanning device - Google Patents

Control system and method based on scanning device Download PDF

Info

Publication number
CN110110567A
CN110110567A CN201910407410.0A CN201910407410A CN110110567A CN 110110567 A CN110110567 A CN 110110567A CN 201910407410 A CN201910407410 A CN 201910407410A CN 110110567 A CN110110567 A CN 110110567A
Authority
CN
China
Prior art keywords
module
mobile terminal
switch module
power supply
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910407410.0A
Other languages
Chinese (zh)
Other versions
CN110110567B (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.)
Xun Radium Intelligent (guangzhou) Science And Technology Co Ltd
Original Assignee
Xun Radium Intelligent (guangzhou) Science And 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 Xun Radium Intelligent (guangzhou) Science And Technology Co Ltd filed Critical Xun Radium Intelligent (guangzhou) Science And Technology Co Ltd
Priority to CN201910407410.0A priority Critical patent/CN110110567B/en
Publication of CN110110567A publication Critical patent/CN110110567A/en
Application granted granted Critical
Publication of CN110110567B publication Critical patent/CN110110567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10158Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves methods and means used by the interrogation device for reliably powering the wireless record carriers using an electromagnetic interrogation field
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10198Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves setting parameters for the interrogator, e.g. programming parameters and operating modes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10366Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Toxicology (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a kind of control system and method based on scanning device, are related to scanning device technical field, which includes: control processing module, adaptor module, scanner module, state selecting switch module and interface module;Wherein, adaptor module and scanner module pass through state selecting switch module respectively and connect with interface module, and interface module is for connecting mobile terminal;Control processing module is connect with state selecting switch module, for generating enable signal according to power input status, and enable signal is transferred to state selecting switch module, with the working condition of state of a control selection switch module;When the working condition of state selecting switch module is the first working condition, the electric signal transmission that state selecting switch module is used to export adaptor module is to interface module, to be charged by interface module as mobile terminal;To solve the problems, such as that scanning device can not charge in the prior art for mobile terminal.

Description

Control system and method based on scanning device
Technical field
The present embodiments relate to scanning device technical field more particularly to a kind of control system based on scanning device and Method.
Background technique
With the development of scanning technique, bar code or two dimensional code etc. are increasingly widely used by people, it is therefore desirable to use The scanning devices such as barcode scanning gun are scanned the information on bar code or two dimensional code, and are input to computer or various movements In terminal, the identification and management to bar code information are realized.
Specifically, in the case where being equipped with the interface for connecting mobile device in scanning device, can by the interface, Scanning device is connect with mobile terminal using data line, the letter that scanning device will be scanned by the interface Breath is transferred to mobile terminal, and the purpose of mobile terminal will be transferred to by realizing in the information scanned.But existing scanning device It can not be charged based on the connection with mobile terminal for mobile terminal.If mobile terminal in message transmitting procedure due to it is out of power into Enter off-mode, then can not receive the information that scanning device scans, need user by mobile terminal and scanning device at this time Connection disconnect, and connect with the mobile terminal using charger, to mobile terminal charging.As it can be seen that sweeping in the prior art The mobile terminal that it can not be connected by retouching terminal charges, and user is needed to use other individual chargers to the shifting manually Dynamic terminal charges, and reduces user experience.
Summary of the invention
In view of this, the present invention provides a kind of control system and method based on scanning device, to solve the prior art The problem of middle scanning device can not charge for mobile terminal.
In a first aspect, the embodiment of the invention provides a kind of control systems based on scanning device, comprising: control processing mould Block, adaptor module, scanner module, state selecting switch module and interface module;
Wherein, the adaptor module and the scanner module respectively by the state selecting switch module with it is described Interface module connection, and the interface module is for connecting mobile terminal;
The control processing module is connect with the state selecting switch module, for making according to power input status generation Energy signal, and the enable signal is transferred to the state selecting switch module, to control the state selecting switch module Working condition;
When the working condition of the state selecting switch module is the first working condition, the state selecting switch module is used Give the interface module in the electric signal transmission for exporting the adaptor module, with by the interface module for the movement Terminal charge;
When the working condition of the state selecting switch module is the second working condition, the state selecting switch module is used Give the interface module in the digital data transmission for exporting the scanner module, with by the interface module to the shifting Dynamic terminal transmission data.
Optionally, the above-mentioned control system based on scanning device further include: charge switch module and data transfer switch mould Block.The charge switch module and data transfer switch module are connect with the control processing module respectively, and the charging is opened Close the power supply that module is used to connect the mobile terminal.The control processing module is also used to export to the charge switch module The enable signal, so that the charge switch module is in charging closed state;Alternatively, to the data transfer switch module The enable signal is exported, so that the data transfer switch module, which is in, passes data closed state.
Optionally, based on the control system of scanning device further include: charge switch module and data transfer switch module.Institute It states charge switch module and data transfer switch module to connect with the control processing module respectively, and the charge switch module For connecting the power supply of the mobile terminal.The central processing module, which is also used to export charging to the charge switch module, to be made Energy signal, so that the charge switch module is in charging closed state;It is passed alternatively, being exported to the data transfer switch module Data enable signal, so that the data transfer switch module, which is in, passes data closed state.
Optionally, based on the control system of scanning device further include: collocation channel selecting module;When the charge switch mould When block is in charging closed state, the interface module passes through in the collocation channel selecting module and the charge switch module The connection of pull-up resistor submodule, and the pull-up resistor submodule is connect with the power supply of the mobile terminal;When the data When transmitting switch module is in biography data closed state, the interface module passes through the collocation channel selecting module and the number It is connected according to the pull down resistor submodule in transmitting switch module, and the reference of the pull down resistor submodule and the scanning device Ground connection.
Optionally, based on the control system of scanning device further include: power detection module;The power detection module and institute Control processing module connection is stated, for detecting the external input power of the scanning device, power state signal is generated, with triggering The control processing module determines power input status according to the power state signal.
Optionally, based on the control system of scanning device further include: Voltage stabilizing module and mobile terminal power supply disconnect module.Institute The first end for stating Voltage stabilizing module connects scanning power supply in the scanner module, and the second end of the Voltage stabilizing module is for connecting The external power supply of the scanning device.One end that the mobile terminal power supply disconnects module passes through the interface module and the shifting The power supply connection of dynamic terminal, the other end that the mobile terminal power supply disconnects module connect the second end of the Voltage stabilizing module, use The power supply and the Voltage stabilizing module of the mobile terminal are disconnected in the disconnection control signal according to the control processing module output Second end between connection.
Optionally, it includes: diode submodule and transistor switch submodule that the mobile terminal power supply, which disconnects module,.Its In, the first end of the diode submodule connects the second end of the Voltage stabilizing module, the second end of the diode submodule Connect the first end of the transistor switch submodule.The second end and the interface module of the transistor switch submodule connect It connects, for connecting the power supply of the mobile terminal by the interface module;The third end of the transistor switch submodule with The control processing module connection, the disconnection for receiving the control processing module output control signal.
Second aspect, the embodiment of the invention also provides a kind of control methods based on scanning device, comprising:
Enable signal is generated according to power input status;
Enable signal is transferred to the state selecting switch module, to control the work of the state selecting switch module State;
When the state selecting switch module working condition be the first working condition, pass through the state selecting switch mould The electric signal transmission that block exports the adaptor module gives the interface module, with by the interface module for the movement Terminal charge;
When the state selecting switch module working condition be the second working condition, pass through the state selecting switch mould The digital data transmission that block exports the scanner module gives the interface module, with by the interface module to the shifting Dynamic terminal transmission data.
Optionally, based on the control method of scanning device further include: Xiang Suoshu charge switch module exports the enabled letter Number, so that the charge switch module is in charging closed state;Alternatively, making to described in data transfer switch module output Energy signal, so that the data transfer switch module, which is in, passes data closed state.Wherein, described to be produced according to power input status Before raw enable signal, further includes: detect the external input power of the scanning device, generate power state signal;According to institute It states power state signal and determines power input status.
Optionally, the control method based on scanning device applies the control system based on scanning device, the control system Module is disconnected comprising Voltage stabilizing module and mobile terminal power supply, and the Voltage stabilizing module disconnects module by the mobile power source and moves The power supply connection of dynamic terminal, the control method further include: Xiang Suoshu mobile terminal power supply disconnects module output and disconnects control letter Number, company between the second end of the Voltage stabilizing module and the power supply of the mobile terminal is disconnected to trigger the mobile terminal power supply It connects.
The embodiment of the present invention generates enable signal by control processing module, and enable signal is transferred to the state and is selected Switch module is selected, to control the working condition of the state selecting switch module, so as in the work of state selection switch module When to make state be the first working condition, electric signal transmission that adaptor module export is connect by the state selecting switch module Mouth mold block, the mobile terminal connected to the interface module charge, and solving scanning device in the prior art can not be shifting The problem of dynamic terminal charge;And when the working condition of state selecting switch module is the second working condition, pass through the state The digital data transmission that selection switch module exports scanner module realizes scanner module and movement eventually to interface module Data transmission between end, meet by scanner module scans in scanning device to data be transferred to the demand of mobile terminal.
Detailed description of the invention
Fig. 1 is a kind of structural block diagram of control system based on scanning device of the embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of control system based on scanning device of an alternative embodiment of the invention;
Fig. 3 is a kind of structural block diagram of control system based on scanning device of another alternative embodiment of the invention;
Fig. 4 is the step flow diagram of control method of one of the embodiment of the present invention based on scanning device.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Referring to Fig.1, a kind of structural block diagram of control system based on scanning device of the embodiment of the present invention is shown.The base It may include: to control processing module 110, adaptor module 120, scanner module 130, state in the control system of scanning device Select switch module 140 and interface module 150.
Wherein, the adaptor module 120 and the scanner module 130 pass through the state selecting switch module respectively 140 connect with the interface module 150, and the interface module 150 is for connecting mobile terminal.The control processing module 110 connect with the state selecting switch module 140, for generating enable signal according to power input status, and make described Energy signal is transferred to the state selecting switch module 140, to control the working condition of the state selecting switch module 140. When the working condition of the state selecting switch module 140 is the first working condition, the state selecting switch module 140 is used for The electric signal transmission that the adaptor module 120 is exported gives the interface module 150, to be by the interface module 150 The mobile terminal charging.When the working condition of the state selecting switch module 140 is the second working condition, the state is selected Digital data transmission of the switch module 140 for exporting the scanner module 130 is selected to the interface module 150, with logical It crosses the interface module 150 and transmits data to the mobile terminal.
Specifically, the power input status in the present embodiment can be used for characterizing whether scanning device connects with external power supply It connects, such as when power input status is power supply connection status, can determine that scanning device is connect with external power supply, also that is, having outer Portion's power input is into scanning device;And when power input status is not-connected status, it can determine that scanning device does not have currently Have and connect with external power supply, also that is, being input in scanning device currently without external power supply.
Control processing module when the scanning devices such as scanner are connected with external input power, in the present embodiment 110 can generate enable signal according to current power input status, and can export enable signal and give situation selecting module, with The situation selecting module is set to enter the first working condition, so that the electric signal that adaptor module 120 exports can be by this Situation selecting module is transferred to interface module 150, and the mobile terminal connected to the interface module 150 charges, and then solves Scanning device in the prior art of having determined can not be the problem of mobile terminal charges.
Certainly, in the case where scanning device is not connected with external input power, control processing module 110 can also be according to Control situation selecting module is generated according to current power input status and enters the enable signal of the second working condition, and can be transferred to Control situation selecting module, to trigger situation selecting module into the second working condition, so that scanner module 130 exports Digital data transmission give the interface module 150, with by the interface module 150 to the mobile terminal transmission data sweep The digital signal for retouching the output of rifle module 130 can be transferred to interface module 150 by the situation selecting module, and then can pass through The mobile terminal that interface module 150 is connected the digital data transmission that scanner module 130 exports to the interface module 150, The data transmission between scanner module 130 and mobile terminal is realized, that is, can satisfy scanner mould in scanning device The data that block 130 scans are transferred to the demand of mobile terminal.Wherein, the digital signal that scanner module 130 exports can be used Pass through the information that the scanner module 130 scans in characterization scanning device, such as can be used for such as scanner scanning and set Standby two-dimensional barcode information, the bar code information etc. scanned, the present embodiment is not specifically limited this.
In the concrete realization, optionally, the control system based on scanning device provided in the embodiment of the present invention can be with It include: charge switch module and data transfer switch module.The charge switch module and data transfer switch module respectively with The control processing module 110 connects, and the charge switch module is used to connect the power supply of the mobile terminal.The control Processing module 110 is also used to export the enable signal to the charge switch module, so that the charge switch module is in Charge closed state;Alternatively, the enable signal is exported to the data transfer switch module, so that the data transfer switch Module, which is in, passes data closed state.
In an optional embodiment of the invention, as shown in Fig. 2, charge switch module 210 and data transfer switch Module 220 may be coupled to the enabled output end of control processing module 110.Optionally, state selection module can also be filled with this Electric switch module 210 and data transfer switch module 220 are connected to the same enabled output end of control processing module 110. In the concrete realization, control processing module 110, can be according to working as when having detected that external input power is connected to scanning device Preceding power input status generates enable signal, and the enable signal of generation can be transferred to state selection by enabled output end Switch module 140, so that state selecting switch module 140 selects the first working condition, so that adaptor module 120 is based on The electric signal of external input power output can be transferred to interface module by the state selection module in the first working condition 150, while enable signal can be transferred to charge switch module 210 by enabled output end, to be closed charge switch module 210 In switch so that charge switch module 210 be in charging closed state so that interface module 150 can be by being in The power supply VCC for the mobile terminal that the charge switch module 210 of charging closed state is connected to, fills for the power supply VCC of mobile terminal Electricity.Optionally, the enable signal generated at this time can also be transferred to data by enabling output end by control processing module 110 Transmitting switch module 220, to disconnect the switch in closure charge switch module 210, so that scanning device passes through the data The data-transformation facility that transmitting switch module 220 is realized.
Certainly, control processing module 110, can also root when detecting that no external input power is connected to scanning device Another enable signal, and another enabled letter that will can be generated at this time by enabling output end are generated according to current power input status Number it is transferred to state selecting switch module 140, so that state selecting switch module 140 selects the second working condition, so that The digital signal that scanner module 130 exports can be transferred to interface mould by the state selection module in the second working condition Block 150, while another enable signal can be transferred to charge switch module 210 by enabled output end, with data in closure The switch of transmitting switch module 220, so that data transfer switch module 220 is in transmission data closed state, so that connecing Mouth mold block 150 can be by defeated by data scanning rifle module 130 in the data transfer switch module 220 for passing data closed state Digital data transmission out realizes the data-transformation facility between scanner module 130 and mobile terminal to mobile terminal;Together When another enable signal can also be transferred to close charge switch module 210, with disconnect closure charge switch module 210 in opening It closes, the function of being charged using closing scanning device as mobile terminal.
As it can be seen that the charge switch module 210 and data transfer switch module 220 in the present embodiment may be coupled at control Manage the same enabled output end of module 110.Certainly, charge switch module 210 and data transfer switch module 220 can also divide The difference for not being connected to control processing module 110 enables output end, and the embodiment of the present invention is not specifically limited this.
In another optional embodiment of the invention, the charge switch module 210 and data transfer switch module 220 connect with the control processing module 110 respectively, and the charge switch module 210 is for connecting the mobile terminal Power supply.The central processing module can be also used for exporting charging enable signal to the charge switch module 210, so that described Charge switch module 210 is in charging closed state;It is enabled alternatively, being exported to the data transfer switch module 220 and passing data Signal, so that the data transfer switch module 220, which is in, passes data closed state.
Specifically, controlling the enable signal that processing module 110 generates in the embodiment of the present invention may include state selection Enable signal EN1, charging enable signal EN2 and biography data enable signal EN3 etc. are one of or several.Wherein, state selects Enable signal EN1 is determined for the selected working condition of state selecting switch module 140, such as can choose the first work State, with for mobile terminal charging, optionally, which can be charged state, so that as adaptor module 120 fast charge adapter can be mobile terminal quick charge by the state selecting switch module 140 and interface module 150, It realizes the fast charge function to mobile terminal, is reduced to the charging time of mobile terminal, improve scanning device as mobile terminal charging Efficiency;For another example, it can choose the second working condition, it is optional to realize that the data between scanning device and mobile terminal are transmitted , which can be data transmission state, and scanner module 130 is allowed to pass through the state selecting switch mould Block 140 and interface module 150 to mobile terminal, realize the data information transfer scanned between scanning device and mobile terminal Data-transformation facility, allow user that the data information scanned is identified and managed by mobile terminal, it is convenient The data information that user management scans improves the efficiency of management of data information.Charging enable signal EN2, which can be used for triggering, to be filled Electric switch module 210 enters charging closed state, can such as close the charge switch in the charge switch module 210, with triggering Charge switch module 210 enters charging closed state;Passing data enable signal EN3 can be used for trigger data transmitting switch module 220 enter biography data closed state, realize the data-transformation facility between scanning device and mobile terminal, such as can be used for being closed Switch in data transfer switch module 220 allows the interface module in scanning device to be based on opening by data transmission It closes module to be connected to reference to ground, realizes data-transformation facility, while the charging that can be disconnected in the charge switch module 210 is opened It closes, is that mobile terminal charges to stop.
On the basis of the above embodiments, optionally, the control system provided in an embodiment of the present invention based on scanning device It can also include: collocation channel selecting module.When the charge switch module 210 is in charging closed state, the interface Module 150 is connect by the collocation channel selecting module with the pull-up resistor submodule in the charge switch module 210, and The pull-up resistor submodule is connect with the power supply of the mobile terminal;Number is passed when the data transfer switch module 220 is in When according to closed state, the interface module 150 passes through the collocation channel selecting module and the data transfer switch module 220 In the connection of pull down resistor submodule, and the pull down resistor submodule is connect with the reference of the scanning device.
In the concrete realization, as shown in figure 3, the first end of the collocation channel selecting module 310 of the present embodiment can with connect Mouth mold block 150 connects, and the second end of collocation channel selecting module 310 can be connect with charge switch module 210, and collocation channel The third end of selecting module 310 can be connect with data transfer switch module 220.Wherein, charge switch module 210 may include The pull-up resistor submodule 212 for having charge switch submodule 211 and being connected with the charge switch submodule, so that charging Switching submodule 211 can be whole by the pull-up resistor submodule 212 and movement when interface module 150 is connect with mobile terminal The power supply VCC connection at end.It should be noted that charge switch submodule 211 may include one or more switches, such as can wrap Include a charge switch;Pull-up resistor submodule 212 may include one or more resistance, such as may include a pull-up electricity Resistance, the resistance value of the pull-up resistor can be 5.6 kilohms etc., the embodiment of the present invention to this with no restriction.Data transfer switch mould Block 220 can wrap containing biography data switch submodule 221 and the pull down resistor being connected with the biography data switch submodule 221 Module 222, so that under biography data switch submodule 221 can be by this when interface module 150 is connect with mobile terminal Pull-up resistor submodule 222 is connect with the reference of scanning device ground GND, that is, connects the common ground of scanning device, realizes scanning device Data-transformation facility.Passing data switch submodule 221 may include one or more switches, such as may include a biography data Switch;Pull down resistor submodule 222 may include one or more resistance, such as may include a pull down resistor, drop-down electricity The resistance value of resistance can be 5.1 kilohms etc., the embodiment of the present invention to this page with no restriction.
Further, the control system based on scanning device provided in the embodiment of the present invention can also include: power supply inspection Survey module 320.The power detection module 320 can be connect with the control processing module 110, specifically can be used for detecting described The external input power of scanning device generates power state signal, to trigger the control processing module 110 according to the power supply Status signal determines power input status.Specifically, the control processing module 110 in the embodiment of the present invention can be examined with power supply It surveys module 320 to connect, to have detected whether that external input power is connected to the scanning device by the power detection module 320. It can be the interface module of the scanning device by the external input power if there is external input power to be connected to scanning device The 150 mobile terminal quick charges connected.If can't detect external input power, i.e., it is connected in no external input power , then can be by the state selection module in the second working condition when scanning device, the number that scanner module 130 is exported Signal is transferred to the mobile terminal that the interface module 150 is connected, and realizes that the data of scanning device and mobile terminal are transmitted.
Certainly, it when there is external input power to be connected to scanning device, can also be swept based on the external input power for this The power source charges in equipment are retouched, realize the mobile terminal that scanning device and the scanning device are connected while being charged.In the present invention An alternative embodiment in, the power supply of scanning device can integrate in scanner module 130, also that is, the scanner module 130 may include the power supply of scanning device --- scanning power supply.The scanning power supply can provide electric energy for scanning device, to guarantee The normal work of scanning device.
In the concrete realization, optionally, the control system based on scanning device in the embodiment of the present invention can also include: Voltage stabilizing module 330 and mobile terminal power supply disconnect module 340.The first end of the Voltage stabilizing module 330 connects the scanner mould Scanning power supply in block 130, the second end of the Voltage stabilizing module 330 are used to connect the external power supply of the scanning device.Specifically For, the Voltage stabilizing module can the external power supply based on scanning device to scanning power supply export pressure stabilizing charging signals, to be swept for this Equipment is retouched to charge.It changes and says and it, the Voltage stabilizing module 330 in the embodiment of the present invention can be generated based on external power supply stablizes electricity Pressure, and is input in the scanning power supply of scanner module 130, and input voltage is excessively high and damages scanner module 130 to prevent, such as Prevent that input voltage is excessively high and damages the scanning power supply etc. in scanner module 130.The mobile terminal power supply disconnects module 340 One end connect by the interface module 150 with the power supply of the mobile terminal, the mobile terminal power supply disconnects module 340 The other end connect the second end of the Voltage stabilizing module 330, the disconnection control for being exported according to the control processing module 110 Signal disconnects the connection between the power supply of the mobile terminal and the second end of the Voltage stabilizing module 330.In the concrete realization, originally It may include at least three connecting pins that mobile terminal power supply in inventive embodiments, which disconnects module 340, so as to pass through difference Connecting pin be separately connected with disparate modules in the scanning device.
For example, the mobile terminal power supply is disconnected in the case where mobile terminal power supply disconnects module 340 and includes three connecting pins It is opened block 340 and connects the external power supply of scanning device and the first end of Voltage stabilizing module 330 by the first connecting pin, to pass through pressure stabilizing The second end of module 330 is connect with the scanning power supply in scanner module 130;And it can be disconnected by the mobile terminal power supply The power supply for the mobile terminal that the connecting pin of module 340 is connect with interface module 150 connects, so that the power supply of mobile terminal In the case where mobile terminal power supply disconnects module 340 and is connected, module 340 and scanning can be disconnected by the mobile terminal power supply Power supply connection;And third connecting pin and control processing module 110 company of module 340 can be disconnected by the mobile terminal power supply It connects, so as to receive the control signal of the control processing module 110 output, control processing module 110 is based on The control signal of control processing module output disconnects module 340 to the mobile terminal power supply and controls.Specifically, at control The control signal that reason module 110 exports can be disconnection control signal, disconnect mobile terminal electricity to control signal by the disconnection Source disconnects module 340, so that the connection between the power supply of mobile terminal and Voltage stabilizing module 330 is disconnected, to prevent mobile terminal Power supply charges to scanning power supply.
In an alternate embodiment of the present invention where, it includes: diode submodule that the mobile terminal power supply, which disconnects module 340, Block 341 and transistor switch submodule 342.Wherein, the first end of the diode submodule 341 connects the Voltage stabilizing module 330 second end, the second end of the diode submodule 341 connect the first end of the transistor switch submodule 342;Institute The second end for stating transistor switch submodule 342 is connect with the interface module 150, for being connected by the interface module 150 Connect the power supply of the mobile terminal;The third end of the transistor switch submodule 342 and the control processing module 110 connect It connects, controls signal for receiving the disconnection that the control processing module 110 exports.
As an optional example of the invention, the diode submodule 341 in the embodiment of the present invention can be one two Pole pipe;The anode of the diode can be used as the first end of diode submodule 341, connect with Voltage stabilizing module 330;And two pole The anode of pipe can be used as the second end of diode submodule 341, and interface module 150, so as to pass through the interface module 150 are connected to the power supply of mobile terminal, and then the unilateral conduction that can use diode prevents mobile terminal to scanning power supply Charging.Transistor switch submodule 342 can be a metal-oxide semiconductor (MOS) (Metal Oxide Semiconductor, MOS) Guan Kaiguan, and the control terminal of metal-oxide-semiconductor switch can be connect with control processing module 110, so that control processing module 110 It can such as be switched in working condition by exporting control signal to the control terminal to control the switch state that metal-oxide-semiconductor switchs When output disconnect control signal, to turn off metal-oxide-semiconductor switch, be delayed influence that state switch to avoid signal, guarantee work The successful switch of state.For example, control processing module 110 can be to MOS processed when disconnecting charged state or passing data mode The control terminal output of pipe switch disconnects control signal and avoids letter to disconnect the power supply that the metal-oxide-semiconductor switchs connected mobile terminal Number influence that switch to state of delay, solving the problems, such as that signal is delayed leads to working condition handover failure.
In the embodiment of the present invention, state selecting switch module 140 may include first switch submodule 141 and second switch Submodule 142.Wherein, the first end D+ of adaptor module can be connected by first switch submodule 141 and interface module 150 It connects, to be connect by the first switch submodule 141 with the first end D+ of interface module 150;And the second of the adaptor module End D- can be connect by second switch submodule 142 with interface module 150, to pass through the second switch submodule 142 and connect The second end D- connection of mouth mold block 150, so that the first switch submodule 141 and second can be passed through in external plant-grid connection The mobile terminal that submodule 142 is connected the electric signal transmission that adaptor module 120 exports to interface module 150 is switched, is Mobile terminal charging.Similarly, the first end D+ of scanner module can pass through first switch submodule 141 and interface module 150 Connection, to be connect by the first switch submodule 141 with the first end D+ of interface module 150;And the of the scanner module Two end D- can be connect by second switch submodule 142 with interface module 150, with by the second switch submodule 142 with The second end D- connection of interface module 150, to can be opened by the first switch submodule 141 and second in data transmission The mobile terminal that sub-module 142 is connected the digital data transmission that scanner module exports to interface module 150, realizes Data transmission between scanner module 130 and mobile terminal.As shown in figure 3, the third end com of first switch submodule 141 It may be coupled to control processing module 110 with the third end com of second switch submodule 142, so that control processing module 110 The enable signal that can be generated is transferred to first switch submodule 141 and second switch submodule 142, is opened with control first The switch state of sub-module 141 and second switch submodule 142 so that adaptor module 120 export electric signal or The digital signal that person's scanner module 130 exports is transferred to by the first switch submodule 141 and second switch submodule 142 The mobile terminal that interface module 150 is connected.
On the basis of the above embodiments, the embodiment of the present invention also provides a kind of control method based on scanning device.Such as Shown in Fig. 4, the control method based on scanning device can specifically include following steps:
Step 410, enable signal is generated according to power input status.
Specifically, the embodiment of the present invention can determine power supply by having detected whether that external power supply is input to scanning device Input state, and then corresponding enable signal can be generated according to determining power input status, which is transmitted State selecting switch module is given, determines the working condition of state selecting switch module, i.e. execution step 420.
Step 420, enable signal is transferred to the state selecting switch module, to control the state selecting switch mould The working condition of block.
Specifically, step can be executed if state of a control selects the working condition of switch module for the first working condition 430;If state of a control selects the working condition of switch module for the second working condition, step 440 can be executed.
Step 430, when the working condition of the state selecting switch module be the first working condition, selected by the state Electric signal transmission that switch module exports the adaptor module is selected to the interface module, to be by the interface module The mobile terminal charging.
Step 440, when the working condition of the state selecting switch module be the second working condition, selected by the state Digital data transmission that switch module exports the scanner module is selected to the interface module, to pass through the interface module Data are transmitted to the mobile terminal.
On the basis of the above embodiments, optionally, the embodiment of the present invention generates enable signal according to power input status Before, further includes: detect the external input power of the scanning device, generate power state signal;According to the power supply status Signal determines power input status.
Further, the control method provided in an embodiment of the present invention based on scanning device can also include: to fill to described Electric switch module exports the enable signal, so that the charge switch module 210 is in charging closed state;Alternatively, to institute It states data transfer switch module and exports the enable signal, so that the data transfer switch module, which is in, passes data closed form State.
In the concrete realization, the control method provided in an embodiment of the present invention based on scanning device can specifically apply base In the control system of scanning device, control system based on scanning device as described in any in above-described embodiment, and the control System may include Voltage stabilizing module and mobile terminal power supply disconnects module and the Voltage stabilizing module can be by the mobile electricity Source disconnects module and the power supply of mobile terminal connects.Optionally, the control based on scanning device provided by the embodiment of the present invention Method further include: Xiang Suoshu mobile terminal power supply disconnects module output and disconnects control signal, to trigger the mobile terminal power supply Disconnect the connection between the second end of the Voltage stabilizing module and the power supply of the mobile terminal.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For example, being described relatively simple for embodiment of the method, related place is referring to the part explanation of control system embodiment It can.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be robot, personal computer, server or the network equipment etc.) executes base described in any embodiment of that present invention In the control method of scanning device.
It is worth noting that, included modules and submodule are only in the above-mentioned control system based on scanning device It is to be divided according to the functional logic, but be not limited to the above division, as long as corresponding functions can be realized;Separately Outside, the specific name of each functional module is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of control system based on scanning device characterized by comprising control processing module, adaptor module, scanning Rifle module, state selecting switch module and interface module;
Wherein, the adaptor module and the scanner module pass through the state selecting switch module and the interface respectively Module connection, and the interface module is for connecting mobile terminal;
The control processing module is connect with the state selecting switch module, for generating enabled letter according to power input status Number, and the enable signal is transferred to the state selecting switch module, to control the work of the state selecting switch module Make state;
When the working condition of the state selecting switch module is the first working condition, the state selecting switch module is used for will The electric signal transmission that the adaptor module exports gives the interface module, with by the interface module for the mobile terminal Charging;
When the working condition of the state selecting switch module is the second working condition, the state selecting switch module is used for will The digital data transmission that the scanner module exports gives the interface module, with whole to the movement by the interface module End transmission data.
2. the control system according to claim 1 based on scanning device, which is characterized in that further include: charge switch mould Block and data transfer switch module;
The charge switch module and data transfer switch module are connect with the control processing module respectively, and the charging is opened Close the power supply that module is used to connect the mobile terminal;
The control processing module is also used to export the enable signal to the charge switch module, so that the charge switch Module is in charging closed state;Alternatively, the enable signal is exported to the data transfer switch module, so that the data Transmitting switch module, which is in, passes data closed state.
3. the control system according to claim 1 based on scanning device, which is characterized in that further include: charge switch mould Block and data transfer switch module;
The charge switch module and data transfer switch module are connect with the control processing module respectively, and the charging is opened Close the power supply that module is used to connect the mobile terminal;
The central processing module is also used to export charging enable signal to the charge switch module, so that the charge switch Module is in charging closed state;Data enable signal is passed alternatively, exporting to the data transfer switch module, so that the number It is according to transmitting switch module and passes data closed state.
4. the control system according to claim 2 or 3 based on scanning device, which is characterized in that further include: collocation channel Selecting module;
When the charge switch module is in charging closed state, the interface module passes through the collocation channel selecting module It is connect with the pull-up resistor submodule in the charge switch module, and the pull-up resistor submodule and the mobile terminal Power supply connection;
When the data transfer switch module, which is in, passes data closed state, the interface module is selected by the collocation channel Module is selected to connect with the pull down resistor submodule in the data transfer switch module, and the pull down resistor submodule with it is described The reference ground connection of scanning device.
5. the control system according to any one of claims 1 to 3 based on scanning device, which is characterized in that further include: power supply Detection module;
The power detection module is connect with the control processing module, for detecting the external input electricity of the scanning device Source generates power state signal, determines power input shape to trigger the control processing module according to the power state signal State.
6. the control system according to claim 5 based on scanning device, which is characterized in that further include: Voltage stabilizing module and Mobile terminal power supply disconnects module;
The first end of the Voltage stabilizing module connects the scanning power supply in the scanner module, and the second end of the Voltage stabilizing module is used In the external power supply for connecting the scanning device;
One end that the mobile terminal power supply disconnects module is connect by the interface module with the power supply of the mobile terminal, institute The other end for stating mobile terminal power supply disconnection module connects the second end of the Voltage stabilizing module, for handling mould according to the control The disconnection control signal of block output disconnects the connection between the power supply of the mobile terminal and the second end of the Voltage stabilizing module.
7. the control system according to claim 6 based on scanning device, which is characterized in that the mobile terminal power supply is disconnected Being opened block includes: diode submodule and transistor switch submodule;
Wherein, the first end of the diode submodule connects the second end of the Voltage stabilizing module, the diode submodule Second end connects the first end of the transistor switch submodule;
The second end of the transistor switch submodule is connect with the interface module, for connecting institute by the interface module State the power supply of mobile terminal;
The third end of the transistor switch submodule is connect with the control processing module, for receiving the control processing mould The disconnection of block output controls signal.
8. a kind of control method based on scanning device characterized by comprising
Enable signal is generated according to power input status;
Enable signal is transferred to the state selecting switch module, to control the work shape of the state selecting switch module State;
When the state selecting switch module working condition be the first working condition, pass through the state selecting switch module will The electric signal transmission that the adaptor module exports gives the interface module, with by the interface module for the mobile terminal Charging;
When the state selecting switch module working condition be the second working condition, pass through the state selecting switch module will The digital data transmission that the scanner module exports gives the interface module, with whole to the movement by the interface module End transmission data.
9. the control method according to claim 8 based on scanning device, which is characterized in that further include:
The enable signal is exported to the charge switch module, so that the charge switch module is in charging closed state; Alternatively, the enable signal is exported to the data transfer switch module, so that the data transfer switch module, which is in, passes number According to closed state;
Wherein, before the generation enable signal according to power input status, further includes: the outside for detecting the scanning device is defeated Enter power supply, generates power state signal;Power input status is determined according to the power state signal.
10. the control method based on scanning device according to claim 8 or claim 9, which is characterized in that application is set based on scanning Standby control system, the control system includes Voltage stabilizing module and mobile terminal power supply disconnects module, and the Voltage stabilizing module is logical Cross the power supply connection that the mobile power source disconnects module and mobile terminal, the control method further include:
Module output is disconnected to the mobile terminal power supply and disconnects control signal, to trigger described in the mobile terminal power supply disconnection Connection between the second end of Voltage stabilizing module and the power supply of the mobile terminal.
CN201910407410.0A 2019-05-16 2019-05-16 Control system and method based on scanning equipment Active CN110110567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910407410.0A CN110110567B (en) 2019-05-16 2019-05-16 Control system and method based on scanning equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910407410.0A CN110110567B (en) 2019-05-16 2019-05-16 Control system and method based on scanning equipment

Publications (2)

Publication Number Publication Date
CN110110567A true CN110110567A (en) 2019-08-09
CN110110567B CN110110567B (en) 2022-05-20

Family

ID=67490475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910407410.0A Active CN110110567B (en) 2019-05-16 2019-05-16 Control system and method based on scanning equipment

Country Status (1)

Country Link
CN (1) CN110110567B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003914A (en) * 2020-08-14 2020-11-27 迅镭智能(广州)科技有限公司 Scanning gun processing method and device, scanning gun and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869316A (en) * 2015-01-22 2016-08-17 袁爱民 POS base adapted to OTG (On-The-Go) mobile device
CN106160057A (en) * 2015-04-24 2016-11-23 张卫 The wireless control system of battery charging and method
CN106786960A (en) * 2017-01-13 2017-05-31 广东欧珀移动通信有限公司 Charge control method, device and terminal
CN107394849A (en) * 2017-08-25 2017-11-24 北京松果智能科技有限公司 Charging device
CN108879897A (en) * 2018-07-16 2018-11-23 河南江尚照明技术有限公司 It is a kind of using street lamp as the mobile phone wireless charging equipment of carrier
US20190118709A1 (en) * 2017-10-20 2019-04-25 Toyota Jidosha Kabushiki Kaisha Notification system and information processing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869316A (en) * 2015-01-22 2016-08-17 袁爱民 POS base adapted to OTG (On-The-Go) mobile device
CN106160057A (en) * 2015-04-24 2016-11-23 张卫 The wireless control system of battery charging and method
CN106786960A (en) * 2017-01-13 2017-05-31 广东欧珀移动通信有限公司 Charge control method, device and terminal
CN107394849A (en) * 2017-08-25 2017-11-24 北京松果智能科技有限公司 Charging device
US20190118709A1 (en) * 2017-10-20 2019-04-25 Toyota Jidosha Kabushiki Kaisha Notification system and information processing device
CN108879897A (en) * 2018-07-16 2018-11-23 河南江尚照明技术有限公司 It is a kind of using street lamp as the mobile phone wireless charging equipment of carrier

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003914A (en) * 2020-08-14 2020-11-27 迅镭智能(广州)科技有限公司 Scanning gun processing method and device, scanning gun and medium

Also Published As

Publication number Publication date
CN110110567B (en) 2022-05-20

Similar Documents

Publication Publication Date Title
CN104242390B (en) A kind of charging method, charging circuit and mobile terminal
US20070018508A1 (en) Method and apparatus for mode selection for high voltage integrated circuits
CN109410455A (en) The charging module of mobile power source leased equipment and its data transmission method between mobile power source
CN106300501A (en) A kind of adapter recognition methods and intelligent mobile terminal
CN100413073C (en) Transient state short-circuit current top electricity solving method for avoiding multi power supply input/output
US20190356150A1 (en) Charging system, terminal, power adapter and charging line
CN107547210A (en) A kind of non-standard power supply unit, power receiving equipment and system
CN105510759A (en) Electric leakage detection equipment and detection method thereof
CN110110567A (en) Control system and method based on scanning device
CN108075630A (en) Power switch control circuit and its open circuit method for detecting
CN105811532B (en) A kind of charging method, charging control circuit and charger
JP2018529301A (en) Power adapter, terminal device, charging system, and charging method
CN100359851C (en) Optical network unit powered device based on Ethernet power supply mode
CN107210296A (en) Self-inductance measurement reverse-current protection is switched
CN105553465A (en) Circuit apparatus and electronic appliance
CN109050322A (en) A kind of charging system and method
CN209659302U (en) A kind of interface gating circuit and communication equipment
CN108493731B (en) A kind of data line and its driving method
US11394195B2 (en) Overvoltage protection
CN101316045B (en) Battery charging apparatus used for portable system
CN107994650A (en) charge control method, device and equipment
CN107181290B (en) Battery management system
CN104752783B (en) A kind of end cell Activiation method, device and terminal
CN106972568A (en) Charging detecting circuit, method and electronic equipment
CN110120693A (en) Mobile device and its charging method

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