WO2018019236A1 - Method and apparatus for sharing application program, and electronic device - Google Patents

Method and apparatus for sharing application program, and electronic device Download PDF

Info

Publication number
WO2018019236A1
WO2018019236A1 PCT/CN2017/094368 CN2017094368W WO2018019236A1 WO 2018019236 A1 WO2018019236 A1 WO 2018019236A1 CN 2017094368 W CN2017094368 W CN 2017094368W WO 2018019236 A1 WO2018019236 A1 WO 2018019236A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
sharing
shared
terminal device
network
Prior art date
Application number
PCT/CN2017/094368
Other languages
French (fr)
Chinese (zh)
Inventor
白斌
Original Assignee
北京金山安全软件有限公司
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 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Publication of WO2018019236A1 publication Critical patent/WO2018019236A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and an electronic device for sharing an application.
  • terminal devices such as smartphones, tablets, laptops and desktops
  • One user usually uses multiple terminal devices in the process of using terminal devices. If one of the current user's terminal devices has an application (APP, Application) installed, the other user's other terminal device needs to install the same APP or the current user's friend's terminal device needs to install the same APP, only Can be downloaded and installed again from the application store or webpage. If the current network environment of the terminal device is disconnected, the application installation package cannot be downloaded from the application store or the webpage. If the current network environment of the terminal device is a fee-based network, You will need to pay to download the application installation package, making the download of the application installation package vulnerable to the current network environment.
  • APP Application
  • the embodiment of the present application provides a method, an apparatus, and an electronic device for sharing an application, which solves the problem that an existing operation of downloading an application installation package is restricted by a network environment.
  • the embodiment of the present application provides a method for sharing an application, which is applied to an electronic device, including:
  • the target terminal device installs the to-be-shared application according to the application installation package, obtaining a sharing counter corresponding to the local to-be-shared application according to a mapping relationship table between the preset application and the shared feedback information Feed information
  • the charging type network includes: a 2G network, a 3G network, a 4G network, or a 4G+ network.
  • the acquiring an application installation package corresponding to the local to-be-shared application includes:
  • the transmitting the acquired application installation package to the target terminal device includes:
  • the predetermined manner includes at least one of a Bluetooth transmission mode and a file transmission protocol service transmission mode.
  • the method further includes:
  • the obtaining, according to a mapping relationship table between a preset application and sharing feedback information, acquiring, corresponding to the local to-be-shared application Sharing feedback includes:
  • the sharing feedback information corresponding to each application in the application list is displayed on the application sharing interface according to a mapping relationship table between the preset application and the shared feedback information.
  • the embodiment of the present application provides an apparatus for sharing an application, where the device is an electronic device, including:
  • a first acquiring module configured to acquire a current network environment of the electronic device
  • a second obtaining module configured to acquire an application installation package corresponding to the local to-be-shared application if the network environment is a disconnected state or a charging network;
  • a transmission module configured to establish a communication connection with the target terminal device, and transmit the obtained application installation package to the target terminal device
  • a third obtaining module configured to: if the target terminal device installs the to-be-shared application according to the application installation package, obtain the local to-be-shared according to a mapping relationship table between the preset application and the shared feedback information Share feedback information corresponding to the application;
  • the charging type network includes: a 2G network, a 3G network, a 4G network, or a 4G+ network.
  • the second acquiring module includes:
  • a startup unit configured to start a local application sharing control, and enter an application sharing interface, where the application sharing interface includes: a list of installed applications locally;
  • a receiving unit configured to receive one or more to-be-shared applications selected by the user in the locally installed application list
  • the obtaining unit is configured to obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
  • the transmission module includes: a first transmission unit;
  • the first transmission unit is configured to transmit the acquired application installation package to the target terminal device according to a predetermined manner
  • the predetermined manner includes at least one of a Bluetooth transmission mode, a file transmission protocol service transmission mode, a mail transmission mode, and an instant communication software transmission mode.
  • the transmission module further includes: a second transmission unit;
  • the second transmission unit is configured to: when the acquired application installation package is transmitted to the target terminal device, transmit the identification code for identifying the local to the target terminal device.
  • the third acquiring module includes: a display unit;
  • the display unit is configured to display sharing feedback information corresponding to each application in the application list on the application sharing interface according to a mapping relationship table between the application and the shared feedback information.
  • an embodiment of the present application provides an electronic device, including: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor And a memory disposed on the circuit board; a power supply circuit for powering each circuit or device of the electronic device; a memory for storing executable program code; and the processor operating by reading executable program code stored in the memory A program corresponding to the program code for performing the method of sharing an application as described in any of the foregoing.
  • the embodiment of the present application further provides a storage medium for storing an application, where the application is used to execute a method for sharing an application provided by an embodiment of the present application.
  • the embodiment of the present application further provides an application program for performing a method for sharing an application provided by an embodiment of the present application.
  • the method, device, and electronic device for sharing an application obtained the current network environment of the electronic device, and obtain the local to-be-shared application if the network environment is a disconnected state or a charging network.
  • the target terminal device installs the application installation package, the local terminal to be shared application can be obtained according to the mapping relationship between the preset application and the shared feedback information.
  • the sharing feedback information corresponding to the program rewards the local, thereby further enhancing the enthusiasm of the user to share.
  • FIG. 1 is a schematic flowchart of a method for sharing an application according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for sharing an application according to an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of an apparatus for sharing an application according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an embodiment of an electronic device according to the present application. .
  • FIG. 1 is a schematic flowchart of a method for sharing an application according to an embodiment of the present application. As shown in FIG. 1 , the method in this embodiment may include:
  • Step 101 Obtain a current network environment of the electronic device.
  • the source terminal device and the target terminal device are first described: if one terminal device locally installs an application (Application, APP), another terminal device needs to be installed.
  • application Application, APP
  • one of the terminal devices is a source terminal device
  • the other terminal device is a target terminal device.
  • Step 102 if the method for sharing an application is applied to the source terminal device, the current network environment of the source terminal device is acquired, and if the acquired network environment is a disconnected network state or a charging network, Step 102.
  • Step 102 If the network environment is a disconnected network or a charging network, obtain an application installation package corresponding to the local to-be-shared application, where the charging network includes: 2G network, 3G network, 4G network, or 4G+ The internet.
  • the application installation package corresponding to the APP to be shared is obtained locally in the source terminal device.
  • the charging type network includes but is not limited to: a 2G network, a 3G network, a 4G network, and a 4G+ network; wherein the 2G network includes but is not limited to: a global mobile communication system network; It is not limited to: a general packet radio service network, a universal mobile communication system network, a long term evolution network, a code division multiple access network, a wideband code division multiple access network, and a time division synchronous code division multiple access network; the 4G network includes but is not limited to: Long-term evolution network and long-term evolution frequency division duplex network; the 4G+ network includes: Long Term Evolution-Advanced (LTE-A) network.
  • LTE-A Long Term Evolution-Advanced
  • Step 103 Establish a communication connection with the target terminal device, and transmit the obtained application installation package to the target terminal device.
  • the source terminal device establishes a communication connection with the target terminal device, so that data transmission can be performed between the source terminal device and the target terminal device.
  • the obtained application installation package may be transmitted to the target terminal device according to a predetermined manner; Yes, there may be multiple ways of scheduling, including but not limited to: Bluetooth transmission mode, File Transfer Protocol (FTP) service transmission mode, and the like.
  • FTP File Transfer Protocol
  • the application installation package corresponding to the APP to be shared by the source terminal device is continuously acquired, and then one of the Bluetooth transmission mode or the FTP service transmission mode is adopted. Transmitting the acquired application installation package corresponding to the APP to the target terminal device for installation, that is, sharing the application even in the absence of a network, that is, Sharing application operations is not limited by the current network environment.
  • the application installation package corresponding to the APP to be shared by the source terminal device is continuously obtained, and then one of the Bluetooth transmission mode or the FTP service transmission mode is adopted. Transmitting the acquired application installation package corresponding to the APP to the target terminal device for installation, thereby implementing free sharing of the application, that is, the operation of sharing the application is not affected by the current network environment. Impact.
  • the specific step may include: calling a Bluetooth module local to the source terminal device, The acquired application installation package is transmitted to the target terminal device through the invoked Bluetooth module.
  • the method further includes: transmitting, to the Target terminal device.
  • the local terminal identifier is used to identify which source terminal device shares the application to the target terminal device, so as to install the application transmitted by the source terminal device on the target terminal device. After the package is installed, the source terminal device is rewarded.
  • Step 104 If the target terminal device installs the to-be-shared application according to the application installation package, The sharing feedback information corresponding to the local to-be-shared application is obtained according to the mapping relationship between the application and the shared feedback information.
  • the target terminal device after receiving the application installation package corresponding to the to-be-shared APP transmitted by the source terminal device, the target terminal device prompts the user of the target terminal device whether to install the application installation package, if the target terminal The user of the device agrees to install, and the target terminal device installs the to-be-shared application according to the application installation package.
  • the device corresponding to the to-be-shared application is sent to include the source terminal.
  • the activation information of the device identification code is such that the vendor corresponding to the application to be shared can reward the source terminal device according to a mapping relationship between the preset application and the shared feedback information.
  • the sharing incentive mechanism can be used to encourage the user to share the application to the surrounding users.
  • the sharing reward mechanism is represented as a mapping relationship between the preset application and the sharing feedback information, and the sharing feedback information is the user. After sharing the application with the surrounding users, the sharing rewards can be obtained.
  • the sharing rewards can be in various forms, for example, reward traffic, reward call duration, reward SMS, and the like. Of course, some applications can share a reward of 0, which means that although the application is shared, the sharer is not rewarded.
  • the mapping relationship between the application and the shared feedback information is set in advance: each time the APP is shared, the source terminal device sharing the APP can obtain 20 MB of traffic, After the APP shared by the source terminal device is installed on a target terminal device, the vendor corresponding to the APP will reward 20 MB of traffic to the source terminal device.
  • sending to the vendor corresponding to the application to be shared includes
  • the activation information of the source terminal device identifier is such that the vendor corresponding to the to-be-shared application can reward the source terminal device according to a mapping relationship between the preset application and the shared feedback information.
  • the source terminal device sharing the APP can obtain 20 MB of traffic and 50 free.
  • the SMS is installed, after the APP shared by the source terminal device is installed on each target terminal device, and the user of the target terminal device activates the APP (the APP is started for the first time), the vendor corresponding to the APP Reward 20MB traffic and 50 free SMS messages to the source terminal device.
  • the target terminal device after the target terminal device installs the application installation package corresponding to the application to be shared, the target application device can obtain the corresponding application to be shared according to the mapping relationship between the application and the shared feedback information.
  • the sharing feedback information rewards the source terminal device, thereby further enhancing the enthusiasm of the user sharing.
  • the method for sharing an application provided by the embodiment, by acquiring the current network environment of the electronic device; If the network environment is a disconnected network or a charging network, obtain an application installation package corresponding to the local application to be shared, and transmit the locally installed application installation package to the target terminal device, so that even The local application installation package may be shared with the target terminal device, and the sharing operation does not depend on the current network environment.
  • the sharing feedback information corresponding to the local to-be-shared application is obtained according to the mapping relationship table between the preset application and the shared feedback information, and the local reward is performed, thereby further improving the enthusiasm of the user sharing.
  • FIG. 2 is a schematic flowchart of a method for sharing an application according to an embodiment of the present application. As shown in FIG. 2, the method in this embodiment may include:
  • Step 201 Acquire a current network environment of the electronic device.
  • the network environment of the source terminal device is obtained, and if the obtained network environment is a disconnected state or a charging network, the steps are performed. 202.
  • Step 202 If the network environment is a disconnected state or a charging network, start a local application sharing control and enter an application sharing interface.
  • the charging network includes: 2G network, 3G network, 4G network or 4G+ network
  • the application sharing interface includes: a list of installed applications on the local.
  • the source terminal device takes a smart phone as an example.
  • an “application sharing control” may be added, and the user A starts the application sharing control and enters the application sharing interface.
  • the application sharing interface is used to display to User A a list of installed applications on the smartphone.
  • Step 203 Receive one or more to-be-shared applications selected by the user in the locally installed application list.
  • the user A may select one or more applications that need to be installed by the user B as the to-be-shared application shared by the user B, where the user A and the user B may refer to the same user. Can also refer to different users.
  • Step 204 Obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
  • the application installation package corresponding to the one or more to-be-shared applications is obtained according to the to-be-shared application selected by the user A.
  • Step 205 Establish a communication connection with the target terminal device, and transmit the obtained application installation package to the target terminal device.
  • step 205 is similar to step 103 of the foregoing method embodiment, and details are not described herein again.
  • Step 206 If the target terminal device installs the to-be-shared application according to the application installation package, obtain the local to-be-shared application pair according to a mapping relationship table between the preset application and the shared feedback information. Should share feedback.
  • the sharing feedback information corresponding to each application in the application list may be displayed on the application sharing interface.
  • the obtaining the share feedback information corresponding to the local to-be-shared application according to the mapping relationship between the preset application and the shared feedback information includes:
  • the sharing feedback information corresponding to each application in the application list is displayed on the application sharing interface according to a mapping relationship table between the preset application and the shared feedback information.
  • the method for sharing an application obtaineds the current network environment of the electronic device; if the network environment is a disconnected state or a charging network, the local application sharing control is started, and the application sharing interface is entered.
  • the application sharing interface includes: a list of installed applications on the local device, and receiving one or more applications to be shared selected by the user in the list of installed applications on the local, according to the selected user.
  • the sharing application is obtained, the application installation package corresponding to the to-be-shared application is obtained, and the application installation package acquired locally is transmitted to the target terminal device. In this way, the local application installation package can be shared with the target terminal device even in the off-network state or the charging network.
  • the sharing operation does not depend on the current network environment, and the target terminal device needs to install the application.
  • the user can reward the local sharing by sharing the feedback information corresponding to the local application to be shared according to the mapping relationship between the application and the shared feedback information, so as to further improve the enthusiasm of the user, and the user can Visually select one or more applications to share by visualizing the application sharing interface.
  • the apparatus of this embodiment may include: a first obtaining module 11, a second acquiring module 12, a transmitting module 13, and a third acquiring module 14. ,among them,
  • the first obtaining module 11 is configured to acquire a current network environment of the electronic device.
  • the source terminal device and the target terminal device are first described: if one terminal device locally installs an application (Application, APP), another terminal device needs to be installed.
  • application Application, APP
  • one of the terminal devices is a source terminal device
  • the other terminal device is a target terminal device.
  • the device sharing the application is the source terminal device, the current network environment of the source terminal device is obtained.
  • the second obtaining module 12 is configured to acquire an application installation package corresponding to the local to-be-shared application, if the network environment is a disconnected network or a charging network, where the charging network includes: a 2G network, 3G network, 4G network or 4G+ network.
  • the application installation package corresponding to the APP to be shared is obtained locally in the source terminal device.
  • the charging type network includes but is not limited to: a 2G network, a 3G network, a 4G network, and a 4G+ network; wherein the 2G network includes but is not limited to: a global mobile communication system network; It is not limited to: a general packet radio service network, a universal mobile communication system network, a long term evolution network, a code division multiple access network, a wideband code division multiple access network, and a time division synchronous code division multiple access network; the 4G network includes but is not limited to: Long-term evolution network and long-term evolution frequency division duplex network; the 4G+ network includes: Long Term Evolution-Advanced (LTE-A) network.
  • LTE-A Long Term Evolution-Advanced
  • the second obtaining module 12 includes: a starting unit, a receiving unit, and an acquiring unit;
  • the startup unit is configured to start a local application sharing control and enter an application sharing interface.
  • the application sharing interface includes: a list of installed applications locally.
  • the source terminal device takes a smart phone as an example.
  • an “application sharing control” may be added, and the user A starts the application sharing control and enters the application sharing interface.
  • the application sharing interface is used to display to User A a list of installed applications on the smartphone.
  • the receiving unit is configured to receive one or more to-be-shared applications selected by the user in the locally installed application list.
  • the user A may select one or more applications that need to be installed by the user B as the to-be-shared application shared by the user B, where the user A and the user B may refer to the same user. Can also refer to different users.
  • the obtaining unit is configured to obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
  • the application installation package corresponding to the one or more to-be-shared applications is obtained according to the to-be-shared application selected by the user A.
  • a sharing reward mechanism may also be set. For example, in the case of a shared APP, if user A shares an APP with other users, each user can share a 20 MB traffic to each user. If it is shared with N users, the user can give A 20 MB*N traffic. .
  • the transmission module 13 is configured to establish a communication connection with the target terminal device, and transmit the acquired application installation package to the target terminal device.
  • the source terminal device establishes a communication connection with the target terminal device, so that data transmission can be performed between the source terminal device and the target terminal device.
  • the transmission module 13 includes: a first transmission unit
  • the first transmission unit is configured to transmit the acquired application installation package to the target terminal device according to a predetermined manner
  • the predetermined manner may be multiple, for example, a Bluetooth transmission mode, an FTP service transmission mode, or the like.
  • the application installation package corresponding to the APP to be shared by the source terminal device is continuously acquired, and then one of the Bluetooth transmission mode or the FTP service transmission mode is adopted. Transmitting the acquired application installation package corresponding to the APP to the target terminal device for installation, that is, sharing the application even in the absence of a network, that is, Sharing application operations is not limited by the current network environment.
  • the application installation package corresponding to the APP to be shared by the source terminal device is continuously obtained, and then one of the Bluetooth transmission mode or the FTP service transmission mode is adopted. Transmitting the acquired application installation package corresponding to the APP to the target terminal device for installation, thereby implementing free sharing of the application, that is, the operation of sharing the application is not affected by the current network environment. Impact.
  • the transmission module 13 further includes: a second transmission unit, where the second transmission unit is configured to transmit the acquired application installation package to the target terminal.
  • the device identifies the local identification code and transmits the identifier to the target terminal device.
  • the source terminal device by identifying the local identification code, it is identified which source terminal device shares the application to the target terminal device, so that after the source terminal device shares the application, the source terminal device is used. Make a reward.
  • the third obtaining module 14 is configured to obtain, according to the mapping relationship table between the preset application and the shared feedback information, if the target terminal device installs the to-be-shared application according to the application installation package. Share feedback information corresponding to the local sharing application.
  • the target terminal device after receiving the application installation package corresponding to the to-be-shared APP transmitted by the source terminal device, the target terminal device prompts the user of the target terminal device whether to install the application installation package, if the target terminal The user of the device agrees to install, and the application installation package is installed on the target terminal device.
  • the device corresponding to the to-be-shared application is sent to include the source terminal.
  • the activation information of the device identification code is such that the vendor corresponding to the application to be shared can reward the source terminal device according to a mapping relationship between the preset application and the shared feedback information.
  • the user may be encouraged to share the application to the surrounding users by setting a sharing reward mechanism, where the sharing reward mechanism is represented as a mapping relationship between the preset application and the sharing feedback information, and the sharing feedback information is the user direction.
  • the sharing reward can be in various forms, for example, reward traffic, reward call duration, reward SMS, and the like.
  • some applications can share a reward of 0, which means that although the application is shared, the sharer is not rewarded.
  • the mapping relationship between the application and the shared feedback information is set in advance: each time the APP is shared, the source terminal device sharing the APP can obtain 20 MB of traffic, One item After the APP shared by the source terminal device is installed on the target terminal device, the vendor corresponding to the APP will reward 20 MB traffic to the source terminal device.
  • sending to the vendor corresponding to the application to be shared includes
  • the activation information of the source terminal device identifier is such that the vendor corresponding to the to-be-shared application can reward the source terminal device according to a mapping relationship between the preset application and the shared feedback information.
  • the source terminal device sharing the APP can obtain 20 MB of traffic and 50 free.
  • the SMS is installed, after the APP shared by the source terminal device is installed on each target terminal device, and the user of the target terminal device activates the APP (the APP is started for the first time), the vendor corresponding to the APP Reward 20MB traffic and 50 free SMS messages to the source terminal device.
  • the target terminal device after the target terminal device installs the application installation package corresponding to the application to be shared, the target application device can obtain the corresponding application to be shared according to the mapping relationship between the application and the shared feedback information.
  • the sharing feedback information rewards the source terminal device, thereby further enhancing the enthusiasm of the user sharing.
  • the sharing feedback information corresponding to each application in the application list may be displayed on the application sharing interface.
  • the third obtaining module 14 includes: a display unit;
  • the display unit is configured to display sharing feedback information corresponding to each application in the application list on the application sharing interface according to a mapping relationship table between the application and the shared feedback information.
  • the apparatus for sharing an application obtains the current network environment of the electronic device by using the first acquiring module. If the network environment is a disconnected state or a charging network, the second acquiring module obtains the local to be shared.
  • the application installation package corresponding to the application and transmitting the locally installed application installation package to the target terminal device through the transmission module, so that the local application can be applied even in a disconnected state or a charging network.
  • the program installation package is shared with the target terminal device, and the sharing operation does not depend on the current network environment.
  • the mapping relationship between the preset application and the shared feedback information can be obtained.
  • the third obtaining module obtains the sharing feedback information corresponding to the local to-be-shared application to reward the local, thereby further improving the enthusiasm of the user to share.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • FIG. 4 is a schematic structural diagram of an embodiment of an electronic device according to the present application, which may implement the process of the embodiment shown in FIG. 1-3 of the present application.
  • the electronic device may include: a housing 41, a processor 42, and a memory. 43.
  • the circuit board 44 and the power supply circuit 45 wherein the circuit board 44 is disposed inside the space surrounded by the housing 41, the processor 42 and the memory 43 are disposed on the circuit board 44, and the power supply circuit 45 is used for the electronic device
  • the memory 43 is for storing executable program code
  • the processor 42 is operative to execute a program corresponding to the executable program code by reading the executable program code stored in the memory 43 for performing any of the foregoing embodiments Said method.
  • the electronic device exists in a variety of forms including, but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • each unit/module may be implemented in the same software or software and/or hardware when implementing the present application.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are schematic, for example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed in the embodiments of the present application are a method and an apparatus for sharing an application program, and an electronic device. The invention can implement the sharing of an application program, whether in an offline state or in a charging network, and relates to the field of communication technology. The method for sharing an application program comprises: acquiring the current network environment of an electronic device; if the network environment is an offline state or a fee-charging network, acquiring an application program installation package corresponding to a local to application program to be shared; establishing a communication connection with a target terminal device to transmit the acquired application program installation package to the target terminal device; if the target terminal device installs said application program according to the application program installation package, acquiring, on the basis of a preset table for mapping relationships between application programs and sharing-feedback information, the sharing-feedback information corresponding to said local application program. The apparatus and the electronic device are provided with corresponding modules for implementing the method described. The present application is applicable to the operation of sharing or installing an application program on an electronic device.

