CN102542223A - Card reader, and file transmission method and module - Google Patents

Card reader, and file transmission method and module Download PDF

Info

Publication number
CN102542223A
CN102542223A CN201110004435XA CN201110004435A CN102542223A CN 102542223 A CN102542223 A CN 102542223A CN 201110004435X A CN201110004435X A CN 201110004435XA CN 201110004435 A CN201110004435 A CN 201110004435A CN 102542223 A CN102542223 A CN 102542223A
Authority
CN
China
Prior art keywords
card reader
file
address
wlan
module
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.)
Pending
Application number
CN201110004435XA
Other languages
Chinese (zh)
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201110004435XA priority Critical patent/CN102542223A/en
Publication of CN102542223A publication Critical patent/CN102542223A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a card reader, a file transmission method and a file transmission module, and relates to the field of wireless communication. The file transmission method for the card reader comprises the following steps that: the card reader sends a request for applying for an Internet protocol (IP) address to a dynamic host configuration protocol (DHCP) server in a wireless local area network controller through a wireless local area network, wherein the wireless local area network is a network with an institute of electrical and electronic engineers (IEEE) 802.11 protocol suite and a frequency band; the card reader acquires the IP address, wherein the IP address is an address distributed by the DHCP server to the card reader according to a multi-access control (MAC) address of the card reader; the card reader transmits a file designated by a user to a file server; and the card reader receives a confirm message which is returned by the file server and reflects that the file is transmitted successfully. The card reader can read the file from a storage card and transmit the file through the wireless local area network.

Description

