CN106357812A - Method for transmitting data among Android devices, data transmission device and Bluetooth device - Google Patents

Method for transmitting data among Android devices, data transmission device and Bluetooth device Download PDF

Info

Publication number
CN106357812A
CN106357812A CN201610950873.8A CN201610950873A CN106357812A CN 106357812 A CN106357812 A CN 106357812A CN 201610950873 A CN201610950873 A CN 201610950873A CN 106357812 A CN106357812 A CN 106357812A
Authority
CN
China
Prior art keywords
android device
model
app
module
signature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610950873.8A
Other languages
Chinese (zh)
Inventor
衣祝松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201610950873.8A priority Critical patent/CN106357812A/en
Publication of CN106357812A publication Critical patent/CN106357812A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method for transmitting data among Android devices, a data transmission device and a Bluetooth device, and relates to the technical field of smart devices, aiming at reducing manual operation when data is transmitted among the Android devices and bringing convenient operation experience to users. The data transmission method comprises the following steps: installing first APP on a first Android device, and installing second APP on a second Android device; opening the first APP, collecting all customized APP on the first Android device by the first APP, and transmitting data including all customized APP and the second Android device model to the Bluetooth device; receiving the data by the Bluetooth device, packing all customized APP, and naming the package at least by the model of the second Android device; opening the second APP, searching the package corresponding to the model of the second Android device from the Bluetooth device by using the second APP, and downloading; and performing decompression and batch installation on the downloaded package by using the second Android device.

Description

