[go: up one dir, main page]

CN104820645A - One-key scanning method and scanning system applied to scanning equipment - Google Patents

One-key scanning method and scanning system applied to scanning equipment Download PDF

Info

Publication number
CN104820645A
CN104820645A CN201510189299.4A CN201510189299A CN104820645A CN 104820645 A CN104820645 A CN 104820645A CN 201510189299 A CN201510189299 A CN 201510189299A CN 104820645 A CN104820645 A CN 104820645A
Authority
CN
China
Prior art keywords
scanning
peripherals
broadcast packet
response
unit
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
CN201510189299.4A
Other languages
Chinese (zh)
Other versions
CN104820645B (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.)
Foshan jiejitong intelligent Sports Technology Co., Ltd
Original Assignee
Foshan Person Of Outstanding Talent Ou Zhineng Science And Technology 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 Foshan Person Of Outstanding Talent Ou Zhineng Science And Technology Ltd filed Critical Foshan Person Of Outstanding Talent Ou Zhineng Science And Technology Ltd
Priority to CN201510189299.4A priority Critical patent/CN104820645B/en
Publication of CN104820645A publication Critical patent/CN104820645A/en
Application granted granted Critical
Publication of CN104820645B publication Critical patent/CN104820645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/22Handling requests for interconnection or transfer for access to input/output bus using successive scanning, e.g. polling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Facsimiles In General (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a one-key equipment scanning system specific to the aims of effectively avoiding the phenomenon of return data loss of peripheral equipment and effectively reducing the cost. The one-key equipment scanning system comprises a scanning host for transmitting broadcast packets and a plurality of pieces of peripheral equipment to be scanned, wherein the scanning host comprises a transmitting unit for transmitting the broadcast packets to the plurality of pieces of peripheral equipment, a receiving unit for receiving return signals of the plurality of pieces of peripheral equipment, a storage unit for storing return information of the plurality of pieces of peripheral equipment, and a processing unit connected with the transmitting unit and the storage unit under control respectively; and each piece of peripheral equipment comprises a receiving module for receiving the broadcast packets transmitted by the transmitting unit and a transmitting module for returning signals to the receiving units. Compared with the prior art, the scanning system in the scheme is simple in structure, low in cost, and capable of finishing scanning actions on the peripheral equipment effectively, rapidly and accurately.

Description

A kind of one-touch scan method on scanning device and scanning system
Technical field
The present invention relates to device scan control technology field, refer more particularly to a kind of one-touch scan method on scanning device and scanning system.
Background technology
Carrying out in scanning process to equipment, the general scanning technique all needing employing broadcast packet, but existingly utilizing broadcast packet to carry out in the process scanned, if the object that peripherals is responded is more simultaneously, the data responded can produce collision when transmitting at the same time, and then cause the loss of data, the object this existing solution being generally to response is giving a response after wait random time section, but when this kind of mode can responded owing to can not know other object between each response object, thus the phenomenon of passback data loss can still be there is.For this reason, for how searching out a kind of phenomenon can effectively avoiding peripherals to return data loss simultaneously and the equipment that can effectively reduce costs just seems particularly important.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of one-touch scan method on scanning device can effectively avoiding peripherals to return the phenomenon of data loss is provided.
For achieving the above object, technical scheme provided by the present invention is: a kind of one-touch scan method on scanning device, and it comprises the following steps: first S1, scanning element send a broadcast packet making scanning system return to init state " response scan request "; S2, scanning element send the broadcast packet of " scanning requires " subsequently again; S3, peripherals N1, N2 ... N kaccept the broadcast packet of " scanning requires " that scanning element sends and give a response simultaneously; The peripherals received is responded R and is carried out superposition aggregation process by S4, scanning element, response number of peripheral devices sum Size (the R)≤actual peripheral total quantity k after wherein gathering; S5, scanning element send the broadcast packet of " not responding scanning again " to each peripherals in the above-mentioned response peripherals R given a response; S6, the peripherals of broadcast packet receiving " not responding scanning again " temporarily do not give a response the broadcast packet of " scanning require " that scanning element sends; S7, scanning element repeated execution of steps S2 to S6, till the broadcast packet of " scanning requires " that send scanning element without any peripherals is made a response; S8, by scanning result the most final for the response R of final all peripherals.
Simultaneously, the present invention also provides a kind of one-touch device scan system realizing above-mentioned one-touch scan method on scanning device, it comprises sending the scanning element of broadcast packet and multiple stage peripherals to be scanned, and wherein said scanning element comprises transmitter unit for sending from broadcast packet to peripherals described in multiple stage, the receiving element for accepting peripherals return path signal described in multiple stage, the processing unit that is connected for the storage unit and controlling with described transmitter unit and storage unit respectively storing peripherals back information described in multiple stage; Peripherals described in each comprise be respectively used to accept broadcast packet that described transmitter unit sends accept module and for the transmitter module to described receiving unit return path signal.
Preferably, described transmitter unit comprises and utilizes the wireless transmitting unit of wireless 433MHz communications protocol, wired network transmitter unit and wireless WiFi transmitter unit.
This programme comprises scanning element and multiple stage peripherals to be scanned by adopting, and wherein scanning element comprises transmitter unit for sending from broadcast packet to multiple stage peripherals, the receiving element for accepting multiple stage peripherals return path signal, the processing unit that is connected for the storage unit and controlling with transmitter unit and storage unit respectively storing multiple stage peripherals back information, each peripherals comprise be respectively used to accept broadcast packet that transmitter unit sends accept module and the version for the transmitter module to receiving unit return path signal, processing unit when can make work in scanning element successively can send different scanning by transmitter unit peripheral device and respond the broadcast packet required, peripherals requires to make a response accordingly after receiving above-mentioned broadcast packet and according to the difference of broadcast packet, and be stored in storage unit to the quantity of the peripherals of making a response is accumulative, and then obtain number of peripheral devices, complete scanning process, compared to existing technology, the scanning system structure in this programme is simple, and cost is lower, can complete the scanning motion to peripherals effectively fast and accurately.
Accompanying drawing explanation
Fig. 1 is scanning step schematic flow sheet of the present invention.
Fig. 2 is theory structure block diagram of the present invention.
In figure: 100-scanning element, 1-processing unit, 2-transmitter unit, 3-receiving unit, 4-storage unit, 5-peripherals, 21-wireless transmitting unit, 22-wired network transmitter unit, 23-is wireless WiFi transmitter unit, 51-accepts module, 52-transmitter module.
Embodiment
Below in conjunction with specific embodiment, the invention will be further described:
Shown in accompanying drawing 2, the one-touch device scan system of one described in the present embodiment, it comprises sending the scanning element 100 of broadcast packet and multiple stage peripherals 5 to be scanned, and wherein above-mentioned scanning element 100 comprises transmitter unit 2 for sending from broadcast packet to the above-mentioned peripherals 5 of multiple stage, the receiving element 3 for accepting multiple stage peripherals 5 return path signal, the processing unit 1 that is connected for the storage unit 4 and controlling with transmitter unit 2 and storage unit 4 respectively storing multiple stage peripherals 5 back information.Preferably, above-mentioned transmitter unit 2 comprises and utilizes the wireless transmitting unit 21 of wireless 433MHz communications protocol, wired network transmitter unit 22 and wireless WiFi transmitter unit 223.Simultaneously each above-mentioned peripherals 5 comprise be respectively used to accept broadcast packet that transmitter unit 2 sends accept module 51 and for the transmitter module 52 to receiving unit 3 return path signal.
Shown in accompanying drawing 1, during work, first step S1: first the processing unit 1 in scanning element 100 sends the broadcast packet of " response scan request " information to above-mentioned multiple peripherals 5 by transmitter unit 2, be provided for whole scanning system and return to original state, namely for eliminating the impact performing follow-up work step S5 and bring; Second step S2: scanning element 100 sends the broadcast packet of " scanning requires " subsequently; 3rd step S3: accepting in peripherals 5 is made a response after module 51 receives above-mentioned broadcast packet simultaneously; 4th step S4: the receiving unit 3 in scanning element 100 accepts peripherals 5 quantity of making a response and is stored in storage unit 4, peripherals 5 quantity sum Size (the R)≤K now made a response in storage unit 4, wherein K is the substantial amt of peripherals 5; 5th step S5: due in first time scanning process not way confirm that peripherals 5 quantity sum Size (R) accepting in storage unit 4 to make a response is the total K of actual peripheral 5 just, therefore need the broadcast packet each object in the peripherals R made a response in said memory cells 4 being sent to " not responding scanning again "; 6th step S6: receive " not responding scanning again " and require that the peripherals 5 of broadcast packet temporarily will not made a response to the broadcast packet of " scanning requires " that scanning element 100 sends; 7th step S7: scanning element 100 repeats step S2 to S6, till the broadcast packet of " scanning requires " that send without any peripherals 5 pairs of scanning elements 100 is made a response; 8th step S8: after being completed by step S7 scanning motion, the whole peripherals 5 be stored in storage unit 4 are responded the net result of R as scanning, thus complete the scanning motion to peripherals 5.
The examples of implementation of the above are only the preferred embodiment of the present invention, not limit practical range of the present invention with this, therefore the change that all shapes according to the present invention, principle are done, all should be encompassed in protection scope of the present invention.

Claims (3)

1. the one-touch scan method on scanning device, is characterized in that: it comprises the following steps:
First S1, scanning element send a broadcast packet making scanning system return to init state " response scan request ";
S2, scanning element send the broadcast packet of " scanning requires " subsequently again;
S3, peripherals N1, N2 ... N kaccept the broadcast packet of " scanning requires " that scanning element sends and give a response simultaneously;
The peripherals received is responded R and is carried out superposition aggregation process by S4, scanning element, response number of peripheral devices sum Size (the R)≤actual peripheral total quantity k after wherein gathering;
S5, scanning element send the broadcast packet of " not responding scanning again " to each peripherals in the above-mentioned response peripherals R given a response;
S6, the peripherals of broadcast packet receiving " not responding scanning again " temporarily do not give a response the broadcast packet of " scanning require " that scanning element sends;
S7, scanning element repeated execution of steps S2 to S6, till the broadcast packet of " scanning requires " that send scanning element without any peripherals is made a response;
S8, by scanning result the most final for the response R of final all peripherals.
2. one kind realizes the one-touch device scan system of the one-touch scan method described in claim 1 on scanning device, it is characterized in that: comprise sending the scanning element (100) of broadcast packet and multiple stage peripherals (5) to be scanned, wherein said scanning element (100) comprises the transmitter unit (2) for sending broadcast packet to peripherals described in multiple stage (5), for accepting the receiving element (3) of peripherals described in multiple stage (5) return path signal, for the processing unit (1) that the storage unit (4) and controlling with described transmitter unit (2) and storage unit (4) respectively storing peripherals described in multiple stage (5) back information is connected, peripherals described in each (5) comprise be respectively used to accept broadcast packet that described transmitter unit (2) sends accept module (51) and for the transmitter module (52) to described receiving unit (3) return path signal.
3. the one-touch device scan system of one according to claim 2, is characterized in that: described transmitter unit (2) comprises and utilizes the wireless transmitting unit of wireless 433MHz communications protocol (21), wired network transmitter unit (22) and wireless WiFi transmitter unit (23).
CN201510189299.4A 2015-04-18 2015-04-18 A kind of one-touch scan method and scanning system in scanning device Active CN104820645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510189299.4A CN104820645B (en) 2015-04-18 2015-04-18 A kind of one-touch scan method and scanning system in scanning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510189299.4A CN104820645B (en) 2015-04-18 2015-04-18 A kind of one-touch scan method and scanning system in scanning device

Publications (2)

Publication Number Publication Date
CN104820645A true CN104820645A (en) 2015-08-05
CN104820645B CN104820645B (en) 2017-09-08

Family

ID=53730945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510189299.4A Active CN104820645B (en) 2015-04-18 2015-04-18 A kind of one-touch scan method and scanning system in scanning device

Country Status (1)

Country Link
CN (1) CN104820645B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475439A (en) * 2020-04-08 2020-07-31 北京龙鼎源科技股份有限公司 Communication control method and device based on asynchronous transmission protocol and electronic equipment
CN114598566A (en) * 2020-12-04 2022-06-07 山东新松工业软件研究院股份有限公司 Communication system and method based on SPI bus
WO2023024156A1 (en) * 2021-08-25 2023-03-02 豪威芯仑传感器(上海)有限公司 Scanner circuit and image sensor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58139234A (en) * 1982-02-13 1983-08-18 Mitsubishi Electric Corp Signal input system
EP1434421B1 (en) * 2002-12-27 2008-07-30 Brother Kogyo Kabushiki Kaisha Image data processing system, image data generating apparatus, terminal equipment and program product
JP2008219358A (en) * 2007-03-02 2008-09-18 Sony Corp Radio communication system, radio communication equipment, radio communication method, and computer program
CN102035897A (en) * 2009-10-02 2011-04-27 佳能株式会社 Communication apparatus provided with network interfaces and control method therefor
CN103716905A (en) * 2012-09-28 2014-04-09 美国博通公司 Managing connectivity between wireless devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58139234A (en) * 1982-02-13 1983-08-18 Mitsubishi Electric Corp Signal input system
EP1434421B1 (en) * 2002-12-27 2008-07-30 Brother Kogyo Kabushiki Kaisha Image data processing system, image data generating apparatus, terminal equipment and program product
JP2008219358A (en) * 2007-03-02 2008-09-18 Sony Corp Radio communication system, radio communication equipment, radio communication method, and computer program
CN102035897A (en) * 2009-10-02 2011-04-27 佳能株式会社 Communication apparatus provided with network interfaces and control method therefor
CN103716905A (en) * 2012-09-28 2014-04-09 美国博通公司 Managing connectivity between wireless devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475439A (en) * 2020-04-08 2020-07-31 北京龙鼎源科技股份有限公司 Communication control method and device based on asynchronous transmission protocol and electronic equipment
CN114598566A (en) * 2020-12-04 2022-06-07 山东新松工业软件研究院股份有限公司 Communication system and method based on SPI bus
WO2023024156A1 (en) * 2021-08-25 2023-03-02 豪威芯仑传感器(上海)有限公司 Scanner circuit and image sensor

Also Published As

Publication number Publication date
CN104820645B (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN104135339A (en) Bluetooth low-power-consumption communication method, Bluetooth equipment and system
CN102012796B (en) Spliced wall control command transmission method and device
US9769850B2 (en) Method, device and system for transmitting data
CN102065152A (en) Joined screen system and communication device thereof
US20180191555A1 (en) Method for detecting abnormal system bus and device thereof
CN101945031B (en) Method for implementing mutual communication of slave stations of high-speed field bus
CN102665297B (en) Communication device and system as well as method of wireless cloud sensor network
CN105165076A (en) Timing advance adjustment method and device
CN104820645A (en) One-key scanning method and scanning system applied to scanning equipment
CN101938768B (en) Cascade RCU (remote Control Unit) link scanning method and electric tuning antenna system
CN104125150A (en) Protocol message processing method, device and system
CN108880639A (en) Data transmission method and device
CN103885910B (en) The method that many equipment carry out IIC communications under holotype
CN104158683A (en) Cross-device aggregation group rapid convergence method, and cross-device aggregation group rapid convergence device
US10757603B2 (en) Gateway function collecting data from nearby devices at first and second positions and timings for transmission to a base station
CN105117401A (en) Method, device and system for parallel transmission of pictures
KR101857088B1 (en) Remote Input/output apparatus having return circuit and method for interfacing internal bus thereof
CN103945565A (en) Method and device for obtaining offline map
CN112188623A (en) Communication method and apparatus, and computer storage medium
CN113395187B (en) 485 bus based communication enhancement method and system
US20180191562A1 (en) Parameter setting method for system bus and device thereof
CN103997529A (en) Method and system for utilizing gateway with dual identity for communication and gateway
CN104734838A (en) Method, system and switching matrix for synchronizing data
TWI514786B (en) Wireless electronic device and wireless transmission method thereof
US10348835B2 (en) Slave device and method for controlling the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170817

Address after: 200433 Min Xing Road, Shanghai, Yangpu District 376-4

Applicant after: Chen Faquan

Address before: 528000, No. four, No. 1, block 3, Jiuding international city, six Jihua Road, Chancheng District, Guangdong, Foshan, China 1615

Applicant before: Foshan person of outstanding talent Ou Zhineng Science and Technology Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201102

Address after: Room 202, second floor, No.2 building, Donger Nanxing working area, Guicheng Street, Nanhai District, Foshan City, Guangdong Province

Patentee after: Foshan jiejitong intelligent Sports Technology Co., Ltd

Address before: 200433 Min Xing Road, Shanghai, Yangpu District 376-4

Patentee before: Chen Faquan