Card reader, file transmitting method and module
Technical field
The present invention relates to wireless communication field, particularly relate to a kind of card reader, file transmitting method and module.
Background technology
Need a kind of general storage medium to carry out exchanges data between the various products such as computer, digital product, household electrical appliances.Along with the develop rapidly of digital product with popularize, the exchanges data between the digital product becomes the means that often need use in people's daily life, card reader is exactly to accomplish the product of such function.Card reader is generally used USB interface, inserts computing machine and reads various flash cards.Present card reader all adopts the mode of wired access, is not easy to sometimes use.
Summary of the invention
The objective of the invention is to propose a kind of card reader, file transmitting method and module, the solution of wireless transmission is provided for card reader.
For realizing above-mentioned purpose; The invention provides a kind of file transmitting method that is used for card reader; Comprise: card reader is sent the request of application IP address through the Dynamic Host Configuration Protocol server of WLAN in wireless lan controller; Wherein, WLAN is the network of IEEE 802.11 protocol suites and frequency range; Card reader is obtained the IP address, and wherein, the IP address is that Dynamic Host Configuration Protocol server is the card reader addresses distributed according to the card reader MAC Address; After card reader is obtained the IP address, transmit the file of user's appointment to file server; Card reader receives the successful affirmation message of expression file transmission that file server returns.
In one embodiment, the WLAN of card reader access is IPv4 or IPv6 network.
In one embodiment, send through the Dynamic Host Configuration Protocol server of WLAN in wireless lan controller in card reader before the request of application IP address, comprising: card reader inserts WLAN according to the network frequency range that the user is provided with.
In one embodiment, file transmitting method also comprises: card reader receives user's input, transmits file with the input according to the user.
For realizing above-mentioned purpose; The present invention also provides a kind of file delivery module that is used for card reader; Comprise: IP Address requests unit; Be used for sending the request of applying for the IP address through WLAN to the Dynamic Host Configuration Protocol server of wireless lan controller, wherein, WLAN is the network of IEEE 802.11 protocol suites and frequency range; The IP address acquisition unit is used to obtain the IP address, and wherein, the IP address is that Dynamic Host Configuration Protocol server is the card reader addresses distributed according to the card reader MAC Address; The file delivery unit, be used to obtain the IP address after, transmit the file of user's appointment to server; Confirmation unit is used for the successful affirmation message of expression file transmission that reception server returns.
In one embodiment, described file delivery module also comprises: the IPv4/IPv6 access unit is used to insert IPv4 or IPv6 network.
In one embodiment, described file delivery module comprises: the network selecting unit, the network frequency range that is used for being provided with according to the user inserts WLAN.
For realizing above-mentioned purpose, the present invention also provides a kind of card reader that comprises above-mentioned file delivery module, also comprises: control module is used for the operation of control documents delivery module; Power module is used to the card reader power supply; Storage card AM access module is used to connect external memory card, reads the file on the external memory card; Wireless network AM access module is used for card reader is inserted WLAN, to transmit the file on the external memory card.
In one embodiment, described card reader also comprises: display module is used for the thumbnail of display file.
In one embodiment, display module also is used to receive user's input, transmits file with the input according to the user.
Based on technique scheme; According to an aspect of the present invention, card reader can read file from storage card, through WLAN; Transfer the file to specified server, to satisfy the task needs that the network user has relatively high expectations for high capacity file real-time in the storage card.
Description of drawings
Accompanying drawing described herein is used to provide further explanation of the present invention, constitutes a part of the present invention.Illustrative examples of the present invention and explanation thereof only are used to explain the present invention, but do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the synoptic diagram according to the application scenarios of the embodiment of the invention.
Fig. 2 is the process flow diagram according to the file transmitting method of the embodiment of the invention.
Fig. 3 is the structural representation according to the file delivery module of the embodiment of the invention.
Fig. 4 is the structural representation of file delivery module according to another embodiment of the present invention.
Fig. 5 is the structural representation according to the card reader of the embodiment of the invention.
Fig. 6 is the structural representation of card reader according to another embodiment of the present invention.
Fig. 7 is the software architecture according to the card reader of the embodiment of the invention
Embodiment
With reference to the accompanying drawings the present invention is described in more detail, exemplary embodiment of the present invention wherein is described.In the accompanying drawings, identical label is represented identical or similar assembly or element.
Fig. 1 is the synoptic diagram according to the application scenarios 100 of the embodiment of the invention.
In application scenarios 100, one embodiment of the present of invention can provide the wireless business for transmitting as soon as shooting of photo for each press photographer of news agency.For example, the user can use the common memory card that carries to take pictures, and camera is storage picture on storage card.When the user need upload photograph, storage card is taken out from camera, be inserted in the card reader 102.The liquid crystal display of card reader 102 can show the thumbnail of picture file in the storage card.The user can select and upload the file that needs through the mode of touch LCD screen.Card reader 102 can be uploaded to file server with file through WLAN (comprising like network elements such as WAP, wireless local network switch, convergence switches).At this moment, card reader 102 can point out card reader 102 just in uploading pictures, becomes redness such as pilot lamp.Card reader 102 can also write down each picture file transmission state (as do not upload, upload, transmission success, bust this etc.).When the picture in the card reader 102 completion storage cards is uploaded task, can point out (becoming green) to upload and accomplish like pilot lamp.Wherein, the process uploaded of picture need not user intervention.
Fig. 2 is the process flow diagram according to the file transmitting method 200 of the embodiment of the invention.
In step 202; Card reader is through DHCP (the Dynamic Host Configuration Protocol of WLAN in wireless lan controller; DynamicHost setting agreement) server sends the request of application IP address; Wherein, WLAN is the network of IEEE (Institute of Electrical and Electronics Engineers, Institute of Electrical and Electric Engineers) 802.11 protocol suites and frequency range.Such as, card reader can be supported whole protocol of wireless local area network of IEEE 802.11a/b/g/n, and the ability of wirelessly transmitting data file is provided.In one embodiment, card reader inserts WLAN according to the network frequency range that the user is provided with.
In step 204, card reader is obtained the IP address, and wherein, the IP address is that Dynamic Host Configuration Protocol server is the card reader addresses distributed according to the card reader MAC Address.In one embodiment, card reader can be supported IPv4/v6 dual-stack network agreement.
In step 206, after card reader is obtained the IP address, transmit the file of user's appointment to file server.
In step 208, card reader receives the successful affirmation message of expression file transmission that file server returns.In one embodiment, card reader is when sending file, and outside pilot lamp can be changed to redness, and after the whole transmissions of the file in the storage card finished, outside pilot lamp can be changed to green.
Fig. 3 is the structural representation according to the file delivery module 300 of the embodiment of the invention.File delivery module 300 comprises: IP Address requests unit 302, IP address acquisition unit 304, file delivery unit 306 and confirmation unit 308.
IP Address requests unit 302 is used for sending the request of applying for the IP address through WLAN to the Dynamic Host Configuration Protocol server of wireless lan controller, and wherein, WLAN is the network of IEEE802.11 protocol suite and frequency range.
IP address acquisition unit 304 is used to obtain the IP address, and wherein, the IP address is that Dynamic Host Configuration Protocol server is the card reader addresses distributed according to card reader MAC (Media Access Control, medium access control) address.
File delivery unit 306, be used to obtain the IP address after, transmit the file of user's appointment to server.
Confirmation unit 308 is used for the successful affirmation message of expression file transmission that reception server returns.
Fig. 4 is the structural representation according to the file delivery module 400 of the embodiment of the invention.File delivery module 400 comprises: IP Address requests unit 402, IP address acquisition unit 404, file delivery unit 406, confirmation unit 408, IPv4/IPv6 access unit 410 and network selecting unit 412.
IP Address requests unit 402 is used for sending the request of applying for the IP address through WLAN to the Dynamic Host Configuration Protocol server of wireless lan controller, and wherein, WLAN is the network of IEEE802.11 protocol suite and frequency range.
IP address acquisition unit 404 is used to obtain the IP address, and wherein, the IP address is that Dynamic Host Configuration Protocol server is the card reader addresses distributed according to the card reader MAC Address.
File delivery unit 406, be used to obtain the IP address after, transmit the file of user's appointment to server.
Confirmation unit 408 is used for the successful affirmation message of expression file transmission that reception server returns.
IPv4/IPv6 access unit 410 is used to insert IPv4 or IPv6 network.
Network selecting unit 412, the network frequency range that is used for being provided with according to the user inserts WLAN.
Fig. 5 is the structural representation according to the card reader 500 of the embodiment of the invention.Card reader 500 comprises: file delivery module 502, control module 504, power module 506, storage card AM access module 508 and wireless network AM access module 510.File delivery module 502 can be the file delivery module shown in Fig. 3 or 4 300 or 400, and its ins and outs are described in preceding text, repeat no more here.
Control module 504 is used for the operation of control documents delivery module.
Power module 506 is used to the card reader power supply.
Storage card AM access module 508 is used to connect external memory card, reads the file on the external memory card.
Wireless network AM access module 510 is used for card reader 500 is inserted WLAN, to transmit the file on the external memory card.
Fig. 6 is the structural representation of card reader 600 according to another embodiment of the present invention.Card reader 600 comprises: file delivery module 602, control module 604, power module 606, storage card AM access module 608, wireless network AM access module 610, display module 612 and storage inside module 614.File delivery module 602 can be the file delivery module shown in Fig. 3 or 4 300 or 400, and its ins and outs are described in preceding text, repeat no more here.
Control module 604 such as microprocessor, is used for the operation of control documents delivery module.
Power module 606 is used to card reader 600 power supplies.
Storage card AM access module 608 like storage card slot, can be used to connect external memory card, reads the file on the external memory card.
Wireless network AM access module 610 like the WLAN network interface card, is used for card reader 600 is inserted WLAN, to transmit the file on the external memory card.
Display module 612 is used for the thumbnail of display file.Display module 612 also is used to receive user's input, transmits file with the input according to the user.In one embodiment, display module 612 can be the touch LCD screen.
Storage inside module 614 such as SDRAM (Synchronous Dynamic Random Access Memory, Synchronous Dynamic Random Access Memory) or FLASH, can be used for the buffering to the file that will transmit.
Fig. 7 is the software architecture according to the card reader of the embodiment of the invention.Software systems can be set up plate support package and device driver on hardware device, and transplant (SuSE) Linux OS.Network layer communication can adopt IPv4/v6 dual-stack network agreement; Transport layer can adopt TCP (Transmission Control Protocol; Transmission control protocol) agreement, application layer can adopt FTP (File Transfer Protocol, FTP) agreement.In one embodiment, hardware drive program and software systems can be passed through economize on electricity optimization, thereby reach the effect that works long hours.
According to an aspect of the present invention, card reader can read file from storage card, through WLAN, transfer the file to specified server.According to a further aspect in the invention; Card reader can be supported the IPv4/IPv6 dual stack procotol; File sent to be positioned at IPv4 and IPv6 network specified server, to satisfy the task needs of having relatively high expectations for high capacity file real-time in the storage card from the heterogeneous networks user.
Description of the invention provides for example with for the purpose of describing, and is not the disclosed form that exhaustively perhaps limit the invention to.A lot of modifications and variation are obvious for those of ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment that have various modifications that the present invention's design is suitable for special-purpose.

