CN105451161B - File sharing method and system are realized based on Android mobile phone built in base station mode - Google Patents

File sharing method and system are realized based on Android mobile phone built in base station mode Download PDF

Info

Publication number
CN105451161B
CN105451161B CN201510750093.4A CN201510750093A CN105451161B CN 105451161 B CN105451161 B CN 105451161B CN 201510750093 A CN201510750093 A CN 201510750093A CN 105451161 B CN105451161 B CN 105451161B
Authority
CN
China
Prior art keywords
mobile phone
file
base station
hot spot
shared file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510750093.4A
Other languages
Chinese (zh)
Other versions
CN105451161A (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.)
HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510750093.4A priority Critical patent/CN105451161B/en
Publication of CN105451161A publication Critical patent/CN105451161A/en
Application granted granted Critical
Publication of CN105451161B publication Critical patent/CN105451161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Abstract

The invention discloses one kind to realize file sharing method based on Android mobile phone built in base station mode, including the first mobile phone and several second mobile phones, it is the following steps are included: S1, first mobile phone unlatching can connect hot spot, and pass through the preview data that can be connected hot spot and issue shared file;After S2, second mobile phone search the hot spot of first mobile phone, the first mobile phone of Xiang Suoshu issues connection request;The connection request is agreed to or refused to S3, first mobile phone, if agreeing to, second mobile phone can be checked to the sharing file of first mobile phone and down operation.The present invention can get certain resource information before can not reaching connection between mobile phone, the mode for obtaining mobile phone resources is more convenient.Also, realize maximum sharedization of local resource.

Description