Description

一种分享应用程序的方法、装置及电子设备Method, device and electronic device for sharing application
相关申请的交叉引用Cross-reference to related applications
本申请要求北京金山安全软件有限公司于2016年07月27日提交的、申请名称为“一种分享应用程序的方法、装置及电子设备”的、中国专利申请号“201610602864.X”的优先权。This application claims the priority of the Chinese patent application number "201610602864.X" submitted by Beijing Jinshan Security Software Co., Ltd. on July 27, 2016, and the application name is "a method, device and electronic device for sharing applications". .
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种分享应用程序的方法、装置及电子设备。The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and an electronic device for sharing an application.
背景技术Background technique
随着互联网及移动互联网技术发展的不断发展,智能手机、平板电脑、笔记本电脑及台式机等终端设备的使用越来越普遍,一个用户通常会使用多部终端设备,在使用终端设备的过程中,若当前用户的其中一部终端设备安装了一个应用程序(APP,Application),当前用户的另一部终端设备需要安装同样的APP或当前用户的好友的终端设备需要安装同样的APP时,只能再次从应用商店或网页上下载并安装,若终端设备当前的网络环境为断网状态,则无法从应用商店或网页上下载应用程序安装包,若终端设备当前的网络环境为收费型网络,则需要付费下载应用程序安装包,使得下载应用程序安装包的操作易受当前网络环境的限制。With the continuous development of Internet and mobile Internet technologies, the use of terminal devices such as smartphones, tablets, laptops and desktops is becoming more and more common. One user usually uses multiple terminal devices in the process of using terminal devices. If one of the current user's terminal devices has an application (APP, Application) installed, the other user's other terminal device needs to install the same APP or the current user's friend's terminal device needs to install the same APP, only Can be downloaded and installed again from the application store or webpage. If the current network environment of the terminal device is disconnected, the application installation package cannot be downloaded from the application store or the webpage. If the current network environment of the terminal device is a fee-based network, You will need to pay to download the application installation package, making the download of the application installation package vulnerable to the current network environment.
申请内容Application content
有鉴于此,本申请实施例提供一种分享应用程序的方法、装置及电子设备,解决现有的下载应用程序安装包的操作易受到网络环境的限制的问题。In view of this, the embodiment of the present application provides a method, an apparatus, and an electronic device for sharing an application, which solves the problem that an existing operation of downloading an application installation package is restricted by a network environment.
第一方面,本申请实施例提供一种分享应用程序的方法,应用于电子设备,包括:In a first aspect, the embodiment of the present application provides a method for sharing an application, which is applied to an electronic device, including:
获取所述电子设备当前的网络环境;Obtaining a current network environment of the electronic device;
如果所述网络环境为断网状态或收费型网络,则获取本地待分享应用程序对应的应用程序安装包;If the network environment is a disconnected state or a charging network, obtain an application installation package corresponding to the local to-be-shared application;
与目标终端设备建立通信连接,将获取的所述应用程序安装包传输给所述目标终端设备;Establishing a communication connection with the target terminal device, and transmitting the obtained application installation package to the target terminal device;
如果所述目标终端设备根据所述应用程序安装包安装所述待分享应用程序,则按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反 馈信息;If the target terminal device installs the to-be-shared application according to the application installation package, obtaining a sharing counter corresponding to the local to-be-shared application according to a mapping relationship table between the preset application and the shared feedback information Feed information
其中,所述收费型网络包括:2G网络、3G网络、4G网络或4G+网络。The charging type network includes: a 2G network, a 3G network, a 4G network, or a 4G+ network.
结合第一方面,在第一方面的第一种实施方式中,所述获取本地待分享应用程序对应的应用程序安装包,包括:With reference to the first aspect, in a first implementation manner of the first aspect, the acquiring an application installation package corresponding to the local to-be-shared application includes:
启动本地的应用程序分享控件,进入应用程序分享界面;其中,所述应用程序分享界面包括:本地上已安装的应用程序列表;Launching a local application sharing control to enter an application sharing interface; wherein the application sharing interface includes: a list of installed applications locally;
接收用户在所述本地上已安装的应用程序列表中选取的一个或多个待分享应用程序;Receiving one or more to-be-shared applications selected by the user in the list of installed applications on the local;
按照用户选取的所述待分享应用程序,获取该待分享应用程序对应的应用程序安装包。Obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
结合第一方面,在第一方面的第二种实施方式中,所述将获取的所述应用程序安装包传输给所述目标终端设备包括:In conjunction with the first aspect, in the second implementation manner of the first aspect, the transmitting the acquired application installation package to the target terminal device includes:
按照预定的方式,将获取的所述应用程序安装包传输给所述目标终端设备;Transmitting the obtained application installation package to the target terminal device according to a predetermined manner;
其中,所述预定的方式至少包括:蓝牙传输方式、文件传输协议服务传输方式中的一种或多种。The predetermined manner includes at least one of a Bluetooth transmission mode and a file transmission protocol service transmission mode.
结合第一方面的第二种实施方式,在第一方面的第三种实施方式中,所述方法还包括:With reference to the second embodiment of the first aspect, in a third implementation manner of the first aspect, the method further includes:
将获取的所述应用程序安装包传输给所述目标终端设备的同时,将用于标识所述本地的标识码传输给所述目标终端设备。And transmitting the obtained application installation package to the target terminal device, and transmitting the identification code for identifying the local to the target terminal device.
结合第一方面的第一种实施方式,在第一方面的第四种实施方式中,所述按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息包括:With reference to the first implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the obtaining, according to a mapping relationship table between a preset application and sharing feedback information, acquiring, corresponding to the local to-be-shared application Sharing feedback includes:
按照预先设置的应用程序与分享反馈信息的映射关系表,在所述应用程序分享界面上展示所述应用程序列表中每一应用程序对应的分享反馈信息。The sharing feedback information corresponding to each application in the application list is displayed on the application sharing interface according to a mapping relationship table between the preset application and the shared feedback information.
第二方面,本申请实施例提供一种分享应用程序的装置,所述装置为电子设备,包括:In a second aspect, the embodiment of the present application provides an apparatus for sharing an application, where the device is an electronic device, including:
第一获取模块,用于获取所述电子设备当前的网络环境;a first acquiring module, configured to acquire a current network environment of the electronic device;
第二获取模块,用于如果所述网络环境为断网状态或收费型网络,则获取本地待分享应用程序对应的应用程序安装包;a second obtaining module, configured to acquire an application installation package corresponding to the local to-be-shared application if the network environment is a disconnected state or a charging network;
传输模块,用于与目标终端设备建立通信连接,将获取的所述应用程序安装包传输给所述目标终端设备;a transmission module, configured to establish a communication connection with the target terminal device, and transmit the obtained application installation package to the target terminal device;
第三获取模块,用于如果所述目标终端设备根据所述应用程序安装包安装所述待分享应用程序,则按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息;a third obtaining module, configured to: if the target terminal device installs the to-be-shared application according to the application installation package, obtain the local to-be-shared according to a mapping relationship table between the preset application and the shared feedback information Share feedback information corresponding to the application;
其中,所述收费型网络包括:2G网络、3G网络、4G网络或4G+网络。The charging type network includes: a 2G network, a 3G network, a 4G network, or a 4G+ network.
结合第二方面,在第二方面的第一种实施方式中,所述第二获取模块包括: With reference to the second aspect, in a first implementation manner of the second aspect, the second acquiring module includes:
启动单元,用于启动本地的应用程序分享控件,进入应用程序分享界面;其中,所述应用程序分享界面包括:本地上已安装的应用程序列表;a startup unit, configured to start a local application sharing control, and enter an application sharing interface, where the application sharing interface includes: a list of installed applications locally;
接收单元,用于接收用户在所述本地上已安装的应用程序列表中选取的一个或多个待分享应用程序;a receiving unit, configured to receive one or more to-be-shared applications selected by the user in the locally installed application list;
获取单元,用于按照用户选取的所述待分享应用程序,获取该待分享应用程序对应的应用程序安装包。The obtaining unit is configured to obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
结合第二方面,在第二方面的第二种实施方式中,所述传输模块包括:第一传输单元;With reference to the second aspect, in a second implementation manner of the second aspect, the transmission module includes: a first transmission unit;
所述第一传输单元,用于按照预定的方式,将获取的所述应用程序安装包传输给所述目标终端设备;The first transmission unit is configured to transmit the acquired application installation package to the target terminal device according to a predetermined manner;
其中,所述预定的方式至少包括:蓝牙传输方式、文件传输协议服务传输方式、邮件发送方式、即时通信软件传输方式中的一种或多种。The predetermined manner includes at least one of a Bluetooth transmission mode, a file transmission protocol service transmission mode, a mail transmission mode, and an instant communication software transmission mode.
结合第二方面的第二种实施方式,在第二方面的第三种实施方式中,所述传输模块还包括:第二传输单元;With the second implementation of the second aspect, in a third implementation manner of the second aspect, the transmission module further includes: a second transmission unit;
所述第二传输单元,用于将获取的所述应用程序安装包传输给所述目标终端设备的同时,将用于标识所述本地的标识码传输给所述目标终端设备。And the second transmission unit is configured to: when the acquired application installation package is transmitted to the target terminal device, transmit the identification code for identifying the local to the target terminal device.
结合第二方面的第一种实施方式,在第二方面的第四种实施方式中,所述第三获取模块包括:展示单元;With reference to the first embodiment of the second aspect, in a fourth implementation manner of the second aspect, the third acquiring module includes: a display unit;
所述展示单元,用于按照预先设置的应用程序与分享反馈信息的映射关系表,在所述应用程序分享界面上展示所述应用程序列表中每一应用程序对应的分享反馈信息。The display unit is configured to display sharing feedback information corresponding to each application in the application list on the application sharing interface according to a mapping relationship table between the application and the shared feedback information.
第三方面,本申请实施例提供一种电子设备,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一所述的分享应用程序的方法。In a third aspect, an embodiment of the present application provides an electronic device, including: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor And a memory disposed on the circuit board; a power supply circuit for powering each circuit or device of the electronic device; a memory for storing executable program code; and the processor operating by reading executable program code stored in the memory A program corresponding to the program code for performing the method of sharing an application as described in any of the foregoing.
第四方面,本申请实施例还提供了一种存储介质,用于存储应用程序,所述应用程序用于执行本申请实施例所提供的一种分享应用程序的方法。In a fourth aspect, the embodiment of the present application further provides a storage medium for storing an application, where the application is used to execute a method for sharing an application provided by an embodiment of the present application.
第五方面,本申请实施例还提供了一种应用程序,用于执行本申请实施例所提供的一种分享应用程序的方法。In a fifth aspect, the embodiment of the present application further provides an application program for performing a method for sharing an application provided by an embodiment of the present application.
本申请实施例提供的一种分享应用程序的方法、装置及电子设备,通过获取所述电子设备当前的网络环境;如果所述网络环境为断网状态或收费型网络,则获取本地待分享应用程序对应的应用程序安装包,并将在本地获取的所述应用程序安装包传输给目标终端设备,这样,即使是在断网状态或收费型网络下,也可以将本地的应用程序安装包分享给所述目标终 端设备,分享操作无需依赖当前的网络环境,待所述目标终端设备安装所述应用程序安装包后,能够按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息对本地进行奖励,从而进一步提高用户分享的积极性。The method, device, and electronic device for sharing an application provided by the embodiment of the present application obtain the current network environment of the electronic device, and obtain the local to-be-shared application if the network environment is a disconnected state or a charging network. The application installation package corresponding to the program, and transmitting the application installation package obtained locally to the target terminal device, so that the local application installation package can be shared even in the network disconnected state or the charging network. End the goal The end device does not need to rely on the current network environment. After the target terminal device installs the application installation package, the local terminal to be shared application can be obtained according to the mapping relationship between the preset application and the shared feedback information. The sharing feedback information corresponding to the program rewards the local, thereby further enhancing the enthusiasm of the user to share.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本申请实施例分享应用程序的方法流程示意图;FIG. 1 is a schematic flowchart of a method for sharing an application according to an embodiment of the present application;
图2为本申请实施例分享应用程序的方法具体流程示意图;2 is a schematic flowchart of a method for sharing an application according to an embodiment of the present application;
图3为本申请实施例分享应用程序的装置结构示意图;FIG. 3 is a schematic structural diagram of an apparatus for sharing an application according to an embodiment of the present application;
图4为本申请电子设备一个实施例的结构示意图。。FIG. 4 is a schematic structural diagram of an embodiment of an electronic device according to the present application. .
具体实施方式detailed description
下面结合附图对本申请实施例进行详细描述。The embodiments of the present application are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
图1为本申请实施例分享应用程序的方法流程示意图,如图1所示,本实施例的方法可以包括:FIG. 1 is a schematic flowchart of a method for sharing an application according to an embodiment of the present application. As shown in FIG. 1 , the method in this embodiment may include:
步骤101、获取所述电子设备当前的网络环境。Step 101: Obtain a current network environment of the electronic device.
本实施例中,为了更好的理解本申请,先对源终端设备和目标终端设备进行说明:若其中一部终端设备本地安装了一个应用程序(Application,APP),另一部终端设备需要安装同样的APP,则所述其中一部终端设备为源终端设备,所述另一部终端设备为目标终端设备。In this embodiment, for a better understanding of the present application, the source terminal device and the target terminal device are first described: if one terminal device locally installs an application (Application, APP), another terminal device needs to be installed. In the same APP, one of the terminal devices is a source terminal device, and the other terminal device is a target terminal device.
本实施例中,若所述分享应用程序的方法应用于所述源终端设备,获取所述源终端设备当前的网络环境,如果获取的所述网络环境为断网状态或收费型网络,则执行步骤102。In this embodiment, if the method for sharing an application is applied to the source terminal device, the current network environment of the source terminal device is acquired, and if the acquired network environment is a disconnected network state or a charging network, Step 102.
步骤102、如果所述网络环境为断网状态或收费型网络,则获取本地待分享应用程序对应的应用程序安装包,其中,所述收费型网络包括:2G网络、3G网络、4G网络或4G+网络。Step 102: If the network environment is a disconnected network or a charging network, obtain an application installation package corresponding to the local to-be-shared application, where the charging network includes: 2G network, 3G network, 4G network, or 4G+ The internet.
本实施例中,如果获取的所述网络环境为断网状态或收费型网络,则在该源终端设备本地获取待分享的APP对应的应用程序安装包。 In this embodiment, if the obtained network environment is a disconnected network or a charging network, the application installation package corresponding to the APP to be shared is obtained locally in the source terminal device.
本实施例中,所述收费型网络包括但不限于:2G网络、3G网络、4G网络、4G+网络;其中,所述2G网络包括但不限于:全球移动通信系统网络;所述3G网络包括但不限于:通用分组无线服务网络、通用移动通信系统网络、长期演进网络、码分多址网络、宽带码分多址网络以及时分同步码分多址网络;所述4G网络包括但不限于:分时长期演进网络以及长期演进频分双工网络;所述4G+网络包括:长期演进技术(Long Term Evolution-Advanced,LTE-A)网络。In this embodiment, the charging type network includes but is not limited to: a 2G network, a 3G network, a 4G network, and a 4G+ network; wherein the 2G network includes but is not limited to: a global mobile communication system network; It is not limited to: a general packet radio service network, a universal mobile communication system network, a long term evolution network, a code division multiple access network, a wideband code division multiple access network, and a time division synchronous code division multiple access network; the 4G network includes but is not limited to: Long-term evolution network and long-term evolution frequency division duplex network; the 4G+ network includes: Long Term Evolution-Advanced (LTE-A) network.
步骤103、与目标终端设备建立通信连接,将获取的所述应用程序安装包传输给所述目标终端设备。Step 103: Establish a communication connection with the target terminal device, and transmit the obtained application installation package to the target terminal device.
本实施例中,源终端设备与目标终端设备建立通信连接,以使源终端设备与目标终端设备之间可以进行数据传输。In this embodiment, the source terminal device establishes a communication connection with the target terminal device, so that data transmission can be performed between the source terminal device and the target terminal device.
本实施例中,当源终端设备与目标终端设备建立通信连接后,作为一可选实施例,可以将获取的所述应用程序安装包按照预定的方式传输给所述目标终端设备;需要指出的是,预定的方式可以有多种,所述预定的方式包括但不限于:蓝牙传输方式、文件传输协议(File Transfer Protocol,FTP)服务传输方式等。In this embodiment, after the source terminal device establishes a communication connection with the target terminal device, as an optional embodiment, the obtained application installation package may be transmitted to the target terminal device according to a predetermined manner; Yes, there may be multiple ways of scheduling, including but not limited to: Bluetooth transmission mode, File Transfer Protocol (FTP) service transmission mode, and the like.
本实施例中,如果所述网络环境为断网状态,则继续获取所述源终端设备本地待分享的APP对应的应用程序安装包,之后,再通过蓝牙传输方式或FTP服务传输方式中的一种或多种,将获取的所述APP对应的应用程序安装包传输给所述目标终端设备进行安装,也就是说,即使在无网络情况下,也可以实现应用程序的分享,也就是说,分享应用程序的操作不会受到当前网络环境的限制。In this embodiment, if the network environment is in a disconnected state, the application installation package corresponding to the APP to be shared by the source terminal device is continuously acquired, and then one of the Bluetooth transmission mode or the FTP service transmission mode is adopted. Transmitting the acquired application installation package corresponding to the APP to the target terminal device for installation, that is, sharing the application even in the absence of a network, that is, Sharing application operations is not limited by the current network environment.
本实施例中,如果所述网络环境为收费型网络,则继续获取所述源终端设备本地待分享的APP对应的应用程序安装包,之后,再通过蓝牙传输方式或FTP服务传输方式中的一种或多种,将获取的所述APP对应的应用程序安装包传输给所述目标终端设备进行安装,从而实现应用程序的免费分享,也就是说,分享应用程序的操作不会受到当前网络环境的影响。In this embodiment, if the network environment is a charging type network, the application installation package corresponding to the APP to be shared by the source terminal device is continuously obtained, and then one of the Bluetooth transmission mode or the FTP service transmission mode is adopted. Transmitting the acquired application installation package corresponding to the APP to the target terminal device for installation, thereby implementing free sharing of the application, that is, the operation of sharing the application is not affected by the current network environment. Impact.
本实施例中,当通过蓝牙传输方式将获取的处于所述源终端设备本地的应用程序安装包传输给所述目标终端设备时,具体步骤可以包括:调用所述源终端设备本地的蓝牙模块,通过调用的蓝牙模块将获取的所述应用程序安装包传输给所述目标终端设备。In this embodiment, when the acquired application installation package that is local to the source terminal device is transmitted to the target terminal device by using a Bluetooth transmission mode, the specific step may include: calling a Bluetooth module local to the source terminal device, The acquired application installation package is transmitted to the target terminal device through the invoked Bluetooth module.
本实施例中,将获取的所述应用程序安装包传输给所述目标终端设备的同时,作为一可选实施例,该方法进一步包括:将用于标识所述本地的标识码传输给所述目标终端设备。In this embodiment, when the obtained application installation package is transmitted to the target terminal device, as an optional embodiment, the method further includes: transmitting, to the Target terminal device.
本实施例中,通过标识所述本地的标识码来标识是哪个源终端设备向所述目标终端设备分享应用程序的,以便于在所述目标终端设备上安装所述源终端设备传输的应用程序安装包后,对所述源终端设备进行奖励。In this embodiment, the local terminal identifier is used to identify which source terminal device shares the application to the target terminal device, so as to install the application transmitted by the source terminal device on the target terminal device. After the package is installed, the source terminal device is rewarded.
步骤104、如果所述目标终端设备根据所述应用程序安装包安装所述待分享应用程序, 则按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息。Step 104: If the target terminal device installs the to-be-shared application according to the application installation package, The sharing feedback information corresponding to the local to-be-shared application is obtained according to the mapping relationship between the application and the shared feedback information.
本实施例中,所述目标终端设备接收到所述源终端设备传输的所述待分享APP对应的应用程序安装包后,提示目标终端设备的用户是否安装所述应用程序安装包,若目标终端设备的用户同意安装,则所述目标终端设备根据所述应用程序安装包安装所述待分享应用程序。In this embodiment, after receiving the application installation package corresponding to the to-be-shared APP transmitted by the source terminal device, the target terminal device prompts the user of the target terminal device whether to install the application installation package, if the target terminal The user of the device agrees to install, and the target terminal device installs the to-be-shared application according to the application installation package.
本实施例中,作为一可选实施例,所述待分享应用程序的应用程序安装包在所述目标终端设备上安装成功后,向所述待分享应用程序对应的厂商发送包含所述源终端设备标识码的激活信息,以使所述待分享应用程序对应的厂商能够按照预先设置的应用程序与分享反馈信息的映射关系表对所述源终端设备进行奖励。In this embodiment, as an optional embodiment, after the application installation package of the application to be shared is successfully installed on the target terminal device, the device corresponding to the to-be-shared application is sent to include the source terminal. The activation information of the device identification code is such that the vendor corresponding to the application to be shared can reward the source terminal device according to a mapping relationship between the preset application and the shared feedback information.
本实施例中,可以通过设置的分享奖励机制鼓励用户向周围的用户分享应用程序,所述分享奖励机制表示为预先设置的应用程序与分享反馈信息的映射关系表,所述分享反馈信息为用户向周围的用户分享应用程序后,可以得到的分享奖励,需要说明的是,所述分享奖励的形式可以有多种,例如,奖励流量、奖励通话时长、奖励短信等。当然,有的应用程序对应的分享奖励可以为0,也就是说,虽然分享了该应用程序,但是分享者得不到奖励。In this embodiment, the sharing incentive mechanism can be used to encourage the user to share the application to the surrounding users. The sharing reward mechanism is represented as a mapping relationship between the preset application and the sharing feedback information, and the sharing feedback information is the user. After sharing the application with the surrounding users, the sharing rewards can be obtained. It should be noted that the sharing rewards can be in various forms, for example, reward traffic, reward call duration, reward SMS, and the like. Of course, some applications can share a reward of 0, which means that although the application is shared, the sharer is not rewarded.
本实施例中,分享某一应用程序时,若预先设置的该应用程序与分享反馈信息的映射关系表为:每分享一次该APP,分享该APP的源终端设备可以获得20MB流量,则在每一个目标终端设备上安装所述源终端设备分享的所述APP后,所述APP对应的厂商会奖励20MB流量给所述源终端设备。In this embodiment, when an application is shared, if the mapping relationship between the application and the shared feedback information is set in advance: each time the APP is shared, the source terminal device sharing the APP can obtain 20 MB of traffic, After the APP shared by the source terminal device is installed on a target terminal device, the vendor corresponding to the APP will reward 20 MB of traffic to the source terminal device.
本实施例中,作为又一可选实施例,待所述待分享应用程序的应用程序安装包安装成功后,激活该待分享应用程序时,向该待分享应用程序对应的厂商发送包含所述源终端设备标识码的激活信息,以使所述待分享应用程序对应的厂商能够按照预先设置的应用程序与分享反馈信息的映射关系表对所述源终端设备进行奖励。In this embodiment, as another optional embodiment, after the application installation package of the application to be shared is successfully installed, when the application to be shared is activated, sending to the vendor corresponding to the application to be shared includes The activation information of the source terminal device identifier is such that the vendor corresponding to the to-be-shared application can reward the source terminal device according to a mapping relationship between the preset application and the shared feedback information.
本实施例中,分享某一应用程序时,若预先设置的该应用程序与分享反馈信息的映射关系表为:每分享一次该APP,分享该APP的源终端设备可以获得20MB流量和50条免费短信,则在每一个目标终端设备上安装源终端设备分享的所述APP后,且该目标终端设备的用户激活所述APP(第一次启动所述APP)后,所述APP对应的厂商会奖励20MB流量和50条免费短信给所述源终端设备。In this embodiment, when an application is shared, if the preset mapping relationship between the application and the shared feedback information is set as follows: each time the APP is shared, the source terminal device sharing the APP can obtain 20 MB of traffic and 50 free. After the SMS is installed, after the APP shared by the source terminal device is installed on each target terminal device, and the user of the target terminal device activates the APP (the APP is started for the first time), the vendor corresponding to the APP Reward 20MB traffic and 50 free SMS messages to the source terminal device.
本实施例中,待所述目标终端设备安装所述待分享应用程序对应的应用程序安装包后,能够按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述待分享应用程序对应的分享反馈信息对所述源终端设备进行奖励,从而进一步提高用户分享的积极性。In this embodiment, after the target terminal device installs the application installation package corresponding to the application to be shared, the target application device can obtain the corresponding application to be shared according to the mapping relationship between the application and the shared feedback information. The sharing feedback information rewards the source terminal device, thereby further enhancing the enthusiasm of the user sharing.
本实施例提供的分享应用程序的方法,通过获取所述电子设备当前的网络环境;如果 所述网络环境为断网状态或收费型网络,则获取本地待分享应用程序对应的应用程序安装包,并将在本地获取的所述应用程序安装包传输给目标终端设备,这样,即使是在断网状态或收费型网络下,也可以将本地的应用程序安装包分享给所述目标终端设备,分享操作无需依赖当前的网络环境,待所述目标终端设备安装所述应用程序安装包后,能够按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息对本地进行奖励,从而进一步提高用户分享的积极性。The method for sharing an application provided by the embodiment, by acquiring the current network environment of the electronic device; If the network environment is a disconnected network or a charging network, obtain an application installation package corresponding to the local application to be shared, and transmit the locally installed application installation package to the target terminal device, so that even The local application installation package may be shared with the target terminal device, and the sharing operation does not depend on the current network environment. After the target terminal device installs the application installation package, The sharing feedback information corresponding to the local to-be-shared application is obtained according to the mapping relationship table between the preset application and the shared feedback information, and the local reward is performed, thereby further improving the enthusiasm of the user sharing.
图2为本申请实施例分享应用程序的方法具体流程示意图,如图2所示,本实施例的方法可以包括:2 is a schematic flowchart of a method for sharing an application according to an embodiment of the present application. As shown in FIG. 2, the method in this embodiment may include:
步骤201、获取所述电子设备当前的网络环境。Step 201: Acquire a current network environment of the electronic device.
本实施例中,若所述分享应用程序的方法应用于所述源终端设备,获取所述源终端设备的网络环境,如果获取的所述网络环境为断网状态或收费型网络,则执行步骤202。In this embodiment, if the method for sharing an application is applied to the source terminal device, the network environment of the source terminal device is obtained, and if the obtained network environment is a disconnected state or a charging network, the steps are performed. 202.
步骤202、如果所述网络环境为断网状态或收费型网络,则启动本地的应用程序分享控件,进入应用程序分享界面;其中,所述收费型网络包括:2G网络、3G网络、4G网络或4G+网络,所述应用程序分享界面包括:本地上已安装的应用程序列表。Step 202: If the network environment is a disconnected state or a charging network, start a local application sharing control and enter an application sharing interface. The charging network includes: 2G network, 3G network, 4G network or 4G+ network, the application sharing interface includes: a list of installed applications on the local.
本实施例中,所述源终端设备以智能手机为例,例如,可以在智能手机的“设置”里,添加“应用程序分享控件”,用户A启动该应用程序分享控件,进入应用程序分享界面,该应用程序分享界面用于向用户A展示该智能手机上已安装的应用程序列表。In this embodiment, the source terminal device takes a smart phone as an example. For example, in the “Settings” of the smart phone, an “application sharing control” may be added, and the user A starts the application sharing control and enters the application sharing interface. The application sharing interface is used to display to User A a list of installed applications on the smartphone.
步骤203、接收用户在所述本地上已安装的应用程序列表中选取的一个或多个待分享应用程序。Step 203: Receive one or more to-be-shared applications selected by the user in the locally installed application list.
本实施例中,用户A可以从所述应用程序列表中选取一个或多个用户B需要安装的应用程序作为分享给用户B的待分享应用程序;其中,用户A和用户B可以指同一个用户,也可以指不同的用户。In this embodiment, the user A may select one or more applications that need to be installed by the user B as the to-be-shared application shared by the user B, where the user A and the user B may refer to the same user. Can also refer to different users.
步骤204、按照用户选取的所述待分享应用程序,获取该待分享应用程序对应的应用程序安装包。Step 204: Obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
本实施例中,按照用户A选取的所述待分享应用程序,获取该一个或多个待分享应用程序各自对应的应用程序安装包。In this embodiment, the application installation package corresponding to the one or more to-be-shared applications is obtained according to the to-be-shared application selected by the user A.
步骤205、与目标终端设备建立通信连接,将获取的所述应用程序安装包传输给所述目标终端设备。Step 205: Establish a communication connection with the target terminal device, and transmit the obtained application installation package to the target terminal device.
本实施例中,步骤205的过程和上述方法实施例的步骤103类似,此处不再赘述。In this embodiment, the process of step 205 is similar to step 103 of the foregoing method embodiment, and details are not described herein again.
步骤206、如果所述目标终端设备根据所述应用程序安装包安装所述待分享应用程序,则按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对 应的分享反馈信息。Step 206: If the target terminal device installs the to-be-shared application according to the application installation package, obtain the local to-be-shared application pair according to a mapping relationship table between the preset application and the shared feedback information. Should share feedback.
本实施例中,为了让用户更加直观地看到每一应用程序对应的分享反馈信息,所述应用程序列表中每一应用程序对应的分享反馈信息可以展示在所述应用程序分享界面上。In this embodiment, in order to allow the user to more intuitively view the sharing feedback information corresponding to each application, the sharing feedback information corresponding to each application in the application list may be displayed on the application sharing interface.
本实施例中,作为一可选实施例,所述按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息包括:In this embodiment, as an optional embodiment, the obtaining the share feedback information corresponding to the local to-be-shared application according to the mapping relationship between the preset application and the shared feedback information includes:
按照预先设置的应用程序与分享反馈信息的映射关系表,在所述应用程序分享界面上展示所述应用程序列表中每一应用程序对应的分享反馈信息。The sharing feedback information corresponding to each application in the application list is displayed on the application sharing interface according to a mapping relationship table between the preset application and the shared feedback information.
本实施例提供的分享应用程序的方法,通过获取所述电子设备当前的网络环境;如果所述网络环境为断网状态或收费型网络,则启动本地的应用程序分享控件,进入应用程序分享界面,其中,所述应用程序分享界面包括:本地上已安装的应用程序列表,接收用户在所述本地上已安装的应用程序列表中选取的一个或多个待分享应用程序,按照用户选取的所述待分享应用程序,获取该待分享应用程序对应的应用程序安装包,并将在本地获取的所述应用程序安装包传输给目标终端设备。这样,即使是在断网状态或收费型网络下,也可以将本地的应用程序安装包分享给所述目标终端设备,分享操作无需依赖当前的网络环境,待所述目标终端设备安装所述应用程序安装包后,能够按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息对本地进行奖励,从而进一步提高用户分享的积极性,且用户可以通过可视化的应用程序分享界面,直观地选取一个或多个待分享应用程序。The method for sharing an application provided by the embodiment obtains the current network environment of the electronic device; if the network environment is a disconnected state or a charging network, the local application sharing control is started, and the application sharing interface is entered. The application sharing interface includes: a list of installed applications on the local device, and receiving one or more applications to be shared selected by the user in the list of installed applications on the local, according to the selected user. The sharing application is obtained, the application installation package corresponding to the to-be-shared application is obtained, and the application installation package acquired locally is transmitted to the target terminal device. In this way, the local application installation package can be shared with the target terminal device even in the off-network state or the charging network. The sharing operation does not depend on the current network environment, and the target terminal device needs to install the application. After the program is installed, the user can reward the local sharing by sharing the feedback information corresponding to the local application to be shared according to the mapping relationship between the application and the shared feedback information, so as to further improve the enthusiasm of the user, and the user can Visually select one or more applications to share by visualizing the application sharing interface.
图3为本申请实施例分享应用程序的装置结构示意图,如图3所示,本实施例的装置可以包括:第一获取模块11、第二获取模块12、传输模块13和第三获取模块14,其中,3 is a schematic structural diagram of an apparatus for sharing an application according to an embodiment of the present application. As shown in FIG. 3, the apparatus of this embodiment may include: a first obtaining module 11, a second acquiring module 12, a transmitting module 13, and a third acquiring module 14. ,among them,
所述第一获取模块11,用于获取所述电子设备当前的网络环境。The first obtaining module 11 is configured to acquire a current network environment of the electronic device.
本实施例中,为了更好的理解本申请,先对源终端设备和目标终端设备进行说明:若其中一部终端设备本地安装了一个应用程序(Application,APP),另一部终端设备需要安装同样的APP,则所述其中一部终端设备为源终端设备,所述另一部终端设备为目标终端设备。In this embodiment, for a better understanding of the present application, the source terminal device and the target terminal device are first described: if one terminal device locally installs an application (Application, APP), another terminal device needs to be installed. In the same APP, one of the terminal devices is a source terminal device, and the other terminal device is a target terminal device.
本实施例中,若所述分享应用程序的装置为所述源终端设备,获取所述源终端设备当前的网络环境。In this embodiment, if the device sharing the application is the source terminal device, the current network environment of the source terminal device is obtained.
所述第二获取模块12,用于如果所述网络环境为断网状态或收费型网络,则获取本地待分享应用程序对应的应用程序安装包,其中,所述收费型网络包括:2G网络、3G网络、4G网络或4G+网络。The second obtaining module 12 is configured to acquire an application installation package corresponding to the local to-be-shared application, if the network environment is a disconnected network or a charging network, where the charging network includes: a 2G network, 3G network, 4G network or 4G+ network.
本实施例中,如果获取的所述网络环境为断网状态或收费型网络,则在该源终端设备本地获取待分享的APP对应的应用程序安装包。 In this embodiment, if the obtained network environment is a disconnected network or a charging network, the application installation package corresponding to the APP to be shared is obtained locally in the source terminal device.
本实施例中,所述收费型网络包括但不限于:2G网络、3G网络、4G网络、4G+网络;其中,所述2G网络包括但不限于:全球移动通信系统网络;所述3G网络包括但不限于:通用分组无线服务网络、通用移动通信系统网络、长期演进网络、码分多址网络、宽带码分多址网络以及时分同步码分多址网络;所述4G网络包括但不限于:分时长期演进网络以及长期演进频分双工网络;所述4G+网络包括:长期演进技术(Long Term Evolution-Advanced,LTE-A)网络。In this embodiment, the charging type network includes but is not limited to: a 2G network, a 3G network, a 4G network, and a 4G+ network; wherein the 2G network includes but is not limited to: a global mobile communication system network; It is not limited to: a general packet radio service network, a universal mobile communication system network, a long term evolution network, a code division multiple access network, a wideband code division multiple access network, and a time division synchronous code division multiple access network; the 4G network includes but is not limited to: Long-term evolution network and long-term evolution frequency division duplex network; the 4G+ network includes: Long Term Evolution-Advanced (LTE-A) network.
本实施例中,作为一可选实施例,所述第二获取模块12包括:启动单元、接收单元及获取单元;其中,In this embodiment, as an optional embodiment, the second obtaining module 12 includes: a starting unit, a receiving unit, and an acquiring unit;
所述启动单元,用于启动本地的应用程序分享控件,进入应用程序分享界面;其中,所述应用程序分享界面包括:本地上已安装的应用程序列表。The startup unit is configured to start a local application sharing control and enter an application sharing interface. The application sharing interface includes: a list of installed applications locally.
本实施例中,所述源终端设备以智能手机为例,例如,可以在智能手机的“设置”里,添加“应用程序分享控件”,用户A启动该应用程序分享控件,进入应用程序分享界面,该应用程序分享界面用于向用户A展示该智能手机上已安装的应用程序列表。In this embodiment, the source terminal device takes a smart phone as an example. For example, in the “Settings” of the smart phone, an “application sharing control” may be added, and the user A starts the application sharing control and enters the application sharing interface. The application sharing interface is used to display to User A a list of installed applications on the smartphone.
所述接收单元,用于接收用户在所述本地上已安装的应用程序列表中选取的一个或多个待分享应用程序。The receiving unit is configured to receive one or more to-be-shared applications selected by the user in the locally installed application list.
本实施例中,用户A可以从所述应用程序列表中选取一个或多个用户B需要安装的应用程序作为分享给用户B的待分享应用程序;其中,用户A和用户B可以指同一个用户,也可以指不同的用户。In this embodiment, the user A may select one or more applications that need to be installed by the user B as the to-be-shared application shared by the user B, where the user A and the user B may refer to the same user. Can also refer to different users.
所述获取单元,用于按照用户选取的所述待分享应用程序,获取该待分享应用程序对应的应用程序安装包。The obtaining unit is configured to obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
本实施例中,按照用户A选取的所述待分享应用程序,获取该一个或多个待分享应用程序各自对应的应用程序安装包。In this embodiment, the application installation package corresponding to the one or more to-be-shared applications is obtained according to the to-be-shared application selected by the user A.
本实施例中,为了鼓励用户A向周围的用户分享应用程序,还可以设置分享奖励机制。例如,以分享APP为例,若用户A分享APP给其他用户时,每分享给一个其他用户,就可以赠送给用户A 20MB流量,若分享给N个用户,可以赠送给用户A 20MB*N流量。In this embodiment, in order to encourage the user A to share the application to the surrounding users, a sharing reward mechanism may also be set. For example, in the case of a shared APP, if user A shares an APP with other users, each user can share a 20 MB traffic to each user. If it is shared with N users, the user can give A 20 MB*N traffic. .
传输模块13,用于与目标终端设备建立通信连接,将获取的所述应用程序安装包传输给所述目标终端设备。The transmission module 13 is configured to establish a communication connection with the target terminal device, and transmit the acquired application installation package to the target terminal device.
本实施例中,源终端设备与目标终端设备建立通信连接,以使源终端设备与目标终端设备之间可以进行数据传输。In this embodiment, the source terminal device establishes a communication connection with the target terminal device, so that data transmission can be performed between the source terminal device and the target terminal device.
本实施例中,作为一可选实施例,所述传输模块13包括:第一传输单元;In this embodiment, as an optional embodiment, the transmission module 13 includes: a first transmission unit;
所述第一传输单元,用于按照预定的方式,将获取的所述应用程序安装包传输给所述目标终端设备; The first transmission unit is configured to transmit the acquired application installation package to the target terminal device according to a predetermined manner;
本实施例中,所述预定的方式可以有多种,例如,蓝牙传输方式、FTP服务传输方式等。In this embodiment, the predetermined manner may be multiple, for example, a Bluetooth transmission mode, an FTP service transmission mode, or the like.
本实施例中,如果所述网络环境为断网状态,则继续获取所述源终端设备本地待分享的APP对应的应用程序安装包,之后,再通过蓝牙传输方式或FTP服务传输方式中的一种或多种,将获取的所述APP对应的应用程序安装包传输给所述目标终端设备进行安装,也就是说,即使在无网络情况下,也可以实现应用程序的分享,也就是说,分享应用程序的操作不会受到当前网络环境的限制。In this embodiment, if the network environment is in a disconnected state, the application installation package corresponding to the APP to be shared by the source terminal device is continuously acquired, and then one of the Bluetooth transmission mode or the FTP service transmission mode is adopted. Transmitting the acquired application installation package corresponding to the APP to the target terminal device for installation, that is, sharing the application even in the absence of a network, that is, Sharing application operations is not limited by the current network environment.
本实施例中,如果所述网络环境为收费型网络,则继续获取所述源终端设备本地待分享的APP对应的应用程序安装包,之后,再通过蓝牙传输方式或FTP服务传输方式中的一种或多种,将获取的所述APP对应的应用程序安装包传输给所述目标终端设备进行安装,从而实现应用程序的免费分享,也就是说,分享应用程序的操作不会受到当前网络环境的影响。In this embodiment, if the network environment is a charging type network, the application installation package corresponding to the APP to be shared by the source terminal device is continuously obtained, and then one of the Bluetooth transmission mode or the FTP service transmission mode is adopted. Transmitting the acquired application installation package corresponding to the APP to the target terminal device for installation, thereby implementing free sharing of the application, that is, the operation of sharing the application is not affected by the current network environment. Impact.
本实施例中,作为另一可选实施例,所述传输模块13还包括:第二传输单元;所述第二传输单元,用于将获取的所述应用程序安装包传输给所述目标终端设备的同时,将用于标识所述本地的标识码传输给所述目标终端设备。In this embodiment, as another optional embodiment, the transmission module 13 further includes: a second transmission unit, where the second transmission unit is configured to transmit the acquired application installation package to the target terminal. At the same time, the device identifies the local identification code and transmits the identifier to the target terminal device.
本实施例中,通过标识所述本地的标识码来标识是哪个源终端设备向所述目标终端设备分享应用程序的,以便于在所述源终端设备分享应用程序后,对所述源终端设备进行奖励。In this embodiment, by identifying the local identification code, it is identified which source terminal device shares the application to the target terminal device, so that after the source terminal device shares the application, the source terminal device is used. Make a reward.
所述第三获取模块14,用于如果所述目标终端设备根据所述应用程序安装包安装所述待分享应用程序,则按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息。The third obtaining module 14 is configured to obtain, according to the mapping relationship table between the preset application and the shared feedback information, if the target terminal device installs the to-be-shared application according to the application installation package. Share feedback information corresponding to the local sharing application.
本实施例中,所述目标终端设备接收到所述源终端设备传输的所述待分享APP对应的应用程序安装包后,提示目标终端设备的用户是否安装所述应用程序安装包,若目标终端设备的用户同意安装,则在所述目标终端设备上安装所述应用程序安装包。In this embodiment, after receiving the application installation package corresponding to the to-be-shared APP transmitted by the source terminal device, the target terminal device prompts the user of the target terminal device whether to install the application installation package, if the target terminal The user of the device agrees to install, and the application installation package is installed on the target terminal device.
本实施例中,作为一可选实施例,所述待分享应用程序的应用程序安装包在所述目标终端设备上安装成功后,向所述待分享应用程序对应的厂商发送包含所述源终端设备标识码的激活信息,以使所述待分享应用程序对应的厂商能够按照预先设置的应用程序与分享反馈信息的映射关系表对所述源终端设备进行奖励。In this embodiment, as an optional embodiment, after the application installation package of the application to be shared is successfully installed on the target terminal device, the device corresponding to the to-be-shared application is sent to include the source terminal. The activation information of the device identification code is such that the vendor corresponding to the application to be shared can reward the source terminal device according to a mapping relationship between the preset application and the shared feedback information.
本实施例中,可以通过设置分享奖励机制鼓励用户向周围的用户分享应用程序,所述分享奖励机制表示为预先设置的应用程序与分享反馈信息的映射关系表,所述分享反馈信息为用户向周围的用户分享应用程序后,可以得到的分享奖励,需要说明的是,所述分享奖励的形式可以有多种,例如,奖励流量、奖励通话时长、奖励短信等。当然,有的应用程序对应的分享奖励可以为0,也就是说,虽然分享了该应用程序,但是分享者得不到奖励。In this embodiment, the user may be encouraged to share the application to the surrounding users by setting a sharing reward mechanism, where the sharing reward mechanism is represented as a mapping relationship between the preset application and the sharing feedback information, and the sharing feedback information is the user direction. After sharing the application, the surrounding users can get the sharing reward. It should be noted that the sharing reward can be in various forms, for example, reward traffic, reward call duration, reward SMS, and the like. Of course, some applications can share a reward of 0, which means that although the application is shared, the sharer is not rewarded.
本实施例中,分享某一应用程序时,若预先设置的该应用程序与分享反馈信息的映射关系表为:每分享一次该APP,分享该APP的源终端设备可以获得20MB流量,则在每一个目 标终端设备上安装所述源终端设备分享的所述APP后,所述APP对应的厂商会奖励20MB流量给所述源终端设备。In this embodiment, when an application is shared, if the mapping relationship between the application and the shared feedback information is set in advance: each time the APP is shared, the source terminal device sharing the APP can obtain 20 MB of traffic, One item After the APP shared by the source terminal device is installed on the target terminal device, the vendor corresponding to the APP will reward 20 MB traffic to the source terminal device.
本实施例中,作为又一可选实施例,待所述待分享应用程序的应用程序安装包安装成功后,激活该待分享应用程序时,向该待分享应用程序对应的厂商发送包含所述源终端设备标识码的激活信息,以使所述待分享应用程序对应的厂商能够按照预先设置的应用程序与分享反馈信息的映射关系表对所述源终端设备进行奖励。In this embodiment, as another optional embodiment, after the application installation package of the application to be shared is successfully installed, when the application to be shared is activated, sending to the vendor corresponding to the application to be shared includes The activation information of the source terminal device identifier is such that the vendor corresponding to the to-be-shared application can reward the source terminal device according to a mapping relationship between the preset application and the shared feedback information.
本实施例中,分享某一应用程序时,若预先设置的该应用程序与分享反馈信息的映射关系表为:每分享一次该APP,分享该APP的源终端设备可以获得20MB流量和50条免费短信,则在每一个目标终端设备上安装源终端设备分享的所述APP后,且该目标终端设备的用户激活所述APP(第一次启动所述APP)后,所述APP对应的厂商会奖励20MB流量和50条免费短信给所述源终端设备。In this embodiment, when an application is shared, if the preset mapping relationship between the application and the shared feedback information is set as follows: each time the APP is shared, the source terminal device sharing the APP can obtain 20 MB of traffic and 50 free. After the SMS is installed, after the APP shared by the source terminal device is installed on each target terminal device, and the user of the target terminal device activates the APP (the APP is started for the first time), the vendor corresponding to the APP Reward 20MB traffic and 50 free SMS messages to the source terminal device.
本实施例中,待所述目标终端设备安装所述待分享应用程序对应的应用程序安装包后,能够按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述待分享应用程序对应的分享反馈信息对所述源终端设备进行奖励,从而进一步提高用户分享的积极性。In this embodiment, after the target terminal device installs the application installation package corresponding to the application to be shared, the target application device can obtain the corresponding application to be shared according to the mapping relationship between the application and the shared feedback information. The sharing feedback information rewards the source terminal device, thereby further enhancing the enthusiasm of the user sharing.
本实施例中,为了让用户更加直观地看到每一应用程序对应的分享反馈信息,所述应用程序列表中每一应用程序对应的分享反馈信息可以展示在所述应用程序分享界面上。In this embodiment, in order to allow the user to more intuitively view the sharing feedback information corresponding to each application, the sharing feedback information corresponding to each application in the application list may be displayed on the application sharing interface.
本实施例中,作为另一可选实施例,所述第三获取模块14包括:展示单元;In this embodiment, as another optional embodiment, the third obtaining module 14 includes: a display unit;
所述展示单元,用于按照预先设置的应用程序与分享反馈信息的映射关系表,在所述应用程序分享界面上展示所述应用程序列表中每一应用程序对应的分享反馈信息。The display unit is configured to display sharing feedback information corresponding to each application in the application list on the application sharing interface according to a mapping relationship table between the application and the shared feedback information.
本实施例提供的分享应用程序的装置,通过第一获取模块获取所述电子设备当前的网络环境;如果所述网络环境为断网状态或收费型网络,则通过第二获取模块获取本地待分享应用程序对应的应用程序安装包,并通过传输模块将在本地获取的所述应用程序安装包传输给目标终端设备,这样,即使是在断网状态或收费型网络下,也可以将本地的应用程序安装包分享给所述目标终端设备,分享操作无需依赖当前的网络环境,待所述目标终端设备安装所述应用程序安装包后,能够按照预先设置的应用程序与分享反馈信息的映射关系表,通过第三获取模块获取所述本地待分享应用程序对应的分享反馈信息对本地进行奖励,从而进一步提高用户分享的积极性。The apparatus for sharing an application provided by the embodiment obtains the current network environment of the electronic device by using the first acquiring module. If the network environment is a disconnected state or a charging network, the second acquiring module obtains the local to be shared. The application installation package corresponding to the application, and transmitting the locally installed application installation package to the target terminal device through the transmission module, so that the local application can be applied even in a disconnected state or a charging network. The program installation package is shared with the target terminal device, and the sharing operation does not depend on the current network environment. After the target terminal device installs the application installation package, the mapping relationship between the preset application and the shared feedback information can be obtained. The third obtaining module obtains the sharing feedback information corresponding to the local to-be-shared application to reward the local, thereby further improving the enthusiasm of the user to share.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而 且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the terms "comprises," "comprising," or "include" or "the" It also includes other elements not explicitly listed, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。The various embodiments in the present specification are described in a related manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。It should be understood that portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本申请实施例还提供一种电子设备。图4为本申请电子设备一个实施例的结构示意图,可以实现本申请图1-3所示实施例的流程,如图4所示,上述电子设备可以包括:壳体41、处理器42、存储器43、电路板44和电源电路45,其中,电路板44安置在壳体41围成的空间内部,处理器42和存储器43设置在电路板44上;电源电路45,用于为上述电子设备的各个电路或器件供电;存储器43用于存储可执行程序代码;处理器42通过读取存储器43中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一实施例所述的方法。 An embodiment of the present application further provides an electronic device. FIG. 4 is a schematic structural diagram of an embodiment of an electronic device according to the present application, which may implement the process of the embodiment shown in FIG. 1-3 of the present application. As shown in FIG. 4, the electronic device may include: a housing 41, a processor 42, and a memory. 43. The circuit board 44 and the power supply circuit 45, wherein the circuit board 44 is disposed inside the space surrounded by the housing 41, the processor 42 and the memory 43 are disposed on the circuit board 44, and the power supply circuit 45 is used for the electronic device Each circuit or device is powered; the memory 43 is for storing executable program code; the processor 42 is operative to execute a program corresponding to the executable program code by reading the executable program code stored in the memory 43 for performing any of the foregoing embodiments Said method.
处理器42对上述步骤的具体执行过程以及处理器42通过运行可执行程序代码来进一步执行的步骤,可以参见本申请图1-3所示实施例的描述,在此不再赘述。For the specific execution of the foregoing steps by the processor 42 and the steps performed by the processor 42 by running the executable program code, refer to the description of the embodiment shown in FIG. 1-3 of the present application, and details are not described herein again.
该电子设备以多种形式存在,包括但不限于:The electronic device exists in a variety of forms including, but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子设备。(5) Other electronic devices with data interaction functions.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.
为了描述的方便,描述以上装置是以功能分为各种单元/模块分别描述。当然,在实施本申请时可以把各单元/模块的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above devices are described as being separately divided into various units/modules. Of course, the functions of each unit/module may be implemented in the same software or software and/or hardware when implementing the present application.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。 In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are schematic, for example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated. Go to another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。 The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any change or replacement that can be easily conceived by those skilled in the art within the technical scope disclosed by the present application is All should be covered by the scope of this application. Therefore, the scope of protection of this application should be determined by the scope of protection of the claims.