Claims (10)

1. a file transmitting method that is used for card reader is characterized in that, comprising:
Said card reader is provided with the request that agreement (DHCP) server sends application Internet protocol (IP) address through the DynamicHost of WLAN in wireless lan controller; Wherein, said WLAN is the network of Institute of Electrical and Electric Engineers (IEEE) 802.11 protocol suites and frequency range;
Said card reader is obtained said IP address, and wherein, said IP address is that said Dynamic Host Configuration Protocol server is said card reader addresses distributed according to card reader medium access control (MAC) address;
After said card reader is obtained said IP address, transmit the file of user's appointment to file server;
Said card reader receives the successful affirmation message of expression file transmission that said file server returns.
2. file transmitting method according to claim 1 is characterized in that, the said WLAN that said card reader inserts is IPv4 or IPv6 network.
3. file transmitting method according to claim 1 is characterized in that, sends through the Dynamic Host Configuration Protocol server of WLAN in wireless lan controller in said card reader before the request of application IP address, comprising:
Said card reader inserts WLAN according to the network frequency range that the user is provided with.
4. file transmitting method according to claim 1 is characterized in that, also comprises:
Said card reader receives user's input, transmits file with the input according to the user.
5. a file delivery module that is used for card reader is characterized in that, comprising:
IP Address requests unit is used for sending the request of applying for the IP address through WLAN to the Dynamic Host Configuration Protocol server of wireless lan controller, and wherein, WLAN is the network of IEEE802.11 protocol suite and frequency range;
The IP address acquisition unit is used to obtain said IP address, and wherein, said IP address is that said Dynamic Host Configuration Protocol server is said card reader addresses distributed according to the card reader MAC Address;
The file delivery unit, be used to obtain the IP address after, transmit the file of user's appointment to file server;
Confirmation unit is used to receive the successful affirmation message of expression file transmission that said file server returns.
6. file delivery module according to claim 5 is characterized in that, also comprises:
The IPv4/IPv6 access unit is used to insert IPv4 or IPv6 network.
7. file delivery module according to claim 5 is characterized in that, also comprises:
The network selecting unit, the network frequency range that is used for being provided with according to the user inserts WLAN.
8. card reader that comprises claim 5,6 or 7 described file delivery module also comprises:
Control module is used to control the operation of said file delivery module;
Power module is used to said card reader power supply;
Storage card AM access module is used to connect external memory card, reads the file on the external memory card;
Wireless network AM access module is used for said card reader is inserted WLAN, to transmit the file on the external memory card.
9. card reader according to claim 8 is characterized in that, also comprises:
Display module is used for the thumbnail of display file.
10. card reader according to claim 9 is characterized in that said display module also is used to receive user's input, transmits file with the input according to the user.
CN201110004435XA 2010-12-08 2011-01-11 Card reader, and file transmission method and module Pending CN102542223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110004435XA CN102542223A (en) 2010-12-08 2011-01-11 Card reader, and file transmission method and module

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010579787.3 2010-12-08
CN201010579787 2010-12-08
CN201110004435XA CN102542223A (en) 2010-12-08 2011-01-11 Card reader, and file transmission method and module