File sharing method and system are realized based on Android mobile phone built in base station mode
Technical field
The present invention relates to close range communication techniques fields between mobile phone, more particularly to one kind to be based on Android mobile phone built in base station side The method and system of formula realization file-sharing.
Background technique
The function of being related to mobile phone near-field communication in world wide at present is concentrated mainly on bluetooth and NFC.
Bluetooth is a kind of wireless technology standard, it can be achieved that short between fixed equipment, mobile device and building personal area network Range data exchange, bluetooth master at most can in a piconet temporary computer network of Bluetooth technology (one using) Seven device talks, certain not all equipment can reach this maximum.Protocol conversion can be passed through between equipment Role also can be exchanged into main equipment from equipment.For example, if a headphone initiated the connection request to mobile phone, its conduct The promoter of connection is exactly main equipment naturally, but perhaps can then be run as from equipment.
And NFC is a kind of radio technology of short distance high frequency, it is mutual by non-contact radio-frequency identification (RFID) and interconnection Logical technology integration is evolved, and combines induction type card reader, icah wavw and point-to-point function on a single chip, can be It is identified and exchanged data in short distance with compatible equipment.Working frequency is 13.56MHz. but uses this mobile-phone payment The user of scheme must replace special mobile phone.This technology is widely used in Japan and Korea S at present.Mobile phone user is with being configured with The mobile phone of payment function can go all over the whole nation: their mobile phone may be used as airport boarding verifying, gate inhibition's key of mansion, friendship Logical all-purpose card, credit card, Payment Card etc..
Bluetooth and NFC are in interconnection technique and data transmission, data that are in fact highly developed, but being transmitted But still seem single, and can not accomplish maximum sharedization of mobile phone local resource.
Summary of the invention
The present invention is mainly maximum sharedization that can not accomplish mobile phone local resource solved in the presence of the prior art Technical problem, the first object of the present invention are to provide a kind of side for realizing file-sharing based on Android mobile phone built in base station mode Method, the second object of the present invention are to provide a kind of system for realizing file-sharing based on Android mobile phone built in base station mode.
In order to realize the first object of the present invention, it is main the technical solution adopted is as follows:
One kind realizing file sharing method based on Android mobile phone built in base station mode, including the first mobile phone and several second Mobile phone comprising following steps:
S1, first mobile phone unlatching can connect hot spot, and pass through the preview that can be connected hot spot and issue shared file Data;
After S2, second mobile phone search the hot spot of first mobile phone, the first mobile phone of Xiang Suoshu issues connection request;
The connection request is agreed to or refused to S3, first mobile phone, if agreeing to, second mobile phone is to described first The sharing file of mobile phone is checked and down operation.
Further, in the step S1, base station ic and file module, the file are set in first mobile phone Module is suitable to generate the shared file to obtain the app sandbox data of first mobile phone and be locally stored after data, the base Chip of standing is suitable can to connect hot spot to open, and passes through the preview data that can be connected hot spot and issue shared file.
Further, the preview data includes the filename and file type of shared file.
Further, in the step S2, second mobile phone search first mobile phone connect hot spot after, can The preview data issued with the first mobile phone described in preview.
Further, after S31, first mobile phone agreement connection request are further comprised the steps of: after the step S3, Second mobile phone described in the first mobile phone real time inspection, and can IRQ sharing or work at any time to the operational circumstances of the shared file Masking operation out.
Further, first mobile phone can be arranged by the file module needs to share the shared file wherein It is one or more, and access limit can be set to the sharing file, wherein the shared file includes picture, music, video And compressed package.
In order to realize the second object of the present invention, it is main the technical solution adopted is as follows:
A kind of system that file-sharing being realized based on Android mobile phone built in base station mode as described in claim 1, packet The base station ic and file module being mounted on first mobile phone are included, the file module is for obtaining first mobile phone It app sandbox data and is locally stored after data and generates shared file, the base station ic passes through the heat for opening hot spot Point issues the preview data of the shared file, and the second mobile phone can check preview data after searching the hot spot, and be used for Connection request is issued to first mobile phone.
Further, the file module includes priority assignation unit, selecting unit and interrupt location, the priority assignation Unit is used to be arranged the access limit for sharing file, and the selecting unit needs the sharing text to be sharing for selecting Part, the interrupt location is for IRQ sharing or the shielding shared file.
Further, the file module further includes preview setting unit, and the preview setting unit is used for according to Shared file generates preview data.
The beneficial effects of the present invention are: its internal shared file is generated by preview data by the first mobile phone, second Mobile phone can get the description of these preview datas by the base station hot spot of the first mobile phone, can not reach between mobile phone thus At that can get certain resource information before connection, the mode for obtaining mobile phone resources is more convenient.Also, After first mobile phone and the second mobile phone establish data transmission channel, the second mobile phone can download the app sandbox comprising first-hand machine Data and the shared file that data are locally stored, it is abundant in content, realize maximum sharedization of local resource.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the method for the method and system of the invention that file-sharing is realized based on Android mobile phone built in base station mode Method flow diagram;
Fig. 2 is the system of the method and system of the invention that file-sharing is realized based on Android mobile phone built in base station mode Structural block diagram.
Specific embodiment
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing, so that advantages and features of the invention energy It is easier to be readily appreciated by one skilled in the art, so as to make a clearer definition of the protection scope of the present invention.
As shown in fig.1, of the invention realize file sharing method, including first based on Android mobile phone built in base station mode Mobile phone 1 and several second mobile phones 2 comprising following steps:
S1, the unlatching of the first mobile phone 1 can connect hot spot, and the preview data of shared file is issued by that can connect hot spot;
After S2, the second mobile phone 2 search the hot spot of the first mobile phone 1, connection request is issued to the first mobile phone 1;
Connection request can be agreed to or be refused to S3, the first mobile phone 1, if agreeing to, the second mobile phone 2 can be to the first mobile phone 1 Sharing file checked and down operation.
Its internal shared file is generated preview data by the first mobile phone 1 by the present invention, and the second mobile phone 2 can be by the As soon as the base station hot spot of mobile phone 1 gets the description of these preview datas, can not reach between mobile phone thus before connecting Certain resource information can be got, the mode for obtaining mobile phone resources is more convenient.Also, in 1 He of the first mobile phone After second mobile phone 2 establishes data transmission channel, the second mobile phone 2 can download the app sandbox data comprising first-hand machine 1 and this The shared file of ground storing data, it is abundant in content, realize maximum sharedization of local resource.
Specifically, mounted base station chip 3 and file module 4 in the first mobile phone 1, file module 4 is for obtaining in step S1 It the app sandbox data of first mobile phone 1 and is locally stored after data and generates shared file, base station ic 3 can connect heat for opening Point, and the preview data by the way that hot spot sending shared file can be connected.Because Android mobile phone natively possess a set of app sandbox and It is locally stored, and accesses app sandbox and be locally stored, it is necessary to by this component of the content provider of Android offer, so File module 4 of the invention, the data for needing that the app of access Android mobile phone installation is gone to be exposed indirectly by content provider And the storing data of mobile phone local.
In the present invention, preview data includes the filename and file type of shared file.During specific implementation, in advance Data of looking at can also include abstract brief introduction, preview text of shared file etc..
Specifically, in step S2, the second mobile phone 2 search the first mobile phone 1 connect hot spot after, can be first-hand with preview The preview data that machine 1 issues.It facilitates the second mobile phone 2 in this way to judge in advance, only when feeling to need these resources, Connection request can be issued.Its mode for obtaining data is more convenient.
After further comprising the steps of: S31, the first mobile phone 1 agreement connection request after step S3, the first mobile phone 1 can be looked into real time See that the second mobile phone 2 to the operational circumstances of shared file, and IRQ sharing or can make masking operation at any time.It can make so altogether The administration authority for enjoying file is controlled always on the first mobile phone 1, increases the ability of its active control and management.
Specifically, the one or more of them for needing shared shared file can be arranged in the first mobile phone 1 by file module 4, And access limit can be set to file is shared, wherein shared file includes picture, music, video and compressed package.Such as: as Connected first mobile phone 1 is specified to share image data, and access limit is arranged, then the second mobile phone as connection side is with regard to only It can see simultaneously download pictures data.
As shown in fig.2, it is of the invention such as the above-mentioned system for realizing file-sharing based on Android mobile phone built in base station mode, It includes the base station ic 3 and file module 4 being mounted on the first mobile phone 1, and file module 4 is for obtaining the first mobile phone 1 It app sandbox data and is locally stored after data and generates shared file, base station ic 3 passes through hot spot sending for opening hot spot The preview data of shared file, the second mobile phone 2 can check preview data after searching hot spot, and for sending out to the first mobile phone 1 Connection request out.In the present invention, in the first mobile phone 1 after opening included base station functions, the cellular base station hot spot for representing it will It can be added in the hotspot list near zone, as long as nigh second mobile phone 2, can search out this hot spot, In, the coverage area that the first mobile phone 1 carries base station hot spot depends on the performance of this base station ic 3, and performance is more powerful, is covered Range it is wider.
File module 4 includes priority assignation unit 5, selecting unit 6 and interrupt location 7, and priority assignation unit 5 is for being arranged Share the access limit of file, selecting unit 6 needs sharing file to be sharing for selecting, and interrupt location 7 is used for IRQ sharing Or shielding shared file.
File module 4 further includes preview setting unit 8, and preview setting unit 8 is used to generate preview number according to shared file According to.
In conclusion the present invention has the advantages that
1), the distinctive previewing file mechanism of the connection hot spot of base station ic, the mode for obtaining data are more convenient;
2) after, establishing data transmission channel, it can achieve the function of resource Fast synchronization between mobile phone;
3), file access rights management is controlled always in connected mobile phone.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, it is any without The change or replacement that creative work is expected are crossed, should be covered by the protection scope of the present invention.Therefore, protection of the invention Range should be determined by the scope of protection defined in the claims.