Claims (13)

  1. 一种分享应用程序的方法,应用于电子设备,其特征在于,包括:A method for sharing an application, applied to an electronic device, comprising:
    获取所述电子设备当前的网络环境;Obtaining a current network environment of the electronic device;
    如果所述网络环境为断网状态或收费型网络,则获取本地待分享应用程序对应的应用程序安装包;If the network environment is a disconnected state or a charging network, obtain an application installation package corresponding to the local to-be-shared application;
    与目标终端设备建立通信连接,将获取的所述应用程序安装包传输给所述目标终端设备;Establishing a communication connection with the target terminal device, and transmitting the obtained application installation package to the target terminal device;
    如果所述目标终端设备根据所述应用程序安装包安装所述待分享应用程序,则按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息;If the target terminal device installs the to-be-shared application according to the application installation package, the sharing feedback information corresponding to the local to-be-shared application is obtained according to a mapping relationship between the preset application and the shared feedback information. ;
    其中,所述收费型网络包括:2G网络、3G网络、4G网络或4G+网络。The charging type network includes: a 2G network, a 3G network, a 4G network, or a 4G+ network.
  2. 根据权利要求1所述的分享应用程序的方法,其特征在于,所述获取本地待分享应用程序对应的应用程序安装包,包括:The method for sharing an application according to claim 1, wherein the obtaining an application installation package corresponding to the local application to be shared comprises:
    启动本地的应用程序分享控件,进入应用程序分享界面;其中,所述应用程序分享界面包括:本地上已安装的应用程序列表;Launching a local application sharing control to enter an application sharing interface; wherein the application sharing interface includes: a list of installed applications locally;
    接收用户在所述本地上已安装的应用程序列表中选取的一个或多个待分享应用程序;Receiving one or more to-be-shared applications selected by the user in the list of installed applications on the local;
    按照用户选取的所述待分享应用程序,获取该待分享应用程序对应的应用程序安装包。Obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
  3. 根据权利要求1或2所述的分享应用程序的方法,其特征在于,所述将获取的所述应用程序安装包传输给所述目标终端设备包括:The method of sharing an application according to claim 1 or 2, wherein the transmitting the acquired application installation package to the target terminal device comprises:
    按照预定的方式,将获取的所述应用程序安装包传输给所述目标终端设备;Transmitting the obtained application installation package to the target terminal device according to a predetermined manner;
    其中,所述预定的方式至少包括:蓝牙传输方式、文件传输协议服务传输方式中的一种或多种。The predetermined manner includes at least one of a Bluetooth transmission mode and a file transmission protocol service transmission mode.
  4. 根据权利要求1-3任一项所述的分享应用程序的方法,其特征在于,所述方法还包括:The method of sharing an application according to any one of claims 1 to 3, wherein the method further comprises:
    将获取的所述应用程序安装包传输给所述目标终端设备的同时,将用于标识所述本地的标识码传输给所述目标终端设备。And transmitting the obtained application installation package to the target terminal device, and transmitting the identification code for identifying the local to the target terminal device.
  5. 根据权利要求1-4任一项所述的分享应用程序的方法,其特征在于,所述按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息包括:The method for sharing an application according to any one of claims 1 to 4, wherein the sharing of the local application to be shared is obtained according to a mapping relationship between the preset application and the shared feedback information. Feedback information includes:
    按照预先设置的应用程序与分享反馈信息的映射关系表,在所述应用程序分享界面上展示所述应用程序列表中每一应用程序对应的分享反馈信息。The sharing feedback information corresponding to each application in the application list is displayed on the application sharing interface according to a mapping relationship table between the preset application and the shared feedback information.
  6. 一种分享应用程序的装置,所述装置为电子设备,其特征在于,包括: An apparatus for sharing an application, the device being an electronic device, comprising:
    第一获取模块,用于获取所述电子设备当前的网络环境;a first acquiring module, configured to acquire a current network environment of the electronic device;
    第二获取模块,用于如果所述网络环境为断网状态或收费型网络,则获取本地待分享应用程序对应的应用程序安装包;a second obtaining module, configured to acquire an application installation package corresponding to the local to-be-shared application if the network environment is a disconnected state or a charging network;
    传输模块,用于与目标终端设备建立通信连接,将获取的所述应用程序安装包传输给所述目标终端设备;a transmission module, configured to establish a communication connection with the target terminal device, and transmit the obtained application installation package to the target terminal device;
    第三获取模块,用于如果所述目标终端设备根据所述应用程序安装包安装所述待分享应用程序,则按照预先设置的应用程序与分享反馈信息的映射关系表,获取所述本地待分享应用程序对应的分享反馈信息;a third obtaining module, configured to: if the target terminal device installs the to-be-shared application according to the application installation package, obtain the local to-be-shared according to a mapping relationship table between the preset application and the shared feedback information Share feedback information corresponding to the application;
    其中,所述收费型网络包括:2G网络、3G网络、4G网络或4G+网络。The charging type network includes: a 2G network, a 3G network, a 4G network, or a 4G+ network.
  7. 根据权利要求6所述的分享应用程序的装置,其特征在于,所述第二获取模块包括:The device for sharing an application according to claim 6, wherein the second obtaining module comprises:
    启动单元,用于启动本地的应用程序分享控件,进入应用程序分享界面;其中,所述应用程序分享界面包括:本地上已安装的应用程序列表;a startup unit, configured to start a local application sharing control, and enter an application sharing interface, where the application sharing interface includes: a list of installed applications locally;
    接收单元,用于接收用户在所述本地上已安装的应用程序列表中选取的一个或多个待分享应用程序;a receiving unit, configured to receive one or more to-be-shared applications selected by the user in the locally installed application list;
    获取单元,用于按照用户选取的所述待分享应用程序,获取该待分享应用程序对应的应用程序安装包。The obtaining unit is configured to obtain an application installation package corresponding to the to-be-shared application according to the to-be-shared application selected by the user.
  8. 根据权利要求6或7所述的分享应用程序的装置,其特征在于,所述传输模块包括:第一传输单元;The apparatus for sharing an application according to claim 6 or 7, wherein the transmission module comprises: a first transmission unit;
    所述第一传输单元,用于按照预定的方式,将获取的所述应用程序安装包传输给所述目标终端设备;The first transmission unit is configured to transmit the acquired application installation package to the target terminal device according to a predetermined manner;
    其中,所述预定的方式至少包括:蓝牙传输方式、文件传输协议服务传输方式中的一种或多种。The predetermined manner includes at least one of a Bluetooth transmission mode and a file transmission protocol service transmission mode.
  9. 根据权利要求6-8任一项所述的分享应用程序的装置,其特征在于,所述传输模块还包括:第二传输单元;The device for sharing an application according to any one of claims 6-8, wherein the transmission module further comprises: a second transmission unit;
    所述第二传输单元,用于将获取的所述应用程序安装包传输给所述目标终端设备的同时,将用于标识所述本地的标识码传输给所述目标终端设备。And the second transmission unit is configured to: when the acquired application installation package is transmitted to the target terminal device, transmit the identification code for identifying the local to the target terminal device.
  10. 根据权利要求6-9任一项所述的分享应用程序的装置,其特征在于,所述第三获取模块具体用于:The device for sharing an application according to any one of claims 6-9, wherein the third obtaining module is specifically configured to:
    按照预先设置的应用程序与分享反馈信息的映射关系表,在所述应用程序分享界面上展示所述应用程序列表中每一应用程序对应的分享反馈信息。The sharing feedback information corresponding to each application in the application list is displayed on the application sharing interface according to a mapping relationship table between the preset application and the shared feedback information.
  11. 一种电子设备,其特征在于,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上; 电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一权利要求1-5所述的分享应用程序的方法。An electronic device, comprising: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed in the circuit Board a power circuit for supplying power to each circuit or device of the electronic device; a memory for storing executable program code; and a processor for executing a program corresponding to the executable program code by reading executable program code stored in the memory A method of sharing an application as claimed in any of the preceding claims 1-5.
  12. 一种存储介质,其特征在于,用于存储应用程序,所述应用程序用于执行如权利要求1-5任一项所述的分享应用程序的方法。A storage medium for storing an application for executing the method of sharing an application according to any one of claims 1-5.
  13. 一种应用程序,其特征在于,用于执行如权利要求1-5任一项所述的分享应用程序的方法。 An application, characterized by a method for performing the sharing application according to any of claims 1-5.