Publications (1)

Publication Number Publication Date
CN102542223A true CN102542223A (en) 2012-07-04

Family

ID=46349086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110004435XA Pending CN102542223A (en) 2010-12-08 2011-01-11 Card reader, and file transmission method and module

Country Status (1)

Country Link
CN (1) CN102542223A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914309A (en) * 2012-12-29 2014-07-09 中国航空工业集团公司第六三一研究所 Method for setting IP (Internet Protocol) and MAC (Media Access Control) addresses based on embedded system platform
CN113111670A (en) * 2021-04-06 2021-07-13 天津城建大学 Wireless card reader

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060085639A1 (en) * 2004-10-15 2006-04-20 Microsoft Corporation Security features for portable computing environment
US20060085848A1 (en) * 2004-10-19 2006-04-20 Intel Corporation Method and apparatus for securing communications between a smartcard and a terminal
CN1893356A (en) * 2005-07-01 2007-01-10 萧学文 Method and system for accessing computer resource through mobile terminal
CN101360059A (en) * 2008-09-05 2009-02-04 Tcl通力电子(惠州)有限公司 Network content sharing system and method
CN201638227U (en) * 2010-01-26 2010-11-17 江苏诚联网络信息技术有限公司上海分公司 Card reader with wireless identification function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060085639A1 (en) * 2004-10-15 2006-04-20 Microsoft Corporation Security features for portable computing environment
US20060085848A1 (en) * 2004-10-19 2006-04-20 Intel Corporation Method and apparatus for securing communications between a smartcard and a terminal
CN1893356A (en) * 2005-07-01 2007-01-10 萧学文 Method and system for accessing computer resource through mobile terminal
CN101360059A (en) * 2008-09-05 2009-02-04 Tcl通力电子(惠州)有限公司 Network content sharing system and method
CN201638227U (en) * 2010-01-26 2010-11-17 江苏诚联网络信息技术有限公司上海分公司 Card reader with wireless identification function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914309A (en) * 2012-12-29 2014-07-09 中国航空工业集团公司第六三一研究所 Method for setting IP (Internet Protocol) and MAC (Media Access Control) addresses based on embedded system platform
CN113111670A (en) * 2021-04-06 2021-07-13 天津城建大学 Wireless card reader