Claims (6)

1. one kind realizes file sharing method based on Android mobile phone built in base station mode, including the first mobile phone (1) and several the Two mobile phones (2), it is characterised in that: the following steps are included:
S1, first mobile phone (1) unlatching can connect hot spot, and pass through the preview number that can be connected hot spot and issue shared file According to, specifically: setting base station ic (3) and file module (4) in first mobile phone (1), the file module (4) fit with It obtains the app sandbox data of first mobile phone (1) and generates the shared file, the base station ic after data are locally stored (3) it fits to open and can connect hot spot, and passes through the preview data that can be connected hot spot and issue shared file;
After S2, second mobile phone (2) search the hot spot of first mobile phone (1), the first mobile phone of Xiang Suoshu (1) issues connection Request, second mobile phone (2) search first mobile phone (1) connect hot spot after, can be with the first mobile phone described in preview (1) preview data issued;
S3, first mobile phone (1) are agreed to or refuse the connection request, if agreeing to, second mobile phone (2) is to described the The shared file of one mobile phone (1) is checked and down operation.
2. realizing file sharing method based on Android mobile phone built in base station mode as described in claim 1, it is characterised in that: institute State the filename and file type that preview data includes shared file.
3. realizing file sharing method based on Android mobile phone built in base station mode as described in claim 1, it is characterised in that: institute It states and further comprises the steps of: S31 after step S3, after first mobile phone (1) agrees to the connection request, first mobile phone (1) Second mobile phone (2) described in real time inspection IRQ sharing or can make shielding behaviour at any time to the operational circumstances of the shared file Make.
4. realizing file sharing method based on Android mobile phone built in base station mode as described in claim 1, it is characterised in that: institute The one or more of them that the first mobile phone (1) needs to share the shared file by the file module (4) setting is stated, and can Access limit is arranged to the shared file, wherein the shared file includes picture, music, video and compressed package.
5. a kind of system for realizing file sharing method as described in claim 1, it is characterised in that: including being mounted on the first mobile phone (1) base station ic (3) and file module (4) on, the app that the file module (4) is used to obtain first mobile phone (1) are husky It box data and is locally stored after data and generates shared file, including preview setting unit (8), the preview setting unit (8) is used In generating preview data according to the shared file, the base station ic (3) is issued for opening hot spot by the hot spot The preview data of the shared file, the second mobile phone (2) can check preview data after searching the hot spot, and be used for institute It states the first mobile phone (1) and issues connection request.
6. a kind of system for realizing file sharing method as described in claim 1 as claimed in claim 5, it is characterised in that: The file module (4) includes priority assignation unit (5), selecting unit (6) and interrupt location (7), the priority assignation unit (5) for the access limit of the shared file to be arranged, the selecting unit (6) needs the shared text to be sharing for selecting Part, the interrupt location (7) is for IRQ sharing or the shielding shared file.
CN201510750093.4A 2015-11-06 2015-11-06 File sharing method and system are realized based on Android mobile phone built in base station mode Active CN105451161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510750093.4A CN105451161B (en) 2015-11-06 2015-11-06 File sharing method and system are realized based on Android mobile phone built in base station mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510750093.4A CN105451161B (en) 2015-11-06 2015-11-06 File sharing method and system are realized based on Android mobile phone built in base station mode

