CN108390989B - Inter-system notification synchronization method based on Android dual systems - Google Patents
Inter-system notification synchronization method based on Android dual systems Download PDFInfo
- Publication number
- CN108390989B CN108390989B CN201810010095.3A CN201810010095A CN108390989B CN 108390989 B CN108390989 B CN 108390989B CN 201810010095 A CN201810010095 A CN 201810010095A CN 108390989 B CN108390989 B CN 108390989B
- Authority
- CN
- China
- Prior art keywords
- synchronous
- android
- notification
- module
- systems
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000009977 dual effect Effects 0.000 title claims abstract description 25
- 230000001360 synchronised effect Effects 0.000 claims abstract description 78
- 238000004891 communication Methods 0.000 claims abstract description 21
- 238000003672 processing method Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides an inter-system notification synchronization method based on Android dual systems, which comprises a first Android system and a second Android system, wherein each Android system is preset with a synchronization sending module, a synchronization canceling module and a synchronization receiving module; respectively adding the synchronous sending module, the synchronous canceling module and the synchronous receiving module into notification management modules of respective Android systems; when the synchronous notification message is sent, the synchronous sending module calls an interface of the communication service between the Android systems to inform the synchronous notification message to the other Android system; when the synchronous notification message is canceled from being sent, the synchronous cancellation module calls an interface of the communication service between the Android systems to notify the synchronous notification message to the other Android system; and when receiving the synchronous notification message, the synchronous receiving module calls an interface of the communication service between the Android systems to receive the synchronous notification message from another Android system.
Description
Technical Field
The invention relates to the field of dual systems and Android, in particular to an inter-system notification synchronization method based on Android dual systems.
Background
With the wide use of smart phones, the smart phone with the Android platform becomes a choice of more and more people due to the superiority, convenience and cost performance of the platform. With the rapid development of the mobile internet, convenient mobile office modes, electronic commerce, internet banking transactions, online shopping, mobile phone taxi taking and new media social contact become more and more popular. The mobile applications bring great convenience to users, but have potential safety hazards while bringing convenience, and threaten the safety of personal information, funds and the like of the users, so that the situation that some users often see that one mobile phone works and one mobile phone lives is generated, but the two mobile phones are used at the same time, which is very troublesome, and the requirement of the Android dual-system mobile phone is met.
The Android dual-system mobile phone is characterized in that two independent Android systems run on one mobile phone. The user can use one system for work and the other system for life according to the self requirement; it is also possible to use one system for purposes that require higher privacy, security and another system for everyday mobile life. However, the birth of the Android dual-system mobile phone also causes a problem that when a user uses the current system, a system is always positioned in the background, the background system works normally, but events occurring during the working period are completely unknown by the user, such as short messages, calls, or WeChat messages of the background system. When a user wants to use a foreground system, on the premise of protecting the privacy of the user, the user knows important messages from the background system to a certain extent, the notification messages serve as the most important and most convenient user message reminding modes which are consistently adopted by mobile phones of various platforms at present, the notification in the background system is synchronously sent to the foreground system through the difference of the privacy degree and the detail degree of the message demands of the user on different application programs, the effect of reminding the user is achieved, and the effect of protecting the privacy of the user can be achieved. Thus, the need for synchronization of notification between systems of Android dual systems arises.
In order to solve the above-mentioned safety problem, a safety solution has been sought.
Disclosure of Invention
The invention aims to solve the problems that when a user uses a foreground system, the user cannot acquire important information located in the background system according to the requirement of the user and synchronizes background system information expected to be known by the user to the foreground system in a notification mode, and provides the method for synchronizing the notifications among the systems based on the Android dual system, which is suitable for any platform Android dual system, does not need third-party adaptation, has less source code modification, is easy to customize and develop, is easy to maintain and use.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a method for synchronizing notification among systems based on Android dual systems comprises a first Android system and a second Android system, wherein each Android system is preset with a synchronous sending module, a synchronous cancelling module and a synchronous receiving module;
respectively adding the synchronous sending module, the synchronous canceling module and the synchronous receiving module into notification management modules of respective Android systems;
when the synchronous notification message is sent, the synchronous sending module calls an interface of the communication service between the Android systems to inform the synchronous notification message to the other Android system;
when the synchronous notification message is canceled from being sent, the synchronous cancellation module calls an interface of the communication service between the Android systems to notify the synchronous notification message to the other Android system;
and when receiving the synchronous notification message, the synchronous receiving module calls an interface of the communication service between the Android systems to receive the synchronous notification message from another Android system.
Based on the above, the Android inter-system communication service conforms to the rule of the native notification message of the Android system;
the content of the synchronous notification message comprises synchronous notification for notifying original content, synchronous notification for displaying notification basic content, synchronous notification for unifying content of reminding functions, and non-synchronous notification without any reminding.
Based on the above, the synchronous sending module is a synchronous notification message sending process, and the Android system notification management module is called when sending a notification.
Based on the above, the synchronization canceling module is a synchronization notification message canceling process, and the Android system notification management module is called when a cancellation notification is sent.
Based on the above, after receiving the sending content, the synchronization receiving module invokes a corresponding native notification processing method according to different notification synchronization methods.
Based on the above, the first Android system and the second Android system are any platform and any version of Android system.
Based on the above, the Android dual system is an Android dual system with any scheme.
Compared with the prior art, the invention has prominent substantive characteristics and remarkable progress, in particular:
(1) by using the method, the user can select the receiving mode of the synchronous notification according to the self requirement in a customized manner, and does not need to purchase two Android mobile phones or pay attention to the dynamic state of the two systems all the time, and the two systems are switched back and forth, so that the user does not need to worry about the fact that the privacy of the user is revealed. Meanwhile, the development and maintenance cost of the Android dual system is reduced, and after the mobile phone with the method for synchronizing the notification between the Android dual system and the system is used, the important messages of the two systems can be known conveniently at the same time without worrying about the leakage of the private information. (ii) a
(2) By adding the synchronous notification method on the basis of the Android system native notification process, the content of the synchronous notification conforms to the content rule of the Android native notification, the number of the synchronous notifications can be increased or decreased according to the customized application requirements of the user, and the notification message is displayed or a forged notification message is displayed, so that the security of the privacy of the user is protected, and the convenience of the user in obtaining the notification is also ensured. The method and the system are used for sending, canceling and displaying the notification based on the native notification system rule of the Android system, and forwarding the notification message through the inter-system communication service rule of the Android dual system, so that the method and the system have a wide application range in use, and related module rules of synchronous notification are simple, easy to develop, maintain and transplant, and have a certain economic value. Important information which the user needs to know is displayed through the customization requirement of the user, so that the privacy of the user information is protected, and the convenience in use of the user is realized. .
Drawings
FIG. 1 is a flow chart of the operation of the system of the present invention.
Fig. 2 is a flow chart of sending a synchronization message of the synchronization sending module according to the present invention.
Fig. 3 is a synchronization message cancellation flow diagram of the synchronization cancellation module of the present invention.
Fig. 4 is a flow chart of the synchronization message reception of the synchronization reception module according to the present invention.
Detailed Description
The technical solution of the present invention is further described in detail by the following embodiments.
As shown in fig. 1, an inter-system notification synchronization method based on Android dual systems includes a first Android system and a second Android system, where each Android system is preset with a synchronization sending module, a synchronization cancelling module, and a synchronization receiving module;
respectively adding the synchronous sending module, the synchronous canceling module and the synchronous receiving module into notification management modules of respective Android systems;
when the synchronous notification message is sent, the synchronous sending module calls an interface of the communication service between the Android systems to inform the synchronous notification message to the other Android system;
when the synchronous notification message is canceled from being sent, the synchronous cancellation module calls an interface of the communication service between the Android systems to notify the synchronous notification message to the other Android system;
and when receiving the synchronous notification message, the synchronous receiving module calls an interface of the communication service between the Android systems to receive the synchronous notification message from another Android system.
In other embodiments, the Android inter-system communication service conforms to the Android system native notification message rules; the service has higher real-time performance, can transmit a certain format and a certain amount of data, and has a data sending and receiving method.
In other embodiments, the content of the synchronization notification message includes a synchronization notification notifying original content, a synchronization notification showing notification basic content, a synchronization notification of unified content for reminder function, and a non-synchronization notification without any reminder.
In specific implementation, as shown in fig. 2, the synchronous sending module is a synchronous notification message sending process, and the Android system notification management module is called when sending a notification. And when synchronous sending is carried out, sending is carried out according to the rule of the inter-system communication service of the Android dual system, and the sending content conforms to the uniform format of data sending of the inter-system communication service of the Android dual system and comprises the rule of conforming to the Android native notification content.
As shown in fig. 3, the synchronization canceling module is a synchronization notification message canceling process, and is called when the Android system notification management module sends a cancel notification. The synchronization canceling method is used for sending according to the rule of the inter-system communication service of the Android dual system, and the sending content conforms to the uniform format of data sending of the inter-system communication service of the Android dual system and comprises the rule of conforming to the Android native notification content.
As shown in fig. 4, the synchronization receiving module is a synchronization message receiving process, and calls a corresponding native notification processing method after another Android system receives the sent content according to the inter-system communication service rule of the Android dual system.
The first Android system and the second Android system are Android systems of any platform and any version. The Android dual system is an Android dual system with any scheme.
Finally, it should be noted that the above examples are only used to illustrate the technical solutions of the present invention and not to limit the same; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art will understand that: modifications to the specific embodiments of the invention or equivalent substitutions for parts of the technical features may be made; without departing from the spirit of the present invention, it is intended to cover all aspects of the invention as defined by the appended claims.
Claims (3)
1. An inter-system notification synchronization method based on Android dual systems is characterized in that: the system comprises a first Android system and a second Android system, wherein each Android system is preset with a synchronous sending module, a synchronous cancelling module and a synchronous receiving module;
respectively adding the synchronous sending module, the synchronous canceling module and the synchronous receiving module into notification management modules of respective Android systems;
when the synchronous notification message is sent, the synchronous sending module calls an interface of the communication service between the Android systems to inform the synchronous notification message to the other Android system;
when the synchronous notification message is canceled from being sent, the synchronous cancellation module calls an interface of the communication service between the Android systems to notify the synchronous notification message to the other Android system;
when receiving the synchronous notification message, the synchronous receiving module calls an interface of the communication service between the Android systems to receive the synchronous notification message from another Android system;
the communication service between the Android systems conforms to the rule of native notification messages of the Android systems;
the content of the synchronous notification message comprises synchronous notification for notifying original content, synchronous notification for displaying notification basic content, synchronous notification for unifying content of a reminding function, and non-synchronous notification without any reminding;
the synchronous sending module is a synchronous notification message sending process, and is called when the Android system notification management module sends a notification to be sent;
the synchronization canceling module is a synchronization notification message canceling flow and is called when the Android system notification management module sends a cancellation notification;
and after receiving the sending content, the synchronous receiving module calls a corresponding native notification processing method according to different notification synchronous methods.
2. The Android dual-system-based intersystem notification synchronization method of claim 1, wherein: the first Android system and the second Android system are Android systems of any platform and any version.
3. The Android dual-system-based intersystem notification synchronization method of claim 1, wherein: the Android dual system is an Android dual system with any scheme.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810010095.3A CN108390989B (en) | 2018-01-05 | 2018-01-05 | Inter-system notification synchronization method based on Android dual systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810010095.3A CN108390989B (en) | 2018-01-05 | 2018-01-05 | Inter-system notification synchronization method based on Android dual systems |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108390989A CN108390989A (en) | 2018-08-10 |
CN108390989B true CN108390989B (en) | 2021-08-27 |
Family
ID=63076931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810010095.3A Active CN108390989B (en) | 2018-01-05 | 2018-01-05 | Inter-system notification synchronization method based on Android dual systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108390989B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111290859B (en) * | 2018-12-07 | 2023-08-18 | 成都鼎桥通信技术有限公司 | Method for synchronizing initialization attribute of dual-system terminal and terminal |
CN113055272B (en) * | 2019-12-27 | 2023-03-24 | 成都鼎桥通信技术有限公司 | Message reminding method and device based on dual systems and terminal equipment |
CN114416239B (en) * | 2021-12-30 | 2023-08-22 | 麒麟软件有限公司 | Method for rapidly displaying Android application message notification on Linux system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753611B (en) * | 2008-12-16 | 2012-12-12 | 华为技术有限公司 | Method and device for canceling synchronization |
CN104427105A (en) * | 2013-08-28 | 2015-03-18 | 中兴通讯股份有限公司 | Data synchronism method, device, and terminal in dual system |
CN104270524A (en) * | 2014-09-28 | 2015-01-07 | 酷派软件技术(深圳)有限公司 | Information processing method and device |
CN104580734A (en) * | 2015-01-20 | 2015-04-29 | 宇龙计算机通信科技(深圳)有限公司 | Data synchronization method, data synchronization system and terminal of multi-system equipment |
CN106503502B (en) * | 2016-10-13 | 2020-08-25 | 北京珠穆朗玛移动通信有限公司 | Notification message processing method based on dual systems and mobile terminal thereof |
CN107193662A (en) * | 2017-05-18 | 2017-09-22 | 北京珠穆朗玛移动通信有限公司 | A kind of information synchronization method and mobile terminal based on dual system |
-
2018
- 2018-01-05 CN CN201810010095.3A patent/CN108390989B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108390989A (en) | 2018-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108390989B (en) | Inter-system notification synchronization method based on Android dual systems | |
USRE49289E1 (en) | Method and mobile terminal for processing data in message | |
US9094492B2 (en) | Cooperative tablet computer and mobile communicator | |
EP2073517A1 (en) | Display of call context information such as appointments with or communication history related to the other party | |
US20220200940A1 (en) | Information interaction method and apparatus, server, system and storage medium | |
US20090161845A1 (en) | Enhanced phone call context information | |
CN111523095A (en) | Cross-device interaction method and terminal device | |
CN109525486A (en) | Conversation message loading method, device, electronic equipment and the medium of instant messaging | |
CN104717131A (en) | Information interaction method and server | |
US11294557B2 (en) | Team configuration method, and method and apparatus for sharing team configuration solution | |
CN105472156A (en) | Incoming call reminding method and device | |
JP2023522471A (en) | Information interaction method, device, server, system and storage medium | |
CN112269770A (en) | Document sharing method, device and system and electronic equipment | |
JP2015530049A (en) | Method and apparatus for processing communication service with common account | |
US9674238B2 (en) | Mobile content collaboration with one click multimedia capability | |
CA2629737C (en) | Cordless telephone system with ip network application | |
CN104796871A (en) | Instant message service processing method, device and system | |
CN115550003A (en) | Data transmission method, device and system | |
CN116016418B (en) | Information interaction method and electronic equipment | |
CN104967754A (en) | Multi-intelligent terminal communication connection control method and multi-intelligent terminal communication connection control system | |
WO2024037409A1 (en) | Positioning message transmission methods, terminal and network side device | |
CN110557752B (en) | Information protection method, information protection device, electronic equipment and computer readable medium | |
CN112202701B (en) | Data processing method, device, server, terminal, system and storage medium | |
CN115550497B (en) | Message collaboration method and device | |
CN111786874B (en) | Caller identification method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A notification synchronization method between systems based on Android dual systems Granted publication date: 20210827 Pledgee: Bank of Zhengzhou Co.,Ltd. Zhongyuan Science and Technology City Sub branch Pledgor: ZHENGZHOU XINDA JIEAN INFORMATION TECHNOLOGY Co.,Ltd. Registration number: Y2024980007004 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |