CN104572311A - Application program synchronization device and method based on Bluetooth - Google Patents
Application program synchronization device and method based on Bluetooth Download PDFInfo
- Publication number
- CN104572311A CN104572311A CN201510034235.7A CN201510034235A CN104572311A CN 104572311 A CN104572311 A CN 104572311A CN 201510034235 A CN201510034235 A CN 201510034235A CN 104572311 A CN104572311 A CN 104572311A
- Authority
- CN
- China
- Prior art keywords
- subelement
- program
- equipment
- synchronous
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to an application program synchronization device and method based on Bluetooth and solves the technical problem that the unloading and upgrading of application programs cannot be conducted simultaneously between a smart phone and a phone partner. The method includes first triggering, building or modifying a difference program configuration list when software programs in a first device change, then connecting a second device and the first device through Bluetooth, utilizing the second device to acquire the difference program configuration list automatically, judging whether the difference program configuration list is empty, and conducting automatic synchronization operation on all application programs in the difference program configuration list in the second device on no judgment. The device and method is widely used in the technical field of application program synchronization.
Description
Technical field
The present invention relates to a kind of application synchronization device and method, particularly relate to a kind of application synchronization device and method based on bluetooth.
Background technology
In today that science and technology is maked rapid progress, smart mobile phone more and more comes into our life.The wherein picture that shakes with it of large-screen mobile phone, the texture of high definition is subject to pursuing of many people, but because large-screen mobile phone the shortcoming of one-handed performance can not bring many troubles to user, therefore company of handset arises at the historic moment, but the function of current company of handset is only confined to the realization of mobile phone basic function, make user cannot use mobile phone under the scene of one-handed performance, greatly reduce user experience; Same, ordinary screen mobile phone can not be experienced the open visual field of large-screen mobile phone and also to can yet be regarded as a large shortcoming.If there is such company of handset, can all application software of synchronous large-screen mobile phone at any time, but screen is common size screens; Same, if there is such company of handset, can all application software of synchronous ordinary screen mobile phone at any time, but screen is large-size screen monitors, then can realize the order ground meeting the different user demand of user according to mobile phone use scenes.
Synchronizing function at present based on bluetooth is only confined to call and SMS, does not also occur the device and method that can be realized application synchronization by bluetooth means.
Although do not utilize Bluetooth technology to realize the example of application synchronization at present, the method for Program Synchronization but emerges in an endless stream.The method of existing Program Synchronization lays particular emphasis on the synchronous installation of application program mostly, and application programs synchronously unloads to upgrade with application synchronization and do not provide good solution.
Summary of the invention
The present invention, in order to solve the technical matters of synchronous unloading and the synchronous upgrading can not carrying out application program between existing smart mobile phone and company of handset, provides a kind of application synchronization device and method based on bluetooth that can realize synchronous unloading and synchronous upgrading.
The invention provides a kind of application synchronization device based on bluetooth, comprise trigger element, difference processing unit and Program Synchronization unit, difference processing unit comprises signal analysis subelement, difference program configured list amendment subelement, difference program configured list creates subelement, difference program configured list deletes subelement and detecting unit;
Program Synchronization unit comprises judgment sub-unit, synchronously unloads subelements, synchronously installs subelement, synchronous upgrading subelement and error handle subelement;
Program Synchronization unit comprises judgment sub-unit, synchronously unloads subelements, synchronously installs subelement, synchronous upgrading subelement and error handle subelement;
Trigger element is configured to when the software generation software in the first equipment is newly-increased, software unloads, software upgrading changes, and according to different change transmission establishment trigger pip, deletes trigger pip or amendment trigger pip;
Signal analysis subelement is configured to the trigger pip analyzing trigger element transmission, and establishment trigger pip, deletion trigger pip or amendment trigger pip is forwarded;
Difference program configured list creates after subelement is configured to receive the establishment trigger pip that signal analysis subelement sends, and the configuration information of newly-increased program is write the difference program configured list in the second equipment;
After difference program configured list amendment subelement is configured to the amendment trigger pip of described signal analysis subelement transmission, the basic configuration information of application program corresponding in the difference program configured list in the second equipment is modified;
Difference program configured list is deleted after subelement is configured to receive the deletion trigger pip that signal analysis subelement sends, and deletes corresponding application program in the difference program configured list in the second equipment;
Whether detecting unit is configured to for the list of checkout discrepancy application configuration is empty, if be not empty, sends difference processing signals to described judgment sub-unit;
Judgment sub-unit is configured to receive difference processing signals and sends synchronous unloader signal, synchronous installation signal or synchronous upgrade signal error handle signal;
Synchronously unload subelements to be configured to receive the synchronous unloader signal that sends of judgment sub-unit and the synchronous unloading operation of executive utility;
Synchronous installation subelement is configured to receive the synchronous installation signal that sends of judgment sub-unit and executive utility synchronously installs operation;
Synchronous upgrading subelement is configured to receive the synchronous upgrade signal that sends of judgment sub-unit and the synchronous updating operation of executive utility;
Error handle subelement is configured to receive the error handle signal that sends of judgment sub-unit and perform occur in synchronous processing procedure that the application program of mistake carries out error logging.
The present invention also provides a kind of application synchronization method based on bluetooth, comprises the following steps:
(1) trigger when the software program in the first equipment changes and create or amendment difference program configured list, and obtain the memory location of the title of this software program, version number, state and installation file;
After (2) first equipment and the second equipment are connected by bluetooth, by the second equipment automatic acquisition difference program configured list, and judge whether difference program configured list is empty, if be empty, then do not need synchronously to process, if be not empty, then carry out next step;
(3) automatically carry out synchronous operation to all application programs in difference program configured list at the second equipment, often the data of correspondence are just deleted by a synchronous application program in difference program configured list, until difference program configured list is empty;
Difference program configured list is used to indicate the memory location of the title of one or more application program nonsynchronous in the first equipment and the second equipment, version number, state and installation file, and wherein existence comprises application program to be installed, application program to be unloaded, application program to be upgraded, synchronously installs failed application program, the application program of synchronous dismount failure, synchronously upgrade failed application program and other reasons cause the application program of synchronization failure.
Preferably, application program to be installed is specially installs in the first equipment, the application program of not installing in the second equipment;
Application program to be unloaded is specially in the first equipment unloaded, the application program do not unloaded in the second equipment;
Application program to be upgraded is specially upgrades in the first equipment, the application program of not upgrading in the second equipment.
The invention has the beneficial effects as follows:
(1) parallel processing manner is adopted to different application programs, realize the Auto-mounting of application program, Self-tipping and auto-update simultaneously, realize the Complete Synchronization of the first equipment and the second appliance applications, increase effective utilization of resource.
(2) configuration information of service routine configured list records application program, the all information in related application can be obtained in real time in the first equipment, as directly off-line installation file can be obtained in the first equipment during set up applications, and without the need to networking download again, increase synchronous progress and efficiency.
(3) break the bottleneck that company of handset can only be dialed and receive calls, more enrich function and the interest of company of handset.And the screen of the company of handset with application synchronization function is changeable, if the mobile phone of ordinary screen can be equipped with the company of handset of large-size screen monitors, if large-screen mobile phone then can be equipped with the company of handset of smaller screen, the collocation of size more can meet the many-sided demand of user.
(4) Bluetooth technology is adopted can to realize realizing the synchronous of application program whenever and wherever possible, not by the impact in time, region, space.And Bluetooth technology is low in energy consumption, greatly reduce the extent of injury to human body.
Further aspect of the present invention, by the description of following embodiment, is clearly recorded.
Accompanying drawing explanation
Fig. 1 is the structural representation of the application synchronization device based on bluetooth;
Fig. 2 is the process flow diagram of the application synchronization method based on bluetooth.
Reference numeral illustrates:
10. trigger element; 20. difference processing units; 30. Program Synchronization unit; 21. signal analysis subelements; 22. difference program configured list amendment subelements; 23. difference program configured lists create subelement; 24. difference program configured lists delete subelement; 25. detecting units; 31. judgment sub-unit; 32. synchronously unload subelements; 33. synchronously install subelement; 34. synchronously upgrade subelement; 35. error handle subelements.
Embodiment
The present embodiment, for the Program Synchronization between smart mobile phone and company of handset, is described as the first equipment and the second equipment respectively, and the first equipment and the second equipment are equipped with bluetooth module, and the first equipment is connected communication with the second equipment by bluetooth.
As depicted in figs. 1 and 2, Program Synchronization device comprises trigger element 10, difference processing unit 20 and Program Synchronization unit 30, and this Program Synchronization device can be built in the software unit in the first equipment and/or the second equipment.Difference processing unit 20 comprises signal analysis subelement 21, difference program configured list amendment subelement 22, difference program configured list creates subelement 23, difference program configured list deletes subelement 24 and detecting unit 25.Difference program configured list amendment subelement 22 is connected with signal analysis subelement 21, difference program configured list creates subelement 23 and is connected with signal analysis subelement 21, difference program configured list is deleted subelement 24 and is connected with signal analysis subelement 21, and detecting unit 25 and difference program configured list create subelement 23 and be connected.
Program Synchronization unit 30 comprises judgment sub-unit 31, synchronously unloads subelements 32, synchronous installation subelement 33, synchronous upgrading subelement 34 and error handle subelement 35.Synchronously unload subelements 32 to be connected with judgment sub-unit 31, synchronous subelement 33 of installing is connected with judgment sub-unit 31, and synchronous upgrading subelement 34 is connected with judgment sub-unit 31, and error handle subelement 35 is connected with judgment sub-unit 31.
Judgment sub-unit 31 is connected with detecting unit 25, and trigger element 10 is connected with signal analysis subelement 21.
Trigger element 10, for when software one or more in the first equipment changes, sends dissimilar trigger pip according to the change of software difference.The change of software difference comprises that software is newly-increased, software unloading, software upgrading or other.
Difference processing unit 20, for the described dissimilar trigger pip identifying that trigger element 10 sends, and corresponding operation is carried out to the difference program configured list item in the second equipment, comprise interpolation, amendment, delete, operate the difference processing signals that rear transmission is dissimilar.
Program Synchronization unit 30, for the difference processing signals that Recognition Different processing unit 20 sends, and carries out dissimilar synchronous operation according to difference processing signals, after synchronous operation completes, the respective items in difference program configured list is deleted.
Further specific descriptions, the trigger pip that signal analysis subelement 21 in Recognition Different processing unit 20 sends for analyzing trigger element 10, and dissimilar trigger pip (comprise and create trigger pip, amendment trigger pip and delete trigger pip) is distributed to different subelements operates accordingly.
After difference program configured list establishment subelement 23 receives the establishment trigger pip of signal analysis subelement 21 transmission, by the configuration information of newly-increased program write difference program configured list.
After difference program configured list amendment subelement 22 receives the amendment trigger pip of signal analysis subelement 21 transmission, the basic configuration information of application program corresponding in the difference program configured list in the second equipment is modified.
After difference program configured list deletion subelement 24 receives the deletion trigger pip of signal analysis subelement 21 transmission, delete corresponding application program in the difference program configured list in the second equipment.
Whether detecting unit 25 is empty for the list of checkout discrepancy application configuration, if be empty, then synchronization applications terminates; If be not empty, send difference processing signals to judgment sub-unit 31.
The judgment sub-unit 31 of Program Synchronization unit 30 receives difference processing signals, and which kind of operation judgement application programs should perform, and notifies different subelement.
Synchronously unload subelements 32 and receive the synchronous unloader signal the synchronous unloading operation of executive utility that judgment sub-unit 31 sends, synchronous installation subelement 33 receives synchronous installation signal that judgment sub-unit 31 sends and executive utility synchronously installs operation, synchronous upgrading subelement 34 receives the synchronous upgrade signal the synchronous updating operation of executive utility that judgment sub-unit 31 sends, error handle subelement 35 receives error handle signal that judgment sub-unit 31 sends and performs and occurs in synchronous processing procedure that the application program of mistake carries out error logging, or notify that user carries out respective handling.
Therefore, the application synchronization method based on bluetooth comprises the following steps:
(1) trigger when one or more software program changes in the first equipment and create or amendment difference program configured list, and obtain the memory location of the title of this software program, version number, state and installation file.
After (2) first equipment and the second equipment are connected by bluetooth, by the second equipment automatic acquisition difference program configured list, and judge whether difference program configured list is empty, if be empty, then do not need synchronously to process, if be not empty, then need to carry out next step.
(3) automatically synchronous operation is carried out at the second equipment to all application programs in difference program configured list.Often the data of correspondence are just deleted by a synchronous application program in difference program configured list, until difference program configured list is empty.
Difference program configured list is used to indicate the memory location of the title of one or more application program nonsynchronous in the first equipment and the second equipment, version number, state and installation file.Wherein existence comprises following several: application program to be installed, application program to be unloaded, application program to be upgraded, synchronous application program, the synchronously failed application program of upgrading and the other reasons installing failed application program, synchronously dismount failure cause the application program of synchronization failure.
Application program to be installed is specially installs in the first equipment, the application program of not installing in the second equipment.
Application program to be unloaded is specially in the first equipment unloaded, the application program do not unloaded in the second equipment.
Application program to be upgraded is specially upgrades in the first equipment, the application program of not upgrading in the second equipment.
The above, only to the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Every in claim limited range of the present invention, any amendment made, equivalent replacement, improvement etc., all should within protection scope of the present invention.
Claims (3)
1. the application synchronization device based on bluetooth, it is characterized in that, comprise trigger element, difference processing unit and Program Synchronization unit, described difference processing unit comprises signal analysis subelement, difference program configured list amendment subelement, difference program configured list creates subelement, difference program configured list deletes subelement and detecting unit;
Described Program Synchronization unit comprises judgment sub-unit, synchronously unloads subelements, synchronously installs subelement, synchronous upgrading subelement and error handle subelement;
Described Program Synchronization unit comprises judgment sub-unit, synchronously unloads subelements, synchronously installs subelement, synchronous upgrading subelement and error handle subelement;
Described trigger element is configured to when the software generation software in the first equipment is newly-increased, software unloads, software upgrading changes, and according to different change transmission establishment trigger pip, deletes trigger pip or amendment trigger pip;
Described signal analysis subelement is configured to the trigger pip analyzing the transmission of described trigger element, and establishment trigger pip, deletion trigger pip or amendment trigger pip is forwarded;
Described difference program configured list creates after subelement is configured to receive the establishment trigger pip that described signal analysis subelement sends, and the configuration information of newly-increased program is write the difference program configured list in the second equipment;
Described difference program configured list amendment subelement is modified to the basic configuration information of application program corresponding in the difference program configured list in the second equipment after being configured to receive the amendment trigger pip that described signal analysis subelement sends;
Described difference program configured list is deleted after subelement is configured to receive the deletion trigger pip that described signal analysis subelement sends, and deletes corresponding application program in the difference program configured list in the second equipment;
Whether described detecting unit is configured to for detecting described difference program configured list is empty, if be not empty, sends difference processing signals to described judgment sub-unit;
Described judgment sub-unit is configured to receive described difference processing signals and sends synchronous unloader signal, synchronous installation signal or synchronous upgrade signal error handle signal;
The described subelements that synchronously unloads is configured to receive the synchronous unloader signal the synchronous unloading operation of executive utility that described judgment sub-unit sends;
Described synchronous installation subelement is configured to receive synchronous installation signal that described judgment sub-unit sends and executive utility synchronously installs operation;
Described synchronous upgrading subelement is configured to receive the synchronous upgrade signal the synchronous updating operation of executive utility that described judgment sub-unit sends;
Described error handle subelement is configured to receive error handle signal that described judgment sub-unit sends and performs and occurs in synchronous processing procedure that the application program of mistake carries out error logging.
2., based on an application synchronization method for bluetooth, it is characterized in that, comprise the following steps:
(1) trigger when the software program in the first equipment changes and create or amendment difference program configured list, and obtain the memory location of the title of this software program, version number, state and installation file;
After (2) first equipment and the second equipment are connected by bluetooth, by described second equipment automatic acquisition difference program configured list, and judge whether difference program configured list is empty, if be empty, then do not need synchronously to process, if be not empty, then carry out next step;
(3) automatically carry out synchronous operation to all application programs in difference program configured list at the second equipment, often the data of correspondence are just deleted by a synchronous application program in difference program configured list, until difference program configured list is empty;
Described difference program configured list is used to indicate the memory location of the title of one or more application program nonsynchronous in the first equipment and the second equipment, version number, state and installation file, and wherein existence comprises application program to be installed, application program to be unloaded, application program to be upgraded, synchronously installs failed application program, the application program of synchronous dismount failure, synchronously upgrade failed application program and other reasons cause the application program of synchronization failure.
3. the application synchronization method based on bluetooth according to claim 2, is characterized in that:
Described application program to be installed is specially installs in described first equipment, the application program of not installing in described second equipment;
Described application program to be unloaded is specially in described first equipment unloaded, the application program do not unloaded in described second equipment;
Described application program to be upgraded is specially upgrades in described first equipment, the application program of not upgrading in described second equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510034235.7A CN104572311A (en) | 2015-01-23 | 2015-01-23 | Application program synchronization device and method based on Bluetooth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510034235.7A CN104572311A (en) | 2015-01-23 | 2015-01-23 | Application program synchronization device and method based on Bluetooth |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104572311A true CN104572311A (en) | 2015-04-29 |
Family
ID=53088455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510034235.7A Pending CN104572311A (en) | 2015-01-23 | 2015-01-23 | Application program synchronization device and method based on Bluetooth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104572311A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106250175A (en) * | 2016-07-21 | 2016-12-21 | 广东欧珀移动通信有限公司 | The upgrade method of a kind of application and terminal unit |
CN106355093A (en) * | 2016-10-28 | 2017-01-25 | 努比亚技术有限公司 | Application uninstalling device and method |
CN106610763A (en) * | 2015-10-26 | 2017-05-03 | 阿里巴巴集团控股有限公司 | Method and device for synchronization of user operations across screen |
CN109035622A (en) * | 2018-07-17 | 2018-12-18 | 中国建设银行股份有限公司 | financial plug-in management method and device |
CN109672857A (en) * | 2018-11-14 | 2019-04-23 | 视联动力信息技术股份有限公司 | Monitor the treating method and apparatus of resource |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101662533A (en) * | 2008-08-27 | 2010-03-03 | 深圳富泰宏精密工业有限公司 | Software updating system and method |
CN101739278A (en) * | 2009-12-17 | 2010-06-16 | 中国电力科学研究院 | Enterprise-level application software updating method and system |
US20140026198A1 (en) * | 2012-07-23 | 2014-01-23 | Kabushiki Kaisha Toshiba | Information processing apparatus and control method |
CN103716390A (en) * | 2013-12-25 | 2014-04-09 | 广西大学 | Method and terminal for data sharing |
CN103778022A (en) * | 2014-01-08 | 2014-05-07 | 宇龙计算机通信科技(深圳)有限公司 | Synchronization management method and device for application program |
-
2015
- 2015-01-23 CN CN201510034235.7A patent/CN104572311A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101662533A (en) * | 2008-08-27 | 2010-03-03 | 深圳富泰宏精密工业有限公司 | Software updating system and method |
CN101739278A (en) * | 2009-12-17 | 2010-06-16 | 中国电力科学研究院 | Enterprise-level application software updating method and system |
US20140026198A1 (en) * | 2012-07-23 | 2014-01-23 | Kabushiki Kaisha Toshiba | Information processing apparatus and control method |
CN103716390A (en) * | 2013-12-25 | 2014-04-09 | 广西大学 | Method and terminal for data sharing |
CN103778022A (en) * | 2014-01-08 | 2014-05-07 | 宇龙计算机通信科技(深圳)有限公司 | Synchronization management method and device for application program |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106610763A (en) * | 2015-10-26 | 2017-05-03 | 阿里巴巴集团控股有限公司 | Method and device for synchronization of user operations across screen |
CN106250175A (en) * | 2016-07-21 | 2016-12-21 | 广东欧珀移动通信有限公司 | The upgrade method of a kind of application and terminal unit |
CN106355093A (en) * | 2016-10-28 | 2017-01-25 | 努比亚技术有限公司 | Application uninstalling device and method |
CN106355093B (en) * | 2016-10-28 | 2021-01-05 | 努比亚技术有限公司 | Application uninstalling device and method |
CN109035622A (en) * | 2018-07-17 | 2018-12-18 | 中国建设银行股份有限公司 | financial plug-in management method and device |
CN109672857A (en) * | 2018-11-14 | 2019-04-23 | 视联动力信息技术股份有限公司 | Monitor the treating method and apparatus of resource |
CN109672857B (en) * | 2018-11-14 | 2021-05-14 | 视联动力信息技术股份有限公司 | Information processing method and device for monitoring resources |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104572311A (en) | Application program synchronization device and method based on Bluetooth | |
CN109492073B (en) | Log search method, log search apparatus, and computer-readable storage medium | |
CN106066686B (en) | A kind of information processing method and terminal device | |
CN105511928B (en) | System upgrade device and method | |
CN106502826B (en) | Data backup and transmission method and mobile terminal | |
CN105409160A (en) | System for remotely controlling electronic device and method of operating the same | |
CN103744763A (en) | Mobile terminal synchronous control method of PC (personal computer) end in automated testing | |
CN104407804A (en) | Screen capturing method and screen capturing device as well as electronic device | |
CN105703932A (en) | Log recording and uploading method, log recording and reception method, terminal, and server | |
CN105096230A (en) | Flight notification method and device and flight setting method and device | |
CN112148579A (en) | User interface testing method and device | |
CN106231093A (en) | Alarm clock prompting method and device | |
CN105677517A (en) | Data backup device, terminal and data backup method | |
CN105573757B (en) | The language update method and device of android system | |
CN104424307A (en) | Intelligent terminal application classifying method, system and intelligent terminal, | |
CN106445825B (en) | Debugging method and device | |
CN108200546B (en) | Data reporting method and device, mobile terminal and computer readable medium | |
CN103309664A (en) | Screenshot method, device and equipment | |
CN109144537A (en) | The method, apparatus that mobile terminal and wearable device upgrade automatically | |
CN105279077A (en) | Method and device for automated testing | |
CN107770449B (en) | Continuous shooting method, electronic device and storage medium | |
CN103235728B (en) | The installation method of preset third-party application and device in Android terminal | |
CN105049374A (en) | Method and device for scheduling download task, and mobile terminal | |
CN105138107A (en) | Mobile terminal downloading method and device and mobile terminal | |
CN110225106B (en) | Data transmission method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150429 |
|
WD01 | Invention patent application deemed withdrawn after publication |