Similar Documents

Publication Publication Date Title
US9980084B2 (en) Communication apparatus, method for controlling the same, and storage medium
US20140101465A1 (en) Extending the capabilities of existing devices without making modifications to the existing devices
US9204477B2 (en) Memory device and wireless communication control method of the same
EP2563091B1 (en) Wireless internet-accessing module, host, communication method thereof, and data card
CA2917656C (en) Tag identification method and apparatus
EP2991435A1 (en) Communication apparatus and control method of communication apparatus
CN103891396A (en) Apparatus and method for determining group owner in establishment of wi-fi direct connection
JP2016508310A (en) Near field communication for utility meters
US9531844B2 (en) Automatic internet connection sharing among related devices
CN104268500A (en) Method for writing electronic barcode information of product
JP2012230542A (en) Information processing device
CN103369034A (en) Method, system and device for sending photos to digital photo frames
US9699047B2 (en) Communication device, control method for communication device, and program
CN107277743B (en) Communication system, communication device, and control method
CN102542223A (en) Card reader, and file transmission method and module
US10015746B2 (en) Communication apparatus and control method thereof
WO2013152644A1 (en) Wireless sd-card type processing device
CN102281307A (en) Remote data information sharing method based on virtual file system mode
US9924554B2 (en) Communication apparatus, control method for the communication apparatus, and non-transitory computer-readable storage medium
US9900829B2 (en) Communication device, method for controlling the communication device, and program
EP2829985A1 (en) Information processing system, information processing method, server, control method therefor, and control program
RU2607248C1 (en) Communication device, its control method and program
EP2424310A1 (en) Mobile communication device and communicative transmission method
JP2023041786A (en) Electronic apparatus, communication system, communication apparatus, program, method for controlling communication, and method for controlling communication system
JP2021007191A (en) Processing device and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120704