Data transmission method between Android device, data transmission device, bluetooth equipment
Technical field
The present invention relates to technical field of intelligent equipment, the data transmission method between more particularly, to a kind of Android device, data Transmitting device, bluetooth equipment.
Background technology
ARIXTRA (android) system has the advantages that the many and most free, platforms of simple to operate, mobile phone application are open, quilt It is widely used in the electronic products such as panel computer, TV, smart mobile phone, printer, vehicle mounted guidance.
Electronic product updates very fast, after the electronic equipment that user more renews, in order to easy to use, it usually needs will be old Personalized customization app (application, application program), the app that is, user downloads as needed in equipment, imports and newly sets In standby.
Commonly use three kinds of modes at present and personalized customization app is imported in new equipment: the first is by used equipment with computer even Connect, by the back-up application of computer, the data of used equipment is backed up, then again new equipment is connected with computer, download computer The data of middle backup;Second is operation back-up application in used equipment, and the data in used equipment is backuped to high in the clouds, Ran Houzai Back-up application is run on new equipment, downloads the data of backup from high in the clouds;The third is in the application shop in new equipment, will Personalized customization app on used equipment re-downloads installation one time.These three modes are required for the excessive Attended Operation of user, right For user, there is no the experience of good automatization.
Content of the invention
Data transmission method between a kind of embodiments of the invention Android device of offer, data transmission device, bluetooth equipment, Artificial operation during transmission data between Android device can be reduced, bring more easily operating experience to user.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
In a first aspect, providing the data transmission method between a kind of Android device, comprising: install the in the first Android device One app, installs the 2nd app in the second Android device;Open a described app, a described app collects and is installed on described the All personalized customization app in one Android device, and described all personalized customization app and the second Android device type will be included Number data is activation to bluetooth equipment;Described bluetooth equipment receives the data that described first Android device sends, by described data Described in all personalized customization app packed, wherein, at least packed literary composition with the model name of described second Android device Part;And be stored in upgrade file memory module;Open described 2nd app, described 2nd app is according to described second Android device Model, from the described upgrade file memory module of described bluetooth equipment search corresponding with the model of described second Android device Packaging file, and be downloaded;Described second Android device is carried out decompression and is installed with batch to the described packaging file downloaded.
Preferably, after opening a described app, described all personalized customization app and the second ARIXTRA will included To before bluetooth equipment, methods described also includes the data is activation of unit type: a described app shows from described bluetooth equipment The unit type that obtains with signature respective modules of unit type, and the selection based on user, obtain described second Android device Model;Wherein, the unit type of described bluetooth equipment with signature respective modules be stored with unit type and with described equipment The corresponding signature of model;Or, a described app shows unit type and signature respective modules acquisition from described bluetooth equipment Unit type, if the unit type of display does not have the model of described second Android device, a described app provides user wound Build unit type and the interface of signature;Treat user create described second Android device model and with described second Android device Model corresponding signature after, obtain described second Android device model;And by the model of described second Android device and with The corresponding signature of model of described second Android device is stored in described unit type and signature respective modules.
It is further preferred that described all personalized customization app are packed by described bluetooth equipment, comprising: described indigo plant Tooth equipment, according to the model of described second Android device, obtains and described second peace from described unit type and signature respective modules The corresponding signature of model of tall and erect equipment;According to the described signature obtaining, using the zip upgrading packet mode of ARIXTRA standard, will be described All personalized customization app are packed;Based on this, described second Android device decompresses to the described packaging file downloaded Install with batch, comprising: described second Android device adopts ARIXTRA to recover back mechanism, and the described packaging file downloaded is carried out Decompression is installed with batch.
Preferably, described 2nd app is according to the model of described second Android device, from the described upgrading of described bluetooth equipment Search the corresponding packaging file of model with described second Android device in file storage module, and be downloaded, comprising: be described 2nd app, according to the model of described second Android device, searches and described second ARIXTRA from described upgrade file memory module This packaging file, if there is a described packaging file, is directly downloaded by the corresponding packaging file of model of equipment;If depositing Two and more than, described 2nd app list all packaging files supply user select, under the packaging file that user is selected is carried out Carry;If not finding the corresponding packaging file of model with described second Android device, pointed out.
Preferably, a described app and the 2nd app is same app;Described app has the pattern of sending and receiving;Its In, it is installed on the described app of described first Android device, select sending mode;It is installed on the described of described second Android device App, selects reception pattern.
Second aspect, provides a kind of data transmission device, is respectively arranged in the first Android device and the second Android device; Described data transmission device includes collection module, sending module, searching modul and downloads installation module;Wherein, described data Transmitting device has the pattern of sending and receiving, and in the transmit mode, described collection module and described sending module work, and are receiving Under pattern, module work is installed in described searching modul and described download.
Specifically, described collection module, for collecting all personalized customization app in the first Android device;Described Send module, for the described all personalized customization app collecting according to described collection module, it is described all personalized fixed to include The data is activation of app processed and the second Android device model is to bluetooth equipment;Described searching modul, for according to the second Android device Model, search from the upgrade file memory module of described bluetooth equipment and corresponding with the model of described second Android device beat APMB package;Described download installs module, for being downloaded according to the lookup result of described searching modul, and to described in download Packaging file is carried out decompression and is installed with batch.
Preferably, data transmission device also includes showing acquisition module, for showing the equipment type from described bluetooth equipment Number unit type obtaining with signature respective modules, and the selection based on user, obtain the model of described second Android device;Its In, described display acquisition module works in the transmit mode.
Or, described data transmission device also includes creating acquisition module, for showing the equipment from described bluetooth equipment The unit type that model is obtained with signature respective modules, if the unit type of display does not have the model of described second Android device, User is then provided to create unit type and the interface of signature;Treat user create described second Android device model and with described After the corresponding signature of model of the second Android device, obtain the model of described second Android device;And described second ARIXTRA is set Standby model and with the corresponding signature of model of described second Android device be stored in described unit type with signature respective modules; Wherein, described display acquisition module works in the transmit mode.
The third aspect, provides a kind of bluetooth equipment, including the storage of receiver module, caching/packetization module and upgrade file Module;Described receiver module, the data sending for receiving data transmitting device;Described caching/packetization module, for will be described Described in the described data that receiver module receives, all personalized customization app are packed, wherein, at least with described data the The model name packaging file of two Android device;Described upgrade file memory module, beats for storing described caching/packetization module Described packaging file after bag.
Preferably, bluetooth equipment also include unit type with signature respective modules, for storage device model and with set The standby corresponding signature of model;Described caching/packetization module is used for carrying out beating by personalized customization app all described in described data Bag, comprising: described caching/packetization module is used for the model according to described second Android device, from described unit type and signature Respective modules obtain the corresponding signature of model with described second Android device;According to the described signature obtaining, will be described all Personalized customization app is packed.
Data transmission method between a kind of embodiment of the present invention Android device of offer, data transmission device, bluetooth equipment, lead to Cross and in the first Android device and the second Android device, an app and the 2nd app is installed respectively, wherein, an app can collect peace It is loaded on all personalized customization app of the first Android device, and by all personalized customization app and the second Android device model Data is activation to bluetooth equipment, pack to all personalized customization app, and there is upgrade file memory module by bluetooth equipment In, the packaging file of storage in the upgrade file memory module of bluetooth equipment is downloaded to after the second Android device by the 2nd app, right The packaging file downloaded carries out decompression and batch is installed.This process is due to only need to be in the first Android device and the second Android device The corresponding app of upper installation, you can be automatically obtained and the personalized customization app on used equipment is installed on new equipment, therefore permissible Reduce artificial operation during transmission data between Android device, bring more easily operating experience to user.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the data transmission method between a kind of Android device provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of the data transmission method between a kind of Android device provided in an embodiment of the present invention;
Fig. 3 be a kind of bluetooth equipment provided in an embodiment of the present invention upgrade file memory module in packaging file name Schematic diagram;
Fig. 4 is a kind of schematic diagram one of bluetooth equipment provided in an embodiment of the present invention;
Fig. 5 provides, for an a kind of app provided in an embodiment of the present invention, the schematic diagram creating unit type and signature interface;
Fig. 6 is the schematic flow sheet that a kind of second Android device provided in an embodiment of the present invention downloads packaging file;
Fig. 7 is that a kind of app provided in an embodiment of the present invention shows the schematic diagram sending and receiving mode interface;
Fig. 8 is a kind of schematic diagram one of data transmission device provided in an embodiment of the present invention;
Fig. 9 is a kind of schematic diagram two of data transmission device provided in an embodiment of the present invention;
Figure 10 (a) is a kind of schematic diagram three of data transmission device provided in an embodiment of the present invention;
Figure 10 (b) is a kind of schematic diagram four of data transmission device provided in an embodiment of the present invention;
Figure 11 is a kind of schematic diagram two of bluetooth equipment provided in an embodiment of the present invention;
Figure 12 is a kind of schematic diagram three of bluetooth equipment provided in an embodiment of the present invention.
Reference:
10- first Android device;11- the first app;12- all personalized customization app;20- second Android device;21- Two app;30- bluetooth equipment;31- upgrade file memory module;32- caching/packetization module;33- unit type is corresponding with signature Module;34- receiver module;40- data transmission device;41- collection module;42- sending module;43- searching modul;44- downloads Module is installed;45- Bluetooth pairing module;46- shows acquisition module;47- creates acquisition module.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides the data transmission method between a kind of Android device, as shown in figure 1, comprising the steps:
S10, as shown in Fig. 2 installing an app11 in the first Android device 10, installs in the second Android device 20 2nd app21.
It should be noted that the first, the first Android device 10 and the second Android device 20 can be same type of ARIXTRA Equipment or different types of Android device.
Example, the first Android device 10 and the second Android device 20 can be all Android mobile phone.Or, the first ARIXTRA sets Standby 10 can be Android mobile phone, and the second Android device 20 can be ARIXTRA panel computer.
As shown in Fig. 2 opening an app11, an app11 collects and is installed on owning in the first Android device 10 s20 Personalized customization app12, and the data is activation of all personalized customization app12 and the second Android device model will be included to bluetooth Equipment 30.
Herein, there is bluetooth due in current electronic equipment, therefore, including all personalized customization app12 and second The data of Android device model can be sent to bluetooth equipment 30 by the bluetooth in the first Android device 10.Based on this, opening After first app11, the data is activation including all personalized customization app12 and the second Android device model is being set to bluetooth Before standby 30, an app11 can automatically select certain types of bluetooth equipment 30 and be matched.
On this basis, the first Android device 10 sets up communications protocol, to ensure the first Android device with bluetooth equipment 30 10 send and can be identified by bluetooth equipment 30 to all personalized customization app12 of bluetooth equipment 30, and complete sequence of operations.
It should be noted that the first, the one app11 can collect the first peace by scanning the catalogue of the first Android device 10 All personalized customization app12 on tall and erect equipment 10.Wherein, personalized customization app may be at one of the first Android device 10 It is also possible under multiple catalogues of the first Android device 10 under catalogue.Wherein, no matter personalized customization app is located at the first ARIXTRA Under which catalogue of equipment 10, it is all personalized fixed in the first Android device 10 that an app11 can be collected by scanning App12 processed.
All personalized customization app12 in the second, the first Android device 10, are in addition to what the first Android device 10 carried Beyond app, user, according to using needs, downloads to the app in the first Android device 10.
3rd, an app11 are by the data is activation including all personalized customization app12 and the second Android device model extremely While bluetooth equipment 30, can be with the transmission progress of video data.
S30 is as shown in Fig. 2 bluetooth equipment 30 receives the data that the first Android device 10 sends, by individual characteies all in data Change customization app12 to be packed, wherein, at least with the model name packaging file of the second Android device 20;And it is stored in upgrading In file storage module 31.
Specifically, after bluetooth equipment 30 receives the data of the first Android device 10 transmission, it is firstly placed on caching/packetization module In 32, after personalized customization app12 all in described data receive, packed, and the packing that packing is completed File copy backs up to upgrade file memory module 31.
Wherein, after bluetooth equipment 30 completes backup, for example, can send, to an app11, the message that backup completes, so that First app11 carries out related prompting to user.
It should be noted that when bluetooth equipment 30 once can only be set up with an Android device and connect, can set in bluetooth Standby 30 packaging operations completing all personalized customization app12, and after there is upgrade file memory module 31, can be with the first ARIXTRA Equipment 10 carries out solving matching operation.
S40 as shown in Fig. 2 opening the 2nd app21, the 2nd app21 according to the model of the second Android device 20, from bluetooth Search and the corresponding packaging file of model of the second Android device 20 in the upgrade file memory module 31 of equipment 30, and under carrying out Carry.
Herein, after opening the 2nd app21, in the 2nd app21 according to the model of the second Android device 20, from described indigo plant Search in the upgrade file memory module 31 of tooth equipment 30 with the corresponding packaging file of model of described second Android device 20 it Before, the 2nd app21 can automatically select certain types of bluetooth equipment 30 and be matched.Wherein, carry in this bluetooth equipment 30 and s20 The bluetooth equipment 30 arriving is same bluetooth equipment.
On this basis, the second Android device 20 sets up communications protocol, to ensure bluetooth equipment 30 with bluetooth equipment 30 The all personalized customization app12 delivering to the second Android device 20 can be identified by the second Android device 20, and completes a series of Operation.
Further, after packaging file is downloaded to the second Android device 20 by the 2nd app21, bluetooth equipment 30 and second Android device 20 carries out solving matching operation.
It should be noted that first, in the upgrade file memory module 31 of bluetooth equipment 30, one or many may be stored with The corresponding packaging file of individual second Android device model;The second Android device model of being likely to be stored with is corresponding multiple to beat Carried out before APMB package, such as user at least one times by all personalized customization app12 transmission in the first Android device 10 To the second Android device 20, all personalizations of each transmission in the process, all can be stored in upgrade file memory module 31 The packaging file of customization app12.In order to be able to distinguish the packaging file of this secondary download it is preferable that packaging file is with described second The mode on the model+date of Android device 20 is named.
Example, as shown in figure 3, in the upgrade file memory module 31 of bluetooth equipment 30, have three the second Android device The corresponding packaging file of model, respectively Huawei p6, Semen setariae 5 and Meizu 4, wherein, Huawei p6 corresponds to two packaging files, Semen setariae 5 corresponding two packaging files, Meizu 4 corresponds to three packaging files.If corresponding second ARIXTRA of packaging file of this secondary download Unit type is Huawei p6, then, according to the title of packaging file, select Huawei's p6 model, and this operating time is corresponding Packaging file is downloaded.
Second, if the 2nd app21 does not find and the second peace from the upgrade file memory module 31 of bluetooth equipment 30 The corresponding packaging file of model of tall and erect equipment 20, then can carry out related prompting to user.
3rd, the 2nd app21, while the upgrade file memory module 31 of bluetooth equipment 30 downloads packaging file, also may be used To show the download progress of packaging file.
Herein, the packaging file that the 2nd app21 downloads from the upgrade file memory module 31 of bluetooth equipment 30, is storable in The larger region of internal memory in second Android device 20, can be for example the second Android device 20 /cache region.
S50, the second Android device 20 are carried out decompression and are installed with batch to the packaging file downloaded.
The embodiment of the present invention provides the data transmission method between a kind of Android device, by respectively in the first Android device 10 With in the second Android device 20, an app11 and the 2nd app21 is installed, wherein, an app11 can collect and be installed on the first ARIXTRA All personalized customization app12 of equipment 10, and the data of all personalized customization app12 and the second Android device model is sent out Deliver to bluetooth equipment 30, bluetooth equipment 30 is packed to all personalized customization app12, and there is upgrade file memory module In 31, the packaging file of storage in the upgrade file memory module 31 of bluetooth equipment 30 is downloaded to the second ARIXTRA by the 2nd app21 After equipment 20, the packaging file downloaded is carried out with decompression and batch is installed.This process is due to only need to be in the first Android device 10 With in the second Android device 20, corresponding app is installed, you can be automatically obtained and the personalized customization app on used equipment is installed to newly On equipment, therefore can reduce artificial operation during transmission data between Android device, bring more easily operating experience to user.
Preferably, after opening an app11, all personalized customization app12 and the second Android device will included To before bluetooth equipment 30, described data transmission method also includes the data is activation of model: an app11 shows from bluetooth equipment The unit type that 30 unit type is obtained with signature respective modules, and the selection based on user, obtain described second ARIXTRA and set Standby 20 model.
Wherein, as shown in figure 4, described bluetooth equipment 30 also includes unit type and signature respective modules 33, and described Unit type and unit type and the signature corresponding with described unit type of being stored with signature respective modules 33.
Unit type for example can include Huawei p6, Huawei p7, Huawei's honor 5x, Huawei's honor 6x, Huawei m2, Semen setariae 4, Semen setariae 4s, Semen setariae 5, Semen setariae 5s, Meizu 4, Meizu 4pro etc..
Or, an app11 shows the equipment type obtaining from the unit type of bluetooth equipment 30 with signature respective modules 33 Number, if the unit type of display does not have the model of the second Android device 20, as shown in figure 5, an app11 provides user wound Build unit type and the interface of signature;Treat that user creates model and the type with the second Android device 20 of the second Android device 20 After number corresponding signature, obtain the model of the second Android device 20;And by the model of the second Android device 20 and with the second ARIXTRA The corresponding signature of model of equipment 20 is stored in unit type and the signature respective modules 33 of described bluetooth equipment 30.
It should be noted that the Android device of each model has its corresponding signature, the identity for Android device is recognized Card, a signature can correspond to the Android device of a model it is also possible to correspond to the Android device of multiple models.If user does not obtain To the corresponding signature of model of the second Android device 20, then, using acquiescence signature, the 2nd app21 will be using acquiescence for bluetooth equipment 30 After the packaging file of signature packing downloads in the second Android device 20, signature corresponding with the model of the second Android device 20 Join, if acquiescence signature signature corresponding with the model of the second Android device 20 is consistent, the second Android device 20 is beaten to download APMB package carries out decompression and batch is installed, if acquiescence signature signature corresponding with the model of the second Android device 20 is inconsistent, Second Android device 20 can not carry out decompressing the operation installed with batch to the packaging file downloaded.
In the embodiment of the present invention, user passes through the display interface of an app11, selects or creates the second Android device 20 Model and the corresponding signature of model with the second Android device 20, to obtain the model of the second Android device 20 with this.
It is further preferred that all personalized customization app12 are packed by bluetooth equipment 30, comprising: bluetooth equipment 30 According to the model of the second Android device 20, obtain and the second ARIXTRA from unit type and the signature respective modules 33 of bluetooth equipment 30 The corresponding signature of model of equipment 20;According to the described signature obtaining, all personalized customization app12 are packed.
In the embodiment of the present invention, in the caching/packetization module 32 of bluetooth equipment 30, all personalized customization app12 are carried out During packing, can complete to pack in the case of the corresponding signature of the model of known second Android device 20, such second ARIXTRA sets Standby 20 in decompression, if the corresponding signature of the model of the second Android device 20 comprising in packaging file with its sign consistent, Can in the second Android device 20 normal mounting and use all personalized customization app12.
Further it is contemplated that current Android device can recognize that the AKU of zip form, it is therefore preferable that bluetooth equipment 30 Using the zip upgrading packet mode of ARIXTRA standard, described all personalized customization app12 are packed.
On this basis, the second Android device 20 carries out decompression and batch installation to the packaging file downloaded, comprising: second Android device 20 adopts ARIXTRA to recover back mechanism (recovery), the packaging file downloaded is carried out with decompression and installs with batch.
It should be noted that it will be appreciated by those skilled in the art that, all carry recovery function in Android system, its Effect includes decompressing and installs zip AKU.Therefore, the 2nd app21
After packaging file is downloaded in the second Android device 20, check the integrity of zip AKU, if zip upgrading Bag is complete, by recovery, the packaging file in the second Android device 20 can be carried out with decompression and install with batch.
Herein, because the 2nd app21 downloads the process of zip AKU from the upgrade file memory module 31 of bluetooth equipment 30 In in fact it could happen that bluetooth equipment 30 and the second Android device 20 pairing disconnect situation, lead to download zip upgrading APMB package not Completely.For example, the file size of the zip AKU that this operation is stored in the caching/packetization module 32 of bluetooth equipment 30 is 100m, after the completion of the 2nd app21 downloads, checks the zip upgrading downloaded from the upgrade file memory module 31 of bluetooth equipment 30 The file size of bag is 98m, then zip AKU is imperfect.If the 2nd app21 checks zip, and upgrading APMB package is imperfect, no Can be decompressed and batch installation operation.
Preferably, the 2nd app21, according to the model of the second Android device 20, stores mould from the upgrade file of bluetooth equipment 30 Search the corresponding packaging file of model with the second Android device 20 in block 31, and be downloaded, as shown in fig. 6, specifically can lead to Cross following steps to realize:
S101, the 2nd app21 according to the model of the second Android device 20, from the upgrade file memory module of bluetooth equipment 30 The corresponding packaging file of model with the second Android device 20 is searched in 31;And judge the number of described packaging file.If existing One packaging file, then execute s102;If exist two and more than, execute s103;If do not find setting with the second ARIXTRA The standby 20 corresponding packaging file of model, then execute s104.
S102, directly this packaging file is downloaded.
S103, the 2nd app21 list all packaging files and supply user to select, under the packaging file that user is selected is carried out Carry.
S104, the 2nd app21 are pointed out.
If it should be noted that the 2nd app21 does not find packing literary composition corresponding with the model of the second Android device 20 Part, is probably following several the reason this situation:
The first, the one app11 does not send all personalized customization app12 to bluetooth equipment 30.
Second, after bluetooth equipment 30 receives all personalized customization app12, packaging file could not be stored in upgrading literary composition Part memory module 31.
3rd, when the 2nd app21 downloads currently stored packaging file, failed download.
In the embodiment of the present invention, by the model of the second Android device 20 of display on the 2nd app21 corresponding packing literary composition Part number, selects for user, and the packaging file being selected with user is downloaded in the second Android device 20 by the 2nd app21.
Preferably, an app11 and the 2nd app21 is same app;Described app has the pattern of sending and receiving;Its In, it is installed on the described app of the first Android device 10, select sending mode;It is installed on the described app of the second Android device 20, Select reception pattern.
If it should be noted that as shown in fig. 7, the first Android device 10 and the second Android device 20 adopt same app, After opening app, described app occurs user selection interface, that is, select sending mode or reception pattern.
In the embodiment of the present invention, by an app11 and the 2nd app21 is integrated into same app, and this app is made to have There is the app selecting transmission or reception pattern, on the basis of ensureing user side's convenient to operate, reduce the development cost of app.
The embodiment of the present invention also provides a kind of data transmission device 40, is respectively arranged in the first Android device 10 and the second peace On tall and erect equipment 20, as shown in figure 8, data transmission device 40 include collection module 41, sending module 42, searching modul 43 and Download and module 44 is installed;Wherein, data transmission device 40 has the pattern of sending and receiving, in the transmit mode, collection module 41 Work with sending module 42, in the receiving mode, searching modul 43 and download are installed module 44 and worked.
Specifically, collection module 41, for collecting all personalized customization app12 in the first Android device 10.
Sending module 42, for all personalized customization app collecting according to described collection module 41, will include all The data is activation of propertyization customization app12 and the second Android device model is to bluetooth equipment 30.
Searching modul 43, for the model according to the second Android device 20, stores mould from the upgrade file of bluetooth equipment 30 The corresponding packaging file of model with the second Android device 20 is searched in block 31.
Download and module 44 is installed, for being downloaded according to the lookup result of described searching modul 43, and download is beaten APMB package is carried out decompression and is installed with batch.
Herein, the sending mode of data transmission device 40, that is, be equivalent to an app11, the reception of data transmission device 40 Pattern, that is, be equivalent to the 2nd app21.
The embodiment of the present invention provides a kind of data transmission device 40, by the first Android device 10 and the second Android device Installation data transmitting device 40 on 20, the data transmission device 40 in the first Android device 10 passes through collection module 41 and collects installation In all personalized customization app12 of the first Android device 10, and by sending module 42 by all personalized customization app12 and The data is activation of the second Android device model to bluetooth equipment 30, the lookup mould of data transmission device 40 in the second Android device 20 Block 43, according to the model of the second Android device 20, is searched and the second ARIXTRA from the upgrade file memory module 31 of bluetooth equipment 30 The corresponding packaging file of model of equipment 20, under download installation module 44 is carried out according to the lookup result of described searching modul 43 Carry, and the packaging file downloaded is carried out with decompression and install with batch.This process is due to only need to be in the first Android device 10 and second Corresponding app is installed on Android device 20, you can be automatically obtained and the personalized customization app on used equipment is installed to new equipment On, therefore can reduce artificial operation during transmission data between Android device, bring more easily operating experience to user.
There is bluetooth due in current electronic equipment, therefore, Android device can be set up with bluetooth equipment 30 by bluetooth Connect, based on this it is preferred that as shown in figure 9, described data transmission device 40 also includes Bluetooth pairing module 45, for automatic Certain types of bluetooth equipment 30 is selected to be matched;Wherein, matching module 45 all works under the pattern that sends and receives.
Preferably, as shown in Figure 10 (a), described data transmission device 40 also includes showing acquisition module 46, for showing The unit type obtaining with signature respective modules 33 from the unit type of bluetooth equipment 30, and the selection based on user, obtain the The model of two Android device 20;Wherein, display acquisition module 46 works in the transmit mode.
Herein, the unit type of bluetooth equipment 30 and signature respective modules 33 are stored with unit type and and unit type Corresponding signature.
Or, with reference to shown in Figure 10 (b), described data transmission device 40 also includes creating acquisition module 47, for showing The unit type obtaining with signature respective modules 33 from the unit type of bluetooth equipment 30, if the unit type of display does not have second The model of Android device 20, then provide user to create unit type and the interface of signature;Treat that user creates the second Android device After 20 model and signature corresponding with the model of the second Android device 20, obtain the model of the second Android device 20;And by The model of two Android device 20 and be stored in setting of described bluetooth equipment 30 with the corresponding signature of model of the second Android device 20 Standby model and signature respective modules 33;Wherein, described establishment acquisition module 47 works in the transmit mode.
It should be noted that the Android device of each model has its corresponding signature, the identity for Android device is recognized Card, a signature can correspond to the Android device of a model it is also possible to correspond to the Android device of multiple models.If user does not obtain To the corresponding signature of model of the second Android device 20, then bluetooth equipment 30 use acquiescence signature, in the second Android device 20 After data transmission device 40 will be downloaded in the second Android device 20 using the packaging file of acquiescence signature packing, with the second ARIXTRA The corresponding signatures match of model of equipment 20, if acquiescence signature signature corresponding with the model of the second Android device 20 is consistent, Second Android device 20 carries out decompression to the packaging file downloaded and batch is installed, if acquiescence signature and the second Android device 20 Model corresponding signature inconsistent, then the second Android device 20 to download packaging file can not carry out decompress with batch install Operation.
In the embodiment of the present invention, user passes through the display interface of an app11, selects or creates the second Android device 20 Model and the corresponding signature of model with the second Android device 20, to obtain the model of the second Android device 20 with this.
Preferably, if searching modul 43 finds a packaging file, download and module 44 is installed directly by this packing literary composition Part is downloaded;If searching modul 43 finds two and above packaging file, list all packaging files and supply user to select, under Carry installation module 44 to be downloaded the packaging file that user selects;If not finding the model pair with the second Android device 20 The packaging file answered, then pointed out.
In the embodiment of the present invention, by the model of the second Android device 20 of display on the 2nd app21 corresponding packing literary composition Part number, selects for user, the packaging file that user is selected, will download to the second Android device 20 by the 2nd app21 In.
The embodiment of the present invention also provides a kind of bluetooth equipment 30, as shown in figure 11, including receiver module 34, caching/packing Module 32 and upgrade file memory module 31.
Specifically, receiver module 34, the data sending for receiving data transmitting device 20.
Caching/packetization module 32, for all personalized customization in the described data that receives described receiver module 34 App12 is packed, wherein, at least with the model name packaging file of the second Android device 20 in data.
Specifically, after receiver module 34 receives the data of the first Android device 10 transmission, it is firstly placed on caching/packetization module In 32, after personalized customization app12 all in described data receive, caching/packetization module 32 is packed, packing The packaging file completing is copied to backup in upgrade file memory module 31.
Upgrade file memory module 31, for storing the packaging file after described caching/packetization module 32 packing.
In the upgrade file memory module 31 of bluetooth equipment 30, may be stored with one or more second Android device models Corresponding packaging file;The corresponding multiple packaging files of the second Android device model of being likely to be stored with, such as user it Before carried out transmitting all personalized customization app12 in the first Android device 10 to the second Android device 20 at least one times, In the process, the packing literary composition of all personalized customization app12 of each transmission all can be stored in upgrade file memory module 31 Part.In order to be able to distinguish this secondary download packaging file it is preferable that packaging file with the model of described second Android device 20+ The mode on date is named.
Example, as shown in figure 3, in the upgrade file memory module 31 of bluetooth equipment 30, have three the second Android device The corresponding packaging file of model, respectively Huawei p6, Semen setariae 5 and Meizu 4, wherein, Huawei p6 corresponds to two packaging files, Semen setariae 5 corresponding two packaging files, Meizu 4 corresponds to three packaging files.If corresponding second ARIXTRA of packaging file of this secondary download Unit type is Huawei p6, then, according to the title of packaging file, select Huawei's p6 model, and this operating time is corresponding Packaging file is downloaded.
Preferably, as shown in figure 12, bluetooth equipment 30 also includes unit type and signature respective modules 33, sets for storage Standby model and signature corresponding with unit type.
On this basis, caching/packetization module 32 is used for personalized customization app12 all in data are packed, bag Include: caching/packetization module 32 is used for the model according to the second Android device 20, obtain with signature respective modules 33 from unit type The corresponding signature of model with described second Android device 20;According to the described signature obtaining, by all personalized customization app12 Packed.
Consider the AKU of the recognizable zip form of Android device up till now, it is therefore preferable that caching/packetization module 32 adopts The zip upgrading packet mode of ARIXTRA standard, described all personalized customization app12 are packed.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by described scope of the claims.

