CN112583977A - Message synchronization method, device and storage medium - Google Patents

Message synchronization method, device and storage medium Download PDF

Info

Publication number
CN112583977A
CN112583977A CN201910865288.1A CN201910865288A CN112583977A CN 112583977 A CN112583977 A CN 112583977A CN 201910865288 A CN201910865288 A CN 201910865288A CN 112583977 A CN112583977 A CN 112583977A
Authority
CN
China
Prior art keywords
setting item
state
switch
message
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910865288.1A
Other languages
Chinese (zh)
Inventor
何立志
蒋兴
夏博
蒋辉
曹龙杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TD Tech Chengdu Co Ltd
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN201910865288.1A priority Critical patent/CN112583977A/en
Publication of CN112583977A publication Critical patent/CN112583977A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Abstract

The application provides a message synchronization method, a device and a storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining the on-off state of a first setting item in a first system, obtaining the on-off state of a second setting item in a second system, wherein the first setting item and the second setting item have the same identification, the on-off state comprises an on state and an off state, if the on-off state of the first setting item is different from the on-off state of the second setting item, adopting a message transmission channel, sending the on-off state of the first setting item to the second system through the first system, receiving the on-off state of the first setting item through the second system, and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item. Therefore, the synchronization of the on-off states of the two system setting items is realized, and the user experience is improved.

Description

