CN115334197B - Communication function changing method, multi-system terminal and medium - Google Patents

Communication function changing method, multi-system terminal and medium Download PDF

Info

Publication number
CN115334197B
CN115334197B CN202210951480.4A CN202210951480A CN115334197B CN 115334197 B CN115334197 B CN 115334197B CN 202210951480 A CN202210951480 A CN 202210951480A CN 115334197 B CN115334197 B CN 115334197B
Authority
CN
China
Prior art keywords
subsystem
communication function
communication
change information
storage area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210951480.4A
Other languages
Chinese (zh)
Other versions
CN115334197A (en
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202210951480.4A priority Critical patent/CN115334197B/en
Publication of CN115334197A publication Critical patent/CN115334197A/en
Application granted granted Critical
Publication of CN115334197B publication Critical patent/CN115334197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a communication function changing method, a multi-system terminal and a medium, and relates to the technical field of communication. Writing the acquired communication function change information into a storage area of a main system based on a first process and updating a corresponding communication configuration item in a first subsystem of the multi-system terminal; sending a change instruction to a second process; and acquiring communication function change information from the storage area based on the second process, and updating the corresponding communication configuration item in the second subsystem according to the communication function change information. Thus, when the user operates the change communication function on the subsystem located at the foreground, the user can inform the change information to the second process in the other subsystems. And the communication function change information is written into a storage area of the main system, and the second process can directly read from the main system to change the communication configuration of the second process, so that the perceived communication mode is consistent with the actual communication mode when the user switches to the second subsystem for use.

Description

Communication function changing method, multi-system terminal and medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for changing a communication function, a multi-system terminal, and a medium.
Background
With the development of communication technology, multi-system terminals are becoming popular. The multi-system terminal at least comprises two systems which independently operate, and a user can switch among the systems according to the needs.
In the prior art, a plurality of systems operate in a main system, for example, a security system and a personal system in a mobile phone operate on an android system, and communication between the security system and the personal system cannot be performed. The safety system and the personal system use the same communication module, after the communication function identification data of one system is changed, the communication data of the communication module is changed, but the communication function identification data of the other system is not changed because the two systems cannot communicate with each other. Therefore, when another system is used, the communication function identification data is not matched with the actual communication function, so that a user perceives the confusion of the communication function, and the use experience of the user is reduced.
Based on this, there is a need for a communication function changing method, a multi-system terminal, and a medium for keeping the communication function perceived by the user consistent with the actual communication function.
Disclosure of Invention
The embodiment of the application provides a communication function changing method, a multi-system terminal and a medium, which are used for keeping the communication function perceived by a user consistent with the actual communication function.
In a first aspect, an embodiment of the present application provides a method for changing a communication function, where the method includes: writing the acquired communication function change information into a storage area of a main system of the multi-system terminal based on a first process, and updating a corresponding communication configuration item in a first subsystem of the multi-system terminal according to the communication function change information; the first subsystem is a subsystem in a front-end display state in the multi-system terminal, and the first process runs in the first subsystem; sending a change instruction to a second process based on the first process; the second process is a process in a second subsystem in a rear-end hidden state in the multi-system terminal; acquiring the communication function change information from the storage area of the main system based on the second process, and updating the corresponding communication configuration item in the second subsystem according to the communication function change information; the first subsystem and the second subsystem share a communication module.
By the method, when a user operates the change communication function on the subsystem positioned at the foreground, the user can inform the change information to the second process in other subsystems. And the communication function change information is written into a storage area of the main system, and the second process can directly read from the main system to change the communication configuration of the second process, so that when the user switches to the second subsystem for use, the perceived communication mode is consistent with the actual communication mode, and the user experience is improved.
In a possible implementation manner, the method further includes: after writing the acquired communication function change information into the storage area of the main system of the multi-system terminal based on the first process, the method further comprises the following steps: based on the triggering of the first process, the communication module obtains the communication function change information from the storage area of the main system and changes the function according to the communication function change information.
By the mode, the communication function change information is written into the storage area of the main system, but not into the data storage area of the first subsystem, so that the storage space of the first subsystem is saved while the second subsystem can acquire the communication function change information from the main system.
In a possible implementation manner, the method further includes: writing the communication function change information into a storage area of the first subsystem based on the first process; based on the triggering of the first process, the communication module obtains the communication function change information from the storage area of the first subsystem and changes the function according to the communication function change information.
Through the mode, the communication function change information acquired by the communication module can be ensured to be transmitted and written for the second time, the accuracy of the communication function change information acquired by the communication module is effectively improved, the communication function after the communication module is changed is further enabled to be more in line with the actual demands of users, and the use experience of the users is improved.
In one possible implementation manner, before writing the acquired communication function change information into the storage area of the main system of the multi-system terminal based on the first process, the method further includes: based on the change operation triggered by the user, the communication function change information corresponding to the change operation is obtained through the first process.
Through the mode, when the user triggers the change operation, the first process can write the communication function change information into the storage area of the main system of the multi-system terminal, so that the user demand can be responded quickly, and the communication function required by the user is further realized.
In a possible implementation manner, the method further includes: and displaying the communication identifier matched with the communication function change information based on the first process.
Through the mode, the user can intuitively perceive the actual communication function through the communication identifier, and can keep consistent with the actual communication function, and the user experience is good.
In a second aspect, an embodiment of the present application provides a multi-system terminal, where the multi-system terminal includes a main system, a first subsystem in a front-end display state, a second subsystem in a rear-end hidden state, and a communication module; the first subsystem and the second subsystem share the communication module; the storage area of the first subsystem is isolated from the storage area of the second subsystem; a first process is operated in the first subsystem, and the first process is used for writing the acquired communication function change information into a storage area of the main system and updating a corresponding communication configuration item in the first subsystem according to the communication function change information; the method is also used for sending a change instruction to the second process; and a second process is operated in the second subsystem and is used for acquiring the communication function change information from the storage area of the main system according to the change instruction and updating the corresponding communication configuration item in the second subsystem according to the communication function change information.
In a possible implementation manner, the communication module is configured to obtain the communication function change information from the storage area of the host system and perform a function change according to the communication function change information.
In a possible implementation manner, the terminal further comprises a display screen; and the display screen is used for displaying the communication identification which is determined based on the first process and matched with the communication function change information.
In a third aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed, performs any of the methods of the first aspect described above.
In a fourth aspect, an embodiment of the present application provides a multi-system terminal, including: a memory for storing program instructions; and a processor for calling program instructions stored in the memory and executing the method according to the obtained program.
In a fifth aspect, embodiments of the present application provide a computer program product for implementing a method as in any of the designs of the first aspect above, when the computer program product is run on a processor.
The advantages of the second to fifth aspects may be specifically referred to the advantages achieved by any of the designs of the first aspect, and will not be described in detail herein.
Drawings
Fig. 1 schematically illustrates a scene architecture according to an embodiment of the present application;
FIG. 2 schematically illustrates a security system interface provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of data partitioning according to an embodiment of the present application;
fig. 4 schematically illustrates a communication module according to an embodiment of the present application;
FIG. 5 schematically illustrates a system interface provided by an embodiment of the present application;
FIG. 6 schematically illustrates a system interface provided by an embodiment of the present application;
Fig. 7 is a schematic flow chart illustrating a communication function changing method according to an embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a binder communication mechanism according to an embodiment of the present application;
fig. 9 schematically illustrates a multi-system terminal according to an embodiment of the present application;
Fig. 10 is a schematic flow chart illustrating a communication function changing method according to an embodiment of the present application;
fig. 11 is a schematic flow chart illustrating a communication function changing method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a schematic diagram illustrating a scenario architecture provided by an embodiment of the present application, where, as shown in fig. 1, the architecture of the embodiment of the present application is an architecture of a multi-system terminal, and includes a main system, and N subsystems, i.e., a subsystem 1, a subsystem 2, … …, and a subsystem N, where the N subsystems are independent of each other and have independent data storage media. The N subsystems operate based on the logical architecture of the main system. The N subsystems share a communication module.
The scenario architecture in fig. 1 may be an internal architecture of a mobile phone end, for example. In this embodiment, the main system may be an android system, an iOS system or a hong system, which are commonly used at the mobile phone end. The android system is used as a mobile phone terminal main system, and can provide a service platform for basic operation of a user. In recent years, with the development of communication technology, the user's use requirement is increased, and the user's use requirement cannot be met only by installing application services in the android system, so that many mobile phone manufacturers add an independent system on the original android system, and the user can enter a brand-new mobile phone interface, namely a brand-new system, through buttons on the mobile phone, so that the original system on the android system is called a security system, and the brand-new system is called a personal system for distinguishing. The data level of the security system is higher than that of the personal system.
Fig. 2 schematically illustrates a security system interface according to an embodiment of the present application. As shown in fig. 2, in the setting interface of the security system, there is an identifier in the upper right corner for informing the user that the security system is currently in use, and in addition, there is a "system switch" button on the interface, and the user can enter the personal system by clicking the "system switch" button and inputting the account password. The data of the personal system and the data of the security system are completely isolated and encrypted. It should be noted that, encrypting the data in the personal system is not a necessary condition in the embodiment of the present application, and in special cases, encrypting the data in the personal system may not be performed. However, due to the nature of the system when developed, the data in the personal system and the data in the security system are completely isolated, i.e. the security system and the personal system cannot directly access the user data to each other.
The multi-system terminal is characterized in that a plurality of partitions are additionally divided on the basis of built-in storage to serve as data partitions of a plurality of subsystems, and data access cannot be performed between the data partitions of each subsystem and a built-in storage area of a main system, so that data of each subsystem cannot be written into the built-in storage area of the main system. Fig. 3 is a schematic diagram illustrating a data partition provided by an embodiment of the present application, where, as shown in fig. 3, a dual-system terminal is further divided into two partitions on the basis of built-in storage, where the two partitions are used as a data partition of a security system and a data partition of a personal system, the two systems are independent of each other, data generated when a user uses an application in the security system cannot be synchronized into the personal system, and similarly, data generated when the user uses the application in the personal system cannot be synchronized into the security system. The data in other three-system terminals or four-system terminals and other multi-system terminals can be further added with data partitions in the main system by referring to the two-system terminals in a planning mode. The embodiment of the application is described below by taking a dual-system mobile phone terminal as an example.
Based on the above architecture, when the terminal is started for the first time, the terminal firstly enters the security system, that is, the security system is visible to the user, and operates at the front end. The user can install various application services, browse webpage information on the internet, communicate with other terminals and the like in a security system operated at the front end. To enter a personal system, it is necessary to go through a specific portal or click on a "system switch" button on the interface as shown in FIG. 2.
In the case of using the terminal for communication, the communication module in fig. 1 is used to change the communication function configuration of the terminal. The communication module can include a modem (modem), a radio INTERFACE LAYER, RIL, or the like.
The modem can translate the digital signals of the terminal into analog signals that can be transmitted along a common telephone line, which can in turn be received by another modem at the other end of the line and translated into language understandable by the terminal. The information in the terminal is a digital signal consisting of "0" and "1", while the information is transferred over the telephone line only as an analog signal. Thus, when two terminals are to perform data transmission through a telephone line, a device is required to be responsible for digital-to-analog conversion. It should be understood that the foregoing is merely illustrative of a relatively simple function of a modem, and that in practice the modem may be an integrated chip, with the function of the particular modem on the terminal being determined by the actual requirements.
RIL is a bridge for modem and android system communication, and is divided into RILJ and (radio INTERFACE LAYER demon, RILD). Fig. 4 is a schematic diagram of a communication module provided in an embodiment of the present application, where, as shown in fig. 4, a security system and a personal system exist in a main system, and RILJ in the main system may implement communication with the security system and the personal system, respectively. RILJ belongs to an application software layer, which is used for establishing connection between each application software and the RILD, wherein the RILD belongs to a hardware abstraction layer, and can be used for interactive communication with the modem.
In one terminal, only one modem and RILD are included, and thus, the communication functions of the respective subsystems should be identical. The above dual system terminal is still taken as an example. Fig. 5 schematically illustrates a system interface according to an embodiment of the present application. As shown in fig. 5, on the security system interface, the communication identifier includes a flight mode switch button, an internet card selection button, a WiFi button, a bluetooth button, and the like, and may further include a 3G/4G/5G selection button, and the like.
In the prior art, a user may modify the communication function at the operating interface of the security system. Taking the flight mode as an example, the user changes the off state of the flight mode to the on state of the flight mode by clicking a button of the flight mode, and as shown in fig. 5, the button of the flight mode is displayed on the interface to be dark. After the button of the flight mode is opened, the communication function data of the safety system is changed, the communication identification data is written into the safety system data partition shown in fig. 4, and the modem acquires the communication function data from the safety system data partition through the RILD and RILJ, so that the communication configuration of the modem is changed, and the communication capability of the modem is completely closed according to the communication configuration which is suitable for the flight mode.
At this time, since the data between the personal system and the security system is completely isolated, the personal system cannot know that the security system has modified the communication function. Fig. 6 is a schematic diagram illustrating a system interface provided by an embodiment of the present application, where, as shown in fig. 6, on a display interface of a personal system, an identifier of a flight mode is still in a closed state (i.e., a terminal is in a communicable state), and since the personal system and a security system share a modem, the modem is in a state of closing communication capability, which results in contradiction between the display interface of the personal system and an actual communication function, when a user switches to the personal system, the perceived communication function is disordered, and the user experience is poor.
In order to solve the above-mentioned problem, the communication function data of the security system after modification needs to be rewritten into the personal system data partition as shown in fig. 3, but there are two communication function data in the terminal at this time, resulting in waste of data storage.
Based on the above, the embodiment of the application provides a communication function changing method, which is used for improving the use experience of a user and saving the storage space.
Fig. 7 is a schematic diagram illustrating a communication function changing method according to an embodiment of the present application. As shown in fig. 7, the method includes:
in step 700, a first subsystem obtains communication function change information.
The first subsystem may be any subsystem except the main system in the multi-system terminal. By way of example, in the dual system terminal shown in fig. 2, it may be a security system. The user can select the communication function according to the actual requirement by operating on the display interface of the security system. For example, when taking an airplane or entering a specific place, a switch of a flight mode can be turned on to turn off the communication function of the mobile phone, so that the communication signal cannot be received or sent outwards, and the flight safety of the airplane is ensured. In another possible scenario, the user may control the wireless internet function through a WiFi toggle button. If a WiFi signal is weak, the mobile phone still keeps the WiFi connection, but the internet surfing speed is slow, at this time, the WiFi button can be turned off, and then the WiFi function is turned off, and the mobile phone can switch to internet surfing by using mobile traffic data. Further, when the user uses the mobile flow data to surf the internet, the user can also select which mobile phone card is used as the flow Internet card, and select the communication system of 3G/4G/5G. For example, when the user uses the mobile traffic data to surf the internet, the network card is switched from the card 1 to the card 2, so that the information such as the residual traffic of the card 2, the residual call duration and the like can be displayed on the display interface of the security system, and the user can be clearly informed that the mobile phone terminal uses the card 2 to surf the internet at the moment. Table one exemplary illustration of several communication functions provided by embodiments of the present application:
List one
The user-triggered change operation, i.e. the user changes any one or more of the above list one, generates communication function change information.
In one possible implementation, the user need only trigger one item change to operate the first subsystem to effect a change to the other item. If the user turns on the flight mode switch, the WiFi function is turned off, and the Internet communication function of the Internet card is also turned off.
In another possible implementation, the user needs to trigger multiple changing operations to finally determine the communication function. If the user wants to use the communication function 10, the communication mode is first turned off, then the WiFi is turned off, then the data card is selected, the default standard of the data card is 4G, and the user trigger change operation can be switched from 4G to 5G.
In step 701, the first subsystem writes the acquired communication function change information into a memory area of a main system of the multi-system terminal based on the first process.
In one possible implementation manner, the first subsystem is operated based on the main system, and the communication function change information can be written into the main system instead of the data partition of the first subsystem, so that the data storage space can be effectively saved.
Step 702, the first subsystem updates a corresponding communication configuration item in the first subsystem according to the communication function change information; the first subsystem is a subsystem in a front-end display state in the multi-system terminal, and the first process runs in the first subsystem.
Based on the change operation triggered by the user in step 700, the first subsystem obtains the communication function change information corresponding to the change operation through the first process, and updates the corresponding communication configuration item in the first subsystem according to the communication function change information, including the communication identifier and the background configuration. Taking the selection data card 1 as an example, the communication function change information related to selecting the network card is information reflected by the data used for controlling the network card in the first subsystem. When switching the data card 2 to the data card 1, the data card 2 and the main driver need to be unbinding, and then the data card 1 and the main driver need to be bound, in this process, the change of the internal data of the driver and the reconfiguration of other variables are involved, and the current data card 1 is displayed on the display interface of the first subsystem as an internet card.
For example, in order to facilitate the operation of the user, the first subsystem may be set to be a subsystem in a front-end display state, so that the user can see an operation interface of the first subsystem, and perform an operation on the operation interface, thereby realizing the change of the communication function. The first subsystem has a first process running therein for performing the above operations.
Step 703, the first subsystem sends a change indication to the second process based on the first process; the second process is a process in a second subsystem in a back-end hidden state in the multi-system terminal.
For example, a communication mechanism may be established between the first subsystem and the second subsystem. Optionally, communication between the first subsystem and the second subsystem is implemented through a binder mechanism.
In the current mobile phone terminals, especially in mobile phone terminals using android system, there is a binder communication mechanism. The binder communication mechanism is a mechanism for interprocess communication. In addition to interprocess communication, a Binder can also be understood as a virtual physical device driver. Virtual means that there is no entity, unlike a keyboard mouse, the Binder is virtual. In addition, at the application layer, a Binder can also be understood as a Java class that can initiate inter-process communication.
Each subsystem has its own independent driver name (DRIVER NAMESPACE, drv_ns), when a process in the system accesses the binder driver, the driver finds the corresponding binder driver data structure according to drv_ns, and it can realize that each subsystem accesses its own independent service manager (SERVICE MANAGER). Specifically, the drv_ns of each subsystem is utilized to perform hash operation on service names in the systems, so that the service with the same name among different systems is ensured to be different in SERVICE MANAGER, and the SERVICE MANAGER service center stores the service in each system, and when each system accesses, the corresponding service in the own system is accessed, so that the purpose of data isolation is realized.
Taking an Activity component (Activity) of one of the Android four-big components as an example, activity is one of the four-big components which are most basically and commonly used in the Android component. Activity is an application component that provides a screen that a user can use to interact to accomplish a task. All operations in Activity are closely related to the user and are a component responsible for interaction with the user. In an android application, an Activity is typically a single screen on which controls can be displayed or events of the user can be monitored and processed to respond. The activities communicate with each other through the Intent. For android upper layers, MYACTIVITY is just one file with the same name. Each Activity in the android system will register through SERVICEMANAGER.
When storing Activity in the system, 16bits, that is, two bytes of storage space are allocated for each Activity memory, for example, in a single system, one high byte stores 0 and the other low byte stores the name of Activity, as shown in the following table two:
Watch II
0 My activity
In the dual system, still according to the single system storage format, as shown in the following table three, the corresponding value is 1 for the first subsystem and 2 for the second subsystem.
Watch III
1 My activity
2 My activity
When the system is created, different hash values are transmitted into an upper layer of the android to create the same-name activities corresponding to different subsystems. Each subsystem will distinguish which system MYACTIVITY is based on the different values of the upper bits, which is not perceived by the upper android layers. However, for actual operation, each subsystem is running its own Activity, and the two subsystems are separated. The storage format is shown in table four below: table four
Subsystem 1 MyActivity 1 binder ServiceManager 1
Subsystem 2 MyActivity 2 binder ServiceManager 2
Subsystem n MyActivity n binder ServiceManager n
In the embodiment of the application, a binder communication mechanism is established between each subsystem and the main system, and is realized by the following modes: the hash operation is not carried out on the service names of the services to be shared, so that each subsystem accesses the same service to the main system, and communication between each subsystem and the main system is realized.
Specifically, the kernel driver of the android system allocates a new storage space to the shared service, which is specially used for storing the shared service, such as reading the communication function change information service in the host system. The service is stored in the main system, the subsystem can acquire the service, and corresponding functional interfaces are arranged in the main system, so that each subsystem can read and write the data of the main system through the interfaces.
When the first subsystem and the second subsystem establish a communication mechanism, the service of sending the change instruction can be hashed by using the drive name of the first subsystem, and the related server is deployed in the second subsystem, so that the first subsystem can access the second subsystem through the drive of the first subsystem and send a change notification to the second subsystem.
Fission Host Service as shown in Table five below is written in the main system, fission Host Secure is written in the first subsystem and FissionHostNormal is written in the second subsystem. Thus, a change notification may be sent to the second subsystem based on FissionHostNormal deployed in the second subsystem. Fission Host Service, fission Host Secure, and FissionHostNormal are all shared services.
TABLE five
Main system FissionHostService binder
First subsystem FissionHostSecure binder
A second subsystem FissionHostNormal binder
Based on the above-mentioned establishment procedure of the binder mechanism, fig. 8 illustrates a schematic diagram of a binder communication mechanism provided in an embodiment of the present application, and as shown in fig. 8, a dual-system terminal is taken as an example, and includes a first subsystem, a second subsystem and a main system, where the binder mechanism is established between the first subsystem and the second subsystem for communication.
In a possible implementation manner, the change instruction in step 703 may include only the changed communication function name, and may not include a specific change. Taking the communication system as an example, the change information can only contain the information of 'communication system change', and does not contain specific change to a 3G/4G/5G mode. Therefore, the data volume of communication between the systems can be reduced, and the operation safety of the terminal is ensured.
In step 704, the second subsystem obtains the communication function change information from the storage area of the main system based on the second process.
Step 705, updating the corresponding communication configuration item in the second subsystem according to the communication function change information; the first subsystem and the second subsystem share a communication module.
After receiving the change instruction, the second subsystem can directly read the communication function change information from the storage area of the main system, so as to update the corresponding communication configuration item.
In one possible implementation manner, the communication configuration item may include a communication identifier of the second subsystem, that is, an identifier displayed on a display interface of the second subsystem, and when the user uses the second subsystem, the user may determine the current communication state of the terminal through the communication identifier.
In another possible implementation manner, the communication configuration items may further include other communication configuration items of the second subsystem, and reference may be made to the above configuration manner of the first subsystem, which is not described herein.
By the mode, when a user operates the change communication function on the subsystem located at the foreground, the user can inform other subsystems of the change information. And the first subsystem writes the communication function change information into the storage area of the main system, and the second subsystem can directly read the communication function change information from the main system so as to change the communication configuration of the first subsystem and the second subsystem, thereby avoiding the problem that the information generated by data isolation between the first subsystem and the second subsystem is asynchronous, and ensuring that the perceived communication mode is inconsistent with the actual communication mode and the use experience is poor when the user switches to the second subsystem for use.
In one possible implementation manner, when the first subsystem writes the communication function change information into the storage area of the main system, based on the triggering of the first process, the communication module obtains the communication function change information from the storage area of the main system and performs the function change according to the communication function change information, for example, the communication module obtains the communication function change information as an open flight mode, and then the communication module controls the communication function of the communication module to be closed.
By the mode, the communication function change information is written into the storage area of the main system, but not into the data storage area of the first subsystem, so that the data storage space is saved while the second subsystem can acquire the communication function change information from the main system. In this scheme, the communication function information related to the communication module is written into the memory area of the main system, and the start, change, etc. of the communication module are also obtained from the memory area of the main system. Therefore, the situation that the communication module is required to be configured for multiple times due to different starting sequences of the first subsystem and the second subsystem when the multi-system terminal is started is avoided, for example, communication function information is acquired from a storage area of the first subsystem to be configured, and then the communication function information is acquired from a storage area of the second subsystem to be configured, so that inconsistency of the communication functions stored in the first subsystem and the second subsystem possibly occurs, and the configuration of the communication module is disordered is avoided. Similar problems exist in updating the communication function information. I.e. the communication function information is updated in the memory area of the first subsystem, whereas no corresponding update is made in the memory area of the second subsystem.
In another possible implementation manner, the communication function change information is written into the storage area of the first subsystem while the communication function change information is written into the storage area of the main system. The communication module obtains communication function change information from the storage area of the first subsystem and changes the function according to the communication function change information.
Through the mode, the communication function change information acquired by the communication module can be ensured to be transmitted and written for the second time, the accuracy of the communication function change information acquired by the communication module is effectively improved, the communication function after the communication module is changed is further enabled to be more in line with the actual demands of users, and the use experience of the users is improved.
Based on the same technical conception, the embodiment of the application also provides a multi-system terminal. Fig. 9 schematically illustrates a multi-system terminal provided by the embodiment of the present application, where the multi-system terminal may perform the foregoing communication function changing method, and as shown in fig. 9, the multi-system terminal includes a main system, a first subsystem in a front-end display state, a second subsystem in a rear-end hidden state, and a communication module; the first subsystem and the second subsystem share a communication module; the storage area of the first subsystem is isolated from the storage area of the second subsystem, and the two storage areas are isolated from each other by referring to the above-mentioned manner of the security system data partition and the personal system data partition in fig. 3.
The first process is used for writing the acquired communication function change information into a storage area of the main system and updating a corresponding communication configuration item in the first subsystem according to the communication function change information; and is also configured to send a change indication to the second process.
The second process is used for acquiring communication function change information from the storage area of the main system according to the change instruction, and updating a corresponding communication configuration item in the second subsystem according to the communication function change information.
In one possible implementation manner, the communication module is configured to obtain communication function change information from a storage area of the main system and perform a function change according to the communication function change information.
In a possible implementation manner, the terminal further comprises a display screen; and the display screen is used for displaying the communication identification which is determined based on the first process and matched with the communication function change information.
Several specific embodiments are described below based on the above-described methods and terminals in connection with specific usage scenarios.
Scene one: switching scenes in the use process. In this scenario, the user switches the communication function when using the multi-system terminal. Taking an open flight mode as an example, the method comprises the following steps:
Fig. 10 is a schematic flow chart illustrating a communication function changing method according to an embodiment of the present application.
In step 1000, a first subsystem obtains flight mode opening information.
In step 1001, the first subsystem writes the acquired flight mode opening information into a memory area of a main system of the multi-system terminal based on the first process.
Step 1002, the first subsystem updates a communication configuration item corresponding to the flight mode in the first subsystem according to the flight mode opening information; the first subsystem is a subsystem in a front-end display state in the multi-system terminal, and the first process runs in the first subsystem.
Step 1003, the first subsystem sends an indication of flight mode change to the second process based on the first process; the second process is a process in a second subsystem in a back-end hidden state in the multi-system terminal.
In step 1004, the second subsystem obtains flight mode change information from the memory area of the main system based on the second process.
Step 1005, updating a communication configuration item corresponding to the flight mode in the second subsystem according to the flight mode information; the first subsystem and the second subsystem share a communication module.
In step 1006, the communication module obtains flight mode change information from the memory area of the host system.
In step 1007, the communication module turns off the communication function of the multi-system terminal.
Scene II: a power-on scenario.
Fig. 11 is a schematic flow chart illustrating a communication function changing method according to an embodiment of the present application. As shown in fig. 11, the method includes:
Step 1100, the first subsystem and the second subsystem acquire communication function information before shutdown in a storage area of the main system from the storage area of the main system;
step 1101, the first subsystem and the second subsystem respectively configure corresponding communication configuration items according to the communication function information;
In step 1102, the communication module obtains the communication function information from the storage area of the main system, and configures the communication function.
Scene III: and restoring the factory setting scene.
In this scenario, the user does not need to manually switch the communication function, but only needs to click the restore factory setting button, the first subsystem will automatically generate the communication function change information, the subsequent starting step may refer to steps 1100 to 1102, and the step of switching the communication function again after starting may refer to steps 1000 to 1007, which will not be described herein.
Based on the same technical idea, an embodiment of the present invention further provides a computer readable storage medium, which implements the communication function changing method as illustrated in fig. 7, 10 and 11 when the computer program product runs on a processor.
Based on the same technical concept, the embodiment of the invention also provides a multi-system terminal, which comprises: a memory for storing program instructions;
And a processor for calling the program instructions stored in the memory and executing the communication function changing method as illustrated in fig. 7, 10 and 11 according to the obtained program.
Based on the same technical idea, an embodiment of the present invention also provides a computer program product, which when run on a processor, implements the communication function changing method as illustrated in fig. 7, 10 and 11.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (7)

1. A communication function changing method applied to a multi-system terminal, the method comprising:
writing the acquired communication function change information into a storage area of a main system of the multi-system terminal based on a first process, and updating a corresponding communication configuration item in a first subsystem of the multi-system terminal according to the communication function change information; the first subsystem is a subsystem in a front-end display state in the multi-system terminal, and the first process runs in the first subsystem;
Writing the communication function change information into a storage area of the first subsystem based on the first process; based on the triggering of the first process, a communication module obtains the communication function change information from a storage area of the first subsystem and changes the function according to the communication function change information; the communication function comprises a flight mode, a wireless network, an Internet card and a communication system;
Sending a change instruction to a second process based on the first process; the second process is a process in a second subsystem in a rear-end hidden state in the multi-system terminal;
Acquiring the communication function change information from the storage area of the main system based on the second process, and updating the corresponding communication configuration item in the second subsystem according to the communication function change information; the first subsystem and the second subsystem share a communication module.
2. The method of claim 1, wherein,
Before writing the acquired communication function change information into the storage area of the main system of the multi-system terminal based on the first process, the method further comprises:
Based on the change operation triggered by the user, the communication function change information corresponding to the change operation is obtained through the first process.
3. The method of any one of claims 1-2, wherein the method further comprises:
And displaying the communication identifier matched with the communication function change information based on the first process.
4. The multi-system terminal is characterized by comprising a main system, a first subsystem in a front-end display state, a second subsystem in a rear-end hidden state and a communication module; the first subsystem and the second subsystem share the communication module; the storage area of the first subsystem is isolated from the storage area of the second subsystem; a first process is operated in the first subsystem, and the first process is used for writing the acquired communication function change information into a storage area of the main system and updating a corresponding communication configuration item in the first subsystem according to the communication function change information; writing the communication function change information into a storage area of the first subsystem based on the first process; the communication module obtains the communication function change information from the storage area of the first subsystem and changes the function according to the communication function change information; the communication function comprises a flight mode, a wireless network, an Internet card and a communication system; the first process is also used for sending a change instruction to the second process;
and a second process is operated in the second subsystem and is used for acquiring the communication function change information from the storage area of the main system according to the change instruction and updating the corresponding communication configuration item in the second subsystem according to the communication function change information.
5. The terminal of claim 4, wherein the terminal further comprises a display screen;
And the display screen is used for displaying the communication identification which is determined based on the first process and matched with the communication function change information.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when run, performs the method of any one of claims 1 to 3.
7. A multi-system terminal, comprising:
A memory for storing program instructions;
A processor for invoking program instructions stored in said memory to perform the method according to any of claims 1 to 3 in accordance with the obtained program.
CN202210951480.4A 2022-08-09 2022-08-09 Communication function changing method, multi-system terminal and medium Active CN115334197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210951480.4A CN115334197B (en) 2022-08-09 2022-08-09 Communication function changing method, multi-system terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210951480.4A CN115334197B (en) 2022-08-09 2022-08-09 Communication function changing method, multi-system terminal and medium

Publications (2)

Publication Number Publication Date
CN115334197A CN115334197A (en) 2022-11-11
CN115334197B true CN115334197B (en) 2024-05-10

Family

ID=83921133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210951480.4A Active CN115334197B (en) 2022-08-09 2022-08-09 Communication function changing method, multi-system terminal and medium

Country Status (1)

Country Link
CN (1) CN115334197B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133888A (en) * 2014-07-30 2014-11-05 宇龙计算机通信科技(深圳)有限公司 Multi-system data processing method, device and terminal
CN105530376A (en) * 2015-12-11 2016-04-27 北京元心科技有限公司 Method and device for carrying out call during multi-system switching
CN105653353A (en) * 2015-12-31 2016-06-08 北京元心科技有限公司 Multi-system interactive communication method and device based on container
WO2016115787A1 (en) * 2015-01-20 2016-07-28 宇龙计算机通信科技(深圳)有限公司 Data synchronization method and data synchronization system for multi-system device, and terminal
WO2016141611A1 (en) * 2015-03-09 2016-09-15 宇龙计算机通信科技(深圳)有限公司 Information display method and terminal
CN108337743A (en) * 2018-03-27 2018-07-27 青岛海信移动通信技术股份有限公司 A kind of terminal device and its communication means of double card dual system
CN110471870A (en) * 2019-08-14 2019-11-19 Oppo广东移动通信有限公司 Method, apparatus, electronic equipment and the storage medium of multisystem operation
CN111078374A (en) * 2018-10-19 2020-04-28 西安中兴新软件有限责任公司 Task recovery method and device in multi-operating system environment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133888A (en) * 2014-07-30 2014-11-05 宇龙计算机通信科技(深圳)有限公司 Multi-system data processing method, device and terminal
WO2016115787A1 (en) * 2015-01-20 2016-07-28 宇龙计算机通信科技(深圳)有限公司 Data synchronization method and data synchronization system for multi-system device, and terminal
WO2016141611A1 (en) * 2015-03-09 2016-09-15 宇龙计算机通信科技(深圳)有限公司 Information display method and terminal
CN105530376A (en) * 2015-12-11 2016-04-27 北京元心科技有限公司 Method and device for carrying out call during multi-system switching
CN105653353A (en) * 2015-12-31 2016-06-08 北京元心科技有限公司 Multi-system interactive communication method and device based on container
CN108337743A (en) * 2018-03-27 2018-07-27 青岛海信移动通信技术股份有限公司 A kind of terminal device and its communication means of double card dual system
CN111078374A (en) * 2018-10-19 2020-04-28 西安中兴新软件有限责任公司 Task recovery method and device in multi-operating system environment and storage medium
CN110471870A (en) * 2019-08-14 2019-11-19 Oppo广东移动通信有限公司 Method, apparatus, electronic equipment and the storage medium of multisystem operation

Also Published As

Publication number Publication date
CN115334197A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN104156658B (en) A kind of mobile terminal and under dual system the method and apparatus of visit data
CN107291456B (en) Multi-screen display control method and system
CN107885535A (en) A kind of system start method, system switching method and device
CN104252284A (en) File display method and device
CN108337743B (en) Terminal equipment of double-card double-system and communication method thereof
CN115309511B (en) Xen-based data interaction method and device, storage medium and electronic equipment
CN110856161A (en) SIM card setting method, terminal and computer storage medium
CN110764862A (en) Desktop wallpaper display method and device, terminal equipment and storage medium
CN115334197B (en) Communication function changing method, multi-system terminal and medium
CN111124536B (en) Dual-system data sharing method and device based on data isolation and terminal equipment
US9225818B2 (en) Mobile terminal
CN108153564B (en) Interface management method, device and system and computer readable storage medium
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN106648298B (en) Application control method and device and mobile terminal
CN113805705B (en) Terminal shortcut key operation method and device
WO2017073050A1 (en) Server terminal device, client terminal device, thin client system, control method, and program recording medium
CN113824830A (en) Application management method and device
CN114138343A (en) Terminal and terminal starting method
CN115278642A (en) Method for acquiring information of SIM card, electronic equipment and terminal equipment
CN106445693B (en) Information synchronization method and device and terminal equipment
CN108235757A (en) A kind of method, apparatus and electronic equipment of operating system screen locking
CN117130697B (en) Method and device for fixing application on taskbar
CN110119132B (en) Method and system for realizing function setting diversification of controller
CN114513760B (en) Font library synchronization method, device and storage medium
CN115617405A (en) Interface display method, device, terminal and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Country or region before: China

GR01 Patent grant
GR01 Patent grant