PCT/CN2017/094368 2016-07-27 2017-07-25 Method and apparatus for sharing application program, and electronic device WO2018019236A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610602864.XA CN106227567A (en) 2016-07-27 2016-07-27 Method and device for sharing application program and electronic equipment
CN201610602864.X 2016-07-27

Publications (1)

Publication Number Publication Date
WO2018019236A1 true WO2018019236A1 (en) 2018-02-01

Family

ID=57534614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094368 WO2018019236A1 (en) 2016-07-27 2017-07-25 Method and apparatus for sharing application program, and electronic device

Country Status (2)

Country Link
CN (1) CN106227567A (en)
WO (1) WO2018019236A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442467A (en) * 2019-06-20 2019-11-12 Oppo广东移动通信有限公司 A kind of data sharing method and terminal, computer readable storage medium
CN110968805A (en) * 2018-09-30 2020-04-07 上海掌门科技有限公司 Application sharing method and device and readable storage medium
CN113268279A (en) * 2021-04-30 2021-08-17 阿里巴巴新加坡控股有限公司 Data processing method and device
CN115802329A (en) * 2023-02-07 2023-03-14 荣耀终端有限公司 Application program recommendation method and device of Bluetooth equipment

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227567A (en) * 2016-07-27 2016-12-14 北京金山安全软件有限公司 Method and device for sharing application program and electronic equipment
CN108287723B (en) * 2016-12-30 2022-07-12 华为技术有限公司 Application interaction method and device, physical machine and system
CN107635291A (en) * 2017-09-12 2018-01-26 深圳市金立通信设备有限公司 A kind of method of shared data, terminal and computer-readable recording medium
CN108491148B (en) * 2018-03-12 2021-06-08 维沃移动通信有限公司 Application sharing method and terminal
CN110297717A (en) * 2018-03-22 2019-10-01 香港乐蜜有限公司 Determine method, apparatus, electronic equipment and the storage medium of client application participator
CN111163449B (en) * 2019-12-26 2021-10-12 维沃移动通信有限公司 Application sharing method, first electronic device and computer-readable storage medium
CN111209072B (en) * 2020-01-07 2024-04-30 维沃移动通信有限公司 Application sharing method, first electronic device and readable storage medium
CN112804394B (en) * 2021-01-28 2022-12-06 网易(杭州)网络有限公司 Information transmission and receiving method and device, electronic equipment and storage medium
CN113360785A (en) * 2021-06-30 2021-09-07 维沃移动通信(杭州)有限公司 Sharing method and sharing device thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080045342A1 (en) * 2003-03-05 2008-02-21 Bally Gaming, Inc. Data Integrity and Non-Repudiation
CN102385519A (en) * 2011-09-04 2012-03-21 上海量明科技发展有限公司 Method and system for installing software
CN106227567A (en) * 2016-07-27 2016-12-14 北京金山安全软件有限公司 Method and device for sharing application program and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101818004B1 (en) * 2013-02-01 2018-01-15 한국전자통신연구원 Apparatus and method for sharing data
CN104780189A (en) * 2014-01-13 2015-07-15 中兴通讯股份有限公司 Software upgrading method and software upgrading device
CN103945009A (en) * 2014-05-09 2014-07-23 张志强 Software sharing method and device
CN104077163B (en) * 2014-07-01 2017-07-14 宇龙计算机通信科技(深圳)有限公司 A kind of installation method of installation kit, device and terminal
CN105119991A (en) * 2015-08-20 2015-12-02 深圳市金立通信设备有限公司 Application sharing method and terminal
CN105656991A (en) * 2015-12-21 2016-06-08 北京金山安全软件有限公司 File sharing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080045342A1 (en) * 2003-03-05 2008-02-21 Bally Gaming, Inc. Data Integrity and Non-Repudiation
CN102385519A (en) * 2011-09-04 2012-03-21 上海量明科技发展有限公司 Method and system for installing software
CN106227567A (en) * 2016-07-27 2016-12-14 北京金山安全软件有限公司 Method and device for sharing application program and electronic equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968805A (en) * 2018-09-30 2020-04-07 上海掌门科技有限公司 Application sharing method and device and readable storage medium
CN110442467A (en) * 2019-06-20 2019-11-12 Oppo广东移动通信有限公司 A kind of data sharing method and terminal, computer readable storage medium
CN110442467B (en) * 2019-06-20 2023-02-03 Oppo广东移动通信有限公司 Data sharing method, terminal and computer readable storage medium
CN113268279A (en) * 2021-04-30 2021-08-17 阿里巴巴新加坡控股有限公司 Data processing method and device
CN113268279B (en) * 2021-04-30 2023-10-17 阿里巴巴新加坡控股有限公司 Data processing method and device
CN115802329A (en) * 2023-02-07 2023-03-14 荣耀终端有限公司 Application program recommendation method and device of Bluetooth equipment
CN115802329B (en) * 2023-02-07 2023-06-30 荣耀终端有限公司 Application program recommendation method and device for Bluetooth equipment

