WO2017036314A1 - Method and apparatus for transporting game application program on mobile terminal - Google Patents

Method and apparatus for transporting game application program on mobile terminal Download PDF

Info

Publication number
WO2017036314A1
WO2017036314A1 PCT/CN2016/095965 CN2016095965W WO2017036314A1 WO 2017036314 A1 WO2017036314 A1 WO 2017036314A1 CN 2016095965 W CN2016095965 W CN 2016095965W WO 2017036314 A1 WO2017036314 A1 WO 2017036314A1
Authority
WO
WIPO (PCT)
Prior art keywords
game application
mobile terminal
data packet
package
path information
Prior art date
Application number
PCT/CN2016/095965
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 WO2017036314A1 publication Critical patent/WO2017036314A1/en

Links

Images

Classifications

    • 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/725Cordless telephones

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a method and apparatus for transmitting a game application on a mobile terminal.
  • a smartphone that establishes a communication link can transfer files to each other. For example, after the sender's smartphone downloads the installation package of the application, the sender can send the installation package of the application to the receiver, thereby enabling the receiver to download the installation package of the application without consuming network traffic. Resource sharing between terminals.
  • the user needs to transfer a large game application to another Android device, usually the user needs to send the apk file of the game installation package to the receiver first, and then the user goes to the application.
  • the data package of the game application is found in a specific directory, and the corresponding data packet is transmitted to the receiver.
  • the receiver After the receiver receives the installation package and data packet sent by the sender, in order to ensure that the game application can run normally, the receiver needs to manually place the installation package of the game application in the corresponding directory and install the received game.
  • the installation package of the application manually placing the data packet into the corresponding directory, is prone to the problem that the data package is placed in the wrong directory, causing the game to fail to run normally.
  • the user can transmit the installation package of the game application through the existing file transfer tool (ie, the application with file transfer function), because the file transfer tool cannot be accurate. Identify the data packets of the game application, so in the process of transferring the game application with the data package using the file transfer tool, the user still needs to manually find the data packet corresponding to the game application and transmit it due to different game applications. There are different directories of data packets, and there are many directory levels, which are inconvenient to find. In the process of transmission, it takes a lot of time, and the required users need to manually operate more, and the game application cannot be quickly shared between terminals.
  • the existing file transfer tool ie, the application with file transfer function
  • the present invention aims to solve at least one of the technical problems in the related art to some extent.
  • a first aspect of the present invention provides a method for transmitting a game application on a mobile terminal, including: receiving a transfer request for transmitting a game application to a target mobile terminal;
  • acquiring installation package, data packet, and packet path information of the game application and transmitting the acquired installation package, data packet, and packet path information to the target mobile terminal to move the target
  • the terminal installs the game application according to the received installation package, data package, and packet path information.
  • the method further includes: if it is determined that the mobile terminal does not include the data package of the game application, acquiring an installation package of the game application, and reporting the installation package to the target mobile terminal The acquired installation package is sent to cause the target mobile terminal to install the game application according to the received installation package.
  • the determining, according to the transmission request, whether the data packet of the game application is included in the mobile terminal comprises: acquiring identification information of the game application according to the transmission request; determining pre-saved Whether the identification information is included in the relationship table between the identification information and the packet path information; if included, determining that the data package of the game application exists in the mobile terminal.
  • the transfer request carries the identification information of the game application, and the acquiring the installation package, the data package, and the data package path information of the game application, including: according to the identification information, Acquiring an installation package of the game application in the mobile terminal; acquiring data packet path information of the game application and a file name of the data package according to the identification information and a relationship table between the pre-stored identification information and the data packet path information And acquiring a data packet of the game application from the mobile terminal according to the packet path information and a file name of the data packet.
  • the method before the obtaining the packet path information of the game application and the file name of the data packet according to the relationship information between the identification information and the pre-stored identification information and the packet path information, The method further includes: acquiring, according to the identifier information, a preset configuration rule corresponding to the game application, where the preset configuration rule includes identifier information, data packet path information, and data packet of the game application.
  • Corresponding relationship of the file name determining, according to the packet path information in the preset configuration rule, whether the mobile terminal includes the data packet of the game application under the corresponding packet path information; if included, further determining the obtained Whether the file name of the data packet is consistent with the file name of the data packet in the preset configuration rule; if they are consistent, determining that the data package of the game application exists in the mobile terminal, and the game application is
  • the mapping relationship between the identification information, the data packet, and the packet path information is saved in the relationship table.
  • a method for transmitting a game application on a mobile terminal receiving a transfer request for transmitting a game application to a target mobile terminal, and determining, according to the transfer request, whether the mobile terminal includes a data package of the game application;
  • the installation package, the data packet, and the packet path information of the game application are obtained, and the acquired installation package, the data packet, and the data packet path information are sent to the target mobile terminal,
  • the target mobile terminal is configured to install the game application based on the received installation package, data packet, and packet path information.
  • a second aspect of the present invention provides a method for transmitting a game application on a mobile terminal, including: receiving an installation file of a game application sent by a source mobile terminal; determining whether the installation file includes Data packet path information and a data packet; if the installation file includes the data packet path information and the data packet, the data packet is placed according to the data packet path information, and is installed according to the installation file.
  • the package installs the game application.
  • the method further includes installing the game application according to an installation package in the installation file if the package path information and the data package are not included in the installation file.
  • a method for transmitting a game application on a mobile terminal receiving an installation file of a game application sent by a source mobile terminal, and including packet path information and a data packet in the installation file, according to the packet path information Place the package and install the game application according to the installation package in the installation file. This allows the user to manually install the game application without manually placing the data package, thus avoiding the data package being placed in the wrong directory and causing the game application.
  • the program does not work properly, making it easy for users to install game applications.
  • a third aspect of the present invention provides a device for transmitting a game application on a mobile terminal, comprising: a receiving module, configured to receive a transfer request for transmitting a game application to a target mobile terminal; and a determining module, And a first processing module, configured to: when the mobile terminal includes a data packet of the game application, acquire the data packet according to the sending request; An installation package, a data packet, and a packet path information of the application, and sending the acquired installation package, data packet, and packet path information to the target mobile terminal, so that the target mobile terminal according to the received installation package, The package and package path information installs the game application.
  • the apparatus further includes: a second processing module, configured to acquire an installation package of the game application when it is determined that the mobile terminal does not include the data package of the game application, And transmitting the acquired installation package to the target mobile terminal, so that the target mobile terminal installs the game application according to the received installation package.
  • a second processing module configured to acquire an installation package of the game application when it is determined that the mobile terminal does not include the data package of the game application, And transmitting the acquired installation package to the target mobile terminal, so that the target mobile terminal installs the game application according to the received installation package.
  • the determining module is configured to: obtain the identification information of the game application according to the transmission request, and determine whether the relationship table between the pre-stored identification information and the packet path information includes Determining the identification information, and if so, determining that the data package of the game application exists in the mobile terminal.
  • the transfer request carries the identification information of the game application
  • the first processing module is specifically configured to: acquire the installation of the game application from the mobile terminal according to the identification information. And obtaining a packet path information of the game application and a file name of the data packet according to the identifier information and a relationship table between the identifier information and the pre-stored identification information and the packet path information, and according to the packet path information and The file name of the data packet, and the data packet of the game application is obtained from the mobile terminal.
  • the apparatus further includes: a pre-processing module, configured to Defining a relationship table between the identification information and the pre-stored identification information and the packet path information, acquiring the packet path information of the game application and the file name of the data package, and acquiring the corresponding game application according to the identification information.
  • a pre-processing module configured to Defining a relationship table between the identification information and the pre-stored identification information and the packet path information, acquiring the packet path information of the game application and the file name of the data package, and acquiring the corresponding game application according to the identification information.
  • the preset configuration rule includes the correspondence between the identification information of the game application, the data packet path information, and the file name of the data packet; and the data packet path information according to the preset configuration rule; Determining whether the mobile terminal includes the data packet of the game application under the corresponding data packet path information; if yes, further determining the file name of the obtained data packet and the data packet in the preset configuration rule Whether the file names are consistent; if they are consistent, determining that the data package of the game application exists in the mobile terminal, and saving the mapping relationship between the identification information of the game application, the data packet, and the packet path information to In the relationship table.
  • the transmitting device of the game application on the mobile terminal receives, by the receiving module, a transfer request for transmitting the game application to the target mobile terminal, and determines, by the determining module, whether the data package of the game application is included in the mobile terminal; And when determining that the data packet of the game application is included in the mobile terminal, the first processing module acquires an installation package, a data packet, and a data packet path information of the game application, and sends the acquired installation package and the data packet to the target mobile terminal. And packet path information, so that the target mobile terminal installs the game application according to the received installation package, data packet, and packet path information.
  • the game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
  • a fourth aspect of the present invention provides a device for transmitting a game application on a mobile terminal, comprising: a receiving module, configured to receive an installation file of a game application sent by a source mobile terminal; and a determining module, And determining, by the first installation module, the data packet path information and the data packet, where the data packet is included in the installation file, according to the data packet
  • the path information places the data package and installs the game application according to the installation package in the installation file.
  • the apparatus further includes: a second processing module, configured to: when the package path information and the data packet are not included in the installation file, according to an installation package in the installation file Install the game application.
  • the transmitting device of the game application on the mobile terminal receives the installation file of the game application sent by the source mobile terminal by the receiving module, and when the determining module determines that the installation file includes the packet path information and the data packet, The first processing module places the data packet according to the packet path information, and installs the game application according to the installation package in the installation file, thereby enabling the user to manually insert the data package during the installation of the game application, thereby avoiding the data packet. It is placed in the wrong directory and the game application does not work properly, which is convenient for users to install the game application.
  • a fifth aspect of the present invention provides a mobile terminal, which includes a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed in the housing Inside the space, the processor and the memory are disposed on the circuit board; the power circuit is used for each of the mobile terminals Circuit or device powering; the memory for storing executable program code; the processor running a program corresponding to the executable program code for reading by reading executable program code stored in the memory A method of transmitting a game application on a mobile terminal according to the first aspect of the present invention.
  • the mobile terminal of the embodiment of the present invention receives a transfer request for transmitting a game application to the target mobile terminal, and determines whether the mobile terminal includes a data package of the game application according to the transfer request; and determines that the mobile terminal includes the game application.
  • the installation package, the data packet, and the packet path information of the game application are obtained, and the acquired installation package, the data packet, and the packet path information are sent to the target mobile terminal, so that the target mobile terminal according to the received installation.
  • Package, package, and packet path information to install the game application.
  • the game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
  • a sixth aspect of the present invention provides a computer readable storage medium having instructions stored therein, when the processor of the mobile terminal executes the instruction, the mobile terminal performs the present invention A method for transmitting a game application on a mobile terminal according to an embodiment.
  • a seventh aspect of the present invention provides a computer application program, when executed on a processor of a mobile terminal, executes a game application on a mobile terminal according to the first aspect of the present invention.
  • the method of transmission of the program when executed on a processor of a mobile terminal, executes a game application on a mobile terminal according to the first aspect of the present invention.
  • FIG. 1 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with one embodiment of the present invention.
  • FIG. 2 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with another embodiment of the present invention.
  • FIG. 3 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with an embodiment of the present invention.
  • FIG. 4 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with still another embodiment of the present invention.
  • FIG. 5 is a flowchart of a method of transmitting a game application on a mobile terminal according to still another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to still another embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to still another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with one embodiment of the present invention. As shown in Figure 1, the method includes:
  • the user may obtain the identification information of the game application according to the transfer request, and determine whether the relationship table between the pre-stored identification information and the packet path information is included. Identification information; if included, determining that a data packet of the game application exists in the mobile terminal.
  • the relationship information of the game application is not included in the relationship table between the identification information stored in advance and the packet path information, it is determined that the data packet of the game application does not exist in the mobile terminal.
  • the identification information is information that can uniquely identify the game application, for example, the identification information is a package name of the game application.
  • the obtained installation application package, the data packet, and the packet path information of the game application may be sent to the target mobile terminal, and the target mobile terminal receives the game application.
  • the program's installation package, data packet, and packet path information the data packet is placed according to the received packet path information, and the game application is automatically installed. That is to say, in the process of installing the game application, the user does not need to manually place the data package in the corresponding directory, thereby avoiding the situation that the installed game application cannot work normally due to the incorrect placement of the data package directory. .
  • the game before the file path information of the game application and the file name of the data package are acquired according to the identification information and the relationship table between the identification information and the pre-stored identification information and the packet path information, the game is created and saved in advance. A table of relationship between application identification information and packet path information.
  • the preset configuration rule corresponding to the game application is obtained according to the identification information of the game application, where the preset configuration rule includes the correspondence between the identification information of the game application, the data packet path information, and the file name of the data package. Then, according to the packet path information in the preset configuration rule, it is determined whether the mobile terminal includes the data packet of the game application under the corresponding data packet path information, and if so, further determines the file name and the pre-prepared data packet.
  • the game application that the current user needs to send is a game application whose game name is NBA2014.
  • the package name of the game application can be obtained, and the game name is assumed to be the NBA2014 game application.
  • the package name of the program is: com.t2ksports.nba2k14***.
  • the table obtains the packet path information of the game application whose game name is NBA2014 and the file name of the data package.
  • the form of the information stored in the relationship table between the identification information and the packet path information is as shown in Table 1.
  • the path information of the game application whose game name is NBA2014 is: ⁇ SD ⁇ /Android/obb/com.t2ksports.nba2k14***/
  • the file name of the corresponding data package is: main. 7.com.t2ksports.nba2k14***.obb.
  • the obb (OneBeBag) file is a common game file format of the Android game, which is usually used in large games. Before running the game, the main game program will automatically unpack the obb file into a data file.
  • the corresponding data packet can be obtained from the mobile terminal according to the packet path information and the file name in the relationship table, and the smart package is obtained according to the package name of the game application.
  • the package path information, the data package is placed according to the package path information, and the installation package of the game application is automatically installed to complete the installation of the game application whose game name is NBA2014.
  • the mobile terminal and the target mobile terminal have completed matching, and there is a binding relationship between the two.
  • the method may further include step S104.
  • the package name of the game application whose game name is "Need for Speed 13" is obtained from the preset configuration rule: com.ea.games.nfs13_na; the package file directory is: ⁇ SD ⁇ /Android/data/com. Ea.games.nfs13_na/; The data file is: all the format files traversing the depth of 3 layers in the above file directory.
  • the data package of the game application may be scanned in the directory corresponding to the mobile terminal, that is, whether the data package of the game application exists in the directory of ⁇ SD ⁇ /Android/data/com.ea.games.nfs13_na/
  • the depth of the scan file directory of the data package file is 3.
  • the mapping relationship between the game application and the packet path information is not stored in the relationship table.
  • the packet path information of the game application is not stored in the relationship table, and it can be determined that the mobile terminal does not have the data packet of the game application.
  • the installation package of the game application can be directly sent to the recipient.
  • a method for transmitting a game application on a mobile terminal receiving a transmission request for transmitting a game application to a target mobile terminal, and determining, according to the transmission request, whether the mobile terminal includes a data packet of the game application; and determining When the mobile terminal includes the data packet of the game application, acquiring the installation package, the data packet, and the packet path information of the game application, and transmitting the acquired installation package, the data packet, and the packet path information to the target mobile terminal, so that The target mobile terminal installs the game application based on the received installation package, data packet, and packet path information.
  • the game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
  • FIG. 3 is a flowchart of a method for transmitting a game application on a mobile terminal according to an embodiment of the present invention.
  • the embodiment details a game application on a mobile terminal by taking the mobile terminal 1 transmitting a game application to the mobile terminal 2 as an example.
  • the method includes:
  • the preset configuration rule includes the correspondence between the identification information of the game application, the packet path information, and the file name of the data packet.
  • the preset configuration rule may include other information of the game application, for example, a developer who may also include the game application in the preset configuration rule.
  • Information that is, the preset configuration rule includes identification information of the game application, developer information, The correspondence between the packet path information and the file name of the packet.
  • the identification information is information that can uniquely identify the application, for example, the identification information is a package name of the game application.
  • the package name and the developer information of the application are obtained, and it is determined whether the preset configuration rule saved in the mobile terminal 1 includes the package corresponding to the application. If yes, it is further determined whether the developer information obtained from the mobile terminal 1 is consistent with the developer information in the preset configuration rule. If they are consistent, the corresponding application is determined to be a game application supporting the transfer.
  • the mobile terminal 1 If the mobile terminal 1 has a game application supporting transmission, determine whether there is a data packet file corresponding to the game application in the mobile terminal 1 according to the information in the preset configuration rule.
  • the packet path information and data of the game application 1 can be obtained from the preset configuration rules.
  • the file name of the package, and the package path information of the game application 2 and the file name of the data package and then it is possible to scan whether the mobile terminal 1 has the package file of the game application 1 and the game application 2 in the corresponding directory, assuming There is a data package file of the game application 1 and the game application 2 in the mobile terminal 1.
  • a relationship table of the identification information of the game application and the packet path information may be established and saved, wherein the correspondence table includes the application.
  • the mapping relationship between the package name, the game developer, the packet path information, and the file name of the data package can be conveniently followed by saving the application package name, the packet path information, and the file name of the data package in the relationship table.
  • the data packet corresponding to the game application is obtained according to the mapping relationship in the correspondence table.
  • the identifier information of the current game application is obtained, and the identifier information is included in the relationship table of the identifier information and the packet path information. If yes, the data packet including the current game application in the mobile terminal 1 is determined.
  • the installation package of the game application may be obtained from the mobile terminal 1 according to the identification information of the current game application, and according to the identification information of the current game application. a relationship table between the pre-stored identification information and the packet path information, acquiring the packet path information of the current game application and the file name of the data packet, and acquiring the current from the mobile terminal 1 according to the packet path information and the file name of the data packet Game application package.
  • the obtained information may be sent to the mobile terminal 2, and the mobile terminal 2 receives the installation package, the data packet and the data package of the game application.
  • Path letter Information the data package is placed according to the packet path information, and the installation package of the game application is automatically installed.
  • the user does not need to manually place the data package in the corresponding directory, thereby avoiding the situation that the installed package application does not work properly due to the incorrect placement of the data package directory.
  • the method for transmitting a game application on the mobile terminal of the embodiment of the present invention can automatically identify a game application that the mobile terminal can support, and determine whether a data packet corresponding to the game application exists in the mobile terminal according to a preset configuration rule. And when there is a data packet of the game application in the mobile terminal, establishing a mapping relationship between the identification information of the game application and the packet path information, so as to facilitate the subsequent installation of the game application when the game application is transmitted, The data packet is transmitted together with the packet path information, thereby reducing the trouble for the user to manually find the data packet of the game application during the game application transmission process, reducing the time required to transfer the game application between the terminals, and improving the time.
  • the efficiency of sharing resources between terminals facilitates sharing of game applications between mobile terminals, and at the same time, the receiver does not need to consume network traffic to download installation packages and data packets of the game application, thereby saving network resources.
  • the present invention also provides a method of transmitting a game application on a mobile terminal.
  • FIG. 4 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • S402. Determine whether the package path information and the data packet are included in the installation file.
  • the installation file includes the packet path information and the data packet
  • the data packet is placed according to the data package path information
  • the game application is installed according to the installation package in the installation file.
  • the current game application is a game application whose game name is NBA2014
  • the received installation file contains the installation package, packet path information, and data package of the game application, assuming the packet path information is ⁇ SD ⁇ /Android. /obb/com.t2ksports.nba2k14***/
  • the data packet is placed in the corresponding directory of the mobile terminal, that is, the data packet is placed on the mobile terminal
  • the data packet is automatically placed according to the packet information, thereby eliminating the need for the user to manually place the data packet, thereby preventing the data package from being placed in the wrong directory and causing the game application to fail to operate normally, which facilitates the user to install the game application.
  • the method may further include step S404.
  • the method for transmitting a game application on the mobile terminal receives the installation file of the game application sent by the source mobile terminal, and places the packet path information and the data packet in the installation file according to the data packet path information.
  • Data package, and install the game application according to the installation package in the installation file thereby enabling the user to manually install the game application without manually placing the data packet, thereby avoiding the data package being placed in the wrong directory and causing the game application.
  • the failure to run properly makes it easy for users to install game applications.
  • the present invention also provides a transmitting apparatus for a game application on a mobile terminal.
  • FIG. 6 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to an embodiment of the present invention.
  • the device includes a receiving module 110, a determining module 120, and a first processing module 130, where:
  • the receiving module 110 is configured to receive a transfer request for transmitting a game application to the target mobile terminal; the determining module 120 is configured to determine, according to the transfer request, whether the mobile terminal includes a data package of the game application; the first processing module 130 is configured to be in the mobile terminal.
  • the data package of the game application is included, the installation package, the data packet, and the packet path information of the game application are obtained, and the acquired installation package, data packet, and packet path information are sent to the target mobile terminal to make the target mobile terminal Install the game application based on the received installation package, package, and packet path information.
  • the foregoing apparatus may further include a second processing module 140, configured to acquire an installation package of the game application when determining that the mobile terminal does not include the data packet of the game application. And sending the acquired installation package to the target mobile terminal, so that the target mobile terminal installs the game application according to the received installation package.
  • a second processing module 140 configured to acquire an installation package of the game application when determining that the mobile terminal does not include the data packet of the game application. And sending the acquired installation package to the target mobile terminal, so that the target mobile terminal installs the game application according to the received installation package.
  • the identification information is information that can uniquely identify the game application, for example, the identification information is a package name of the game application.
  • the determining module 120 may first obtain the identification information of the game application according to the transmission request, and then determine whether the relationship information between the pre-stored identification information and the packet path information includes the identification information, and if yes, determine that the mobile terminal exists. Game application package.
  • the first processing module 130 may acquire the installation package of the game application from the mobile terminal according to the identification information of the game application, and according to the identification information and the pre-saved a relationship table between the identification information and the packet path information, obtaining the packet path information of the game application and the file name of the data packet, and acquiring the data of the game application from the mobile terminal according to the packet path information and the file name of the data packet package.
  • the foregoing apparatus may further include a pre-processing module 150, configured to obtain, by the first processing module 130, according to the relationship information and the relationship table between the pre-stored identification information and the data packet path information.
  • a pre-processing module 150 configured to obtain, by the first processing module 130, according to the relationship information and the relationship table between the pre-stored identification information and the data packet path information.
  • the preset configuration rule corresponding to the game application is obtained according to the identification information, and the packet path information in the preset configuration rule is determined; the corresponding data of the mobile terminal is determined.
  • the packet of the game application is included in the package path information; if yes, further determining whether the file name of the obtained data packet is consistent with the file name of the data packet in the preset configuration rule; if they are consistent, determining the mobile terminal
  • the mapping relationship between the identification information of the game application, the data packet, and the packet path information is saved in the relation table.
  • the preset configuration rule includes the correspondence between the identification information of the game application, the packet path information, and the file name of the data packet.
  • the transmitting device of the game application on the mobile terminal of the embodiment of the present invention receives, by the receiving module, a transfer request for transmitting the game application to the target mobile terminal, and determines, by the determining module, whether the data packet of the game application is included in the mobile terminal;
  • the first processing module acquires an installation package, a data packet, and a data packet path information of the game application, and sends the acquired installation package, the data packet, and the target mobile terminal to the target mobile terminal.
  • the packet path information is such that the target mobile terminal installs the game application based on the received installation package, data packet, and packet path information.
  • the game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
  • the present invention also provides a transmitting apparatus for a game application on a mobile terminal.
  • FIG. 8 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to still another embodiment of the present invention.
  • the apparatus includes a receiving module 210, a determining module 220, and a first processing module 230, where:
  • the receiving module 210 is configured to receive an installation file of the game application sent by the source mobile terminal, and the determining module 220 is configured to determine whether the installation path includes data packet path information and a data packet; the first processing module 230 is configured to be used in the installation.
  • the file includes the packet path information and the data packet
  • the data packet is placed according to the data packet path information
  • the game application is installed according to the installation package in the installation file.
  • the foregoing apparatus further includes a second processing module 240, configured to: when the package path information and the data packet are not included in the installation file, according to the installation file The installation package in the installation of the game application.
  • the transmitting device of the game application on the mobile terminal of the embodiment of the present invention receives the installation file of the game application sent by the source mobile terminal by the receiving module, and when the determining module determines that the installation file includes the packet path information and the data packet, A processing module places the data packet according to the packet path information, and installs the game application according to the installation package in the installation file, thereby enabling the user to manually place the data package during the installation of the game application, thereby avoiding data packet placement. In the wrong directory, the game application does not work properly, which is convenient for users to install the game application.
  • FIG. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal includes a housing 61, a processor 62, a memory 63, a circuit board 64, and a power supply circuit 65, wherein the circuit board 64 is disposed inside a space surrounded by the housing 61, and the processor 62 and the above-mentioned memory 63 are disposed on the circuit board 64; the power supply circuit 65 is configured to supply power to each circuit or device of the mobile terminal; the memory 63 is used to store executable program code; and the processor 62 reads the above The executable program code stored in the memory 63 runs a program corresponding to the above-described executable program code for performing the following steps:
  • the user may obtain the identification information of the game application according to the transfer request, and determine whether the relationship table between the pre-stored identification information and the packet path information is included. Identification information; if included, determining that a data packet of the game application exists in the mobile terminal.
  • the relationship information of the game application is not included in the relationship table between the identification information stored in advance and the packet path information, it is determined that the data packet of the game application does not exist in the mobile terminal.
  • the identification information is information that can uniquely identify the game application, for example, the identification information is a package name of the game application.
  • the obtained installation application package, the data packet, and the packet path information of the game application may be sent to the target mobile terminal, and the target mobile terminal receives the game application.
  • the program's installation package, data packet, and packet path information the data packet is placed according to the received packet path information, and the game application is automatically installed. That is to say, in the process of installing the game application, the user does not need to manually place the data package in the corresponding directory, thereby avoiding the situation that the installed game application cannot work normally due to the incorrect placement of the data package directory. .
  • the game before the file path information of the game application and the file name of the data package are acquired according to the identification information and the relationship table between the identification information and the pre-stored identification information and the packet path information, the game is created and saved in advance. A table of relationship between application identification information and packet path information.
  • the preset configuration rule corresponding to the game application is obtained according to the identification information of the game application, where the preset configuration rule includes the correspondence between the identification information of the game application, the data packet path information, and the file name of the data package. Then, according to the packet path information in the preset configuration rule, it is determined whether the mobile terminal includes the data packet of the game application under the corresponding data packet path information, and if so, further determines the file name and the pre-prepared data packet.
  • the game application that the current user needs to send is a game application whose game name is NBA2014.
  • the package name of the game application can be obtained, and the game name is assumed to be the NBA2014 game application.
  • the package name of the program is: com.t2ksports.nba2k14***.
  • the table obtains the packet path information of the game application whose game name is NBA2014 and the file name of the data package.
  • the form of the information held in the relationship table between the identification information and the packet path information is as shown in Table 1 above.
  • the path information of the game application whose game name is NBA2014 is: ⁇ SD ⁇ /Android/obb/com.t2ksports.nba2k14***/
  • the file name of the corresponding data package is: main. 7.com.t2ksports.nba2k14***.obb.
  • the obb (OneBeBag) file is a common game file format of the Android game, which is usually used in large games. Before running the game, the main game program will automatically unpack the obb file into a data file.
  • the corresponding data packet can be obtained from the mobile terminal according to the packet path information and the file name in the relationship table, and the smart package is obtained according to the package name of the game application.
  • the package path information, the data package is placed according to the packet path information, and the installation package is automatically installed to complete the installation of the game application whose game name is NBA2014.
  • the mobile terminal and the target mobile terminal have completed matching, and there is a binding relationship between the two.
  • the processor may further perform step S104'.
  • the package name of the game application whose game name is "Need for Speed 13" is obtained from the preset configuration rule: com.ea.games.nfs13_na; the package file directory is: ⁇ SD ⁇ /Android/data/com. Ea.games.nfs13_na/; The data file is: all the format files traversing the depth of 3 layers in the above file directory.
  • the data package of the game application may be scanned in the directory corresponding to the mobile terminal, that is, whether the data package of the game application exists in the directory of ⁇ SD ⁇ /Android/data/com.ea.games.nfs13_na/
  • the depth of the scan file directory of the data package file is 3.
  • the mapping relationship between the game application and the packet path information is not stored in the relationship table.
  • the packet path information of the game application is not stored in the relationship table, and it can be determined that the mobile terminal does not have the data packet of the game application.
  • the installation package of the game application can be directly sent to the recipient.
  • the mobile terminal in the embodiment of the present invention may include: a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), a portable multimedia player (PMP), a navigation device, and a desktop computer. Wait And other terminal equipment.
  • PDA personal digital assistant
  • PAD tablet computer
  • PMP portable multimedia player
  • a navigation device and a desktop computer. Wait And other terminal equipment.
  • the mobile terminal of the embodiment of the present invention receives a transfer request for transmitting a game application to the target mobile terminal, and determines whether the mobile terminal includes a data package of the game application according to the transfer request; and determines that the mobile terminal includes the game application.
  • the installation package, the data packet, and the packet path information of the game application are obtained, and the acquired installation package, the data packet, and the packet path information are sent to the target mobile terminal, so that the target mobile terminal according to the received installation.
  • Package, package, and packet path information to install the game application.
  • the game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
  • the embodiment of the present invention further provides a computer readable storage medium having instructions stored therein, when the processor of the mobile terminal executes the instruction, the mobile terminal executes a game application on the mobile terminal of the embodiment of the present invention.
  • the method of transmission of the program when the processor of the mobile terminal executes the instruction, the mobile terminal executes a game application on the mobile terminal of the embodiment of the present invention.
  • the embodiment of the present invention further provides a computer application program, when executed on a processor of the mobile terminal, performs a method for transmitting a game application on the mobile terminal according to the embodiment of the present invention.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • 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.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • 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.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a method and an apparatus for transporting a game application program on a mobile terminal. The method comprises: receiving a transport request for transporting a game application program to a target mobile terminal; determining, according to the transport request, whether the mobile terminal comprises a data packet of the game application program; and if yes, obtaining an installation package, the data packet, and data packet path information of the game application program, and sending the obtained installation package, the data packet, and the data packet path information to the target mobile terminal, so that the target mobile terminal installs the game application program according to the received installation package, the data packet, and the data packet path information. By means of the method for transporting a game application program on a mobile terminal in the embodiments, a user does not need to manually search for a data packet of a game application program in a transport process of the game application program, it takes less time to transport the game application program, the efficiency of sharing resources between terminals is improved, and sharing of the game application program between mobile terminals is facilitated.

