Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, a "terminal" as used herein includes both devices having a wireless signal receiver, which are devices having only a wireless signal receiver without transmit capability, and devices having receive and transmit hardware, which have devices having receive and transmit hardware capable of two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
In the embodiment of the invention, the container system is an operation system interacting with a user, and the main control system is a system for controlling the container system and providing services for the container system. When the first container system receives a setting instruction aiming at the global configuration project, updating the information of the corresponding global configuration project in the first container system according to the information of the global configuration project in the setting instruction, and generating a corresponding setting request to be sent through a container channel; the master control system updates the information of the corresponding global configuration item pre-stored in the master control system according to the information of the global configuration item in the received setting request, generates a corresponding configuration updating notification and sends the configuration updating notification through a container channel; and the other container systems update the information of the corresponding global configuration items in the other container systems according to the information of the global configuration items in the received configuration update notification. Therefore, in the embodiment of the present invention, the first container system that receives the setting instruction for the global configuration item updates the information of the corresponding global configuration item in the system; and the information of the global configuration items pre-stored in the master control system is also updated, and other container systems are enabled to update the information of the corresponding global configuration items through the master control system. The aim or intention of updating the corresponding global configuration items of all the container systems of the terminal equipment can be realized by inputting a setting instruction aiming at any container system in the terminal equipment by a user; the whole synchronous updating process is automatically executed without user intervention, so that the manual operation steps of a user are greatly reduced, the probability that a certain container system omits the updating of the global configuration project is greatly reduced, and the user experience can be improved.
The technical solution of the embodiments of the present invention is specifically described below with reference to the accompanying drawings.
A frame schematic diagram of an internal structure of a terminal device according to an embodiment of the present invention is shown in fig. 1, and includes: a master control system and more than two container systems.
Wherein the two or more container systems may include a first container system, a second container system, …, an Nth container system. N is a positive integer greater than 2.
The container system in the embodiment of the present invention is an operating system provided in a container created by the Linux container virtualization technology. The operating system may be a Linux operating system or a Unix operating system in a conventional sense, or an operating system derived from the Linux operating system, such as an Android system, or a Windows system based on a Windows platform, or the like. In fact, the container system of the present invention is not limited to the aforementioned exemplary operating systems, and may cover all operating systems capable of operating in a container. For convenience of description, the technical solution of the present invention is described below by taking an Android system as a container system as an example.
Preferably, the main control system may be the above operating system, or may be an operating system obtained by modifying a conventional kernel and/or adding a function module outside the kernel (for example, a framework layer and an application layer).
The main control system is mainly used for starting/closing a plurality of container systems, managing foreground and background, interacting with each container system, and the like, and specific functions will be detailed in the following, and are not described herein again.
Preferably, the master control system may communicate with the container system through a container channel. Further, the container channel may be a socket channel. A container system sends a container channel creation request to a master control system; after receiving the request of the container system, the main control system creates a socket file and a pair of descriptors (socket pair) of the socket file, and names the pair of descriptors; registering the pair of descriptors and the Name thereof in NSS (Domain Space Server) virtual equipment of a master control system; returning the name of one descriptor in the pair of descriptors which are successfully registered to the container system; after the container system acquires the corresponding descriptor from the NSS virtual device according to the name of the descriptor, the container system can communicate with a master control system having another descriptor of the socket file through the descriptor.
In the terminal device of the embodiment of the present invention, the technical solution of the embodiment of the present invention is applied between a plurality of container systems or between any two container systems.
Preferably, in the embodiment of the present invention, a container system that can currently interact with a user (usually in the foreground) is referred to as a first container system; container systems that are currently temporarily unable to interact with a user (typically in the background) are all referred to as other container systems.
In the embodiment of the invention, each container system is provided with a configuration service and a configuration deliverer. The configuration service is located at the application layer, and is mainly used for forwarding a setting instruction and a query instruction of the global configuration item to the configuration delivery device, receiving a configuration update notification sent by the configuration delivery device, updating information of the corresponding global configuration item of the container system where the configuration delivery device is located, and the like. The configuration delivering device is located at a native (local) layer, and is mainly used for caching and synchronizing global configuration items and information maintained by the master control system, and providing setting, query services and the like of the global configuration items and information for the configuration service, and specific functions will be detailed in the following, and are not described herein again.
In the embodiment of the invention, the master control system stores the global configuration items related to all container systems and the information of the global configuration items in advance.
The global configuration items may include at least one of: running mode, contextual mode, screen bright time and time zone.
The operation modes may include: normal mode, flight mode, power saving mode, do not disturb mode and night eye protection mode, etc. For example, the information of the flight mode includes that all network functions of the terminal device are to be turned off; the information of the do-not-disturb mode includes a ring tone, a warning tone, and a vibration to be masked except for an alarm clock; the information of the night eye-protecting mode includes reducing the screen brightness below a set brightness value, and the like.
The scene mode includes: a general scene mode, a conference mode, a sleep mode, an offline mode, an outdoor mode, a home mode, and a vehicle-mounted mode, etc. For example, the information of the general scene mode includes the kinds and volumes of incoming calls, information, notifications, multimedia, and ring tones or alert tones of alarm clocks; the information of the conference mode comprises various rings or prompt tones which are set to be mute and start to vibrate; the outdoor mode includes setting various ring tones or alert tones to ring and turning on vibration, etc.
The embodiment of the invention provides a global configuration synchronization method for a starting stage of a multi-container system.
Specifically, after the master control system is started, at least two pre-designated container systems including the first container system and other container systems, and their respective configuration deliverers and configuration services are started. Preferably, at least two pre-designated container systems including the first container system and the other container systems, for each of the at least two container systems, the master control system starting a configuration deliverer in the container system; after the configuration deliverer in the container system is started, the configuration service in the container system is started.
For each container system in at least two container systems, after a configuration deliverer of the container system is started, a configuration information cache region of the container system is created, and after information of global configuration items stored in a main control system in advance is acquired through a container channel, the configuration information cache region is temporarily stored in the created configuration information cache region.
After the configuration service of the container system is started, setting the corresponding global configuration item of the container system according to the information of the global configuration item in the configuration information cache region of the container system.
It is easy to see that, in the embodiment of the present invention, during the starting process of each container system, the information of the respective global configuration items is uniformly updated according to the global configuration items and the information pre-stored in the master control system. So that the information of the global configuration items of the container systems is synchronized to a consistent state.
In a process of a plurality of container systems being in a running state after being started, an embodiment of the present invention provides a method for globally configuring a running state of a plurality of container systems, where a flow diagram of the method is shown in fig. 2, and the method includes the following steps:
s201: and when the first container system receives a setting instruction aiming at the global configuration item, updating the information of the corresponding global configuration item in the first container system according to the information of the global configuration item in the setting instruction, and generating a corresponding setting request to be sent through a container channel.
The global configuration items may include at least one of: running mode, contextual mode, screen bright time and time zone. The operation modes may include: normal mode, flight mode, power saving mode, do not disturb mode and night eye protection mode, etc. The scene mode includes: a general scene mode, a conference mode, a sleep mode, an offline mode, an outdoor mode, a home mode, and a vehicle-mounted mode, etc. For example, the information of the general scene mode includes the kinds and volumes of incoming calls, information, notifications, multimedia, and ring tones or alert tones of alarm clocks; the information of the conference mode comprises various rings or prompt tones which are set to be mute and start to vibrate; the outdoor mode includes setting various ring tones or alert tones to ring and turning on vibration, etc.
The first container system may receive a setting instruction of a user for the global configuration item through various methods.
A method for receiving a setting instruction for a global configuration item comprises the following steps: the first container system displays the global configuration item; after receiving the selection operation of a user for the global configuration item, displaying a user-defined information input box of the global configuration item; and receiving information input by a user aiming at the global configuration item through the user-defined information input box, and confirming that a setting instruction aiming at the global configuration item is received, wherein the setting instruction carries the information of the global configuration item input by the user.
Another method for receiving a setting instruction for a global configuration item includes: the first container system displays the global configuration item and at least one piece of information to be selected; and when receiving a selection operation of a user for one piece of information to be selected of the global configuration item, confirming that a setting instruction for the global configuration item is received, wherein the setting instruction carries the information of the global configuration item selected by the user.
The first container system searches a global configuration item consistent with the global configuration item in the setting instruction from at least one global configuration item prestored in the first container system according to the global configuration item in the received setting instruction and information thereof; and replacing the searched information of the global configuration item with the information of the global configuration item in the setting instruction, or modifying the searched information of the global configuration item to be consistent with the information of the global configuration item in the setting instruction.
The first container system generates a corresponding setting request according to the received setting instruction; and carrying the global configuration items and the information thereof in the setting instruction in the setting request, and then sending the setting request to the master control system through the container channel.
Preferably, when the first configuration service in the first container system receives the setting instruction for the global configuration item, the setting instruction is sent to the first configuration delivering device in the first container system.
And the first configuration delivering device updates the information of the corresponding global configuration item temporarily stored in the configuration information cache region of the first container system in advance according to the global configuration item and the information thereof in the setting instruction.
The first configuration service sets the corresponding global configuration project of the first container system according to the updated information of the global configuration project; the specific method for setting the global configuration item to be effective is well known to those skilled in the art, and will not be described herein.
And the first configuration delivery device generates a corresponding setting request according to the information of the global configuration items in the setting instruction, and sends the setting request to the main control system through the container channel.
S202: and the main control system updates the information of the corresponding global configuration item pre-stored in the main control system according to the information of the global configuration item in the received setting request, generates a corresponding configuration updating notice and sends the configuration updating notice through the container channel.
After receiving the setting request, the master control system analyzes the global configuration item and the information thereof; searching out a global configuration item consistent with the analyzed global item from at least one global configuration item pre-stored in the main control system; and replacing the information of the searched global configuration item with the information of the analyzed global configuration item, or modifying the information of the searched global configuration item to be consistent with the information of the analyzed global configuration item.
Preferably, the master control system finds out a global configuration item consistent with the analyzed global item from at least one global configuration item pre-stored in a global configuration item database preset therein; and replacing the information of the searched global configuration item with the information of the analyzed global configuration item, or modifying the information of the searched global configuration item to be consistent with the information of the analyzed global configuration item.
And the main control system generates a corresponding configuration updating notice according to the received setting request; and carrying the global configuration item and the information thereof analyzed from the setting request in the configuration information notification, and then sending the configuration item and the information to other container systems through a container channel.
Preferably, when there are more than two other container systems, the master control system sends, for each other container system, the generated configuration update notification for the global configuration item to the other container system through the container channel of the master control system and the other container system.
S203: and the other container systems update the information of the corresponding global configuration items in the other container systems according to the information of the global configuration items in the received configuration update notification.
After receiving the configuration updating notification, other container systems analyze the global configuration item and the information thereof; searching a global configuration item consistent with the analyzed global configuration item from at least one global configuration item prestored in the other container system; and replacing the information of the searched global configuration item with the information of the analyzed global configuration item, or modifying the information of the searched global configuration item to be consistent with the information of the analyzed global configuration item.
Preferably, after receiving the configuration update notification, the other configuration deliverers in the other container systems update the information of the corresponding global configuration item temporarily stored in the configuration information buffer of the other container systems in advance according to the information of the global configuration item in the configuration update notification, and forward the configuration update notification.
And setting the corresponding global configuration items of other container systems by other configuration services in the same other container systems according to the information of the global configuration items in the received configuration update notification.
It can be seen from the foregoing steps S201-203 that, in the embodiment of the present invention, for a plurality of container systems in an operating state, only a user needs to input a setting instruction for any one of the container systems operating in the terminal device, so that information of global configuration items corresponding to all the operating container systems can be updated synchronously; the information of the corresponding global configuration items of each container system in the whole terminal equipment is synchronized to be in a consistent state; the whole synchronous updating process is automatically executed without user intervention, so that the manual operation steps of a user are greatly reduced, the probability that a certain container system omits the updating of the global configuration project is greatly reduced, and the user experience can be improved.
The embodiment of the invention also provides a global configuration synchronization method for the closing and restarting stages of the container system.
Specifically, for at least two pre-designated container systems including the first container system and other container systems in the embodiment of the present invention, for each container system in the at least two container systems, the configuration service of the container system forwards the configuration system when receiving a closing instruction for the container system; and the configuration deliverer of the container system deletes the configuration information cache region of the container system according to the closing instruction, and then closes the container system.
When the closed container system is restarted, the configuration deliverer and the configuration service of the container system are started. Preferably, the master control system starts the configuration deliverer in the container system; after the configuration deliverer in the container system is started, the configuration service in the container system is started.
After the configuration deliverer of the container system is started, a configuration information cache region of the container system is created, and after the information of the global configuration items pre-stored in the main control system is acquired through the container channel, the configuration information cache region is temporarily stored in the created configuration information cache region. And the configuration service sets the corresponding global configuration item of the container system according to the information of the global configuration item in the newly created configuration information cache region.
It is easy to see that, according to the global configuration synchronization method in the closing and restarting stages of the container system, before or during the deletion of the configuration information cache region of the container system, the global configuration items and the information thereof of the container system stored in the configuration information cache region are deleted; after the container system is restarted, the configuration information cache region is created again, and the global configuration items and the information thereof stored in the main control system for a long time are temporarily stored in the newly created configuration information cache region. At this time, the global configuration item and the information thereof of the restarted container system are consistent with the global configuration item and the information thereof in the master control system; the global configuration items and the information thereof of other operated container systems are kept consistent with the global configuration items and the information thereof in the master control system; therefore, the global configuration items and the information thereof of the restarted container system are synchronized with the global configuration items and the information thereof of other container systems which are already running to a consistent state.
The embodiment of the invention also provides a multi-system global configuration query method.
Specifically, for at least two pre-designated container systems including a first container system and other container systems, for each of the at least two container systems, when a configuration service of the container system receives a query instruction for a global configuration item, a configuration deliverer of the container system is called; the configuration deliverer of the container system acquires corresponding global configuration items and information thereof temporarily stored in a configuration information cache region of the container system in advance, and returns the global configuration items and the information thereof serving as query results to the configuration service of the container system; and the configuration service of the container system displays the received global configuration items and the information thereof for the user to look up.
An example of the internal structure of the terminal device according to the embodiment of the present invention is described below, and a schematic diagram of the framework of this example is shown in fig. 3. contanerA, B in fig. 3 represent the first container system and the other container system, respectively. The master control system comprises a config _ service (master configuration service) and a configdb (global configuration item database). The main function of the config _ service is to store the global configuration item and its information of the terminal device for a long time, and provide initialization, update and query services of the global configuration item and its information to the container system in the terminal device. The Configdb has a main function of storing global configuration items and information thereof of all operating systems in the terminal device to which the master control system belongs, that is, the global configuration items and information thereof of the terminal device in the embodiment of the present invention.
Each container system, for example, the container a or B, includes ConfigService, configflunger, JNI (Java Native Interface, Jave local Interface), and HAL (Hardware Abstraction Layer). The configFlinger is located at the native (local) layer of the container system. The ConfigService is located in a java layer in a framework layer of the container system, that is, the source code of the ConfigService can be written by java language. The ConfigService and the configFlinger interact through JNI. And the HAL layer dynamic library is used for encapsulating a channel (container channel) interacted between the config flicker in the container system and the config _ service in the master control system, and is equivalent to an interface of the config _ service in the master control system in the HAL layer.
A specific example of the method for globally configuring the operating state of the multi-container system according to the embodiment of the present invention is described below, and a flowchart of the specific example is shown in fig. 4. In fig. 4, continainera denotes a first container system, and continainerb denotes other container systems. Both continainera and B are android systems.
Android _ set _ config in the contenantera represents that the contenantera receives a setting instruction for a certain global configuration item input by a user; transmitting the setting instruction to a java layer ConfigSerie in the contianera; transmitting a setting instruction to a native layer ConfigFlinger in the contianer A through the JNI in the contianer A by the ConfigSerie; the native ConfigFlinger set cache indicates that the ConfigFlinger performs set updating on the information of the corresponding global configuration item in the configuration information cache area in the contianerA according to the global configuration item and the information thereof in the setting instruction; and then the native ConfigFlinger call HAL library represents that the ConfigFlinger generates a setting request according to the setting instruction, and the setting request is sent to the master control system through a container channel by calling an interface packaged in the HAL library by the container channel between the ContainerA and the master control system.
The config _ service save configdb indicates that after the config _ service in the master control system receives the setting request sent by the contianera, the global setting item and the information thereof in the setting request are stored in the global setting item database configdb in the master control system in a covering manner; specifically, the information of the global setting item in the setting request may be substituted for the information of the same global setting item in the global setting item database. config _ service transmission config info indicates that after the config _ service in the master control system converts the setting request into a configuration update notification transmission config info, the configuration update notification transmission config info is sent to the coordinator b through a container channel between the master control system and the coordinator b.
Transmit config info to HAL library in the contianerb means that the configflanger in the contianerb encapsulates the interface in the HAL library through a container channel between the host system and the contianerb, and receives a configuration update notification transmit config info sent by the host system. And the native ConfigFlinger update cache shows that the ConfigFlinger of the native layer in the contianerB updates the update according to the information of the corresponding global configuration item stored in the configuration information cache in the contianerB according to the global configuration item and the information thereof in the received configuration update notification. Then, the ConfigFlinger transmits the received configuration update notification to the ConfigService of the jave layer in the configerb through the JNI in the configerb. android update indicates that the ConfigService updates the settings of the information of the global configuration item corresponding to the contianerb based on the global configuration item and the information thereof in the received configuration update notification.
So far, the contiinera and the contiiner B complete the synchronous updating of the information of the global configuration items; at this time, the information of the same global configuration item in the contianinerga and B and the master control system is synchronized to a consistent state.
Based on the above-mentioned global configuration synchronization method for multiple systems at each stage, an embodiment of the present invention further provides a global configuration synchronization device for multiple systems, where the device is disposed in a terminal device according to an embodiment of the present invention, and a schematic frame diagram of an internal structure of the device is shown in fig. 5, where the method includes: a master control system and at least two container systems.
Wherein the at least two container systems include a first container system and other container systems.
The first container system includes: a first configuration module 511.
The first configuration module 511 is configured to, when receiving a setting instruction for the global configuration item, update information of the corresponding global configuration item in the first container system according to information of the global configuration item in the setting instruction, and generate a corresponding setting request to send the setting request through the container channel.
The master control system comprises: a master configuration module 501.
The main control configuration module 501 is configured to update the information of the global configuration item pre-stored in the main control system according to the information of the global configuration item in the received setting request, and generate a corresponding configuration update notification to be sent through the container channel.
Other container systems include: other configuration modules 521.
The other configuration module 521 is configured to update the information of the corresponding global configuration item in the other container system according to the information of the global configuration item in the received configuration update notification.
Preferably, as shown in fig. 5, the first configuration module 511 in the embodiment of the present invention includes: a first configuration service unit 5111 and a first configuration messenger unit 5112.
The first configuration service unit 5111 is configured to send a setting instruction; and setting the corresponding global configuration item of the first container system according to the updated information of the global configuration item.
The first configuration deliverer unit 5112 is configured to update, according to the information of the global configuration items in the setting instruction, information of corresponding global configuration items temporarily stored in the configuration information buffer of the first container system in advance.
Preferably, as shown in fig. 5, the other configuration module 521 in the embodiment of the present invention includes: other configuration service units 5211 and other configuration courier units 5212.
The other configuration delivering unit 5212 is configured to update the information of the corresponding global configuration item temporarily stored in the configuration information buffer of the other container system in advance according to the information of the global configuration item in the configuration update notification after receiving the configuration update notification, and forward the configuration update notification.
The other configuration service unit 5211 is configured to set the corresponding global configuration items of the other container systems according to the information of the global configuration items in the received configuration update notification.
Preferably, as shown in fig. 5, the master control system in the embodiment of the present invention further includes: a module 502 is initiated.
The start module 502 is used to start at least two pre-designated container systems including the first container system and other container systems and their respective configuration messenger units and configuration service units.
And, the first configuration postmen unit 5112 is further configured to, after being started, create a configuration information cache area of the first container system, and after obtaining information of global configuration items pre-stored in the master control system through the container channel, temporarily store the information in the created configuration information cache area.
The first configuration service unit 5111 is further configured to, after being started, set a corresponding global configuration item of the first container system according to information of the global configuration item in the configuration information cache of the first container system.
The other configuration postmarker unit 5212 is further configured to, after being started, create a configuration information cache area of another container system to which the configuration postmark unit belongs, and after obtaining information of a global configuration item pre-stored in the master control system through the container channel, temporarily store the information in the created configuration information cache area.
The other configuration service unit 5211 is further configured to, after being started, set a corresponding global configuration item of another container system according to information of the global configuration item in the configuration information cache of the other container system to which the other configuration service unit belongs.
Preferably, the first configuration service unit 5111 is further configured to forward a closing instruction when receiving the closing instruction for the first container system; and, the first configuration deliverer unit 5112 is further configured to, after receiving the close instruction, delete the configuration information buffer of the first container system and close the first container system.
Preferably, the other configuration service unit 5211 is further configured to forward a closing instruction when receiving a closing instruction for the other container system to which it belongs; and, the other configuration deliverer unit 5112 is further configured to, after receiving the close instruction, delete the configuration information buffer of the other container system to which the other container system belongs, and close the other container system.
Preferably, the first configuration service unit 5111 is further configured to, when receiving a query instruction for the global configuration item, invoke the first configuration delivering unit 5112 to obtain information of the corresponding global configuration item, which is temporarily stored in the configuration information cache of the first container system in advance, and display the information as a query result.
Preferably, the other configuration service unit 5211 is further configured to, when receiving a query instruction for the global configuration item, invoke the other configuration deliverer unit 5212 to obtain information of the corresponding global configuration item, which is temporarily stored in the configuration information cache region of the other container system to which the other configuration service unit belongs in advance, and display the information as a query result.
In practical operation, when other container systems send a switch with the first container system, and the other container systems directly interact with the user, and the first container system cannot directly interact with the user, the functions of the other configuration modules 521 in the other container systems, and the other configuration service units 5211 and other configuration messenger units 5212 therein, are interchanged with the functions of the first configuration module 511 in the first container system, and the first configuration service unit 5111 and the first configuration messenger unit 5112 thereof.
In fact, the other configuration module 521 and the other configuration service unit 5211 and the other configuration messenger unit 5212 therein have the same functions as the first configuration module 511 and the first configuration service unit 5111 and the first configuration messenger unit 5112 thereof; the label differs from the name prefix only in identifying that it belongs to a different container system.
In the embodiment of the invention, the first container system receiving the setting instruction aiming at the global configuration project updates the information of the corresponding global configuration project in the system; and the information of the global configuration items pre-stored in the master control system is also updated, and other container systems are enabled to update the information of the corresponding global configuration items through the master control system. Equivalently, the user only needs to input a setting instruction for any container system in the terminal equipment, so that the corresponding global configuration items of all the container systems of the terminal equipment can be synchronously updated to a consistent state; the whole synchronous updating process of the information of the global configuration items in the container system operation stage is automatically executed without user intervention, so that the manual operation steps of a user are greatly reduced, the probability that a certain container system omits the updating of the global configuration items is greatly reduced, the purpose that the same global configuration item of each container system in the whole terminal equipment can be updated by one-time updating operation of the user is realized, and the user experience can be improved.
In addition, in the embodiment of the present invention, the master control system stores the global setting item and the information thereof of the terminal device to which the master control system belongs for a long time, when the terminal device is started, the master control system is started first, the master control system starts the container system, and the started container system can temporarily store the global setting item and the information thereof in the master control system into the container system and perform setting according to the temporarily stored global setting item and the information thereof. At this time, the information of the global setting items in the container system after being started and the information of the global setting items in the running container system and the master control system are synchronized to be in a consistent state. The information synchronization updating process of the global configuration items in the starting stage is automatically executed without user intervention, so that the operation steps of a user are further reduced, the container system can be prevented from missing the synchronization updating of the global configuration items in the starting stage, the purpose that the same global configuration item of each container system in the whole terminal equipment can be updated by one-time updating operation of the user is achieved, and the user experience can be improved.
Further, in the embodiment of the present invention, the master control system stores the global setting item and the information thereof of the terminal device to which the master control system belongs for a long time, and when the container system is restarted after being closed, the restarted container system can temporarily store the global setting item and the information thereof in the master control system into the container system, and perform setting according to the temporarily stored global setting item and the information thereof. At this time, the information of the global setting items in the restarted container system and the information of the global setting items in the running container system and the master control system are synchronized to be in a consistent state. The information synchronous updating process of the global configuration items in the closing and restarting stage is automatically executed without user intervention, so that the operation steps of a user are further reduced, the container system can be prevented from missing synchronous updating of the global configuration items in the closing and restarting stage, the purpose that the same global configuration item of each container system in the whole terminal equipment can be updated by one-time updating operation of the user is achieved, and the user experience can be improved.
Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable programmable Read-Only memories), EEPROMs (Electrically Erasable programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.