Message synchronization method, device and storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, and a storage medium for synchronizing messages.
Background
With the development of science and technology, a single-system terminal cannot meet the requirements of users, and a double-system terminal is produced. The dual-system terminal refers to two systems running on a terminal device at the same time, generally, a system which uses a display screen to interact with a user is called a foreground system, and the other invisible system is called a background system.
In practical applications, when the terminal device is set to the flight mode in the foreground system, the background system cannot synchronize the message due to the mutual isolation of the two systems, that is, the terminal device is in the non-flight mode in the background system. When the background system is switched to the foreground system for use, the terminal device in the background system should theoretically be in the flight mode due to the fact that the two systems share one set of baseband, but actually the system is displayed in the non-flight mode. This may cause functional disorder such as telephone and internet access, and affect user experience.
Disclosure of Invention
The application provides a message synchronization method, a message synchronization device and a storage medium, so as to realize message synchronization in dual systems.
In a first aspect, a message synchronization method provided by the present application includes:
acquiring the on-off state of a first setting item in the first system and acquiring the on-off state of a second setting item in the second system, wherein the first setting item and the second setting item have the same identifier, and the on-off state comprises an on state and an off state;
if the on-off state of the first setting item is different from the on-off state of the second setting item, a message transmission channel is adopted to send the on-off state of the first setting item to the second system through a first system;
and receiving the on-off state of the first setting item through the second system, and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item.
In one possible implementation, the message passing channel includes a message forwarding process under a root system, the root system corresponding to the first system and the second system.
In one possible implementation manner, the sending, by the first system, the switch state of the first setting item to the second system includes:
packaging a switch value corresponding to the switch state of the first setting item into a data packet through a first system;
and sending the data packet to the second system through the first system by adopting the message forwarding process.
In one possible implementation manner, the synchronously updating, by the second system, the switch state of the second setting item according to the switch state of the first setting item includes:
analyzing the data packet through the second system to obtain the switch value of the first setting item;
the switching value of the first setting item is taken as the switching value of the second setting item by the second system.
In one possible implementation, the first system is a foreground system and the second system is a background system.
In a second aspect, the present application provides a message synchronization apparatus, including:
the acquisition module is used for acquiring the on-off state of a first setting item in the first system and acquiring the on-off state of a second setting item in the second system, wherein the first setting item and the second setting item have the same identifier, and the on-off state comprises an on state and an off state;
the sending module is used for sending the on-off state of the first setting item to the second system through the first system by adopting a message transmission channel if the on-off state of the first setting item is different from the on-off state of the second setting item;
and the processing module is used for receiving the on-off state of the first setting item through the second system and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item.
In one possible implementation, the message passing channel includes a message forwarding process under a root system, the root system corresponding to the first system and the second system.
In a possible implementation manner, the sending module is specifically configured to:
packaging a switch value corresponding to the switch state of the first setting item into a data packet through a first system;
and sending the data packet to the second system through the first system by adopting the message forwarding process.
In one possible implementation, the processing module is specifically configured to:
analyzing the data packet through the second system to obtain the switch value of the first setting item;
the switching value of the first setting item is taken as the switching value of the second setting item by the second system.
In one possible implementation, the first system is a foreground system and the second system is a background system.
In a third aspect, the present application provides a message synchronization apparatus, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the method according to any one of the first aspect and various possible implementation manners of the first aspect.
In a fourth aspect, the present application provides a storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method according to any one of the above first aspect and various possible implementations of the first aspect.
The message synchronization method, device and storage medium provided by the embodiment of the application comprise the following steps: the method comprises the steps of obtaining the on-off state of a first setting item in a first system, obtaining the on-off state of a second setting item in a second system, wherein the first setting item and the second setting item have the same identification, the on-off state comprises an on state and an off state, if the on-off state of the first setting item is different from the on-off state of the second setting item, adopting a message transmission channel, sending the on-off state of the first setting item to the second system through the first system, receiving the on-off state of the first setting item through the second system, and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item. Therefore, the synchronization of the on-off states of the two system setting items is realized, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a dual-system terminal according to an embodiment of the present disclosure;
fig. 2 is a first flowchart illustrating a message synchronization method according to an embodiment of the present application;
fig. 3 is a first schematic structural diagram of a message synchronization method according to an embodiment of the present application;
fig. 4 is a second flowchart illustrating a message synchronization method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a message synchronization method according to an embodiment of the present application;
fig. 6 is a first schematic structural diagram of a message synchronization apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a message synchronization apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic view of a dual-system terminal provided in an embodiment of the present application, and as shown in fig. 1, the dual-system terminal is installed with two operating systems, where the two operating systems may include a first system and a second system, where the first system may be a living system, and the second system may be a working system, so as to provide a safe, convenient, and efficient mobile office tool for industries such as government, public security, justice, and electric power.
Generally, a user can switch an operating system in a manual mode or an automatic mode, for example, a working system can be switched to a foreground when law enforcement works, and a living system can be switched to the foreground when the law enforcement works.
The operating system shown in fig. 1 includes a living system and a working system, and the living system is switched to a foreground, that is, the living system is a foreground system, and in the actual application process, a flight mode switch is turned on in the system setting of the living system. Because the two systems are completely isolated, and the applications of the two systems run on the respective independent domain spaces, the cross-process mechanism of android native, such as message broadcasting, cannot be mutually transferred between the two systems. The background working system cannot synchronize the message, namely, the living system opens the flight mode, but the working system does not open the flight mode.
And because the two systems share one set of baseband, the flight mode is started in the living system, actually, the flight mode is also started in the working system, and when the working system is switched to the foreground, the flight mode is still displayed as not started in the working system, so that the functions of surfing the internet, talking and the like are disordered, and the user experience is influenced.
In view of the foregoing problems, an embodiment of the present application provides a message synchronization method, where the method includes: the method comprises the steps of obtaining the on-off state of a first setting item in a first system, obtaining the on-off state of a second setting item in a second system, wherein the first setting item and the second setting item have the same identification, the on-off state comprises an on state and an off state, if the on-off state of the first setting item is different from the on-off state of the second setting item, adopting a message transmission channel, sending the on-off state of the first setting item to the second system through the first system, receiving the on-off state of the first setting item through the second system, and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item. Therefore, the synchronization of the on-off states of the two system setting items is realized, and the user experience is improved.
The technical solution of the present application will be described in detail by specific examples. It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a first schematic flowchart of a message synchronization method according to an embodiment of the present application, where the message synchronization method may be executed by a message synchronization apparatus that executes the method, and the message synchronization apparatus may be implemented by software/hardware. As shown in fig. 2, the message synchronization method provided in this embodiment may include the following steps:
s101, acquiring the on-off state of a first setting item in a first system, and acquiring the on-off state of a second setting item in a second system.
The dual-system terminal is provided with a first system and a second system, the first setting item is a switch setting item in the first system, and the second setting item is a switch setting item in the second system. The first setting item may include at least one of: flight mode switch, 4G switch, data flow switch, likewise, the second setting item may also include at least one of: flight mode switch, 4G switch, data flow switch.
It is worth mentioning that the first setting item and the second setting item have the same identification, and exemplarily, the first setting item is a flight mode switch, and then the second setting item is also a flight mode switch; the second setting items include an airplane mode switch and a 4G switch, and the corresponding second setting items also include an airplane mode switch and a 4G switch. In addition, the on-off state of the first setting item includes an on state and an off state, and the on-off state of the second setting item also includes an on state and an off state.
Optionally, the first system is a foreground system, and the second system is a background system.
In an actual application process, in some scenarios, for example, after the terminal acquires that the on-off state of the first setting item in the first system is adjusted, the terminal device acquires the adjusted on-off state of the first setting item in the first system, and acquires the on-off state of the second setting item in the second system.
And S102, if the on-off state of the first setting item is different from that of the second setting item, sending the on-off state of the first setting item to the second system through the first system by adopting a message transmission channel.
S103, receiving the on-off state of the first setting item through the second system, and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item.
This embodiment will be described with reference to fig. 3. Fig. 3 is a first schematic structural diagram of a message synchronization method provided in an embodiment of the present application, please refer to fig. 3, where setting items shown in fig. 3 are a first setting item in a first application and a second setting item in a second application, respectively, both the first application and the second application are, for example, XXX video players, and the first setting item and the second setting item may be, for example, a data traffic switch, where if the data traffic switch is turned on, it indicates that a video can be viewed using a traffic, and if not, it indicates that the video cannot be viewed using the traffic. Wherein the first system has a first application installed and the second system has a second application installed.
In an actual application process, if the terminal detects that the user adjusts the on-off state of the first setting item, for example, the data flow is turned on, the on-off state of the first setting item and the on-off state of the second setting item are obtained, if the on-off state of the second setting item is different from the on-off state of the first setting item, a message transmission channel is adopted, the on-off state of the first setting item is sent to a second system through the first system, and correspondingly, the second system receives the on-off state of the first setting item and synchronously updates the on-off state of the second setting item according to the on-off state of the first setting item, that is, a data flow switch in the second application program is turned on.
In this way, when the second system is switched to the foreground for use, the on-off state of the second setting item displayed in the second application program is the same as the on-off state of the first setting item in the first application program.
It is worth mentioning that the dual system can realize automatic switching under preset conditions, such as: the foreground system directly interacting with the user is the first system, when the system is powered off and restarted, the second system can be switched to the foreground, and then the first system is switched to the background. Or the dual-system terminal is provided with a virtual system switching key, and the system can be switched back and forth through the virtual system switching key.
The message synchronization method of the embodiment comprises the following steps: the method comprises the steps of obtaining the on-off state of a first setting item in a first system, obtaining the on-off state of a second setting item in a second system, wherein the first setting item and the second setting item have the same identification, the on-off state comprises an on state and an off state, if the on-off state of the first setting item is different from the on-off state of the second setting item, adopting a message transmission channel, sending the on-off state of the first setting item to the second system through the first system, receiving the on-off state of the first setting item through the second system, and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item. Therefore, the synchronization of the on-off states of the two system setting items is realized, and the user experience is improved.
On the basis of the foregoing embodiment, fig. 4 is a flowchart illustrating a second flow of the message synchronization method provided in the embodiment of the present application, and as shown in fig. 4, step S102 specifically includes the following steps:
s201, packaging a switch value corresponding to the switch state of the first setting item into a data packet through the first system.
S202, a message forwarding process is adopted, and the data packet is sent to the second system through the first system.
In this embodiment, the switch value corresponding to the switch state of the first setting item is encapsulated into a data packet by the first system, and the data packet is sent to the second system by using a message forwarding process, where the switch value corresponding to the switch state of the first setting item may be encapsulated into the data packet according to a preset encapsulation rule, so that the switch value of the first setting item is obtained from the data packet according to a preset parsing rule corresponding to the preset encapsulation rule when the data packet is received by the second system.
The message transmission channel comprises a message forwarding process under a root system, and the root system corresponds to the first system and the second system. Specifically, a first system and a second system of the terminal respectively run in two containers created based on a root system, and the first system and the second system have isolation of data and processes due to isolation of the containers. The related description about the root system and the container isolation is similar to the prior art and will not be repeated here.
It should be noted that the switch states include on states and off states, and the switch states and the switch values have a one-to-one mapping relationship, which may be predefined.
Correspondingly, the synchronous updating of the switch state of the second setting item according to the switch state of the first setting item through the second system comprises the following steps:
and analyzing the data packet through the second system to obtain the switch value of the first setting item.
And using the switch value of the first setting item as the switch value of the second setting item through the second system.
Specifically, after the data packet is received by the second system, the data packet may be parsed according to a preset parsing rule to obtain the switch value of the first setting item, and then the corresponding frame interface is called to synchronously update the second setting item, that is, the switch value of the first setting item is used as the switch value of the second setting item.
This embodiment will be described in detail with reference to fig. 5. On the basis of the above-described embodiment of figure 3,
fig. 5 is a schematic diagram of an architecture of a message synchronization method provided in an embodiment of the present application, as shown in fig. 5, a switch value of a first setting item of a first application may be encapsulated into a socket data packet through a first system, the data packet is sent to a message forwarding process through a socket of the first system, the message forwarding process receives the data packet through the socket and then sends the message to a second system through the socket, the second system receives the data packet through the socket and then parses the data packet according to a preset rule, obtains content of the data packet, calls a corresponding frame interface, and updates the switch value of a second setting item to a switch value carried in the data packet. Thus, the on-off state of the second setting item is the same as the on-off state of the first setting item.
The socket is an abstraction layer, and an application program can send or receive data through the socket, and can perform operations such as opening, reading, writing, closing and the like on the socket like a file. Sockets allow applications to plug I/O into the network and communicate with other applications in the network.
The message synchronization method provided by the embodiment comprises the following steps: and packaging the switch value corresponding to the switch state of the first setting item into a data packet through the first system, and sending the data packet to the second system through the first system by adopting a message forwarding process. Therefore, the synchronization of the on-off states of the two system setting items is realized, and the user experience is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 6 is a first schematic structural diagram of a message synchronization device according to an embodiment of the present disclosure, in this embodiment, the message synchronization device may be integrated in a dual-system terminal, which may be, for example, a dual-system mobile phone, a dual-system tablet, a dual-system computer, and the like, which is not limited in this embodiment. As shown in fig. 6, the message synchronization apparatus 60 may include:
an acquisition module 61, a sending module 62 and a processing module 63;
an obtaining module 61, configured to obtain an on-off state of a first setting item in the first system, and obtain an on-off state of a second setting item in the second system, where the first setting item and the second setting item have the same identifier, and the on-off state includes an on state and an off state;
a sending module 62, configured to send the on-off state of the first setting item to the second system through the first system by using a message transmission channel if the on-off state of the first setting item is different from the on-off state of the second setting item;
and the processing module 63 is configured to receive the on-off state of the first setting item through the second system, and synchronously update the on-off state of the second setting item according to the on-off state of the first setting item.
In one possible implementation, the message passing channel includes a message forwarding process under a root system, the root system corresponding to the first system and the second system.
In a possible implementation manner, the sending module 62 is specifically configured to:
packaging a switch value corresponding to the switch state of the first setting item into a data packet through a first system;
and sending the data packet to the second system through the first system.
In a possible implementation manner, the processing module 63 is specifically configured to:
analyzing the data packet through the second system to obtain the switch value of the first setting item;
the switching value of the first setting item is taken as the switching value of the second setting item by the second system.
In one possible implementation, the first system is a foreground system and the second system is a background system.
The message synchronization device provided by the embodiment of the application comprises an acquisition module, a sending module and a processing module, wherein the acquisition module is used for acquiring the on-off state of a first setting item in a first system and acquiring the on-off state of a second setting item in a second system, the first setting item and the second setting item have the same identifier, and the on-off state comprises an on state and an off state; the sending module is used for sending the on-off state of the first setting item to the second system through the first system by adopting a message transmission channel if the on-off state of the first setting item is different from the on-off state of the second setting item; and the processing module is used for receiving the on-off state of the first setting item through the second system and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item. Therefore, the synchronization of the on-off states of the two system setting items is realized, and the user experience is improved.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the obtaining module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and a processing element of the apparatus calls and executes the functions of the determining module. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Fig. 7 is a schematic structural diagram of a message synchronization apparatus according to an embodiment of the present application. As shown in fig. 7, the message synchronization apparatus may include:
a memory for storing computer execution instructions;
and the processor is used for executing the computer execution instructions stored in the memory so as to realize the steps executed by the receiving equipment in the embodiment. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory may be separate or integrated with the processor.
When the memory is independently arranged, the network mode switching device also comprises a bus for connecting the memory and the processor.
Embodiments of the present application further provide a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the method is implemented.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A message synchronization method is applied to a dual-system terminal, wherein the dual-system terminal comprises a first system and a second system, and the method comprises the following steps:
acquiring the on-off state of a first setting item in the first system and acquiring the on-off state of a second setting item in the second system, wherein the first setting item and the second setting item have the same identifier, and the on-off state comprises an on state and an off state;
if the on-off state of the first setting item is different from the on-off state of the second setting item, a message transmission channel is adopted to send the on-off state of the first setting item to the second system through a first system;
and receiving the on-off state of the first setting item through the second system, and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item.
2. The method of claim 1, wherein the messaging channel comprises a message forwarding process under a root system, the root system corresponding to the first system and the second system.
3. The method of claim 2, wherein the sending the switch state of the first setting item to the second system through the first system comprises:
packaging a switch value corresponding to the switch state of the first setting item into a data packet through a first system;
and sending the data packet to the second system through the first system.
4. The method of claim 3, wherein the synchronously updating, by the second system, the switch state of the second setting item according to the switch state of the first setting item comprises:
analyzing the data packet through the second system to obtain the switch value of the first setting item;
the switching value of the first setting item is taken as the switching value of the second setting item by the second system.
5. The method of any of claims 1-4, wherein the first system is a foreground system and the second system is a background system.
6. A message synchronization apparatus, comprising:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring the on-off state of a first setting item in a first system and acquiring the on-off state of a second setting item in a second system, the first setting item and the second setting item have the same identifier, and the on-off state comprises an on state and an off state;
the sending module is used for sending the on-off state of the first setting item to the second system through the first system by adopting a message transmission channel if the on-off state of the first setting item is different from the on-off state of the second setting item;
and the processing module is used for receiving the on-off state of the first setting item through the second system and synchronously updating the on-off state of the second setting item according to the on-off state of the first setting item.
7. The apparatus of claim 6, wherein the messaging channel comprises a message forwarding process under a root system, the root system corresponding to the first system and the second system.
8. The apparatus of claim 7, wherein the sending module is specifically configured to:
packaging a switch value corresponding to the switch state of the first setting item into a data packet through a first system;
and sending the data packet to the second system through the first system.
9. A message synchronization apparatus comprising a processor, a memory and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-5 when executing the program.
10. A storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-5.
CN201910865288.1A 2019-09-12 2019-09-12 Message synchronization method, device and storage medium Pending CN112583977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910865288.1A CN112583977A (en) 2019-09-12 2019-09-12 Message synchronization method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910865288.1A CN112583977A (en) 2019-09-12 2019-09-12 Message synchronization method, device and storage medium