Description

移动终端上的游戏应用程序的传送方法和装置Method and device for transmitting game application on mobile terminal
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201510556905.1,申请日为2015年9月2日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on the Chinese Patent Application No. 201510556905.1, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及移动终端技术领域,尤其涉及一种移动终端上的游戏应用程序的传送方法和装置。The present invention relates to the field of mobile terminal technologies, and in particular, to a method and apparatus for transmitting a game application on a mobile terminal.
背景技术Background technique
随着移动互联网时代的不断发展,移动终端例如智能手机的功能越来强大,用户可根据需求在移动终端中安装各种功能的应用程序,移动终端已经成为人们生活和工作的一部分。With the continuous development of the mobile Internet era, the functions of mobile terminals such as smart phones are becoming more powerful, and users can install various functional applications in mobile terminals according to requirements, and mobile terminals have become a part of people's lives and work.
目前,在用户使用智能手机的过程中,建立通信链接的智能手机之间可以互相传送文件。例如,在发送方的智能手机下载应用程序的安装包后,发送方可将应用程序的安装包发送给接收方,由此,使得接收方无需消耗网络流量再下载该应用程序的安装包,实现了终端之间的资源共享。Currently, in the process of using a smartphone, a smartphone that establishes a communication link can transfer files to each other. For example, after the sender's smartphone downloads the installation package of the application, the sender can send the installation package of the application to the receiver, thereby enabling the receiver to download the installation package of the application without consuming network traffic. Resource sharing between terminals.
在基于Android(安卓)***的智能手机上,如果用户需要传送一个大型游戏应用程序到另一个Android设备上,通常是用户需要先把游戏安装包的apk文件发送给接收方,然后用户再到应用特定目录下找到游戏应用程序的数据包,并将对应的数据包传送给接收方。接收方在接收到发送方发送的安装包和数据包后,为了保证游戏应用程序可以正常运行,接收方需要手动将游戏应用程序的安装包放置在相应的目录中,并安装所接收到的游戏应用程序的安装包,手动放置数据包到相应的目录,容易出现数据包放在错误目录,导致游戏无法正常运行的问题。On a smartphone based on Android (Android) system, if the user needs to transfer a large game application to another Android device, usually the user needs to send the apk file of the game installation package to the receiver first, and then the user goes to the application. The data package of the game application is found in a specific directory, and the corresponding data packet is transmitted to the receiver. After the receiver receives the installation package and data packet sent by the sender, in order to ensure that the game application can run normally, the receiver needs to manually place the installation package of the game application in the corresponding directory and install the received game. The installation package of the application, manually placing the data packet into the corresponding directory, is prone to the problem that the data package is placed in the wrong directory, causing the game to fail to run normally.
在传送游戏应用程序的过程中,为了方便用户传送游戏应用程序,用户可通过现有的文件传输工具(即具有文件传送功能的应用程序)传送游戏应用程序的安装包,由于文件传输工具不能准确识别游戏应用程序的数据包,因此,在使用文件传输工具传具有数据包的游戏应用程序的过程中,用户仍然需要手动找到游戏应用程序对应的数据包,并进行传送,由于不同的游戏应用程序存在数据包的目录不同,目录层级较多,不便寻找,在传送过程中,需要消耗时间较多,且所需用户手动操作较多,无法实现终端之间快速共享游戏应用程序。In the process of transferring the game application, in order to facilitate the user to transfer the game application, the user can transmit the installation package of the game application through the existing file transfer tool (ie, the application with file transfer function), because the file transfer tool cannot be accurate. Identify the data packets of the game application, so in the process of transferring the game application with the data package using the file transfer tool, the user still needs to manually find the data packet corresponding to the game application and transmit it due to different game applications. There are different directories of data packets, and there are many directory levels, which are inconvenient to find. In the process of transmission, it takes a lot of time, and the required users need to manually operate more, and the game application cannot be quickly shared between terminals.
发明内容Summary of the invention
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。 The present invention aims to solve at least one of the technical problems in the related art to some extent.
为实现上述目的,本发明第一方面实施例提出了一种移动终端上的游戏应用程序的传送方法,包括:接收向目标移动终端传送游戏应用程序的传送请求;In order to achieve the above object, a first aspect of the present invention provides a method for transmitting a game application on a mobile terminal, including: receiving a transfer request for transmitting a game application to a target mobile terminal;
根据所述传送请求判断移动终端中是否包含所述游戏应用程序的数据包;Determining, according to the transmission request, whether the data packet of the game application is included in the mobile terminal;
若包含,则获取所述游戏应用程序的安装包、数据包和数据包路径信息,并向所述目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使所述目标移动终端根据接收到的安装包、数据包和数据包路径信息安装所述游戏应用程序。If included, acquiring installation package, data packet, and packet path information of the game application, and transmitting the acquired installation package, data packet, and packet path information to the target mobile terminal to move the target The terminal installs the game application according to the received installation package, data package, and packet path information.
在至少一个实施例中,所述方法还包括:若判断出所述移动终端中不包含所述游戏应用程序的数据包,则获取所述游戏应用程序的安装包,并向所述目标移动终端发送所获取的安装包,以使所述目标移动终端根据接收到的安装包安装所述游戏应用程序。In at least one embodiment, the method further includes: if it is determined that the mobile terminal does not include the data package of the game application, acquiring an installation package of the game application, and reporting the installation package to the target mobile terminal The acquired installation package is sent to cause the target mobile terminal to install the game application according to the received installation package.
在至少一个实施例中,所述根据所述传送请求判断移动终端中是否包含所述游戏应用程序的数据包,包括:根据所述传送请求获取所述游戏应用程序的标识信息;判断预先保存的标识信息与数据包路径信息的关系表中是否包含所述标识信息;若包含,则确定所述移动终端中存在所述游戏应用程序的数据包。In at least one embodiment, the determining, according to the transmission request, whether the data packet of the game application is included in the mobile terminal comprises: acquiring identification information of the game application according to the transmission request; determining pre-saved Whether the identification information is included in the relationship table between the identification information and the packet path information; if included, determining that the data package of the game application exists in the mobile terminal.
在至少一个实施例中,所述传送请求中携带所述游戏应用程序的标识信息,所述获取所述游戏应用程序的安装包、数据包和数据包路径信息,包括:根据所述标识信息从移动终端中获取所述游戏应用程序的安装包;根据所述标识信息和预先保存的标识信息与数据包路径信息的关系表,获取所述游戏应用程序的数据包路径信息和数据包的文件名;以及根据所述数据包路径信息和所述数据包的文件名,从移动终端中获取所述游戏应用程序的数据包。In at least one embodiment, the transfer request carries the identification information of the game application, and the acquiring the installation package, the data package, and the data package path information of the game application, including: according to the identification information, Acquiring an installation package of the game application in the mobile terminal; acquiring data packet path information of the game application and a file name of the data package according to the identification information and a relationship table between the pre-stored identification information and the data packet path information And acquiring a data packet of the game application from the mobile terminal according to the packet path information and a file name of the data packet.
在至少一个实施例中,在所述根据所述标识信息和预先保存的标识信息与数据包路径信息的关系表,获取所述游戏应用程序的数据包路径信息和数据包的文件名之前,所述方法还包括:根据所述标识信息获取所述游戏应用程序对应的预设配置规则,其中,所述预设配置规则中包含所述游戏应用程序的标识信息、数据包路径信息和数据包的文件名的对应关系;根据预设配置规则中的数据包路径信息,判断所述移动终端在对应的数据包路径信息下是否包含所述游戏应用程序的数据包;若包含,则进一步判断所获得的数据包的文件名与所述预设配置规则中的数据包的文件名是否一致;若一致,则确定所述移动终端中存在所述游戏应用程序的数据包,并将所述游戏应用程序的标识信息、数据包和数据包路径信息之间的映射关系保存至所述关系表中。In at least one embodiment, before the obtaining the packet path information of the game application and the file name of the data packet according to the relationship information between the identification information and the pre-stored identification information and the packet path information, The method further includes: acquiring, according to the identifier information, a preset configuration rule corresponding to the game application, where the preset configuration rule includes identifier information, data packet path information, and data packet of the game application. Corresponding relationship of the file name; determining, according to the packet path information in the preset configuration rule, whether the mobile terminal includes the data packet of the game application under the corresponding packet path information; if included, further determining the obtained Whether the file name of the data packet is consistent with the file name of the data packet in the preset configuration rule; if they are consistent, determining that the data package of the game application exists in the mobile terminal, and the game application is The mapping relationship between the identification information, the data packet, and the packet path information is saved in the relationship table.
根据本发明实施例的移动终端上的游戏应用程序的传送方法,接收向目标移动终端传送游戏应用程序的传送请求,并根据传送请求判断移动终端中是否包含游戏应用程序的数据包;以及在判断出移动终端中包含游戏应用程序的数据包时,获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,提高了终端之间共享资源的效率,方便了移动终 端之间共享游戏应用程序,同时使得接收方无需再消耗网络流量下载游戏应用程序的安装包和数据包,节约了网络资源。a method for transmitting a game application on a mobile terminal according to an embodiment of the present invention, receiving a transfer request for transmitting a game application to a target mobile terminal, and determining, according to the transfer request, whether the mobile terminal includes a data package of the game application; When the data packet of the game application is included in the mobile terminal, the installation package, the data packet, and the packet path information of the game application are obtained, and the acquired installation package, the data packet, and the data packet path information are sent to the target mobile terminal, The target mobile terminal is configured to install the game application based on the received installation package, data packet, and packet path information. Thereby, the trouble of manually searching for the data package of the game application during the game application transmission process is reduced, the time required for transferring the game application between the terminals is reduced, the efficiency of sharing resources between the terminals is improved, and the convenience is facilitated. Mobile end The game application is shared between the terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
为实现上述目的,本发明第二方面实施例提出了一种移动终端上的游戏应用程序的传送方法,包括:接收源移动终端发送的游戏应用程序的安装文件;判断所述安装文件中是否包含数据包路径信息和数据包;若所述安装文件中包含所述数据包路径信息和所述数据包,则根据所述数据包路径信息放置所述数据包,并根据所述安装文件中的安装包安装所述游戏应用程序。In order to achieve the above object, a second aspect of the present invention provides a method for transmitting a game application on a mobile terminal, including: receiving an installation file of a game application sent by a source mobile terminal; determining whether the installation file includes Data packet path information and a data packet; if the installation file includes the data packet path information and the data packet, the data packet is placed according to the data packet path information, and is installed according to the installation file. The package installs the game application.
在至少一个实施例中,所述方法还包括:若所述安装文件中不包含所述数据包路径信息和所述数据包,则根据所述安装文件中的安装包安装所述游戏应用程序。In at least one embodiment, the method further includes installing the game application according to an installation package in the installation file if the package path information and the data package are not included in the installation file.
根据本发明实施例的移动终端上的游戏应用程序的传送方法,接收源移动终端发送的游戏应用程序的安装文件,并在安装文件中包含数据包路径信息和数据包时,根据数据包路径信息放置数据包,并根据安装文件中的安装包安装游戏应用程序,由此,使得用户在安装游戏应用程序过程中,无需手动放置数据包,从而避免了数据包放置在错误目录中而造成游戏应用程序无法正常运行情况的发生,方便了用户安装游戏应用程序。A method for transmitting a game application on a mobile terminal according to an embodiment of the present invention, receiving an installation file of a game application sent by a source mobile terminal, and including packet path information and a data packet in the installation file, according to the packet path information Place the package and install the game application according to the installation package in the installation file. This allows the user to manually install the game application without manually placing the data package, thus avoiding the data package being placed in the wrong directory and causing the game application. The program does not work properly, making it easy for users to install game applications.
为实现上述目的,本发明第三方面实施例提出了一种移动终端上的游戏应用程序的传送装置,包括:接收模块,用于接收向目标移动终端传送游戏应用程序的传送请求;判断模块,用于根据所述传送请求判断移动终端中是否包含所述游戏应用程序的数据包;第一处理模块,用于在所述移动终端中包含所述游戏应用程序的数据包时,获取所述游戏应用程序的安装包、数据包和数据包路径信息,并向所述目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使所述目标移动终端根据接收到的安装包、数据包和数据包路径信息安装所述游戏应用程序。In order to achieve the above object, a third aspect of the present invention provides a device for transmitting a game application on a mobile terminal, comprising: a receiving module, configured to receive a transfer request for transmitting a game application to a target mobile terminal; and a determining module, And a first processing module, configured to: when the mobile terminal includes a data packet of the game application, acquire the data packet according to the sending request; An installation package, a data packet, and a packet path information of the application, and sending the acquired installation package, data packet, and packet path information to the target mobile terminal, so that the target mobile terminal according to the received installation package, The package and package path information installs the game application.
在至少一个实施例中,所述装置还包括:第二处理模块,用于在判断出所述移动终端中不包含所述游戏应用程序的数据包时,获取所述游戏应用程序的安装包,并向所述目标移动终端发送所获取的安装包,以使所述目标移动终端根据接收到的安装包安装所述游戏应用程序。In at least one embodiment, the apparatus further includes: a second processing module, configured to acquire an installation package of the game application when it is determined that the mobile terminal does not include the data package of the game application, And transmitting the acquired installation package to the target mobile terminal, so that the target mobile terminal installs the game application according to the received installation package.
在至少一个实施例中,所述判断模块,具体用于:根据所述传送请求获取所述游戏应用程序的标识信息,并判断预先保存的标识信息与数据包路径信息的关系表中是否包含所述标识信息,以及若包含,则确定所述移动终端中存在所述游戏应用程序的数据包。In at least one embodiment, the determining module is configured to: obtain the identification information of the game application according to the transmission request, and determine whether the relationship table between the pre-stored identification information and the packet path information includes Determining the identification information, and if so, determining that the data package of the game application exists in the mobile terminal.
在至少一个实施例中,所述传送请求中携带所述游戏应用程序的标识信息,所述第一处理模块,具体用于:根据所述标识信息从移动终端中获取所述游戏应用程序的安装包,并根据所述标识信息和预先保存的标识信息与数据包路径信息的关系表,获取所述游戏应用程序的数据包路径信息和数据包的文件名,以及根据所述数据包路径信息和所述数据包的文件名,从移动终端中获取所述游戏应用程序的数据包。In at least one embodiment, the transfer request carries the identification information of the game application, and the first processing module is specifically configured to: acquire the installation of the game application from the mobile terminal according to the identification information. And obtaining a packet path information of the game application and a file name of the data packet according to the identifier information and a relationship table between the identifier information and the pre-stored identification information and the packet path information, and according to the packet path information and The file name of the data packet, and the data packet of the game application is obtained from the mobile terminal.
在至少一个实施例中,所述装置还包括:预处理模块,用于在所述第一处理模块根据所 述标识信息和预先保存的标识信息与数据包路径信息的关系表,获取所述游戏应用程序的数据包路径信息和数据包的文件名之前,根据所述标识信息获取所述游戏应用程序对应的预设配置规则,其中,所述预设配置规则中包含所述游戏应用程序的标识信息、数据包路径信息和数据包的文件名的对应关系;根据预设配置规则中的数据包路径信息;判断所述移动终端在对应的数据包路径信息下是否包含所述游戏应用程序的数据包;若包含,则进一步判断所获得的数据包的文件名与所述预设配置规则中的数据包的文件名是否一致;若一致,则确定所述移动终端中存在所述游戏应用程序的数据包,并将所述游戏应用程序的标识信息、数据包和数据包路径信息之间的映射关系保存至所述关系表中。In at least one embodiment, the apparatus further includes: a pre-processing module, configured to Defining a relationship table between the identification information and the pre-stored identification information and the packet path information, acquiring the packet path information of the game application and the file name of the data package, and acquiring the corresponding game application according to the identification information. a preset configuration rule, where the preset configuration rule includes the correspondence between the identification information of the game application, the data packet path information, and the file name of the data packet; and the data packet path information according to the preset configuration rule; Determining whether the mobile terminal includes the data packet of the game application under the corresponding data packet path information; if yes, further determining the file name of the obtained data packet and the data packet in the preset configuration rule Whether the file names are consistent; if they are consistent, determining that the data package of the game application exists in the mobile terminal, and saving the mapping relationship between the identification information of the game application, the data packet, and the packet path information to In the relationship table.
根据本发明实施例的移动终端上的游戏应用程序的传送装置,通过接收模块接收向目标移动终端传送游戏应用程序的传送请求,并通过判断模块判断移动终端中是否包含游戏应用程序的数据包;以及在判断出移动终端中包含游戏应用程序的数据包时,第一处理模块获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,提高了终端之间共享资源的效率,方便了移动终端之间共享游戏应用程序,同时使得接收方无需再消耗网络流量下载游戏应用程序的安装包和数据包,节约了网络资源。The transmitting device of the game application on the mobile terminal according to the embodiment of the present invention receives, by the receiving module, a transfer request for transmitting the game application to the target mobile terminal, and determines, by the determining module, whether the data package of the game application is included in the mobile terminal; And when determining that the data packet of the game application is included in the mobile terminal, the first processing module acquires an installation package, a data packet, and a data packet path information of the game application, and sends the acquired installation package and the data packet to the target mobile terminal. And packet path information, so that the target mobile terminal installs the game application according to the received installation package, data packet, and packet path information. Thereby, the trouble of manually searching for the data package of the game application during the game application transmission process is reduced, the time required for transferring the game application between the terminals is reduced, the efficiency of sharing resources between the terminals is improved, and the convenience is facilitated. The game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
为实现上述目的,本发明第四方面实施例提出了一种移动终端上的游戏应用程序的传送装置,包括:接收模块,用于接收源移动终端发送的游戏应用程序的安装文件;判断模块,用于判断所述安装文件中是否包含数据包路径信息和数据包;第一处理模块,用于在所述安装文件中包含所述数据包路径信息和所述数据包时,根据所述数据包路径信息放置所述数据包,并根据所述安装文件中的安装包安装所述游戏应用程序。In order to achieve the above object, a fourth aspect of the present invention provides a device for transmitting a game application on a mobile terminal, comprising: a receiving module, configured to receive an installation file of a game application sent by a source mobile terminal; and a determining module, And determining, by the first installation module, the data packet path information and the data packet, where the data packet is included in the installation file, according to the data packet The path information places the data package and installs the game application according to the installation package in the installation file.
在至少一个实施例中,所述装置还包括:第二处理模块,用于在所述安装文件中不包含所述数据包路径信息和所述数据包时,根据所述安装文件中的安装包安装所述游戏应用程序。In at least one embodiment, the apparatus further includes: a second processing module, configured to: when the package path information and the data packet are not included in the installation file, according to an installation package in the installation file Install the game application.
根据本发明实施例的移动终端上的游戏应用程序的传送装置,通过接收模块接收源移动终端发送的游戏应用程序的安装文件,在判断模块判断安装文件中包含数据包路径信息和数据包时,第一处理模块根据数据包路径信息放置数据包,并根据安装文件中的安装包安装游戏应用程序,由此,使得用户在安装游戏应用程序过程中,无需手动放置数据包,从而避免了数据包放置在错误目录中而造成游戏应用程序无法正常运行情况的发生,方便了用户安装游戏应用程序。The transmitting device of the game application on the mobile terminal according to the embodiment of the present invention receives the installation file of the game application sent by the source mobile terminal by the receiving module, and when the determining module determines that the installation file includes the packet path information and the data packet, The first processing module places the data packet according to the packet path information, and installs the game application according to the installation package in the installation file, thereby enabling the user to manually insert the data package during the installation of the game application, thereby avoiding the data packet. It is placed in the wrong directory and the game application does not work properly, which is convenient for users to install the game application.
为实现上述目的,本发明第五方面实施例提出了一种移动终端,该移动终端包括壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述移动终端的各个 电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行本发明第一方面实施例所述的移动终端上的游戏应用程序的传送方法。In order to achieve the above object, a fifth aspect of the present invention provides a mobile terminal, which includes a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed in the housing Inside the space, the processor and the memory are disposed on the circuit board; the power circuit is used for each of the mobile terminals Circuit or device powering; the memory for storing executable program code; the processor running a program corresponding to the executable program code for reading by reading executable program code stored in the memory A method of transmitting a game application on a mobile terminal according to the first aspect of the present invention.
本发明实施例的移动终端,接收向目标移动终端传送游戏应用程序的传送请求,并根据传送请求判断移动终端中是否包含游戏应用程序的数据包;以及在判断出移动终端中包含游戏应用程序的数据包时,获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,提高了终端之间共享资源的效率,方便了移动终端之间共享游戏应用程序,同时使得接收方无需再消耗网络流量下载游戏应用程序的安装包和数据包,节约了网络资源。The mobile terminal of the embodiment of the present invention receives a transfer request for transmitting a game application to the target mobile terminal, and determines whether the mobile terminal includes a data package of the game application according to the transfer request; and determines that the mobile terminal includes the game application. When the data packet is obtained, the installation package, the data packet, and the packet path information of the game application are obtained, and the acquired installation package, the data packet, and the packet path information are sent to the target mobile terminal, so that the target mobile terminal according to the received installation. Package, package, and packet path information to install the game application. Thereby, the trouble of manually searching for the data package of the game application during the game application transmission process is reduced, the time required for transferring the game application between the terminals is reduced, the efficiency of sharing resources between the terminals is improved, and the convenience is facilitated. The game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
为实现上述目的,本发明第六方面实施例提出了一种计算机可读存储介质,具有存储于其中的指令,当移动终端的处理器执行所述指令时,所述移动终端执行如本发明第一方面实施例所述的移动终端上的游戏应用程序的传送方法。To achieve the above object, a sixth aspect of the present invention provides a computer readable storage medium having instructions stored therein, when the processor of the mobile terminal executes the instruction, the mobile terminal performs the present invention A method for transmitting a game application on a mobile terminal according to an embodiment.
为实现上述目的,本发明第七方面实施例提出了一种计算机应用程序,当其在移动终端的处理器上执行时,执行如本发明第一方面实施例所述的移动终端上的游戏应用程序的传送方法。In order to achieve the above object, a seventh aspect of the present invention provides a computer application program, when executed on a processor of a mobile terminal, executes a game application on a mobile terminal according to the first aspect of the present invention. The method of transmission of the program.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。The additional aspects and advantages of the invention will be set forth in part in the description which follows.
附图说明DRAWINGS
图1是根据本发明一个实施例的移动终端上的游戏应用程序的传送方法的流程图。1 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with one embodiment of the present invention.
图2是根据本发明另一个实施例的移动终端上的游戏应用程序的传送方法的流程图。2 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with another embodiment of the present invention.
图3是根据本发明一个具体实施例的移动终端上的游戏应用程序的传送方法的流程图。3 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with an embodiment of the present invention.
图4是根据本发明又一个实施例的移动终端上的游戏应用程序的传送方法的流程图。4 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with still another embodiment of the present invention.
图5是根据本发明再一个实施例的移动终端上的游戏应用程序的传送方法的流程图。FIG. 5 is a flowchart of a method of transmitting a game application on a mobile terminal according to still another embodiment of the present invention.
图6是根据本发明一个实施例的移动终端上的游戏应用程序的传送装置的结构示意图。FIG. 6 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to an embodiment of the present invention.
图7是根据本发明另一个实施例的移动终端上的游戏应用程序的传送装置的结构示意图。FIG. 7 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to another embodiment of the present invention.
图8是根据本发明又一个实施例的移动终端上的游戏应用程序的传送装置的结构示意图。FIG. 8 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to still another embodiment of the present invention.
图9是根据本发明再一个实施例的移动终端上的游戏应用程序的传送装置的结构示意图。9 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to still another embodiment of the present invention.
图10是根据本发明一个实施例的移动终端的结构示意图。 FIG. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
下面参考附图描述本发明实施例的移动终端上的游戏应用程序的传送方法、装置和移动终端。A method, an apparatus, and a mobile terminal for transmitting a game application on a mobile terminal according to an embodiment of the present invention are described below with reference to the accompanying drawings.
图1是根据本发明一个实施例的移动终端上的游戏应用程序的传送方法的流程图。如图1所示,该方法包括:1 is a flow chart of a method of transmitting a game application on a mobile terminal in accordance with one embodiment of the present invention. As shown in Figure 1, the method includes:
S101,接收向目标移动终端传送游戏应用程序的传送请求。S101. Receive a transfer request for transmitting a game application to the target mobile terminal.
S102,根据传送请求判断移动终端中是否包含游戏应用程序的数据包。S102. Determine, according to the transmission request, whether the mobile terminal includes a data packet of the game application.
具体地,在接收到用户向目标移动终端传送游戏应用程序的传送请求后,可根据传送请求获取游戏应用程序的标识信息,并判断预先保存的标识信息与数据包路径信息的关系表中是否包含标识信息;若包含,则确定移动终端中存在该游戏应用程序的数据包。Specifically, after receiving the transfer request of the game application to the target mobile terminal, the user may obtain the identification information of the game application according to the transfer request, and determine whether the relationship table between the pre-stored identification information and the packet path information is included. Identification information; if included, determining that a data packet of the game application exists in the mobile terminal.
另外,若预先保存的标识信息与数据包路径信息的关系表中不包含游戏应用程序的标识信息,则确定移动终端中不存在该游戏应用程序的数据包。Further, if the relationship information of the game application is not included in the relationship table between the identification information stored in advance and the packet path information, it is determined that the data packet of the game application does not exist in the mobile terminal.
其中,标识信息是可以唯一识别游戏应用程序的信息,例如,标识信息为游戏应用程序的包名。The identification information is information that can uniquely identify the game application, for example, the identification information is a package name of the game application.
S103,若包含,则获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。S103, if included, acquiring an installation package, a data packet, and a packet path information of the game application, and transmitting the acquired installation package, the data packet, and the data packet path information to the target mobile terminal, so that the target mobile terminal receives the Install the game application with the package, package, and packet path information.
具体地,确定移动终端中包含该游戏应用程序的数据包后,根据标识信息从移动终端中获取游戏应用程序的安装包,并根据标识信息和预先保存的标识信息与数据包路径信息的关系表,获取游戏应用程序的数据包路径信息和数据包的文件名,以及根据数据包路径信息和数据包的文件名,从移动终端中获取游戏应用程序的数据包。由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,方便了移动终端之间共享游戏应用程序。Specifically, after determining the data packet including the game application in the mobile terminal, acquiring an installation package of the game application from the mobile terminal according to the identification information, and according to the relationship between the identification information and the pre-stored identification information and the data packet path information Obtaining the packet path information of the game application and the file name of the data packet, and acquiring the data packet of the game application from the mobile terminal according to the packet path information and the file name of the data packet. Thereby, the trouble of manually searching for the data packets of the game application during the game application transmission process is reduced, the time required for transferring the game application between the terminals is reduced, and the sharing of the game application between the mobile terminals is facilitated.
在获取游戏应用程序的安装包、数据包和数据包路径信息后,可将所获得的游戏应用程序的安装包、数据包和数据包路径信息发送给目标移动终端,目标移动终端接收到游戏应用程序的安装包、数据包和数据包路径信息后,根据接收到的数据包路径信息放置数据包,并自动安装游戏应用程序。也就是说,在安装游戏应用程序的过程中,无需用户手动将数据包放置在对应的目录中,由此,避免了数据包目录放置错误而导致安装的游戏应用程序不能正常工作的情况的发生。在本发明的一个实施例中,在根据标识信息和预先保存的标识信息与数据包路径信息的关系表,获取游戏应用程序的数据包路径信息和数据包的文件名之前,预先建立并保存游戏应用程序的标识信息与数据包路径信息的关系表。 After obtaining the installation package, the data packet, and the packet path information of the game application, the obtained installation application package, the data packet, and the packet path information of the game application may be sent to the target mobile terminal, and the target mobile terminal receives the game application. After the program's installation package, data packet, and packet path information, the data packet is placed according to the received packet path information, and the game application is automatically installed. That is to say, in the process of installing the game application, the user does not need to manually place the data package in the corresponding directory, thereby avoiding the situation that the installed game application cannot work normally due to the incorrect placement of the data package directory. . In an embodiment of the present invention, before the file path information of the game application and the file name of the data package are acquired according to the identification information and the relationship table between the identification information and the pre-stored identification information and the packet path information, the game is created and saved in advance. A table of relationship between application identification information and packet path information.
具体地,根据游戏应用程序的标识信息获取游戏应用程序对应的预设配置规则,其中,预设配置规则中包含游戏应用程序的标识信息、数据包路径信息和数据包的文件名的对应关系。然后,根据预设配置规则中的数据包路径信息,判断移动终端在对应的数据包路径信息下是否包含游戏应用程序的数据包,若包含,则进一步判断所获得的数据包的文件名与预设配置规则中的数据包的文件名是否一致;若一致,则确定移动终端中存在游戏应用程序的数据包,并将游戏应用程序的标识信息、数据包和数据包路径信息之间的映射关系保存至标识信息与数据包路径信息的关系表中。Specifically, the preset configuration rule corresponding to the game application is obtained according to the identification information of the game application, where the preset configuration rule includes the correspondence between the identification information of the game application, the data packet path information, and the file name of the data package. Then, according to the packet path information in the preset configuration rule, it is determined whether the mobile terminal includes the data packet of the game application under the corresponding data packet path information, and if so, further determines the file name and the pre-prepared data packet. Whether the file names of the data packets in the configuration rule are consistent; if they are consistent, determining that the data packets of the game application exist in the mobile terminal, and mapping the identification information of the game application, the data packet, and the data packet path information Save to the relationship table between the identification information and the packet path information.
例如,当前用户需要发送的游戏应用程序为游戏名称为NBA2014的游戏应用程序,在监控到用户要发送该游戏应用程序后,可获取该游戏应用程序的包名,假定游戏名称为NBA2014的游戏应用程序的包名为:com.t2ksports.nba2k14***。在获取该游戏应用程序的包名后,可判断预先建立的标识信息与数据包路径信息的关系表中是否包含该包名,若包含,则从预先建立的标识信息与数据包路径信息的关系表中获取游戏名称为NBA2014的游戏应用程序的数据包路径信息和数据包的文件名。假定标识信息与数据包路径信息的关系表中保存的信息的形式如表1所示。通过表1中的内容可以确定游戏名称为NBA2014的游戏应用程序的数据包的路径信息为:{SD}/Android/obb/com.t2ksports.nba2k14***/,对应的数据包的文件名为:main.7.com.t2ksports.nba2k14***.obb。其中,obb(OneBeBag)文件是Android游戏通用数据包文件格式,通常用于大型游戏中。在运行游戏前,游戏主程序会自动将obb文件解包成data文件。当用户向目标移动终端发送该游戏应用程序的安装文件时,可根据关系表中的数据包路径信息和文件名从移动终端中获得对应的数据包,以及根据该游戏应用程序的包名从智能手机中获得该游戏应用的安装包,并向目标移动终端发送该游戏应用程序的安装包、数据包和数据包路径信息,目标移动终端在接收到该游戏应用程序的安装包、数据包和数据包路径信息,根据数据包路径信息放置数据包,并自动安装游戏应用程序的安装包,以完成游戏名称为NBA2014的游戏应用程序的安装。另外,需要说明的是,在移动终端向目标移动终端发送媒体缓存文件之前,移动终端与目标移动终端之间已经完成匹配,两者之间存在绑定关系。For example, the game application that the current user needs to send is a game application whose game name is NBA2014. After monitoring the user to send the game application, the package name of the game application can be obtained, and the game name is assumed to be the NBA2014 game application. The package name of the program is: com.t2ksports.nba2k14***. After obtaining the package name of the game application, it may be determined whether the package name is included in the relationship table between the pre-established identification information and the packet path information, and if so, the relationship between the pre-established identification information and the packet path information The table obtains the packet path information of the game application whose game name is NBA2014 and the file name of the data package. Assume that the form of the information stored in the relationship table between the identification information and the packet path information is as shown in Table 1. Through the contents of Table 1, it can be determined that the path information of the game application whose game name is NBA2014 is: {SD}/Android/obb/com.t2ksports.nba2k14***/, and the file name of the corresponding data package is: main. 7.com.t2ksports.nba2k14***.obb. Among them, the obb (OneBeBag) file is a common game file format of the Android game, which is usually used in large games. Before running the game, the main game program will automatically unpack the obb file into a data file. When the user sends the installation file of the game application to the target mobile terminal, the corresponding data packet can be obtained from the mobile terminal according to the packet path information and the file name in the relationship table, and the smart package is obtained according to the package name of the game application. Obtaining an installation package of the game application in the mobile phone, and sending an installation package, a data packet, and a packet path information of the game application to the target mobile terminal, where the target mobile terminal receives the installation package, the data packet, and the data of the game application. The package path information, the data package is placed according to the package path information, and the installation package of the game application is automatically installed to complete the installation of the game application whose game name is NBA2014. In addition, it should be noted that before the mobile terminal sends the media cache file to the target mobile terminal, the mobile terminal and the target mobile terminal have completed matching, and there is a binding relationship between the two.
表1 标识信息与数据包路径信息的关系表Table 1 Relationship between identification information and packet path information
Figure PCTCN2016095965-appb-000001
Figure PCTCN2016095965-appb-000001
在本发明的一个实施例中,如图2所示,该方法还可以包括步骤S104。In an embodiment of the present invention, as shown in FIG. 2, the method may further include step S104.
S104,若判断出移动终端中不包含游戏应用程序的数据包,则获取游戏应用程序的安装 包,并向目标移动终端发送所获取的安装包,以使目标移动终端根据接收到的安装包安装游戏应用程序。S104. If it is determined that the mobile terminal does not include the data packet of the game application, obtain the installation of the game application. The package is sent to the target mobile terminal to obtain the installation package, so that the target mobile terminal installs the game application according to the received installation package.
例如,假定从预设配置规则获得游戏名称为“极品飞车13”的游戏应用程序的包名为:com.ea.games.nfs13_na;数据包文件目录为:{SD}/Android/data/com.ea.games.nfs13_na/;数据文件为:上述文件目录下遍历3层深度的所有格式文件。此时,可扫描移动终端对应的目录中是否存在该游戏应用程序的数据包,即扫描{SD}/Android/data/com.ea.games.nfs13_na/的目录中是否存在游戏应用程序的数据包,且数据包文件扫描目录的深度为3,若该目录中不存在该游戏应用程序的数据包,则不在关系表中保存该游戏应用程序与数据包路径信息的映射关系。在接收到用户传送游戏名称为“极品飞车13”的游戏应用程序时,关系表中不存该游戏应用程序的数据包路径信息,可确定移动终端不存在该游戏应用程序的数据包,此时,可直接将该游戏应用程序的安装包发送给接收方。For example, suppose that the package name of the game application whose game name is "Need for Speed 13" is obtained from the preset configuration rule: com.ea.games.nfs13_na; the package file directory is: {SD}/Android/data/com. Ea.games.nfs13_na/; The data file is: all the format files traversing the depth of 3 layers in the above file directory. At this time, the data package of the game application may be scanned in the directory corresponding to the mobile terminal, that is, whether the data package of the game application exists in the directory of {SD}/Android/data/com.ea.games.nfs13_na/ The depth of the scan file directory of the data package file is 3. If the data package of the game application does not exist in the directory, the mapping relationship between the game application and the packet path information is not stored in the relationship table. When receiving the game application whose game name is "Need for Speed 13", the packet path information of the game application is not stored in the relationship table, and it can be determined that the mobile terminal does not have the data packet of the game application. The installation package of the game application can be directly sent to the recipient.
本发明实施例的移动终端上的游戏应用程序的传送方法,接收向目标移动终端传送游戏应用程序的传送请求,并根据传送请求判断移动终端中是否包含游戏应用程序的数据包;以及在判断出移动终端中包含游戏应用程序的数据包时,获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,提高了终端之间共享资源的效率,方便了移动终端之间共享游戏应用程序,同时使得接收方无需再消耗网络流量下载游戏应用程序的安装包和数据包,节约了网络资源。a method for transmitting a game application on a mobile terminal according to an embodiment of the present invention, receiving a transmission request for transmitting a game application to a target mobile terminal, and determining, according to the transmission request, whether the mobile terminal includes a data packet of the game application; and determining When the mobile terminal includes the data packet of the game application, acquiring the installation package, the data packet, and the packet path information of the game application, and transmitting the acquired installation package, the data packet, and the packet path information to the target mobile terminal, so that The target mobile terminal installs the game application based on the received installation package, data packet, and packet path information. Thereby, the trouble of manually searching for the data package of the game application during the game application transmission process is reduced, the time required for transferring the game application between the terminals is reduced, the efficiency of sharing resources between the terminals is improved, and the convenience is facilitated. The game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
图3是根据本发明一个具体实施例的移动终端上的游戏应用程序的传送方法的流程图,该实施例以移动终端1向移动终端2传送游戏应用程序为例详细说明移动终端上的游戏应用程序的传送方法的具体过程,其中,需要说明的是,移动终端1与移动终端2之间已经建立通信链接。如图3所示,该方法包括:3 is a flowchart of a method for transmitting a game application on a mobile terminal according to an embodiment of the present invention. The embodiment details a game application on a mobile terminal by taking the mobile terminal 1 transmitting a game application to the mobile terminal 2 as an example. A specific process of the transmission method of the program, wherein it should be noted that a communication link has been established between the mobile terminal 1 and the mobile terminal 2. As shown in FIG. 3, the method includes:
S301,获取移动终端1中已安装的应用程序列表,并确定对应应用程序是否为支持传送的游戏应用程序。S301. Obtain a list of installed applications in the mobile terminal 1, and determine whether the corresponding application is a game application that supports transmission.
具体地,针对应用程序列表中的每个应用程序,获取对应应用程序的标识信息,判断预设配置规则中是否包含对应应用程序的标识信息,若包含,则确定该应用程序时可以支持传送的游戏应用程序。Specifically, for each application in the application list, obtaining identification information of the corresponding application, determining whether the preset configuration rule includes the identification information of the corresponding application, and if yes, determining that the application can support the transmission. Game app.
其中,预设配置规则中包含游戏应用程序的标识信息、数据包路径信息和数据包的文件名的对应关系。另外,为了准确确定对应的应用程序是否为可以支持传送的游戏应用程序,上预设配置规则中可以包括游戏应用程序的其他信息,例如,预设配置规则中还可以包括游戏应用程序的开发商信息,即预设配置规则中包括游戏应用程序的标识信息、开发商信息、 数据包路径信息和数据包的文件名的对应关系。The preset configuration rule includes the correspondence between the identification information of the game application, the packet path information, and the file name of the data packet. In addition, in order to accurately determine whether the corresponding application is a game application that can support the transfer, the preset configuration rule may include other information of the game application, for example, a developer who may also include the game application in the preset configuration rule. Information, that is, the preset configuration rule includes identification information of the game application, developer information, The correspondence between the packet path information and the file name of the packet.
其中,标识信息是可以唯一识别应用程序的信息,例如,标识信息为游戏应用程序的包名。The identification information is information that can uniquely identify the application, for example, the identification information is a package name of the game application.
具体地,在获取移动终端1中已安装的应用程序列表后,可获得对应用程序的包名和开发商信息,并判断移动终端1中预先保存的预设配置规则中是否包含对应应用程序的包名,若包含,则进一步确定从移动终端1中获得的开发商信息与预设配置规则中的开发商信息是否一致,若一致,则确定对应应用程序为支持传送的游戏应用程序。Specifically, after obtaining the list of applications installed in the mobile terminal 1, the package name and the developer information of the application are obtained, and it is determined whether the preset configuration rule saved in the mobile terminal 1 includes the package corresponding to the application. If yes, it is further determined whether the developer information obtained from the mobile terminal 1 is consistent with the developer information in the preset configuration rule. If they are consistent, the corresponding application is determined to be a game application supporting the transfer.
S302,若移动终端1存在支持传送的游戏应用程序,则根据预设配置规则中的信息判断移动终端1中是否存在对应游戏应用程序的数据包文件。S302. If the mobile terminal 1 has a game application supporting transmission, determine whether there is a data packet file corresponding to the game application in the mobile terminal 1 according to the information in the preset configuration rule.
S303,若存在游戏应用程序的数据包文件,则建立并保存标识信息和数据包路径信息的关系表。S303. If there is a data packet file of the game application, establish a relationship table between the identification information and the data packet path information.
例如,移动终端1中存在两个可以支持传送的游戏应用程序,游戏应用程序1和游戏应用程序2,此时,从预设配置规则中可获取到游戏应用程序1的数据包路径信息和数据包的文件名,以及游戏应用程序2的数据包路径信息和数据包的文件名,然后可扫描移动终端1在对应的目录中是否存在游戏应用程序1和游戏应用程序2的数据包文件,假定移动终端1中存在游戏应用程序1和游戏应用程序2的数据包文件,此时,可建立并保存游戏应用程序的标识信息和数据包路径信息的关系表,其中,对应关系表中包含应用程序的包名、游戏开发商、数据包路径信息和数据包的文件名之间的映射关系,通过在关系表中保存应用程序的包名、数据包路径信息和数据包的文件名,可方便后续根据对应关系表中的映射关系获得对应游戏应用程序的数据包。For example, there are two game applications in the mobile terminal 1 that can support the transfer, the game application 1 and the game application 2. At this time, the packet path information and data of the game application 1 can be obtained from the preset configuration rules. The file name of the package, and the package path information of the game application 2 and the file name of the data package, and then it is possible to scan whether the mobile terminal 1 has the package file of the game application 1 and the game application 2 in the corresponding directory, assuming There is a data package file of the game application 1 and the game application 2 in the mobile terminal 1. At this time, a relationship table of the identification information of the game application and the packet path information may be established and saved, wherein the correspondence table includes the application. The mapping relationship between the package name, the game developer, the packet path information, and the file name of the data package can be conveniently followed by saving the application package name, the packet path information, and the file name of the data package in the relationship table. The data packet corresponding to the game application is obtained according to the mapping relationship in the correspondence table.
S304,在接收到用户向移动终端2发送游戏应用程序的发送请求时,判断当前游戏应用程序是否存在数据包。S304. When receiving a sending request that the user sends the game application to the mobile terminal 2, determine whether the current game application has a data packet.
具体地,获取当前游戏应用程序的标识信息,并查询标识信息和数据包路径信息的关系表中是否包含该标识信息,若包含,则确定移动终端1中包含当前游戏应用程序的数据包。Specifically, the identifier information of the current game application is obtained, and the identifier information is included in the relationship table of the identifier information and the packet path information. If yes, the data packet including the current game application in the mobile terminal 1 is determined.
S305,若存在,则获取当前游戏应用程序的安装包、数据包和数据包路径信息,并向移动终端2发送所获取的安装包、数据包和数据包路径信息,以使移动终端2根据接收到的安装包、数据包和数据包路径信息安装当前游戏应用程序。S305. If yes, obtain an installation package, a data packet, and a data packet path information of the current game application, and send the acquired installation package, data packet, and data packet path information to the mobile terminal 2, so that the mobile terminal 2 receives the data according to the Install the current game application to the installation package, package, and package path information.
具体地,确定移动终端1中存在当前游戏应用程序的数据包后,可根据当前游戏应用程序的标识信息从移动终端1中获取游戏应用程序的安装包,并根据当前游戏应用程序的标识信息和预先保存的标识信息与数据包路径信息的关系表,获取当前游戏应用程序的数据包路径信息和数据包的文件名,以及根据数据包路径信息和数据包的文件名从移动终端1中获取当前游戏应用程序的数据包。Specifically, after determining that the data package of the current game application exists in the mobile terminal 1, the installation package of the game application may be obtained from the mobile terminal 1 according to the identification information of the current game application, and according to the identification information of the current game application. a relationship table between the pre-stored identification information and the packet path information, acquiring the packet path information of the current game application and the file name of the data packet, and acquiring the current from the mobile terminal 1 according to the packet path information and the file name of the data packet Game application package.
在获取当前游戏应用程序的安装包、数据包和数据包路径信息后,可将所获得的上述信息发送至移动终端2,移动终端2接收到该游戏应用程序的安装包、数据包和数据包路径信 息,根据数据包路径信息放置数据包,并自动安装游戏应用程序的安装包。在安装过程中,无需用户手动将数据包放置在对应的目录中,由此,避免了数据包目录放置错误而导致安装的游戏应用程序不能正常工作的情况的发生。After obtaining the installation package, the data packet and the packet path information of the current game application, the obtained information may be sent to the mobile terminal 2, and the mobile terminal 2 receives the installation package, the data packet and the data package of the game application. Path letter Information, the data package is placed according to the packet path information, and the installation package of the game application is automatically installed. During the installation process, the user does not need to manually place the data package in the corresponding directory, thereby avoiding the situation that the installed package application does not work properly due to the incorrect placement of the data package directory.
本发明实施例的移动终端上的游戏应用程序的传送方法,能够自动识别移动终端可以支持传送的游戏应用程序,并结合预设配置规则对移动终端中是否存在对应游戏应用程序的数据包进行判断,并在移动终端中存在游戏应用程序的数据包时,建立游戏应用程序的标识信息和数据包路径信息之间的映射关系,方便后续在传送游戏应用程序时,将游戏应用程序的安装包、数据包和数据包路径信息一起传送,由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,提高了终端之间共享资源的效率,方便了移动终端之间共享游戏应用程序,同时使得接收方无需再消耗网络流量下载游戏应用程序的安装包和数据包,节约了网络资源。The method for transmitting a game application on the mobile terminal of the embodiment of the present invention can automatically identify a game application that the mobile terminal can support, and determine whether a data packet corresponding to the game application exists in the mobile terminal according to a preset configuration rule. And when there is a data packet of the game application in the mobile terminal, establishing a mapping relationship between the identification information of the game application and the packet path information, so as to facilitate the subsequent installation of the game application when the game application is transmitted, The data packet is transmitted together with the packet path information, thereby reducing the trouble for the user to manually find the data packet of the game application during the game application transmission process, reducing the time required to transfer the game application between the terminals, and improving the time. The efficiency of sharing resources between terminals facilitates sharing of game applications between mobile terminals, and at the same time, the receiver does not need to consume network traffic to download installation packages and data packets of the game application, thereby saving network resources.
为了实现上述实施例,本发明还提出一种移动终端上的游戏应用程序的传送方法。In order to implement the above embodiments, the present invention also provides a method of transmitting a game application on a mobile terminal.
图4是根据本发明一个实施例的移动终端上的游戏应用程序的传送装置的结构示意图。如图4所示,该方法包括:4 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
S401,接收源移动终端发送的游戏应用程序的安装文件。S401. Receive an installation file of a game application sent by the source mobile terminal.
S402,判断安装文件中是否包含数据包路径信息和数据包。S402. Determine whether the package path information and the data packet are included in the installation file.
S403,若安装文件中包含数据包路径信息和数据包,则根据数据包路径信息放置数据包,并根据安装文件中的安装包安装游戏应用程序。S403. If the installation file includes the packet path information and the data packet, the data packet is placed according to the data package path information, and the game application is installed according to the installation package in the installation file.
例如,当前游戏应用程序为游戏名称为NBA2014的游戏应用程序,且接收到的安装文件中包含游戏应用程序的安装包、数据包路径信息和数据包,假定数据包路径信息为{SD}/Android/obb/com.t2ksports.nba2k14***/,在确定安装文件中包含数据包路径信息和数据包,可根据数据包路径信息将数据包放置在移动终端的相应目录中,即将数据包放置在移动终端的{SD}/Android/obb/com.t2ksports.nba2k14***/目录下,以及根据安装包自动安装游戏名称为NBA2014的游戏应用程序。根据数据包信息自动放置数据包,由此,使得用户无需手动放置数据包,从而避免了数据包放置在错误目录中而造成游戏应用程序无法正常运行情况的发生,方便了用户安装游戏应用程序。For example, the current game application is a game application whose game name is NBA2014, and the received installation file contains the installation package, packet path information, and data package of the game application, assuming the packet path information is {SD}/Android. /obb/com.t2ksports.nba2k14***/, in the determination of the installation file contains the packet path information and data packets, according to the packet path information, the data packet is placed in the corresponding directory of the mobile terminal, that is, the data packet is placed on the mobile terminal The {SD}/Android/obb/com.t2ksports.nba2k14***/ directory, and the game application with the game name NBA2014 automatically installed according to the installation package. The data packet is automatically placed according to the packet information, thereby eliminating the need for the user to manually place the data packet, thereby preventing the data package from being placed in the wrong directory and causing the game application to fail to operate normally, which facilitates the user to install the game application.
在本发明的一个实施例中,如图5所示,该方法还可以包括步骤S404。In an embodiment of the present invention, as shown in FIG. 5, the method may further include step S404.
S404,若安装文件中不包含数据包路径信息和数据包,则根据安装文件中的安装包安装游戏应用程序。S404. If the package path information and the data package are not included in the installation file, install the game application according to the installation package in the installation file.
本发明实施例的移动终端上的游戏应用程序的传送方法,接收源移动终端发送的游戏应用程序的安装文件,并在安装文件中包含数据包路径信息和数据包时,根据数据包路径信息放置数据包,并根据安装文件中的安装包安装游戏应用程序,由此,使得用户在安装游戏应用程序过程中,无需手动放置数据包,从而避免了数据包放置在错误目录中而造成游戏应用程序无法正常运行情况的发生,方便了用户安装游戏应用程序。 The method for transmitting a game application on the mobile terminal according to the embodiment of the present invention receives the installation file of the game application sent by the source mobile terminal, and places the packet path information and the data packet in the installation file according to the data packet path information. Data package, and install the game application according to the installation package in the installation file, thereby enabling the user to manually install the game application without manually placing the data packet, thereby avoiding the data package being placed in the wrong directory and causing the game application The failure to run properly makes it easy for users to install game applications.
为了实现上述实施例,本发明还提出一种移动终端上的游戏应用程序的传送装置。In order to implement the above embodiments, the present invention also provides a transmitting apparatus for a game application on a mobile terminal.
图6是根据本发明一个实施例的移动终端上的游戏应用程序的传送装置的结构示意图。如图6所示,该装置包括接收模块110、判断模块120和第一处理模块130,其中:FIG. 6 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to an embodiment of the present invention. As shown in FIG. 6, the device includes a receiving module 110, a determining module 120, and a first processing module 130, where:
接收模块110用于接收向目标移动终端传送游戏应用程序的传送请求;判断模块120用于根据传送请求判断移动终端中是否包含游戏应用程序的数据包;第一处理模块130用于在移动终端中包含游戏应用程序的数据包时,获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。The receiving module 110 is configured to receive a transfer request for transmitting a game application to the target mobile terminal; the determining module 120 is configured to determine, according to the transfer request, whether the mobile terminal includes a data package of the game application; the first processing module 130 is configured to be in the mobile terminal. When the data package of the game application is included, the installation package, the data packet, and the packet path information of the game application are obtained, and the acquired installation package, data packet, and packet path information are sent to the target mobile terminal to make the target mobile terminal Install the game application based on the received installation package, package, and packet path information.
另外,如图7所示,上述装置还可以包括第二处理模块140,该第二处理模块140用于在判断出移动终端中不包含游戏应用程序的数据包时,获取游戏应用程序的安装包,并向目标移动终端发送所获取的安装包,以使目标移动终端根据接收到的安装包安装游戏应用程序。In addition, as shown in FIG. 7, the foregoing apparatus may further include a second processing module 140, configured to acquire an installation package of the game application when determining that the mobile terminal does not include the data packet of the game application. And sending the acquired installation package to the target mobile terminal, so that the target mobile terminal installs the game application according to the received installation package.
其中,标识信息是可以唯一识别游戏应用程序的信息,例如,标识信息为游戏应用程序的包名。The identification information is information that can uniquely identify the game application, for example, the identification information is a package name of the game application.
具体地,判断模块120可先根据传送请求获取游戏应用程序的标识信息,然后判断预先保存的标识信息与数据包路径信息的关系表中是否包含标识信息,以及若包含,则确定移动终端中存在游戏应用程序的数据包。Specifically, the determining module 120 may first obtain the identification information of the game application according to the transmission request, and then determine whether the relationship information between the pre-stored identification information and the packet path information includes the identification information, and if yes, determine that the mobile terminal exists. Game application package.
具体地,在确定移动终端中存在游戏应用程序的数据包后,第一处理模块130可根据游戏应用程序的标识信息从移动终端中获取游戏应用程序的安装包,并根据标识信息和预先保存的标识信息与数据包路径信息的关系表,获取游戏应用程序的数据包路径信息和数据包的文件名,以及根据数据包路径信息和数据包的文件名,从移动终端中获取游戏应用程序的数据包。Specifically, after determining that the data package of the game application exists in the mobile terminal, the first processing module 130 may acquire the installation package of the game application from the mobile terminal according to the identification information of the game application, and according to the identification information and the pre-saved a relationship table between the identification information and the packet path information, obtaining the packet path information of the game application and the file name of the data packet, and acquiring the data of the game application from the mobile terminal according to the packet path information and the file name of the data packet package.
另外,如图7所示,上述装置还可以包括预处理模块150,该预处理模块150用于在第一处理模块130根据标识信息和预先保存的标识信息与数据包路径信息的关系表,获取游戏应用程序的数据包路径信息和数据包的文件名之前,根据标识信息获取游戏应用程序对应的预设配置规则,并根据预设配置规则中的数据包路径信息;判断移动终端在对应的数据包路径信息下是否包含游戏应用程序的数据包;若包含,则进一步判断所获得的数据包的文件名与预设配置规则中的数据包的文件名是否一致;若一致,则确定移动终端中存在游戏应用程序的数据包,并将游戏应用程序的标识信息、数据包和数据包路径信息之间的映射关系保存至关系表中。In addition, as shown in FIG. 7, the foregoing apparatus may further include a pre-processing module 150, configured to obtain, by the first processing module 130, according to the relationship information and the relationship table between the pre-stored identification information and the data packet path information. Before the packet path information of the game application and the file name of the data package, the preset configuration rule corresponding to the game application is obtained according to the identification information, and the packet path information in the preset configuration rule is determined; the corresponding data of the mobile terminal is determined. Whether the packet of the game application is included in the package path information; if yes, further determining whether the file name of the obtained data packet is consistent with the file name of the data packet in the preset configuration rule; if they are consistent, determining the mobile terminal There is a data package of the game application, and the mapping relationship between the identification information of the game application, the data packet, and the packet path information is saved in the relation table.
其中,预设配置规则中包含游戏应用程序的标识信息、数据包路径信息和数据包的文件名的对应关系。The preset configuration rule includes the correspondence between the identification information of the game application, the packet path information, and the file name of the data packet.
需要说明的是,前述对移动终端上的游戏应用程序的传送方法实施例的解释说明也适用于实施例的移动终端上的游戏应用程序的传送装置,此处不再赘述。 It should be noted that the foregoing explanation of the embodiment of the method for transmitting the game application on the mobile terminal is also applicable to the transmission device of the game application on the mobile terminal of the embodiment, and details are not described herein again.
本发明实施例的移动终端上的游戏应用程序的传送装置,通过接收模块接收向目标移动终端传送游戏应用程序的传送请求,并通过判断模块判断移动终端中是否包含游戏应用程序的数据包;以及在判断出移动终端中包含游戏应用程序的数据包时,第一处理模块获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,提高了终端之间共享资源的效率,方便了移动终端之间共享游戏应用程序,同时使得接收方无需再消耗网络流量下载游戏应用程序的安装包和数据包,节约了网络资源。The transmitting device of the game application on the mobile terminal of the embodiment of the present invention receives, by the receiving module, a transfer request for transmitting the game application to the target mobile terminal, and determines, by the determining module, whether the data packet of the game application is included in the mobile terminal; When determining that the data packet of the game application is included in the mobile terminal, the first processing module acquires an installation package, a data packet, and a data packet path information of the game application, and sends the acquired installation package, the data packet, and the target mobile terminal to the target mobile terminal. The packet path information is such that the target mobile terminal installs the game application based on the received installation package, data packet, and packet path information. Thereby, the trouble of manually searching for the data package of the game application during the game application transmission process is reduced, the time required for transferring the game application between the terminals is reduced, the efficiency of sharing resources between the terminals is improved, and the convenience is facilitated. The game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
为了实现上述实施例,本发明还提出一种移动终端上的游戏应用程序的传送装置。In order to implement the above embodiments, the present invention also provides a transmitting apparatus for a game application on a mobile terminal.
图8是根据本发明又一个实施例的移动终端上的游戏应用程序的传送装置的结构示意图。如图8所示,该装置包括接收模块210、判断模块220和第一处理模块230,其中:FIG. 8 is a schematic structural diagram of a transmitting apparatus of a game application on a mobile terminal according to still another embodiment of the present invention. As shown in FIG. 8, the apparatus includes a receiving module 210, a determining module 220, and a first processing module 230, where:
接收模块210用于接收源移动终端发送的游戏应用程序的安装文件;判断模块220用于判断所述安装文件中是否包含数据包路径信息和数据包;第一处理模块230用于在所述安装文件中包含所述数据包路径信息和所述数据包时,根据所述数据包路径信息放置所述数据包,并根据所述安装文件中的安装包安装所述游戏应用程序。The receiving module 210 is configured to receive an installation file of the game application sent by the source mobile terminal, and the determining module 220 is configured to determine whether the installation path includes data packet path information and a data packet; the first processing module 230 is configured to be used in the installation. When the file includes the packet path information and the data packet, the data packet is placed according to the data packet path information, and the game application is installed according to the installation package in the installation file.
如图9所示,上述装置还包括第二处理模块240,该第二处理模块,用于在所述安装文件中不包含所述数据包路径信息和所述数据包时,根据所述安装文件中的安装包安装所述游戏应用程序。As shown in FIG. 9, the foregoing apparatus further includes a second processing module 240, configured to: when the package path information and the data packet are not included in the installation file, according to the installation file The installation package in the installation of the game application.
需要说明的是,前述对移动终端上的游戏应用程序的传送方法实施例的解释说明也适用于实施例的移动终端上的游戏应用程序的传送装置,此处不再赘述。It should be noted that the foregoing explanation of the embodiment of the method for transmitting the game application on the mobile terminal is also applicable to the transmission device of the game application on the mobile terminal of the embodiment, and details are not described herein again.
本发明实施例的移动终端上的游戏应用程序的传送装置,通过接收模块接收源移动终端发送的游戏应用程序的安装文件,在判断模块判断安装文件中包含数据包路径信息和数据包时,第一处理模块根据数据包路径信息放置数据包,并根据安装文件中的安装包安装游戏应用程序,由此,使得用户在安装游戏应用程序过程中,无需手动放置数据包,从而避免了数据包放置在错误目录中而造成游戏应用程序无法正常运行情况的发生,方便了用户安装游戏应用程序。The transmitting device of the game application on the mobile terminal of the embodiment of the present invention receives the installation file of the game application sent by the source mobile terminal by the receiving module, and when the determining module determines that the installation file includes the packet path information and the data packet, A processing module places the data packet according to the packet path information, and installs the game application according to the installation package in the installation file, thereby enabling the user to manually place the data package during the installation of the game application, thereby avoiding data packet placement. In the wrong directory, the game application does not work properly, which is convenient for users to install the game application.
为了实现上述实施例,本发明还提出一种移动终端,图10为根据本发明一个实施例的移动终端的结构示意图。如图10所示,该移动终端包括壳体61、处理器62、存储器63、电路板64和电源电路65,其中,上述电路板64安置在上述壳体61围成的空间内部,上述处理器62和上述存储器63设置在上述电路板64上;上述电源电路65,用于为上述移动终端的各个电路或器件供电;上述存储器63用于存储可执行程序代码;上述处理器62通过读取上述存储器63中存储的可执行程序代码来运行与上述可执行程序代码对应的程序,以用于执行以下步骤: In order to implement the above embodiments, the present invention also provides a mobile terminal. FIG. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 10, the mobile terminal includes a housing 61, a processor 62, a memory 63, a circuit board 64, and a power supply circuit 65, wherein the circuit board 64 is disposed inside a space surrounded by the housing 61, and the processor 62 and the above-mentioned memory 63 are disposed on the circuit board 64; the power supply circuit 65 is configured to supply power to each circuit or device of the mobile terminal; the memory 63 is used to store executable program code; and the processor 62 reads the above The executable program code stored in the memory 63 runs a program corresponding to the above-described executable program code for performing the following steps:
S101',接收向目标移动终端传送游戏应用程序的传送请求。S101', receiving a transfer request for transmitting a game application to the target mobile terminal.
S102',根据传送请求判断移动终端中是否包含游戏应用程序的数据包。S102', determining, according to the transmission request, whether the mobile terminal includes a data packet of the game application.
具体地,在接收到用户向目标移动终端传送游戏应用程序的传送请求后,可根据传送请求获取游戏应用程序的标识信息,并判断预先保存的标识信息与数据包路径信息的关系表中是否包含标识信息;若包含,则确定移动终端中存在该游戏应用程序的数据包。Specifically, after receiving the transfer request of the game application to the target mobile terminal, the user may obtain the identification information of the game application according to the transfer request, and determine whether the relationship table between the pre-stored identification information and the packet path information is included. Identification information; if included, determining that a data packet of the game application exists in the mobile terminal.
另外,若预先保存的标识信息与数据包路径信息的关系表中不包含游戏应用程序的标识信息,则确定移动终端中不存在该游戏应用程序的数据包。Further, if the relationship information of the game application is not included in the relationship table between the identification information stored in advance and the packet path information, it is determined that the data packet of the game application does not exist in the mobile terminal.
其中,标识信息是可以唯一识别游戏应用程序的信息,例如,标识信息为游戏应用程序的包名。The identification information is information that can uniquely identify the game application, for example, the identification information is a package name of the game application.
S103',若包含,则获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。S103', if included, acquiring an installation package, a data packet, and a packet path information of the game application, and transmitting the acquired installation package, data packet, and data packet path information to the target mobile terminal, so that the target mobile terminal receives the Install the game application to the installation package, package, and packet path information.
具体地,确定移动终端中包含该游戏应用程序的数据包后,根据标识信息从移动终端中获取游戏应用程序的安装包,并根据标识信息和预先保存的标识信息与数据包路径信息的关系表,获取游戏应用程序的数据包路径信息和数据包的文件名,以及根据数据包路径信息和数据包的文件名从移动终端中获取游戏应用程序的数据包。由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,方便了移动终端之间共享游戏应用程序。Specifically, after determining the data packet including the game application in the mobile terminal, acquiring an installation package of the game application from the mobile terminal according to the identification information, and according to the relationship between the identification information and the pre-stored identification information and the data packet path information Obtaining the packet path information of the game application and the file name of the data packet, and acquiring the data packet of the game application from the mobile terminal according to the packet path information and the file name of the data packet. Thereby, the trouble of manually searching for the data packets of the game application during the game application transmission process is reduced, the time required for transferring the game application between the terminals is reduced, and the sharing of the game application between the mobile terminals is facilitated.
在获取游戏应用程序的安装包、数据包和数据包路径信息后,可将所获得的游戏应用程序的安装包、数据包和数据包路径信息发送给目标移动终端,目标移动终端接收到游戏应用程序的安装包、数据包和数据包路径信息后,根据接收到的数据包路径信息放置数据包,并自动安装游戏应用程序。也就是说,在安装游戏应用程序的过程中,无需用户手动将数据包放置在对应的目录中,由此,避免了数据包目录放置错误而导致安装的游戏应用程序不能正常工作的情况的发生。After obtaining the installation package, the data packet, and the packet path information of the game application, the obtained installation application package, the data packet, and the packet path information of the game application may be sent to the target mobile terminal, and the target mobile terminal receives the game application. After the program's installation package, data packet, and packet path information, the data packet is placed according to the received packet path information, and the game application is automatically installed. That is to say, in the process of installing the game application, the user does not need to manually place the data package in the corresponding directory, thereby avoiding the situation that the installed game application cannot work normally due to the incorrect placement of the data package directory. .
在本发明的一个实施例中,在根据标识信息和预先保存的标识信息与数据包路径信息的关系表,获取游戏应用程序的数据包路径信息和数据包的文件名之前,预先建立并保存游戏应用程序的标识信息与数据包路径信息的关系表。In an embodiment of the present invention, before the file path information of the game application and the file name of the data package are acquired according to the identification information and the relationship table between the identification information and the pre-stored identification information and the packet path information, the game is created and saved in advance. A table of relationship between application identification information and packet path information.
具体地,根据游戏应用程序的标识信息获取游戏应用程序对应的预设配置规则,其中,预设配置规则中包含游戏应用程序的标识信息、数据包路径信息和数据包的文件名的对应关系。然后,根据预设配置规则中的数据包路径信息,判断移动终端在对应的数据包路径信息下是否包含游戏应用程序的数据包,若包含,则进一步判断所获得的数据包的文件名与预设配置规则中的数据包的文件名是否一致;若一致,则确定移动终端中存在游戏应用程序的数据包,并将游戏应用程序的标识信息、数据包和数据包路径信息之间的映射关系保存至标识信息与数据包路径信息的关系表中。 Specifically, the preset configuration rule corresponding to the game application is obtained according to the identification information of the game application, where the preset configuration rule includes the correspondence between the identification information of the game application, the data packet path information, and the file name of the data package. Then, according to the packet path information in the preset configuration rule, it is determined whether the mobile terminal includes the data packet of the game application under the corresponding data packet path information, and if so, further determines the file name and the pre-prepared data packet. Whether the file names of the data packets in the configuration rule are consistent; if they are consistent, determining that the data packets of the game application exist in the mobile terminal, and mapping the identification information of the game application, the data packet, and the data packet path information Save to the relationship table between the identification information and the packet path information.
例如,当前用户需要发送的游戏应用程序为游戏名称为NBA2014的游戏应用程序,在监控到用户要发送该游戏应用程序后,可获取该游戏应用程序的包名,假定游戏名称为NBA2014的游戏应用程序的包名为:com.t2ksports.nba2k14***。在获取该游戏应用程序的包名后,可判断预先建立的标识信息与数据包路径信息的关系表中是否包含该包名,若包含,则从预先建立的标识信息与数据包路径信息的关系表中获取游戏名称为NBA2014的游戏应用程序的数据包路径信息和数据包的文件名。假定标识信息与数据包路径信息的关系表中保存的信息的形式如上述表1所示。通过表1中的内容可以确定游戏名称为NBA2014的游戏应用程序的数据包的路径信息为:{SD}/Android/obb/com.t2ksports.nba2k14***/,对应的数据包的文件名为:main.7.com.t2ksports.nba2k14***.obb。其中,obb(OneBeBag)文件是Android游戏通用数据包文件格式,通常用于大型游戏中。在运行游戏前,游戏主程序会自动将obb文件解包成data文件。当用户向目标移动终端发送该游戏应用程序的安装文件时,可根据关系表中的数据包路径信息和文件名从移动终端中获得对应的数据包,以及根据该游戏应用程序的包名从智能手机中获得该游戏应用的安装包,并向目标移动终端发送该游戏应用程序的安装包、数据包和数据包路径信息,目标移动终端在接收到该游戏应用程序的安装包、数据包和数据包路径信息,根据数据包路径信息放置数据包,并自动安装安装包,以完成游戏名称为NBA2014的游戏应用程序的安装。另外,需要说明的是,在移动终端向目标移动终端发送媒体缓存文件之前,移动终端与目标移动终端之间已经完成匹配,两者之间存在绑定关系。For example, the game application that the current user needs to send is a game application whose game name is NBA2014. After monitoring the user to send the game application, the package name of the game application can be obtained, and the game name is assumed to be the NBA2014 game application. The package name of the program is: com.t2ksports.nba2k14***. After obtaining the package name of the game application, it may be determined whether the package name is included in the relationship table between the pre-established identification information and the packet path information, and if so, the relationship between the pre-established identification information and the packet path information The table obtains the packet path information of the game application whose game name is NBA2014 and the file name of the data package. It is assumed that the form of the information held in the relationship table between the identification information and the packet path information is as shown in Table 1 above. Through the contents of Table 1, it can be determined that the path information of the game application whose game name is NBA2014 is: {SD}/Android/obb/com.t2ksports.nba2k14***/, and the file name of the corresponding data package is: main. 7.com.t2ksports.nba2k14***.obb. Among them, the obb (OneBeBag) file is a common game file format of the Android game, which is usually used in large games. Before running the game, the main game program will automatically unpack the obb file into a data file. When the user sends the installation file of the game application to the target mobile terminal, the corresponding data packet can be obtained from the mobile terminal according to the packet path information and the file name in the relationship table, and the smart package is obtained according to the package name of the game application. Obtaining an installation package of the game application in the mobile phone, and sending an installation package, a data packet, and a packet path information of the game application to the target mobile terminal, where the target mobile terminal receives the installation package, the data packet, and the data of the game application. The package path information, the data package is placed according to the packet path information, and the installation package is automatically installed to complete the installation of the game application whose game name is NBA2014. In addition, it should be noted that before the mobile terminal sends the media cache file to the target mobile terminal, the mobile terminal and the target mobile terminal have completed matching, and there is a binding relationship between the two.
在本发明的一个实施例中,上述处理器还可以执行步骤S104'。In an embodiment of the present invention, the processor may further perform step S104'.
S104',若判断出移动终端中不包含游戏应用程序的数据包,则获取游戏应用程序的安装包,并向目标移动终端发送所获取的安装包,以使目标移动终端根据接收到的安装包安装游戏应用程序。S104', if it is determined that the mobile terminal does not include the data package of the game application, acquiring an installation package of the game application, and transmitting the acquired installation package to the target mobile terminal, so that the target mobile terminal according to the received installation package Install the game app.
例如,假定从预设配置规则获得游戏名称为“极品飞车13”的游戏应用程序的包名为:com.ea.games.nfs13_na;数据包文件目录为:{SD}/Android/data/com.ea.games.nfs13_na/;数据文件为:上述文件目录下遍历3层深度的所有格式文件。此时,可扫描移动终端对应的目录中是否存在该游戏应用程序的数据包,即扫描{SD}/Android/data/com.ea.games.nfs13_na/的目录中是否存在游戏应用程序的数据包,且数据包文件扫描目录的深度为3,若该目录中不存在该游戏应用程序的数据包,则不在关系表中保存该游戏应用程序与数据包路径信息的映射关系。在接收到用户传送游戏名称为“极品飞车13”的游戏应用程序时,关系表中不存该游戏应用程序的数据包路径信息,可确定移动终端不存在该游戏应用程序的数据包,此时,可直接将该游戏应用程序的安装包发送给接收方。For example, suppose that the package name of the game application whose game name is "Need for Speed 13" is obtained from the preset configuration rule: com.ea.games.nfs13_na; the package file directory is: {SD}/Android/data/com. Ea.games.nfs13_na/; The data file is: all the format files traversing the depth of 3 layers in the above file directory. At this time, the data package of the game application may be scanned in the directory corresponding to the mobile terminal, that is, whether the data package of the game application exists in the directory of {SD}/Android/data/com.ea.games.nfs13_na/ The depth of the scan file directory of the data package file is 3. If the data package of the game application does not exist in the directory, the mapping relationship between the game application and the packet path information is not stored in the relationship table. When receiving the game application whose game name is "Need for Speed 13", the packet path information of the game application is not stored in the relationship table, and it can be determined that the mobile terminal does not have the data packet of the game application. The installation package of the game application can be directly sent to the recipient.
本发明实施例中的移动终端可以包括:手机、智能电话、笔记本电脑、数字广播接收机、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、导航装置、台式机等 等终端设备。The mobile terminal in the embodiment of the present invention may include: a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), a portable multimedia player (PMP), a navigation device, and a desktop computer. Wait And other terminal equipment.
本发明实施例的移动终端,接收向目标移动终端传送游戏应用程序的传送请求,并根据传送请求判断移动终端中是否包含游戏应用程序的数据包;以及在判断出移动终端中包含游戏应用程序的数据包时,获取游戏应用程序的安装包、数据包和数据包路径信息,并向目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使目标移动终端根据接收到的安装包、数据包和数据包路径信息安装游戏应用程序。由此,减少了用户在游戏应用程序传送过程中手动查找游戏应用程序的数据包的麻烦,减少了终端之间传送游戏应用程序所需的时间,提高了终端之间共享资源的效率,方便了移动终端之间共享游戏应用程序,同时使得接收方无需再消耗网络流量下载游戏应用程序的安装包和数据包,节约了网络资源。The mobile terminal of the embodiment of the present invention receives a transfer request for transmitting a game application to the target mobile terminal, and determines whether the mobile terminal includes a data package of the game application according to the transfer request; and determines that the mobile terminal includes the game application. When the data packet is obtained, the installation package, the data packet, and the packet path information of the game application are obtained, and the acquired installation package, the data packet, and the packet path information are sent to the target mobile terminal, so that the target mobile terminal according to the received installation. Package, package, and packet path information to install the game application. Thereby, the trouble of manually searching for the data package of the game application during the game application transmission process is reduced, the time required for transferring the game application between the terminals is reduced, the efficiency of sharing resources between the terminals is improved, and the convenience is facilitated. The game application is shared between the mobile terminals, and the receiver does not need to consume network traffic to download the installation package and data package of the game application, thereby saving network resources.
本发明实施例还提供了一种计算机可读存储介质,具有存储于其中的指令,当移动终端的处理器执行所述指令时,所述移动终端执行本发明实施例的移动终端上的游戏应用程序的传送方法。The embodiment of the present invention further provides a computer readable storage medium having instructions stored therein, when the processor of the mobile terminal executes the instruction, the mobile terminal executes a game application on the mobile terminal of the embodiment of the present invention. The method of transmission of the program.
本发明实施例还提供了一种计算机应用程序,当其在移动终端的处理器上执行时,执行本发明实施例的移动终端上的游戏应用程序的传送方法。The embodiment of the present invention further provides a computer application program, when executed on a processor of the mobile terminal, performs a method for transmitting a game application on the mobile terminal according to the embodiment of the present invention.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and combined.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In the description of the present invention, the meaning of "a plurality" is at least two, such as two, three, etc., unless specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an opposite order depending on the functions involved, in the order shown or discussed. It will be understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行***、装置或设备(如基于计算机的***、包括处理器的***或其他可以从指令执行***、装置或设备取指令并执行指令的***)使用,或结合这些指令执行***、装置或设备而使用。 就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行***、装置或设备或结合这些指令执行***、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(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.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行***执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the invention may be implemented in hardware, software, firmware or a combination thereof. 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.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。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.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。 The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. Although the embodiments of the present invention have been shown and described, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the invention. The embodiments are subject to variations, modifications, substitutions and variations.

Claims (17)

  1. 一种移动终端上的游戏应用程序的传送方法,其特征在于,包括:A method for transmitting a game application on a mobile terminal, comprising:
    接收向目标移动终端传送游戏应用程序的传送请求;Receiving a transfer request for transmitting a game application to the target mobile terminal;
    根据所述传送请求判断移动终端中是否包含所述游戏应用程序的数据包;Determining, according to the transmission request, whether the data packet of the game application is included in the mobile terminal;
    若包含,则获取所述游戏应用程序的安装包、数据包和数据包路径信息,并向所述目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使所述目标移动终端根据接收到的安装包、数据包和数据包路径信息安装所述游戏应用程序。If included, acquiring installation package, data packet, and packet path information of the game application, and transmitting the acquired installation package, data packet, and packet path information to the target mobile terminal to move the target The terminal installs the game application according to the received installation package, data package, and packet path information.
  2. 如权利要求1所述的移动终端上的游戏应用程序的传送方法,其特征在于,还包括:The method for transmitting a game application on a mobile terminal according to claim 1, further comprising:
    若判断出所述移动终端中不包含所述游戏应用程序的数据包,则获取所述游戏应用程序的安装包,并向所述目标移动终端发送所获取的安装包,以使所述目标移动终端根据接收到的安装包安装所述游戏应用程序。If it is determined that the mobile terminal does not include the data package of the game application, acquiring an installation package of the game application, and transmitting the acquired installation package to the target mobile terminal, so that the target mobile The terminal installs the game application according to the received installation package.
  3. 如权利要求1或2所述的移动终端上的游戏应用程序的传送方法,其特征在于,所述根据所述传送请求判断移动终端中是否包含所述游戏应用程序的数据包,包括:The method for transmitting a game application on the mobile terminal according to claim 1 or 2, wherein the determining, according to the transfer request, whether the mobile terminal includes the data package of the game application comprises:
    根据所述传送请求获取所述游戏应用程序的标识信息;Obtaining identification information of the game application according to the transfer request;
    判断预先保存的标识信息与数据包路径信息的关系表中是否包含所述标识信息;Determining whether the identification information is included in a relationship table between the pre-stored identification information and the packet path information;
    若包含,则确定所述移动终端中存在所述游戏应用程序的数据包。If included, determining that a data packet of the game application exists in the mobile terminal.
  4. 如权利要求1至3中任一项所述的移动终端上的游戏应用程序的传送方法,其特征在于,所述传送请求中携带所述游戏应用程序的标识信息;The method for transmitting a game application on a mobile terminal according to any one of claims 1 to 3, wherein the transfer request carries identification information of the game application;
    所述获取所述游戏应用程序的安装包、数据包和数据包路径信息,包括:The obtaining the installation package, the data packet, and the packet path information of the game application, including:
    根据所述标识信息从移动终端中获取所述游戏应用程序的安装包;Obtaining an installation package of the game application from the mobile terminal according to the identifier information;
    根据所述标识信息和预先保存的标识信息与数据包路径信息的关系表,获取所述游戏应用程序的数据包路径信息和数据包的文件名;以及Obtaining, according to the identifier information and a relationship table between the pre-stored identification information and the packet path information, the packet path information of the game application and the file name of the data packet;
    根据所述数据包路径信息和所述数据包的文件名,从移动终端中获取所述游戏应用程序的数据包。Obtaining a data packet of the game application from the mobile terminal according to the packet path information and a file name of the data packet.
  5. 如权利要求4所述的移动终端上的游戏应用程序的传送方法,其特征在于,在所述根据所述标识信息和预先保存的标识信息与数据包路径信息的关系表,获取所述游戏应用程序的数据包路径信息和数据包的文件名之前,还包括:The method for transmitting a game application on a mobile terminal according to claim 4, wherein the game application is acquired according to the relationship table between the identification information and the pre-stored identification information and the packet path information Before the package path information of the program and the file name of the package, it also includes:
    根据所述标识信息获取所述游戏应用程序对应的预设配置规则,其中,所述预设配置规则中包含所述游戏应用程序的标识信息、数据包路径信息和数据包的文件名的对应关系;Obtaining, according to the identifier information, a preset configuration rule corresponding to the game application, where the preset configuration rule includes a correspondence between the identifier information of the game application, the data packet path information, and the file name of the data packet. ;
    根据预设配置规则中的数据包路径信息,判断所述移动终端在对应的数据包路径信息下是否包含所述游戏应用程序的数据包;Determining, according to the data packet path information in the preset configuration rule, whether the mobile terminal includes the data packet of the game application under the corresponding data packet path information;
    若包含,则进一步判断所获得的数据包的文件名与所述预设配置规则中的数据包的文件 名是否一致;If yes, further determining the file name of the obtained data packet and the file of the data packet in the preset configuration rule Whether the names are consistent;
    若一致,则确定所述移动终端中存在所述游戏应用程序的数据包,并将所述游戏应用程序的标识信息、数据包和数据包路径信息之间的映射关系保存至所述关系表中。If yes, determining that a data packet of the game application exists in the mobile terminal, and saving a mapping relationship between the identification information, the data packet, and the packet path information of the game application to the relationship table .
  6. 一种移动终端上的游戏应用程序的传送方法,其特征在于,包括:A method for transmitting a game application on a mobile terminal, comprising:
    接收源移动终端发送的游戏应用程序的安装文件;Receiving an installation file of a game application sent by the source mobile terminal;
    判断所述安装文件中是否包含数据包路径信息和数据包;Determining whether the installation file includes packet path information and a data packet;
    若所述安装文件中包含所述数据包路径信息和所述数据包,则根据所述数据包路径信息放置所述数据包,并根据所述安装文件中的安装包安装所述游戏应用程序。If the package path information and the data packet are included in the installation file, the data package is placed according to the data package path information, and the game application is installed according to the installation package in the installation file.
  7. 如权利要求6所述的移动终端上的游戏应用程序的传送方法,其特征在于,还包括:The method for transmitting a game application on a mobile terminal according to claim 6, further comprising:
    若所述安装文件中不包含所述数据包路径信息和所述数据包,则根据所述安装文件中的安装包安装所述游戏应用程序。If the package path information and the data package are not included in the installation file, the game application is installed according to the installation package in the installation file.
  8. 一种移动终端上的游戏应用程序的传送装置,其特征在于,包括:A device for transmitting a game application on a mobile terminal, comprising:
    接收模块,用于接收向目标移动终端传送游戏应用程序的传送请求;a receiving module, configured to receive a transfer request for transmitting a game application to the target mobile terminal;
    判断模块,用于根据所述传送请求判断移动终端中是否包含所述游戏应用程序的数据包;a determining module, configured to determine, according to the transmission request, whether the data packet of the game application is included in the mobile terminal;
    第一处理模块,用于在所述移动终端中包含所述游戏应用程序的数据包时,获取所述游戏应用程序的安装包、数据包和数据包路径信息,并向所述目标移动终端发送所获取的安装包、数据包和数据包路径信息,以使所述目标移动终端根据接收到的安装包、数据包和数据包路径信息安装所述游戏应用程序。a first processing module, configured to acquire an installation package, a data packet, and a data packet path information of the game application when the data packet of the game application is included in the mobile terminal, and send the data to the target mobile terminal The acquired installation package, data packet, and packet path information are such that the target mobile terminal installs the game application according to the received installation package, data packet, and packet path information.
  9. 如权利要求8所述的移动终端上的游戏应用程序的传送装置,其特征在于,还包括:The device for transmitting a game application on a mobile terminal according to claim 8, further comprising:
    第二处理模块,用于在判断出所述移动终端中不包含所述游戏应用程序的数据包时,获取所述游戏应用程序的安装包,并向所述目标移动终端发送所获取的安装包,以使所述目标移动终端根据接收到的安装包安装所述游戏应用程序。a second processing module, configured to: when the mobile terminal does not include the data package of the game application, acquire an installation package of the game application, and send the acquired installation package to the target mobile terminal So that the target mobile terminal installs the game application according to the received installation package.
  10. 如权利要求8所述的移动终端上的游戏应用程序的传送装置,其特征在于,所述判断模块,具体用于:The device for transmitting a game application on the mobile terminal according to claim 8, wherein the determining module is specifically configured to:
    根据所述传送请求获取所述游戏应用程序的标识信息,并判断预先保存的标识信息与数据包路径信息的关系表中是否包含所述标识信息,以及若包含,则确定所述移动终端中存在所述游戏应用程序的数据包。Acquiring the identification information of the game application according to the transmission request, and determining whether the identification information is included in a relationship table between the pre-stored identification information and the packet path information, and if yes, determining that the mobile terminal exists The data package of the game application.
  11. 如权利要求9所述的移动终端上的游戏应用程序的传送装置,其特征在于,所述传送请求中携带所述游戏应用程序的标识信息,所述第一处理模块,具体用于:The device for transmitting a game application on the mobile terminal according to claim 9, wherein the transfer request carries the identification information of the game application, and the first processing module is specifically configured to:
    根据所述标识信息从移动终端中获取所述游戏应用程序的安装包,并根据所述标识信息和预先保存的标识信息与数据包路径信息的关系表,获取所述游戏应用程序的数据包路径信息和数据包的文件名,以及根据所述数据包路径信息和所述数据包的文件名,从移动终端中获取所述游戏应用程序的数据包。 Acquiring an installation package of the game application from the mobile terminal according to the identification information, and acquiring a data packet path of the game application according to the identification information and a relationship table between the pre-stored identification information and the data packet path information. a file name of the information and the data package, and acquiring a data packet of the game application from the mobile terminal according to the data package path information and the file name of the data package.
  12. 如权利要求11所述的移动终端上的游戏应用程序的传送装置,其特征在于,还包括:The device for transmitting a game application on a mobile terminal according to claim 11, further comprising:
    预处理模块,用于在所述第一处理模块根据所述标识信息和预先保存的标识信息与数据包路径信息的关系表,获取所述游戏应用程序的数据包路径信息和数据包的文件名之前,根据所述标识信息获取所述游戏应用程序对应的预设配置规则,其中,所述预设配置规则中包含所述游戏应用程序的标识信息、数据包路径信息和数据包的文件名的对应关系;根据预设配置规则中的数据包路径信息;判断所述移动终端在对应的数据包路径信息下是否包含所述游戏应用程序的数据包;若包含,则进一步判断所获得的数据包的文件名与所述预设配置规则中的数据包的文件名是否一致;若一致,则确定所述移动终端中存在所述游戏应用程序的数据包,并将所述游戏应用程序的标识信息、数据包和数据包路径信息之间的映射关系保存至所述关系表中。a pre-processing module, configured to acquire, in the first processing module, the packet path information of the game application and the file name of the data packet according to the relationship information between the identifier information and the pre-stored identifier information and the packet path information The preset configuration rule corresponding to the game application is obtained according to the identifier information, where the preset configuration rule includes the identification information of the game application, the data packet path information, and the file name of the data packet. Corresponding relationship; determining, according to the packet path information in the preset configuration rule, whether the mobile terminal includes the data packet of the game application under the corresponding data packet path information; if yes, further determining the obtained data packet Whether the file name is consistent with the file name of the data package in the preset configuration rule; if they are consistent, determining that the data package of the game application exists in the mobile terminal, and identifying information of the game application The mapping relationship between the data packet and the packet path information is saved in the relationship table.
  13. 一种移动终端上的游戏应用程序的传送装置,其特征在于,包括:A device for transmitting a game application on a mobile terminal, comprising:
    接收模块,用于接收源移动终端发送的游戏应用程序的安装文件;a receiving module, configured to receive an installation file of a game application sent by the source mobile terminal;
    判断模块,用于判断所述安装文件中是否包含数据包路径信息和数据包;a determining module, configured to determine whether the installation path includes data packet path information and a data packet;
    第一处理模块,用于在所述安装文件中包含所述数据包路径信息和所述数据包时,根据所述数据包路径信息放置所述数据包,并根据所述安装文件中的安装包安装所述游戏应用程序。a first processing module, configured to: when the data package path information and the data packet are included in the installation file, place the data packet according to the data packet path information, and according to the installation package in the installation file Install the game application.
  14. 如权利要求13所述的移动终端上的游戏应用程序的传送装置,其特征在于,还包括:The device for transmitting a game application on a mobile terminal according to claim 13, further comprising:
    第二处理模块,用于在所述安装文件中不包含所述数据包路径信息和所述数据包时,根据所述安装文件中的安装包安装所述游戏应用程序。And a second processing module, configured to install the game application according to the installation package in the installation file when the package path information and the data package are not included in the installation file.
  15. 一种移动终端,包括壳体、处理器、存储器、电路板和电源电路,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器和所述存储器设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行如权利要求1至5中任一项所述的移动终端上的游戏应用程序的传送方法。A mobile terminal includes 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 a power supply circuit for supplying power to respective circuits or devices of the mobile terminal; the memory for storing executable program code; the processor reading an executable program stored in the memory The code runs a program corresponding to the executable program code for executing a transfer method of a game application on the mobile terminal according to any one of claims 1 to 5.
  16. 一种计算机可读存储介质,具有存储于其中的指令,当移动终端的处理器执行所述指令时,所述移动终端执行如权利要求1至5中任一项所述的移动终端上的游戏应用程序的传送方法。A computer readable storage medium having instructions stored therein, the mobile terminal performing a game on the mobile terminal according to any one of claims 1 to 5 when the processor of the mobile terminal executes the instruction The transfer method of the application.
  17. 一种计算机应用程序,当其在移动终端的处理器上执行时,执行如权利要求1至7中任一项所述的移动终端上的游戏应用程序的传送方法。 A computer application that, when executed on a processor of a mobile terminal, performs a method of transmitting a game application on the mobile terminal according to any one of claims 1 to 7.
PCT/CN2016/095965 2015-09-02 2016-08-19 Method and apparatus for transporting game application program on mobile terminal WO2017036314A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510556905.1 2015-09-02
CN201510556905.1A CN105227764B (en) 2015-09-02 2015-09-02 The transfer approach and device of game application on mobile terminal

Publications (1)

Publication Number Publication Date
WO2017036314A1 true WO2017036314A1 (en) 2017-03-09

Family

ID=54996429

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/095965 WO2017036314A1 (en) 2015-09-02 2016-08-19 Method and apparatus for transporting game application program on mobile terminal

Country Status (2)

Country Link
CN (1) CN105227764B (en)
WO (1) WO2017036314A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111111193A (en) * 2019-12-25 2020-05-08 北京奇艺世纪科技有限公司 Game control method and device and electronic equipment
CN113010187A (en) * 2021-02-07 2021-06-22 上海硬通网络科技有限公司 Application installation method and device and electronic equipment
CN113094257A (en) * 2021-03-08 2021-07-09 上海硬通网络科技有限公司 Application testing method and device and electronic equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227764B (en) * 2015-09-02 2019-02-12 珠海豹趣科技有限公司 The transfer approach and device of game application on mobile terminal
CN106708566B (en) * 2016-11-30 2020-08-04 武汉斗鱼网络科技有限公司 Method and system for judging whether application program is installed
CN110417785A (en) * 2019-07-31 2019-11-05 湖南微算互联信息技术有限公司 A kind of installation method, system and the storage medium of cloud mobile phone games

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835137A (en) * 2010-04-23 2010-09-15 华为终端有限公司 Method for transmitting and receiving file based on mobile terminals and mobile terminal
CN103077061A (en) * 2013-01-16 2013-05-01 珠海市君天电子科技有限公司 Installing method of application software in Android equipment and system
CN105227764A (en) * 2015-09-02 2016-01-06 北京金山安全软件有限公司 Method and device for transmitting game application program on mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7661101B2 (en) * 2004-01-15 2010-02-09 Parametric Technology Corporation Synchronous and asynchronous collaboration between heterogeneous applications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835137A (en) * 2010-04-23 2010-09-15 华为终端有限公司 Method for transmitting and receiving file based on mobile terminals and mobile terminal
CN103077061A (en) * 2013-01-16 2013-05-01 珠海市君天电子科技有限公司 Installing method of application software in Android equipment and system
CN105227764A (en) * 2015-09-02 2016-01-06 北京金山安全软件有限公司 Method and device for transmitting game application program on mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111111193A (en) * 2019-12-25 2020-05-08 北京奇艺世纪科技有限公司 Game control method and device and electronic equipment
CN111111193B (en) * 2019-12-25 2023-09-22 北京奇艺世纪科技有限公司 Game control method and device and electronic equipment
CN113010187A (en) * 2021-02-07 2021-06-22 上海硬通网络科技有限公司 Application installation method and device and electronic equipment
CN113010187B (en) * 2021-02-07 2024-04-05 上海硬通网络科技有限公司 Application installation method and device and electronic equipment
CN113094257A (en) * 2021-03-08 2021-07-09 上海硬通网络科技有限公司 Application testing method and device and electronic equipment
CN113094257B (en) * 2021-03-08 2024-04-05 上海硬通网络科技有限公司 Application testing method and device and electronic equipment

Also Published As

Publication number Publication date
CN105227764B (en) 2019-02-12
CN105227764A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
WO2017036314A1 (en) Method and apparatus for transporting game application program on mobile terminal
US10742694B2 (en) Method for migrating data and terminal
CN110489391B (en) Data processing method and related equipment
US8949815B2 (en) Driver installation for targeted and non-present devices
US20130179558A1 (en) Server management using a baseboard management controller to establish a wireless network
US8978027B2 (en) Method of disseminating updated drivers to mobile computing devices and a dissemination system therefor
US10484468B2 (en) Method and device for downloading file
JP6359652B2 (en) Information transmission method, apparatus and device
WO2014012449A1 (en) Method, device, processing center and system for desktop synchronization
US20160241535A1 (en) Terminal authentication and registration system, method for authenticating and registering terminal, and storage medium
WO2021169129A1 (en) Virtual machine online migration method and apparatus, device, and computer readable storage medium
CN105659574A (en) Supporting unrecognized peripheral function protocol in a wireless docking station
US20200374268A1 (en) Cloud-Native Firewall
CN109309734B (en) Method and device for transmitting data
WO2015085664A1 (en) Synchronization method, terminal and server
US8510423B2 (en) Install system and install method
US10757179B2 (en) Assigning client virtual machines based on location
WO2022218057A1 (en) Memory leak attribution method and apparatus, and electronic device and storage medium
CN114938395A (en) Service response method, device, equipment and storage medium
CN112243017A (en) File uploading method and device
WO2023226720A1 (en) Resource file transmission method and apparatus, and device and storage medium
CN108028851B (en) Equipment group management method, device and system
TW202203611A (en) Network device and method for cross carrier scheduling
WO2016058188A1 (en) Software upgrading method and apparatus applied to terminal and terminal
CN110929500B (en) File comparison method and related device

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: 16840743

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 DATE 22.6.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16840743

Country of ref document: EP

Kind code of ref document: A1