Claims (10)

1. the data transmission method between a kind of Android device is it is characterised in that include:
In the first Android device, an app is installed, the 2nd app is installed on the second Android device;
Open a described app, a described app collects all personalized customization being installed in described first Android device App, and the data is activation of described all personalized customization app and the second Android device model will be included to bluetooth equipment;
Described bluetooth equipment receives the data that described first Android device sends, by personalized customization all described in described data App is packed, wherein, at least with the model name packaging file of described second Android device;And be stored in upgrade file and deposit In storage module;
Open described 2nd app, described 2nd app according to the model of described second Android device, from the institute of described bluetooth equipment State the corresponding packaging file of model searched in upgrade file memory module with described second Android device, and be downloaded;
Described second Android device is carried out decompression and is installed with batch to the described packaging file downloaded.
2. data transmission method according to claim 1 is it is characterised in that after opening a described app, in Jiang Bao , to before bluetooth equipment, methods described is also for the data is activation including described all personalized customization app and the second Android device model Including:
A described app shows the unit type obtaining from the unit type of described bluetooth equipment with signature respective modules, and base In the selection of user, obtain the model of described second Android device;Wherein, the unit type of described bluetooth equipment is corresponding with signature Module stores have unit type and signature corresponding with described unit type;Or,
A described app shows the unit type obtaining from the unit type of described bluetooth equipment with signature respective modules, if aobvious The unit type shown does not have the model of described second Android device, then a described app provides user to create unit type and label The interface of name;Treat that user creates model and the corresponding label of model with described second Android device of described second Android device After name, obtain the model of described second Android device;And set by the model of described second Android device with described second ARIXTRA The corresponding signature of standby model is stored in described unit type and signature respective modules.
3. data transmission method according to claim 2 is it is characterised in that described bluetooth equipment is by described all personalizations Customization app is packed, comprising:
Described bluetooth equipment according to the model of described second Android device, from described unit type and signature respective modules obtain with The corresponding signature of model of described second Android device;According to the described signature obtaining, using the zip AKU side of ARIXTRA standard Formula, described all personalized customization app are packed;
Described second Android device is carried out decompression and is installed with batch to the described packaging file downloaded, comprising:
Described second Android device adopts ARIXTRA to recover back mechanism, the described packaging file downloaded is carried out with decompression and pacifies with batch Dress.
4. data transmission method according to claim 1 is it is characterised in that described 2nd app is according to described second ARIXTRA The model of equipment, searches the model with described second Android device from the described upgrade file memory module of described bluetooth equipment Corresponding packaging file, and be downloaded, comprising:
Described 2nd app according to the model of described second Android device, from described upgrade file memory module search with described This packaging file, if there is a described packaging file, is directly carried out by the corresponding packaging file of model of the second Android device Download;
If exist two and more than, described 2nd app lists all packaging files and supplies user to select, the packing literary composition that user is selected Part is downloaded;
If not finding the corresponding packaging file of model with described second Android device, pointed out.
5. the data transmission method according to any one of claim 1-4 is it is characterised in that a described app and the 2nd app For same app;
Described app has the pattern of sending and receiving;
Wherein, it is installed on the described app of described first Android device, select sending mode;It is installed on described second Android device Described app, select reception pattern.
6. a kind of data transmission device, is respectively arranged in the first Android device and the second Android device;It is characterized in that, described Data transmission device includes collection module, sending module, searching modul and downloads installation module;Wherein, described data transfer Device has the pattern of sending and receiving, and in the transmit mode, described collection module and described sending module work, in reception pattern Under, module work is installed in described searching modul and described download;
Described collection module, for collecting all personalized customization app in the first Android device;
Described sending module, for the described all personalized customization app collecting according to described collection module, will include described institute The data is activation having personalized customization app and the second Android device model is to bluetooth equipment;
Described searching modul, for the model according to the second Android device, from the upgrade file memory module of described bluetooth equipment The middle corresponding packaging file of model searched with described second Android device;
Described download installs module, for being downloaded according to the lookup result of described searching modul, and beats to described in download APMB package is carried out decompression and is installed with batch.
7. data transmission device according to claim 6 is it is characterised in that also include showing acquisition module, for showing The unit type obtaining with signature respective modules from the unit type of described bluetooth equipment, and the selection based on user, obtain institute State the model of the second Android device;Wherein, described display acquisition module works in the transmit mode;Or,
Described data transmission device also includes creating acquisition module, for showing unit type and the signature from described bluetooth equipment The unit type that respective modules obtain, if the unit type of display does not have the model of described second Android device, provides user Create unit type and the interface of signature;Treat that user is created the model of described second Android device and set with described second ARIXTRA After the corresponding signature of standby model, obtain the model of described second Android device;And by the model of described second Android device and It is stored in described unit type and signature respective modules with the corresponding signature of model of described second Android device;Wherein, described Display acquisition module works in the transmit mode.
If 8. data transmission device according to claim 6 is it is characterised in that described searching modul finds a packing File, then described download is installed module and is directly downloaded this packaging file;
If described searching modul finds two and above packaging file, list all packaging files supply user select, described under Carry installation module to be downloaded the packaging file that user selects;
If not finding the corresponding packaging file of model with described second Android device, pointed out.
9. a kind of bluetooth equipment is it is characterised in that include receiver module, caching/packetization module and upgrade file memory module;
Described receiver module, the data sending for receiving data transmitting device;
Described caching/packetization module, for all personalized customization app described in the described data that receives described receiver module Packed, wherein, at least with the model name packaging file of the second Android device in described data;
Described upgrade file memory module, for storing the described packaging file after described caching/packetization module packing.
10. bluetooth equipment according to claim 9, it is characterised in that also including unit type and signature respective modules, is used In storage device model and signature corresponding with unit type;
Described caching/packetization module is used for personalized customization app all described in described data are packed, comprising:
Described caching/packetization module is used for the model according to described second Android device, corresponding with signature from described unit type Module obtains the corresponding signature of model with described second Android device;According to the described signature obtaining, by described all individual characteies Change customization app to be packed.
CN201610950873.8A 2016-10-26 2016-10-26 Method for transmitting data among Android devices, data transmission device and Bluetooth device Pending CN106357812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610950873.8A CN106357812A (en) 2016-10-26 2016-10-26 Method for transmitting data among Android devices, data transmission device and Bluetooth device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610950873.8A CN106357812A (en) 2016-10-26 2016-10-26 Method for transmitting data among Android devices, data transmission device and Bluetooth device