Publications (1)

Publication Number Publication Date
CN112583977A true CN112583977A (en) 2021-03-30

Family

ID=75109585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910865288.1A Pending CN112583977A (en) 2019-09-12 2019-09-12 Message synchronization method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112583977A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101529382B (en) * 2006-09-21 2014-06-18 路透美国公司 Common component framework
CN104580734A (en) * 2015-01-20 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Data synchronization method, data synchronization system and terminal of multi-system equipment
CN106776066A (en) * 2016-11-29 2017-05-31 北京元心科技有限公司 Multi-system function processing method and device
US20190220331A1 (en) * 2018-01-16 2019-07-18 Enterpriseweb Llc Event-driven programming model-based on asynchronous, massively parallel dataflow processes for highly-scalable distributed applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101529382B (en) * 2006-09-21 2014-06-18 路透美国公司 Common component framework
CN104580734A (en) * 2015-01-20 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Data synchronization method, data synchronization system and terminal of multi-system equipment
CN106776066A (en) * 2016-11-29 2017-05-31 北京元心科技有限公司 Multi-system function processing method and device
US20190220331A1 (en) * 2018-01-16 2019-07-18 Enterpriseweb Llc Event-driven programming model-based on asynchronous, massively parallel dataflow processes for highly-scalable distributed applications