Publications (2)

Publication Number Publication Date
CN105451161A CN105451161A (en) 2016-03-30
CN105451161B true CN105451161B (en) 2019-09-13

Family

ID=55560863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510750093.4A Active CN105451161B (en) 2015-11-06 2015-11-06 File sharing method and system are realized based on Android mobile phone built in base station mode

Country Status (1)

Country Link
CN (1) CN105451161B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634974A (en) * 2016-07-15 2018-01-26 中兴通讯股份有限公司 A kind of data transmission method and device
CN106230968A (en) * 2016-08-22 2016-12-14 杨玲 Cross-platform file based on Apache Server transmission APP software system
CN106339155A (en) * 2016-08-26 2017-01-18 乐视控股(北京)有限公司 File sharing method and device
CN106534102A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Device access method and device and electronic device
CN115114235A (en) * 2021-03-17 2022-09-27 华为技术有限公司 File access method, communication system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932958A (en) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 Method, device and system for real-time data sharing
CN102970439A (en) * 2012-11-29 2013-03-13 广东欧珀移动通信有限公司 Method and device for sharing application programs of mobile phones
CN103269521A (en) * 2013-04-28 2013-08-28 成都西可科技有限公司 Fast intelligent terminal data sharing method
CN104661191A (en) * 2013-11-15 2015-05-27 深圳市快播科技有限公司 Local area network communication method, system and terminal, and information sharing device
WO2015081875A1 (en) * 2013-12-04 2015-06-11 北京奇虎科技有限公司 Method and apparatus for sharing files between terminal devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426961A (en) * 2013-08-29 2015-03-18 腾讯科技(深圳)有限公司 Browse content sharing method and terminal
CN104754563A (en) * 2015-03-06 2015-07-01 广东欧珀移动通信有限公司 Wireless hotspot access sharing method, mobile terminals and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932958A (en) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 Method, device and system for real-time data sharing
CN102970439A (en) * 2012-11-29 2013-03-13 广东欧珀移动通信有限公司 Method and device for sharing application programs of mobile phones
CN103269521A (en) * 2013-04-28 2013-08-28 成都西可科技有限公司 Fast intelligent terminal data sharing method
CN104661191A (en) * 2013-11-15 2015-05-27 深圳市快播科技有限公司 Local area network communication method, system and terminal, and information sharing device
WO2015081875A1 (en) * 2013-12-04 2015-06-11 北京奇虎科技有限公司 Method and apparatus for sharing files between terminal devices