Publications (1)

Publication Number Publication Date
CN106357812A true CN106357812A (en) 2017-01-25

Family

ID=57863565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610950873.8A Pending CN106357812A (en) 2016-10-26 2016-10-26 Method for transmitting data among Android devices, data transmission device and Bluetooth device

Country Status (1)

Country Link
CN (1) CN106357812A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248232A (en) * 2019-05-29 2019-09-17 广州视琨电子科技有限公司 Method for pushing, device, storage medium and the processor of data
CN110519252A (en) * 2019-08-20 2019-11-29 北京北信源软件股份有限公司 Client merges the system and method for publication
CN110989940A (en) * 2019-12-17 2020-04-10 联想(北京)有限公司 Migration method and migration device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247589A (en) * 2007-07-04 2008-08-20 华为技术有限公司 Mobile terminal data conversion/backup method, device and system
CN101888416A (en) * 2010-07-20 2010-11-17 中兴通讯股份有限公司 Multi-platform application fused release platform and application downloading method
CN103294515A (en) * 2013-06-28 2013-09-11 北京小米科技有限责任公司 Method, device and system for acquiring application programs
CN105139193A (en) * 2015-07-31 2015-12-09 腾讯科技(深圳)有限公司 Electronic resource processing method, electronic resource processing device and server
CN105573845A (en) * 2015-03-06 2016-05-11 深圳酷派技术有限公司 Information processing method and system and terminals
CN105786606A (en) * 2016-03-03 2016-07-20 深圳市创想天空科技股份有限公司 Data transferring method and system for intelligent terminals
CN106021023A (en) * 2016-05-20 2016-10-12 北京奇虎科技有限公司 Application recovery method and device, and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247589A (en) * 2007-07-04 2008-08-20 华为技术有限公司 Mobile terminal data conversion/backup method, device and system
CN101888416A (en) * 2010-07-20 2010-11-17 中兴通讯股份有限公司 Multi-platform application fused release platform and application downloading method
CN103294515A (en) * 2013-06-28 2013-09-11 北京小米科技有限责任公司 Method, device and system for acquiring application programs
CN105573845A (en) * 2015-03-06 2016-05-11 深圳酷派技术有限公司 Information processing method and system and terminals
CN105139193A (en) * 2015-07-31 2015-12-09 腾讯科技(深圳)有限公司 Electronic resource processing method, electronic resource processing device and server
CN105786606A (en) * 2016-03-03 2016-07-20 深圳市创想天空科技股份有限公司 Data transferring method and system for intelligent terminals
CN106021023A (en) * 2016-05-20 2016-10-12 北京奇虎科技有限公司 Application recovery method and device, and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248232A (en) * 2019-05-29 2019-09-17 广州视琨电子科技有限公司 Method for pushing, device, storage medium and the processor of data
CN110248232B (en) * 2019-05-29 2021-08-03 广州视琨电子科技有限公司 Data pushing method and device, storage medium and processor
CN110519252A (en) * 2019-08-20 2019-11-29 北京北信源软件股份有限公司 Client merges the system and method for publication
CN110989940A (en) * 2019-12-17 2020-04-10 联想(北京)有限公司 Migration method and migration device