Similar Documents

Publication Publication Date Title
CN104160759B (en) Methods and apparatus for subscription management in dual SIM single standby devices
CN105677335B (en) Improve the method and device that mobile terminal first powers on speed
US9143512B2 (en) Communication devices, computer readable storage devices, and methods for secure multi-path communication
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
CN105722059B (en) Mobile terminal and communication method of dual-modem system
CN105850184A (en) Application specific congestion control in wireless network
CN106878199B (en) Configuration method and device of access information
CN106210023B (en) Virtual SIM card synchronous management method and terminal
CN112219423B (en) Transmission path switching method and device
CN104936282A (en) Method and device for registering converged communication service
US20160028832A1 (en) Methods and systems for efficient discovery of devices in a peer-to-peer network
US20190114183A1 (en) Terminal Configuration Method and Terminal Based on Provision Protocol for Transmission
US20150036587A1 (en) Providing services based on radio access network type information
CN112997518A (en) Security management in a disaggregated base station in a communication system
CN105165035A (en) Transmission of multimedia message doubled with transmission of text message
US20150121364A1 (en) Method, User Equipment, and Application Server for Downloading Application
US20230217363A1 (en) Method for switching a Network slice, terminal, storage medium and electronic device
CN105549836B (en) Method for processing message on screen locking interface of mobile electronic terminal and mobile electronic terminal
CN111373798A (en) Network slice configuration method and device and computer storage medium
CN112583977A (en) Message synchronization method, device and storage medium
US20180300122A1 (en) Data processing method and system, and server
CN105072026A (en) Internet-of-things gateway communication system
CN110418430B (en) Application sending and receiving method and device, storage medium and electronic device
US10003657B2 (en) Data transmission processing method and apparatus
EP3324654A1 (en) Integrating internet-of-things devices with sim and without sim

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210330

RJ01 Rejection of invention patent application after publication