CN103207794B - The sharing method of application program between mobile terminal in LAN - Google Patents

The sharing method of application program between mobile terminal in LAN Download PDF

Info

Publication number
CN103207794B
CN103207794B CN201210511449.5A CN201210511449A CN103207794B CN 103207794 B CN103207794 B CN 103207794B CN 201210511449 A CN201210511449 A CN 201210511449A CN 103207794 B CN103207794 B CN 103207794B
Authority
CN
China
Prior art keywords
application program
mobile terminal
value
application
program
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
CN201210511449.5A
Other languages
Chinese (zh)
Other versions
CN103207794A (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.)
DONGLAN DIGITAL Co Ltd
Original Assignee
DONGLAN DIGITAL 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 DONGLAN DIGITAL Co Ltd filed Critical DONGLAN DIGITAL Co Ltd
Priority to CN201210511449.5A priority Critical patent/CN103207794B/en
Publication of CN103207794A publication Critical patent/CN103207794A/en
Application granted granted Critical
Publication of CN103207794B publication Critical patent/CN103207794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses in a kind of LAN the sharing method of application program between mobile terminal, as long as user is in same LAN, without being connected into the Internet, httpservice technology is used to generate http download address and the Quick Response Code of the application program that user installs voluntarily in the first described mobile terminal, the second described mobile terminal downloads application program according to the http download address generated or Quick Response Code, directly can download application program above the mobile terminal of the other side, mobile terminal is made to eliminate the flow downloading application program, without the software that removal search of taking time is corresponding, greatly facilitate user and share speed and the effect of application program, bring convenience to the user of mobile terminal.

Description

The sharing method of application program between mobile terminal in LAN
Technical field
The present invention relates to the communications field, more particularly to the sharing method of application program between mobile terminal in a kind of LAN.
Background technology
Intelligent mobile terminal is the trend of current development in science and technology, and the development of intelligent mobile terminal is also along with development and the variation of increasing application program.The application of current application program the most very diversification, the field related to is also a lot, comprise diet, chat, game etc..But, at present intelligence move these application programs that can run in terminal be all download up from the Internet install file or from computer direct copying file is installed, the mobile terminal that cannot be provided with application program in the case of not linking the Internet from another obtains installation file up, such as, one mobile phone is mounted with that some is applied, but can not give another mobile phone by the installation sharing files of this application in the case of not linking the Internet.There is following defect in above downloading mode: down loading mounting software needs to connect the Internet, needs to use flow, uneconomical;From computer, directly copy software, downloaded software whenever and wherever possible cannot be accomplished again, very inconvenient.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of easy to use, can mutually share the installation method of the local area network applications program installing file between multiple intelligent terminal in the case of not networking.
The technical solution of the present invention is, the sharing method of application program between mobile terminal is provided in a kind of LAN having steps of, shares second mobile terminal being provided with Android system of application program including the first mobile terminal being provided with Android system and request actively sharing application program;The method comprises the following steps:
One, the application program of the first mobile terminal is opened;
Two, by androidsdk(Android SDK) in the info class of PackageInfo(application package) class is applied program application.flags(application program labelling) and value X and application.FLAG_SYSTEM (FLAG_SYSTEM refer to application be positioned at/system/app under labelling) value Y;Then judge whether the application journey in the first described mobile terminal is that user installs voluntarily according to value X and value Y;The application program that user installs voluntarily can be shared with the second described mobile terminal;The application program that first mobile terminal system carries can not be shared with the second described mobile terminal;Concrete judgment mode is as follows:
(1) if value X≤0 obtained and value Y≤0, then judge that this application program is that user installs voluntarily, can share;
(2) if value X≤0 obtained and value Y > 0, then judge that this application program is the program of system, it is impossible to share;
(3) if the value X > 0 obtained and value Y≤0, then judge that this application program is the program of system, it is impossible to share;
(4) if the value X > 0 obtained and value Y > 0, then judge that this application program is the program of system, it is impossible to share;
Three, obtain sharing the list of application program by step 2, use file copying method by the installation document copy of application program that can share to SD card;Then the storing path installing document of each application program is obtained;The physical address of the installation document storing according to the application program obtained, generates the http(hyper text protocol that can download) address that accesses, and this address is the most dynamically generated the download address of Quick Response Code;
Four, the second described mobile terminal is according to the http(hyper text protocol generated) download address of download address or Quick Response Code all can download the installation document of application program.
After using above structure, in the LAN of the present invention, the sharing method of application program between mobile terminal, compared with prior art, has the advantage that
Due to the sharing method of application program between mobile terminal in the LAN of the present invention, as long as user is in same LAN, without being connected into the Internet, use httpservice technology generate application program that in the first described mobile terminal, user installs voluntarily http download address and Quick Response Code, the second described mobile terminal downloads application program according to the http download address generated or Quick Response Code, directly can download application program above the mobile terminal of the other side, mobile terminal is made to eliminate the flow downloading application program, without the software that removal search of taking time is corresponding, greatly facilitate user and share speed and the effect of application program, bring convenience to the user of mobile terminal.
Detailed description of the invention
In the LAN of the present invention, between mobile terminal, the sharing method of application program includes that the first mobile terminal being provided with Android system actively sharing application program shares second mobile terminal being provided with Android system of application program with request, the first described mobile terminal and the second mobile terminal refer to can be between two mobile terminals, it is also possible to be between multiple mobile terminal.The method comprises the following steps:
One, the application program of the first mobile terminal is opened.
Two, it is applied value X of program application.flags and value Y of application.FLAG_SYSTEM by PackageInfo class in androidsdk;Then judge whether the application program in the first described mobile terminal is that user installs voluntarily according to value X and value Y;The application program that user installs voluntarily can be shared with the second described mobile terminal;The application program that first mobile terminal system carries can not be shared with the second described mobile terminal.Concrete judgment mode is as follows:
(1) if value X≤0 obtained and value Y≤0, then judge that this application program is that user installs voluntarily, can share;
(2) if value X≤0 obtained and value Y > 0, then judge that this application program is the program of system, it is impossible to share;
(3) if the value X > 0 obtained and value Y≤0, then judge that this application program is the program of system, it is impossible to share;
(4) if the value X > 0 obtained and value Y > 0, then judge that this application program is the program of system, it is impossible to share;
Three, obtain sharing the list of application program by step 2, use file copying method by the installation document copy of application program that can share to SD card;Then the installation document storing path of each application program is obtained;The physical address of the installation document storing according to the application program obtained, produces the address that the http that can download accesses, and this address is the most dynamically produced the download address of Quick Response Code.The described Quick Response Code that dynamically produces refers to, the wifi network that mobile terminal connects every time is obstructed, so the IP address got also can be different, it is that the address that on IP and SD, application program preserves is formed that generation can access the http address of download, and Quick Response Code is constantly in change with the IP address got.
Four, the second described mobile terminal all can download the installation document of application program according to the download address of the http download address generated or Quick Response Code.
Use above method to share application program, as long as two mobile terminals are all in same LAN, just can mutually share the application program that user in mobile terminal installs voluntarily, very easy to use.Described mobile terminal can be smart mobile phone etc..