Also Published As

Publication number Publication date
CN105451161A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105451161B (en) File sharing method and system are realized based on Android mobile phone built in base station mode
KR101702490B1 (en) Method and system for managing multiple applications in near field communication
CN102457849B (en) Wireless docking with out-of-band initiation
US8631232B2 (en) Wireless personal area network accessing method
CN101232419B (en) Wireless local area network access method based on primitive
CN103209007A (en) Bluetooth device quick pairing method and Bluetooth device
CN108702603B (en) Method and equipment for communication through virtual customer identification module
CN105263140A (en) System and method for realizing remote authentication of subscriber identity module (SIM) card
CN104168557A (en) Upgrading method for operating systems and upgrading device for operating systems
CN105009617A (en) Method and apparatus for multisim devices with embedded SIM functionality
CN104467923A (en) Apparatus interacting method, apparatus and system
TWI699107B (en) Group establishment method for multi-login authentication user and switching device thereof
Prasad et al. 5G micro-operator networks—A key enabler for new verticals and markets
CN100581125C (en) Access method suitable for WPAN
CN102033828B (en) Method and system for accessing external card
CN111787542A (en) Service data transmission method, device, storage medium and terminal equipment
CN105530714A (en) MIFI communication service system and MIFI and communication method thereof
CN102185925A (en) System, terminal and method for supporting terminal data processing of computer
CN115623457A (en) Communication method and electronic device
CN102802211B (en) Techniques for augmented functionality by sharing wireless resources
CN103714306A (en) Non-contact communication technology selection method and system based on mobile terminal type
EP2360987B1 (en) Device and method for coupling a cellular telecommunication device to an NFC terminal
CN115426139A (en) Access control method based on SIM card information and communication device
CN104301531B (en) Method for controlling mobile terminal and mobile terminal
CN104243707A (en) Mobile terminal control method, mobile terminal and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201216

Address after: 313028 Industrial Park, balidian Town, Huzhou City, Zhejiang Province

Patentee after: HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.

Address before: 201616 No. 3666 Sixian Road, Songjiang District, Shanghai

Patentee before: Phicomm (Shanghai) Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: File sharing method and system based on Android mobile phone with built-in base station

Effective date of registration: 20210630

Granted publication date: 20190913

Pledgee: Zhejiang Tailong Commercial Bank Co.,Ltd. Huzhou Branch

Pledgor: HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.

Registration number: Y2021330000755

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230811

Granted publication date: 20190913

Pledgee: Zhejiang Tailong Commercial Bank Co.,Ltd. Huzhou Branch

Pledgor: HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.

Registration number: Y2021330000755