CN111290859B - Method for synchronizing initialization attribute of dual-system terminal and terminal - Google Patents
Method for synchronizing initialization attribute of dual-system terminal and terminal Download PDFInfo
- Publication number
- CN111290859B CN111290859B CN201811494243.XA CN201811494243A CN111290859B CN 111290859 B CN111290859 B CN 111290859B CN 201811494243 A CN201811494243 A CN 201811494243A CN 111290859 B CN111290859 B CN 111290859B
- Authority
- CN
- China
- Prior art keywords
- domain
- rootns
- attribute
- initialization
- dual
- 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
Classifications
-
- 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/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Abstract
The application discloses a method for synchronizing initialization attribute of a dual-system terminal, which comprises the following steps: after the root name space (rootns) domain completes initialization, initiating attribute synchronization operation to the virtual phone space (VP) domain; after the VP domain is initialized, notifying the start completion of the VP domain of the rootns domain; the rootns domain again initiates an attribute synchronization operation to the VP domain. The application also provides a corresponding dual-system terminal. By applying the technical scheme disclosed by the application, the reliability of the attribute service of the dual-system terminal can be realized, and the normal use of the terminal is ensured.
Description
Technical Field
The application relates to the technical field of dual-system terminals, in particular to an improved method and terminal for dual-system terminal initialization attribute synchronization.
Background
The Android dual-system terminal comprises a working system and a living system, and can provide various scenes for using the terminal for users. The user data are isolated from each other in the Virtual Phone Space (VP) domain and the Root Name Space (rootns) domain, and have no influence on each other, thus having higher security and reliability.
The attribute service is an important component of the Android system, and provides important process interaction service for related services. The attribute service of the dual system adopts a mode of inter-domain communication to synchronize between the VP domain and the rootns domain.
The existing Android dual-system terminal performs attribute synchronization through inter-domain communication: the VP domain monitors attribute nodes in the rootns through the process, and if the attribute in the rootns domain changes, the latest attribute value is notified to the VP domain.
When the terminal is started and initialized, the condition that the attribute nodes are written in the rootns domain but the VP domain is not started exists. In this case, when the monitoring process of the VP domain starts, the attribute value of the attribute node of the rootns domain is already up to date, and the VP domain is not notified any more, so that the problem that the attribute of the VP domain and the corresponding attribute of the rootns domain are inconsistent is caused.
The inconsistent attribute data may cause unreliable attribute service of the Android dual-system terminal, and further cause that the terminal cannot be used normally, for example: unable to make a call, unable to log on the internet, etc.
Disclosure of Invention
The application provides a method and a terminal for initializing attribute synchronization of a dual-system terminal so as to realize reliability of dual-system terminal attribute service.
The application provides a method for synchronizing initialization attribute of a dual-system terminal, which comprises the following steps:
after the root name space rootns domain completes initialization, initiating attribute synchronization operation to the virtual phone space VP domain;
after the VP domain is initialized, notifying the start completion of the VP domain of the rootns domain;
the rootns domain initiates attribute synchronization operation to the VP domain again according to the notification of the VP domain.
Preferably, after the initialization of the VP domain is completed, the attribute service process VP domain of the rootns domain is notified of the completion of the initialization.
Preferably, the VP domain sends the attribute list concerned by the VP domain to the rootns domain while informing the completion of initialization of the VP domain of the rootns domain.
Preferably, the re-initiating the attribute synchronization operation to the VP domain by the rootns domain according to the notification of the VP domain includes:
after the rootns domain receives the notification of completion of initialization of the VP domain and the attribute list concerned by the VP domain, the attribute in the attribute list concerned by the VP domain is synchronized to the VP domain.
The application also provides a dual-system terminal, which comprises: a rootns domain and a VP domain, wherein:
after the rootns domain completes initialization, initiating attribute synchronization operation to the VP domain;
after the VP domain is initialized, notifying the start completion of the VP domain of the rootns domain;
the rootns domain initiates attribute synchronization operation to the VP domain again according to the notification of the VP domain.
Preferably, after the initialization of the VP domain is completed, the attribute service process VP domain of the rootns domain is notified of the completion of the initialization.
Preferably, the VP domain sends the attribute list concerned by the VP domain to the rootns domain while informing the completion of initialization of the VP domain of the rootns domain.
Preferably, after the rootns domain receives the notification of completion of initialization of the VP domain and the attribute list concerned by the VP domain, the attribute in the attribute list concerned by the VP domain is synchronized to the VP domain.
According to the technical scheme, after the initialization of the VP domain is completed, the notification mechanism of the VP domain to the rootns domain is added, so that the rootns domain is triggered to initiate attribute synchronization operation to the VP domain again, the consistency of attribute data of the VP domain and the rootns domain is ensured, the attribute value of the VP domain is correctly acquired when the Android dual-system terminal is started and initialized, the reliability of dual-system terminal attribute service is realized, and the normal use of the terminal is ensured.
Drawings
FIG. 1 is a flow chart of a conventional initialization method of a dual system terminal;
FIG. 2 is a flow chart of an initializing method of a dual system terminal according to the present application;
FIG. 3 is a flow chart illustrating an initialization method of a dual system terminal according to an embodiment of the present application;
fig. 4 is a schematic diagram of the composition structure of the dual system terminal of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below by referring to the accompanying drawings and examples.
FIG. 1 is a schematic flow chart of an existing initialization method of a dual-system terminal, in the flow chart, a VP domain monitors attribute nodes in rootns through an attribute service process, and if attributes in the rootns domain change, the latest attribute value is notified to the VP domain; similarly, the rootns domain monitors attribute nodes in the VP domain through an attribute service process, and if the attribute in the VP domain changes, the latest attribute value is notified to the rootns domain.
In order to solve the problem that the attribute service of the existing dual-system terminal is unreliable, the initialized attribute synchronization process is split, so that the condition that the whole service is influenced by primary synchronization failure is avoided. After the VP domain starts, the attribute service process of the rootns domain is notified, and then the rootns domain resynchronizes the attributes required by the VP domain.
Fig. 2 is a schematic flow chart of an initializing method of a dual system terminal according to the present application, and the flow modification of the dual system terminal during initialization according to the present application is as follows:
step 1: after the rootns domain completes initialization, an attribute synchronization operation is initiated to the VP domain.
Step 2: after the VP domain is initialized, the attribute service process VP domain of the rootns domain is notified to start up.
Step 3: the rootns domain initiates attribute synchronization operation to the VP domain again according to the notification of the VP domain.
By the method provided by the application, the reliability of the attribute synchronization content of the VP domain and the rootns domain of the dual-system terminal can be ensured.
The technical scheme of the application is further described in detail by a preferred embodiment:
when the dual-system terminal is initialized, the initialization of the rootns domain is earlier than that of the VP domain, and the reliability of the attribute service of the dual-system terminal is realized by adopting a flow shown in FIG. 3:
1) And respectively carrying out an initialization flow by the rootns domain and the VP domain.
2) After the rootns domain completes initialization, an attribute synchronization operation is initiated. At this time, the rootns domain does not care whether the initialization of the VP domain is complete.
3) After the VP domain finishes initialization, the rootns domain is informed of the completion of startup, and meanwhile, the attribute list concerned by the VP domain is sent to the rootns domain.
4) After the rootns domain receives the notification of completion of initialization of the VP domain, the attribute in the attribute list concerned by the VP domain is synchronized to the VP domain, and the VP domain reads the attribute list acquired from the rootns domain, so that the reliability of the attribute synchronization content of the rootns domain and the VP domain is ensured.
Corresponding to the method, the application also provides a dual-system terminal, the composition structure of which is shown in fig. 4, comprising: a rootns domain and a VP domain, wherein:
after the rootns domain completes initialization, initiating attribute synchronization operation to the VP domain;
after the VP domain is initialized, notifying the start completion of the VP domain of the rootns domain;
the rootns domain initiates attribute synchronization operation to the VP domain again according to the notification of the VP domain.
Preferably, after the initialization of the VP domain is completed, the attribute service process VP domain of the rootns domain is notified of the completion of the initialization.
Preferably, the VP domain sends the attribute list concerned by the VP domain to the rootns domain while informing the completion of initialization of the VP domain of the rootns domain.
Preferably, after the rootns domain receives the notification of completion of initialization of the VP domain and the attribute list concerned by the VP domain, the attribute in the attribute list concerned by the VP domain is synchronized to the VP domain.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the application.
Claims (4)
1. A method for initializing attribute synchronization of a dual-system terminal is provided, wherein the dual-system terminal is as follows: install intelligent terminal of two android operating systems, its characterized in that includes:
after the root name space rootns domain completes initialization, initiating attribute synchronization operation to the virtual phone space VP domain;
after the VP domain finishes initialization, notifying the start-up completion of the VP domain of the rootns domain, and sending an attribute list concerned by the VP domain to the rootns domain;
the rootns domain initiates attribute synchronization operation to the VP domain again according to the notice of the VP domain, and specifically comprises the following steps: after the rootns domain receives the notification of completion of the VP domain startup and the attribute list concerned by the VP domain, the attribute in the attribute list concerned by the VP domain is synchronized to the VP domain.
2. The method according to claim 1, characterized in that:
after the VP domain finishes initialization, the attribute service process VP domain of the rootns domain is notified of the completion of initialization.
3. A dual system terminal, the dual system terminal being: install intelligent terminal of two android operating systems, its characterized in that includes: a rootns domain and a VP domain, wherein:
after the rootns domain completes initialization, initiating attribute synchronization operation to the VP domain;
after the VP domain finishes initialization, notifying the start-up completion of the VP domain of the rootns domain, and sending an attribute list concerned by the VP domain to the rootns domain;
after the rootns domain receives the notification of completion of the VP domain startup and the attribute list concerned by the VP domain, the attribute in the attribute list concerned by the VP domain is synchronized to the VP domain.
4. A dual system terminal according to claim 3, characterized in that:
after the VP domain finishes initialization, the attribute service process VP domain of the rootns domain is notified of the completion of initialization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811494243.XA CN111290859B (en) | 2018-12-07 | 2018-12-07 | Method for synchronizing initialization attribute of dual-system terminal and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811494243.XA CN111290859B (en) | 2018-12-07 | 2018-12-07 | Method for synchronizing initialization attribute of dual-system terminal and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111290859A CN111290859A (en) | 2020-06-16 |
CN111290859B true CN111290859B (en) | 2023-08-18 |
Family
ID=71022051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811494243.XA Active CN111290859B (en) | 2018-12-07 | 2018-12-07 | Method for synchronizing initialization attribute of dual-system terminal and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111290859B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114201221B (en) * | 2020-09-02 | 2023-03-21 | 成都鼎桥通信技术有限公司 | System closing method, equipment and storage medium based on dual systems |
CN114168203B (en) * | 2020-09-10 | 2024-02-13 | 成都鼎桥通信技术有限公司 | Dual-system running state control method and device and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461749A (en) * | 2014-12-30 | 2015-03-25 | 宇龙计算机通信科技(深圳)有限公司 | Application program synchronization method and device of multi-system terminal and terminal |
CN104461621A (en) * | 2014-11-28 | 2015-03-25 | 青岛海信宽带多媒体技术有限公司 | Attribute information updating method and device |
CN104462958A (en) * | 2014-11-06 | 2015-03-25 | 东莞宇龙通信科技有限公司 | Intersystem switching method and device of terminal |
CN106055348A (en) * | 2016-05-19 | 2016-10-26 | 青岛海信电器股份有限公司 | Method and device for informing system attribute updating |
CN106776062A (en) * | 2016-11-29 | 2017-05-31 | 北京元心科技有限公司 | Multi-system contact person attribute information synchronization method and device |
CN106911846A (en) * | 2017-02-21 | 2017-06-30 | 广州视源电子科技股份有限公司 | Dual system termi-nal and its control method |
CN108182129A (en) * | 2018-01-24 | 2018-06-19 | 杭州字节信息技术有限公司 | A kind of digital evidence obtaining system and method based on mobile terminal mirror image restoring data information |
CN108228215A (en) * | 2018-01-02 | 2018-06-29 | 青岛海信移动通信技术股份有限公司 | The method for pushing and device of the OTA upgrade package of terminal device |
CN108390989A (en) * | 2018-01-05 | 2018-08-10 | 郑州信大捷安信息技术股份有限公司 | Synchronous method is notified between a kind of system based on Android dual systems |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9473555B2 (en) * | 2012-12-31 | 2016-10-18 | The Nielsen Company (Us), Llc | Apparatus, system and methods for portable device tracking using temporary privileged access |
-
2018
- 2018-12-07 CN CN201811494243.XA patent/CN111290859B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462958A (en) * | 2014-11-06 | 2015-03-25 | 东莞宇龙通信科技有限公司 | Intersystem switching method and device of terminal |
CN104461621A (en) * | 2014-11-28 | 2015-03-25 | 青岛海信宽带多媒体技术有限公司 | Attribute information updating method and device |
CN104461749A (en) * | 2014-12-30 | 2015-03-25 | 宇龙计算机通信科技(深圳)有限公司 | Application program synchronization method and device of multi-system terminal and terminal |
CN106055348A (en) * | 2016-05-19 | 2016-10-26 | 青岛海信电器股份有限公司 | Method and device for informing system attribute updating |
CN106776062A (en) * | 2016-11-29 | 2017-05-31 | 北京元心科技有限公司 | Multi-system contact person attribute information synchronization method and device |
CN106911846A (en) * | 2017-02-21 | 2017-06-30 | 广州视源电子科技股份有限公司 | Dual system termi-nal and its control method |
CN108228215A (en) * | 2018-01-02 | 2018-06-29 | 青岛海信移动通信技术股份有限公司 | The method for pushing and device of the OTA upgrade package of terminal device |
CN108390989A (en) * | 2018-01-05 | 2018-08-10 | 郑州信大捷安信息技术股份有限公司 | Synchronous method is notified between a kind of system based on Android dual systems |
CN108182129A (en) * | 2018-01-24 | 2018-06-19 | 杭州字节信息技术有限公司 | A kind of digital evidence obtaining system and method based on mobile terminal mirror image restoring data information |
Non-Patent Citations (1)
Title |
---|
Android平台多系统隔离安全机制;张知皦 等;《清华大学学报(自然科学版)》;第54卷(第12期);1517-1521 * |
Also Published As
Publication number | Publication date |
---|---|
CN111290859A (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022036901A1 (en) | Implementation method and apparatus for redis replica set | |
CN103491055A (en) | Method for synchronizing information among clients, clients and server | |
JP2005216313A (en) | System and method for session reestablishment between client terminal and server | |
CN111290859B (en) | Method for synchronizing initialization attribute of dual-system terminal and terminal | |
CN105787707A (en) | Automatic Discovery Of Alternate Mailboxes | |
CN111045745A (en) | Method and system for managing configuration information | |
EP2323453A1 (en) | Method, device and system for executing synchronization | |
CN113905005A (en) | Client state updating method and device for instant messaging | |
CN112363845A (en) | Data synchronization method of system integration middling station and integration middling station system | |
US20120324279A1 (en) | Method and Apparatus of Backing up Subversion Repository | |
CN102594874B (en) | Synchronization processing method and device | |
CN107623581B (en) | Service list generation method, device and system, and acquisition and reporting method and device | |
CN108173665B (en) | Data backup method and device | |
CN112003943A (en) | Voice data synchronization method and device | |
CN107786350B (en) | Method and device for restoring factory configuration of network equipment and network equipment | |
CN110109772A (en) | A kind of method for restarting of CPU, communication equipment and readable storage medium storing program for executing | |
KR100548329B1 (en) | Procedure execution method for wireless protocol | |
US10795747B2 (en) | File synchronizing service status monitoring and error handling | |
CN102073523A (en) | Method and device for implementing software version synchronization | |
CN111061745A (en) | Data synchronization system and method | |
CN109669642B (en) | Node joining method, system and device of storage system and readable storage medium | |
CN110990360A (en) | File synchronization method based on network storage device and related components | |
CN107087021B (en) | Master-slave server determination method and device | |
CN109947592B (en) | Data synchronization method, device and related equipment | |
JP2017034610A (en) | Call processing device, session recovery method and call processing server program |
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 |