Claims (1)

1. a sharing method for application program between mobile terminal in LAN, shares second mobile terminal being provided with Android system of application program including the first mobile terminal being provided with Android system and request actively sharing application program;The method comprises the following steps:
One, application program and the application program of the second mobile terminal of the first mobile terminal are opened;
Two, it is applied value X of program application.flags and value Y of application.FLAG_SYSTEM by the info class of application package in Android SDK;Described application.flags is application program labelling, described application.FLAG_SYSTEM refer to application be positioned at/system/app under labelling;Then judge whether the application program in the first described mobile terminal is that user installs voluntarily according to value X and value Y;The application program that user installs voluntarily can be shared with the second described mobile terminal;The application program that first mobile terminal system carries can not be shared with the second described mobile terminal;Concrete judgment mode is as follows:
(1) if value X≤0 obtained and value Y≤0, then judge that this application program is that user installs voluntarily, can share;
(2) if value X≤0 obtained and value Y > 0, then judge that this application program is the program of system, it is impossible to share;
(3) if the value X > 0 obtained and value Y≤0, then judge that this application program is the program of system, it is impossible to share;
(4) if the value X > 0 obtained and value Y > 0, then judge that this application program is the program of system, it is impossible to share;
Three, obtain sharing the list of application program by step 2, use file copying method by the installation document copy of application program that can share to SD card;Then the storing path installing document of each application program is obtained;The physical address of the installation document storing according to the application program obtained, generates the address that the hyper text protocol that can download accesses, and this address is the most dynamically generated the download address of Quick Response Code;
Four, the second described mobile terminal all can download the installation document of application program according to the download address of the hyper text protocol download address generated or Quick Response Code.
CN201210511449.5A 2012-12-04 2012-12-04 The sharing method of application program between mobile terminal in LAN Active CN103207794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210511449.5A CN103207794B (en) 2012-12-04 2012-12-04 The sharing method of application program between mobile terminal in LAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210511449.5A CN103207794B (en) 2012-12-04 2012-12-04 The sharing method of application program between mobile terminal in LAN

Publications (2)

Publication Number Publication Date
CN103207794A CN103207794A (en) 2013-07-17
CN103207794B true CN103207794B (en) 2016-08-03

Family

ID=48755025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210511449.5A Active CN103207794B (en) 2012-12-04 2012-12-04 The sharing method of application program between mobile terminal in LAN

Country Status (1)