Similar Documents

Publication Publication Date Title
CN102098590B (en) Automatic upgrading method and system of firmware version of optical network unit
CN103678319B (en) Resource file update method, device and system and server
CN103281689B (en) Method for network switching and version upgrading and terminal equipment
CN106484448A (en) A kind of method for upgrading software and device
CN101610501A (en) Device firmware upgrade system and method, device management server and portable terminal
CN106357812A (en) Method for transmitting data among Android devices, data transmission device and Bluetooth device
CN105094875A (en) Software upgrading method and device
CN101668081A (en) Mobile terminal and automatic upgrading method thereof
CN109656597A (en) Firmware upgrade method, device and computer readable storage medium
CN104144466A (en) Access method for sensor in Internet of Things, Internet of Things system and server
CN110913015A (en) Distributed quick installation method, system and medium for cloud mobile phone APP
CN105808278A (en) Client version upgrading method and device
CN103186394A (en) Method and device for installing software
CN104391720A (en) Rearview mirror box upgrading method based on Android system and rearview mirror box
CN104657161A (en) Method and device for updating firmware of mobile terminal
CN104317496A (en) Application sharing method and device
CN105100144A (en) Application updating method and device
CN107391155A (en) A kind of packaging method and device
CN110337038B (en) Upgrading method of convergence gateway equipment
CN104980886A (en) Software upgrade method and device
CN101800985B (en) Authentication method and system, terminal, server and data downloading method and device
CN102110001A (en) Method and system for implementing configuration of handheld equipment operating system
CN113743143A (en) Distribution network binding method and system for Internet of things intelligent equipment
CN104378403A (en) Terminal and updating method thereof
CN110529985A (en) The matching process and device of air-conditioner set and data transmission terminal DTU

Legal Events

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

Application publication date: 20170125

RJ01 Rejection of invention patent application after publication