Also Published As

Publication number Publication date
CN106227567A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
WO2018019236A1 (en) Method and apparatus for sharing application program, and electronic device
US11647448B2 (en) Method for enabling smart device to access network, network access method, apparatus and shopping system
CN105117186B (en) Multimedia messages methods of exhibiting and device
US20180234364A1 (en) Data transmission method and apparatus, and in-vehicle terminal
CN106101982B (en) Application program downloading method and system
US10637804B2 (en) User terminal apparatus, communication system, and method of controlling user terminal apparatus which support a messenger service with additional functionality
CN104461725A (en) Application process starting control method and device
CN105337843A (en) Interaction system and method, client, and background server
WO2017012439A1 (en) Picture splicing method, terminal, and system
US9363300B2 (en) Systems and methods for voice communication
US9756674B2 (en) Method of transmitting and receiving data of electronic device and electronic device using the method
US9503410B2 (en) Sharing of activity metadata via messaging systems
CN105389175A (en) Application program sharing method and mobile terminal
US20180373307A1 (en) Processing method and device for saving power, mobile terminal and cloud server
KR20170106090A (en) Method and apparatus for sharing contents
CN104881304B (en) Resource downloading method and device
CN103945364A (en) Data transmission method, first terminal and system
CN107562500B (en) Debugging device, method and equipment
CN110297717A (en) Determine method, apparatus, electronic equipment and the storage medium of client application participator
CN104079551A (en) Information transmission method, relevant device and system
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
US20170168796A1 (en) Method and electronic apparatus for transferring application program from pc to mobile apparatus
US20170104712A1 (en) Electronic device, server and content providing method thereof
CN105512945A (en) Social network interaction information processing method and device
CN111093248B (en) Network distribution method, network distribution device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17833539

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.05.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17833539

Country of ref document: EP

Kind code of ref document: A1