Country Link
CN (1) CN103207794B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461605A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Application downloading method and electronic devices
CN103473355A (en) * 2013-09-26 2013-12-25 深圳市金立通信设备有限公司 Method, device and system for sharing application
US10402464B2 (en) 2013-11-21 2019-09-03 Beijing Qihoo Technology Company Limited Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
CN103617218A (en) * 2013-11-21 2014-03-05 北京奇虎科技有限公司 Light application creating method and clients
CN103685515A (en) * 2013-12-13 2014-03-26 北京奇虎科技有限公司 Method and system for downloading application
CN103888522A (en) * 2014-03-11 2014-06-25 青岛海信电器股份有限公司 Application recommending method and electronic equipment
CN103944961A (en) * 2014-03-21 2014-07-23 天脉聚源(北京)传媒科技有限公司 Application sharing method, device and system
CN105227594A (en) * 2014-06-09 2016-01-06 中兴通讯股份有限公司 Document transmission method, Apparatus and system
CN104063244A (en) * 2014-06-20 2014-09-24 海视云(北京)科技有限公司 Method for sharing application programs and user terminals
CN104486383A (en) * 2014-11-28 2015-04-01 四川长虹电器股份有限公司 Method for installing application program on smart mobile device
CN105072398B (en) * 2015-08-06 2018-07-13 浙江宇视科技有限公司 A kind of device updating method and device
CN106095475A (en) * 2016-04-29 2016-11-09 乐视控股(北京)有限公司 A kind of application program across screen installation method and system
CN106502744A (en) * 2016-10-26 2017-03-15 努比亚技术有限公司 Application program sharing method and system
CN107729390B (en) * 2017-09-19 2020-12-25 广东小天才科技有限公司 Application pushing method, system, client and application server
CN108121546A (en) * 2017-12-19 2018-06-05 维沃移动通信有限公司 A kind of information processing method and mobile terminal
CN111726386A (en) * 2019-03-22 2020-09-29 奇酷互联网络科技(深圳)有限公司 Application program sharing method, wearable device and computer storage medium
CN110046015A (en) * 2019-04-08 2019-07-23 维沃移动通信有限公司 Using sharing method and terminal
CN115314484A (en) * 2022-06-15 2022-11-08 广州九尾信息科技有限公司 Local area network android test package automatic distribution device based on MQTT protocol

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2871588A1 (en) * 2004-06-09 2005-12-16 Inventel Sa METHOD AND MODULE FOR DYNAMIC HOSTING OF SOFTWARE APPLICATIONS IN A GATEWAY BETWEEN AN OPERATOR NETWORK AND A LOCAL NETWORK
CN101951592A (en) * 2010-08-31 2011-01-19 上海闻泰电子科技有限公司 Method for mobile phone to download game based on mobile phone two-dimensional codes

Also Published As

Publication number Publication date
CN103207794A (en) 2013-07-17

Similar Documents

Publication Publication Date Title
CN103207794B (en) The sharing method of application program between mobile terminal in LAN
CN102262552B (en) A kind of application program striding equipment synchronous method and system
EP3516847B1 (en) Deployment of applications conforming to application data sharing and decision service platform schema
CN115291964A (en) Mechanism to reduce server-less function startup latency
CN104572221A (en) Vehicle-mounted ECU (electronic control unit) online updating system and method
CN103634386A (en) Method and device for downloading application by client end application program
KR20140110058A (en) Cloud computing controlled gateway for communication networks
Lumpkins The internet of things meets cloud computing [standards corner]
CN102291437A (en) System and method for realizing application of cross-platform internet
CN113572689A (en) Microservice gateway management method, system, device, readable storage medium and product
JP6793667B2 (en) Application download method and equipment
CN105786839A (en) Application data acquisition method and apparatus
KR20160061306A (en) Method and apparatus for firmware virtualization
CN104468813A (en) Application program recommending method, device and system
EP2897053B1 (en) Device management method and apparatus
CN103888408A (en) Method for uploading data to social networking platform and device thereof
CN104639607A (en) Remote control method and router
CN114968406A (en) Plug-in management method and device, electronic equipment and storage medium
CN104751046B (en) A kind of user authen method and mobile terminal device of application program
CN102789388B (en) In MIPS IA frame serverPC, the method and system of network interface card function are increased based on BMC
KR20180104268A (en) Techniques to transform network resource requests to zero rated network requests
EP3507051A2 (en) Techniques for implementing universal commands in a welding or cutting system
CN103631621A (en) Method and device for prompting information
CN102685238A (en) Method for managing terminal programs on basis of cloud architecture
CN106445599B (en) Application program upgrading method and device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 315105 Zhejiang city of Ningbo province Yinzhou District Qiming Road No. 818 building 14 Room 303 No. 108

Applicant after: Donglan Digital Co., Ltd.

Address before: 315104, Qiming Road, Yinzhou District investment center, Ningbo, Zhejiang 399, China

Applicant before: Eastland Digital Limited

C14 Grant of patent or utility model
GR01 Patent grant