CN115334197A - 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
CN115334197A
CN115334197A CN202210951480.4A CN202210951480A CN115334197A CN 115334197 A CN115334197 A CN 115334197A CN 202210951480 A CN202210951480 A CN 202210951480A CN 115334197 A CN115334197 A CN 115334197A
Authority
CN
China
Prior art keywords
subsystem
communication function
communication
change information
function change
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.)
Granted
Application number
CN202210951480.4A
Other languages
Chinese (zh)
Other versions
CN115334197B (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

Images

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 the 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. Therefore, when the user operates the communication change function on the subsystem located in the foreground, the change information can be informed to the second process in the other subsystem. And the communication function change information is written into the 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 operate independently, and a user can switch among the systems according to 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 both operate in an android system, and communication cannot be performed between the security system and the personal system. The security system and the personal system use the same communication module, and after the communication function identification data of one system is changed, the communication data of the communication module is changed, but because the two systems can not communicate with each other, the communication function identification data of the other system is not changed. Therefore, when another system is used, the communication function identification data and the actual communication function are not matched, so that the user perceives the communication function to be disordered, 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 a communication function perceived by a user consistent with an 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 a 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.
Through the mode, when the user operates the communication change function on the subsystem positioned on the front platform, the user can inform the change information to the second process in other subsystems. And the communication function change information is written into the storage area of the main system, 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, and the user experience is improved.
In a possible implementation, 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 method, 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, and the storage space of the first subsystem is saved while the second subsystem is ensured to acquire the communication function change information from the main system.
In a possible implementation, 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.
By the mode, the communication function change information acquired by the communication module can be ensured to be transmitted and written in 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 can meet the actual requirements of users, and the use experience of the users is improved.
In a 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: and based on the change operation triggered by a user, acquiring communication function change information corresponding to the change operation through the first process.
By the mode, when the user triggers the change operation, the first process writes the communication function change information into the storage area of the main system of the multi-system terminal, so that the requirement of the user can be responded quickly, and the communication function required by the user is further realized.
In a possible implementation, 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 identification, and the communication identification can be consistent with the actual communication function, so that 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 back-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 and the storage area of the second subsystem are isolated from each other; a first process runs 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 system is also used for sending a change instruction to the second process; and a second process is operated in the second subsystem and used for acquiring the communication function change information from the storage area of the main system according to the change indication and updating a 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 main system and change a function according to the communication function change information.
In a possible implementation manner, the terminal further includes a display screen; and the display screen is used for displaying the communication identifier which is determined based on the first process and is matched with the communication function change information.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed, the method in any one of the above first aspects is performed.
In a fourth aspect, an embodiment of the present application provides a multi-system terminal, including: a memory for storing program instructions; and the processor is used for calling the program instructions stored in the memory and executing the method in any one of the designs of the first aspect according to the obtained program.
In a fifth aspect, the present application provides a computer program product, which when run on a processor, implements the method as designed in any one of the first aspects above.
The advantageous effects of the second aspect to the fifth aspect can be found in any design of the first aspect, and are not described in detail herein.
Drawings
Fig. 1 schematically illustrates a scenario architecture provided by an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an interface of a security system provided by an embodiment of the present application;
FIG. 3 is a diagram illustrating an example of data partitioning provided by an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a communication module according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a system interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a system interface provided by an embodiment of the present application;
fig. 7 is a schematic flowchart 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 is a schematic diagram schematically illustrating a multi-system terminal provided in an embodiment of the present application;
fig. 10 is a schematic flowchart illustrating a communication function changing method according to an embodiment of the present application;
fig. 11 is a flowchart 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 clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Fig. 1 exemplarily illustrates a scenario architecture diagram provided by an embodiment of the present application, and 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 1 and 2, 8230, N subsystems N, which are independent from each other and have independent data storage media. The N subsystems operate based on the logical architecture of the host system. The N subsystems share one communication module.
Illustratively, the scenario architecture in fig. 1 may be an internal architecture of a mobile phone. In this embodiment, the main system may be an android system, an iOS system, or a dammon system, which are commonly found in a mobile phone terminal. The android system serves as a mobile phone end main system and can provide a service platform for basic operation of a user. In recent years, with the development of communication technology, the use requirements of users increase, and the use requirements of users cannot be met only by installing application services in an android system, so that a plurality of mobile phone manufacturers add an independent system on the original android system, and users can enter a brand new mobile phone interface, namely a brand new system, through buttons on the mobile phones, and in order to distinguish the system, the original system on the android system is called a security system, and the brand new system is called a personal system. The data level of the security system is higher than that of the personal system.
Fig. 2 is a schematic view illustrating an interface of a security system according to an embodiment of the present application. As shown in fig. 2, in the setting interface of the security system, there is a mark in the upper right corner to inform the user that the security system is currently available, and 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 data in the personal system is not a requirement in the embodiment of the present application, and in a special case, data in the personal system may not be encrypted. However, due to the nature of the system as it is developed, the data in the personal system and the data in the security system are completely isolated, i.e., there is no direct mutual access to the user data between the security system and the personal system.
The multi-system terminal is divided into a plurality of partitions as data partitions of a plurality of subsystems on the basis of built-in storage, and data cannot be accessed between the data partitions of the subsystems and a built-in storage area of a main system, so that data of the subsystems 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, as shown in fig. 3, a dual-system terminal further divides two partitions on the basis of a built-in storage 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 by a user when using an application in the security system cannot be synchronized into the personal system, and similarly, data generated by the user when using an application in the personal system cannot be synchronized into the security system. Data in other three-system terminals or four-system terminals and other multi-system terminals can be referred to the dual-system terminal in a planning mode to continuously increase data partitions in the main system. The embodiment of the present application will be described with reference to a dual-system mobile phone terminal as an example.
Based on the above structure, when the terminal is started for the first time, the terminal firstly enters the security system, namely the security system is visible to the user and operates at the front end. The user can install various application services in the security system operated at the front end, surf the internet and browse the webpage information, communicate with other terminals and the like. To enter the personal system, a specific entry is made or a "system switch" button on the interface shown in fig. 2 is clicked.
In a scene 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 may include a modem (modem), a radio interface layer, RIL, etc.
The modem can translate the digital signals of the terminal into analog signals that can be transmitted over a conventional telephone line, which in turn can be received by another modem at the other end of the line and translated into a language understandable by the terminal. The information in the terminal is a digital signal composed of "0" and "1", and the information transmitted on the telephone line is only an analog electrical signal. Thus, when two terminals are to transmit data via telephone lines, a device is required for digital-to-analog conversion. It should be understood that the above is only an example to illustrate one of the simpler functions of the modem, and in practice the modem may be an integrated chip, and the function of the specific modem on the terminal is determined according to the actual requirements.
The RIL is a bridge for communicating between modem and android system and is divided into two parts, namely RILJ and (radio interface layer demon, RILD). Fig. 4 is a schematic diagram illustrating a communication module provided in an embodiment of the present application, as shown in fig. 4, a security system and a personal system exist in a host system, and RILJ in the host system may communicate with the security system and the personal system, respectively. RILJ belongs to an application software layer and is used for establishing connection between each application software and RILD, and RILD belongs to a hardware abstraction layer and can be in interactive communication with modem.
In a 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 is a schematic diagram illustrating an exemplary system interface provided in an embodiment of the present application. As shown in fig. 5, in the interface of the security system, the communication identifier includes an airplane mode switch button, a network 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 can change the communication function at the operation interface of the safety system. Taking the flight mode as an example, the user changes the flight mode off state to the flight mode on state by clicking the flight mode button, and as shown in fig. 5, it is displayed on the interface that the flight mode button is changed into a dark color. 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 data partition of the safety system shown in fig. 4, the modem acquires the communication function data from the data partition of the safety system through the RILD and the RILJ, so that the communication configuration of the modem is changed, and the communication configuration corresponding to the flight mode is that the communication capability of the modem is completely closed.
At this point, the personal system cannot know that the security system has modified the communication function because the data between the personal system and the security system is completely isolated. Fig. 6 is a schematic diagram illustrating a system interface provided by an embodiment of the present application, as shown in fig. 6, in a display interface of a personal system, an identification of a flight mode is still in a closed state (i.e., a terminal is in a communicable state), since the personal system and a security system share one modem, which is a state where a communication capability is closed, this results in a contradiction between the display interface of the personal system and an actual communication function, and when a user switches to the personal system, a perceived communication function is confused, and a user experience is not good.
In order to solve the above problem, the communication function data of the security system after being changed needs to be rewritten into the personal system data partition as shown in fig. 3, but at this time, there are two pieces of communication function data in the terminal, which results in a waste of data storage.
Therefore, 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:
step 700, the first subsystem obtains communication function change information.
The first subsystem may be any subsystem of the multi-system terminal except the main system. Illustratively, in the dual system terminal shown in fig. 2, it may be a security system. The user can select the communication function according to actual requirements by operating on a display interface of the safety system. For example, when the user takes an airplane or enters a specific place, the switch of the flight mode can be turned on to close the communication function of the mobile phone, namely the communication signal cannot be received and cannot be sent out outwards, so that the safety of airplane flight is ensured. In another possible scenario, the user may control the wireless internet function through a WiFi switch button. If a WiFi signal is weak, the mobile phone still keeps WiFi connection, but the internet surfing speed is low, at the moment, the WiFi button can be closed, the WiFi function is further closed, and the mobile phone can be switched to use mobile traffic data to surf the internet. Furthermore, when the user uses the mobile traffic data to surf the internet, the user can also select which mobile phone card is used as the traffic surf card and select the 3G/4G/5G communication system. 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 of the remaining traffic, the remaining call duration and the like of the card 2 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. The table one exemplarily shows several communication functions provided by the embodiment of the present application:
watch 1
Figure BDA0003789349430000091
The change operation triggered by the user, namely the user changes any one item or a plurality of items in the table I, can generate the communication function change information.
In one possible implementation, the user need only trigger one change operation to the first subsystem to effect a change of another item. If the user turns on the flight mode switch, the WiFi function is closed, and the internet communication function of the internet card is also closed.
In another possible implementation, the user needs to trigger multiple modification operations to finally determine the communication function. If a user wants to use the communication function 10, the communication mode needs to be turned off first, then the WiFi is turned off, and then the data card is selected, the default mode of the data card is 4G, and the user triggered change operation can be switched from 4G to 5G.
Step 701, the first subsystem writes the acquired communication function change information into a storage area of a main system of the multi-system terminal based on the first process.
In a possible implementation manner, the first subsystem operates 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 the 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, after the first subsystem obtains the communication function change information corresponding to the change operation through the first process, the communication configuration item corresponding to the first subsystem is updated according to the communication function change information, where the communication configuration item includes the communication identifier and the background configuration. Taking the data card 1 as an example, the communication function change information related to the selected internet access card is the information reflected by the data for controlling the internet access card in the first subsystem. When the data card 2 is switched to the data card 1, the data card 2 and the main driver need to be unbound, then the data card 1 and the main driver need to be bound, the change of data inside the driver and the reconfiguration of other variables are involved in the process, and the current data card 1 is displayed on the display interface of the first subsystem as a network card.
For example, to facilitate user operation, the first subsystem may be set as the subsystem in the front-end display state, and a user may view an operation interface of the first subsystem, perform an operation on the operation interface, and may implement a change of the communication function. A first process for performing the above-described operations runs in the first subsystem.
703, the first subsystem sends a change instruction to the 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.
Illustratively, a communication mechanism may be established between the first subsystem and the second subsystem. Optionally, the communication between the first subsystem and the second subsystem is implemented by a binder mechanism.
In the current mobile phone terminal, especially in the mobile phone terminal using the android system, a binder communication mechanism generally exists. The binder communication mechanism is a mechanism for inter-process communication. In addition to interprocess communication, a Binder can also be understood as a virtual physical device driver. The virtual representation has no entity, and unlike a keyboard and a mouse, the Binder is virtual. In addition, at the application layer, the Binder can also be understood as a Java class capable of initiating inter-process communication.
Each subsystem has its own independent drive name (drv _ ns), and when a process in the system accesses a binder drive, the drive finds a corresponding binder drive data structure according to drv _ ns, so that each subsystem can access its own independent service manager (service manager). Specifically, the drv _ ns of each subsystem is used for carrying out hash operation on the service names in the system, so that the services with the same name among different systems are different in the service manager, the service manager service center stores the services in each system, and the services accessed when each system accesses are the corresponding services in the system, so that the purpose of data isolation is achieved.
Taking an Activity component (Activity) which is one of the four Android components as an example, the Activity is one of the four most basic and common Android components. Activity is an application component that provides a screen through which a user can interact in order to complete a task. All actions in Activity are closely related to the user and are a component responsible for interacting with the user. In an android application, an Activity is usually a separate screen on which controls can be displayed and in which the user's events can be monitored and processed in response. Activity communicates with each other through Intent. For the android upper layer, say MyActivities, there is only one file of the same name. Each Activity in the android system is registered through ServiceManager.
When Activity is stored in the system, 16bits, that is, a storage space of two bytes, is allocated to each Activity memory, for example, in a single system, one of the upper bytes stores a value of 0, and the other lower byte stores a name of Activity, as shown in the following table two:
watch 2
0 My activity
In the dual system, still according to the storage format of the single system, as shown in table three below, for example, the first subsystem corresponds to a value of 1, and the second subsystem corresponds to a value of 2.
Watch III
1 My activity
2 My activity
When the system is created, the upper layer of the android can transmit different hash values to create homonymy activities corresponding to different subsystems. Each subsystem can distinguish which system's MyActivities according to the different values of the high order, and cannot be perceived by the android upper layer. However, for actual operation, each subsystem operates respective Activity, and the activities do not interfere with each other, so that data separation of the two subsystems is realized. The storage format is shown in table four below: watch 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 the binder communication mechanism is realized in the following way: the service name of the service needing to be shared is not subjected to Hash operation, so that the fact that each subsystem accesses the main system to be the same service is achieved, and communication between each subsystem and the main system is achieved.
Specifically, the kernel driver of the android system allocates a new storage space to the shared service, which is dedicated to storing the shared service, such as a service for reading communication function change information in the host system. The service is stored in the main system, the subsystem can acquire the service, and a corresponding functional interface is arranged in the main system, so that each subsystem can read and write data of the main system through the interface.
When a communication mechanism is established between the first subsystem and the second subsystem, the drive name of the first subsystem can be used for carrying out hash operation on the service of sending the change indication, 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 notice to the second subsystem.
The fistion Host Service shown in table five below is written in the Host system, fistion Host Secure is written in the first subsystem, and fistion Host normal 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. The fistion Host Service, the fistion Host Secure and the fistion Host normal are all shared services.
Watch five
Main system FissionHostService binder
First subsystem FissionHostSecure binder
The second subsystem FissionHostNormal binder
Based on the above building process of the binder mechanism, fig. 8 exemplarily shows a binder communication mechanism schematic diagram provided in the embodiment of the present application, as shown in fig. 8, taking a dual-system terminal as an example, the binder communication mechanism schematic diagram includes a first subsystem, a second subsystem and a main system, and a binder mechanism is built between the first subsystem and the second subsystem for communication.
In a possible implementation manner, the change instruction in step 703 may only include the name of the changed communication function, and does not include a specific change condition. Taking the communication system as an example, the change information may only include the information of "communication system change", and does not include a specific change to the 3G/4G/5G mode. Therefore, the data volume of communication between systems can be reduced, and the safety of terminal operation can be 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, and further update the communication configuration item corresponding to the second subsystem.
In a 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 communication state of the current terminal may be determined through the communication identifier.
In another possible implementation manner, the communication configuration items may further include other communication configuration items of the second subsystem, which may refer to the configuration manner of the first subsystem, and are not described herein again.
Through the mode, when the user operates the communication function change on the subsystem positioned on the foreground, the change information can be informed to other subsystems. And the first subsystem writes the communication function change information into a storage area of the main system, and the second subsystem can directly read the communication function change information from the main system to further change the communication configuration of the second subsystem, so that the problem of information asynchronism caused by data isolation between the first subsystem and the second subsystem is avoided, and the problem that a user feels that a sensed communication mode is inconsistent with an actual communication mode when the user switches to the second subsystem for use and the use experience is poor is solved.
In a possible implementation manner, when the first subsystem writes the communication function change information into the storage area of the main system, based on the trigger of the first process, the communication module obtains the communication function change information from the storage area of the main system and performs function change according to the communication function change information, for example, if the communication module obtains the communication function change information and is in an open flight mode, the communication module controls its own communication function to be closed.
By the method, 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, and the data storage space is saved while the second subsystem is ensured to acquire the communication function change information from the main system. In this arrangement, the communication function information related to the communication module is written into the storage area of the host system, and the activation, change, etc. of the communication module are also obtained from the storage area of the host system. Therefore, the situation that when the multi-system terminal is started, the communication module needs to be configured for multiple times due to different starting sequences of the first subsystem and the second subsystem is avoided, for example, the communication function information is acquired from the storage area of the first subsystem for configuration, and then the communication function information is acquired from the storage area of the second subsystem for configuration, so that the communication functions stored in the first subsystem and the second subsystem are inconsistent, and the configuration of the communication module is possibly disordered. Similar problems exist in updating communication function information. That is, the communication function information is updated in the storage area of the first subsystem, and the storage area of the second subsystem is not updated correspondingly.
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 the communication function change information from the storage area of the first subsystem and changes the function according to the communication function change information.
By the mode, the communication function change information acquired by the communication module can be ensured to be transmitted and written in 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 can meet the actual requirements of users, and the use experience of the users is improved.
Based on the same technical concept, the embodiment of the application also provides a multi-system terminal. Fig. 9 is a schematic diagram of a multi-system terminal according to an embodiment of the present application, where the multi-system terminal may execute 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 and the storage area of the second subsystem are isolated from each other, and the two storage areas are isolated from each other in the manner described above with reference to the security system data partition and the personal system data partition in fig. 3.
The first subsystem runs a first process, 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; and is further configured to send a change indication to the second process.
And the second subsystem runs a second process, and 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 function change according to the communication function change information.
In a possible implementation manner, the terminal further includes a display screen; and the display screen is used for displaying the communication identifier which is determined based on the first process and is matched with the communication function change information.
In the following, several specific embodiments are described based on the above method and terminal with reference to specific usage scenarios.
Scene one: switching scenes during use. In this scenario, the user switches the required communication function when using the multi-system terminal. Taking the open flight mode as an example, the method comprises the following steps:
fig. 10 is a schematic flowchart illustrating a communication function changing method according to an embodiment of the present application.
Step 1000, the first subsystem obtains flight mode turn on information.
Step 1001, the first subsystem writes the acquired flight mode opening information into a storage 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 flight mode change instruction to the 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.
At step 1004, the second subsystem obtains flight mode change information from the storage 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 a storage area of the host system.
Step 1007, the communication module closes the communication function of the multi-system terminal.
Scene two: and (5) starting up a scene.
Fig. 11 schematically illustrates a flow chart of a communication function changing method according to an embodiment of the present application. As shown in fig. 11, the method includes:
1100, a first subsystem and a second subsystem acquire communication function information before shutdown in a storage area of a main system from the storage area of the main system;
step 1101, configuring corresponding communication configuration items by the first subsystem and the second subsystem according to the communication function information respectively;
step 1102, the communication module obtains communication function information from a storage area of the main system and configures a communication function.
Scene three: 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 a factory reset button, the first subsystem may automatically generate communication function change information, the subsequent boot steps may be performed with reference to steps 1100 to 1102, and the step of switching the communication function again by the user after booting may be performed with reference to steps 1000 to 1007, which are not described herein again.
Based on the same technical concept, embodiments of the present invention further provide a computer-readable storage medium, which, when running on a processor, implements the communication function changing method as illustrated in fig. 7, 10 and 11.
Based on the same technical concept, an embodiment of the present invention further provides a multi-system terminal, including: 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 illustrated in fig. 7, 10 and 11 according to the obtained program.
Based on the same technical concept, the embodiment of the present invention further provides a computer program product, which when running on a processor, implements the communication function changing method as illustrated in fig. 7, 10 and 11.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A communication function changing method is applied to a multi-system terminal, and is characterized by comprising the following steps:
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 a 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 the method further comprises:
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.
3. The method of claim 1, wherein the method further comprises:
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.
4. The method of claim 1,
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 the following steps:
and based on the change operation triggered by a user, acquiring communication function change information corresponding to the change operation through the first process.
5. The method of any one of claims 1-4, further comprising:
and displaying a communication identifier matched with the communication function change information based on the first process.
6. A multi-system terminal is characterized in that the multi-system terminal is provided with a main system, a first subsystem in a front-end display state, a second subsystem in a rear-end hiding state and a communication module; the first subsystem and the second subsystem share the communication module; the storage area of the first subsystem and the storage area of the second subsystem are isolated from each other; a first process runs 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 system is also used for sending a change instruction to the second process;
and a second process is operated in the second subsystem and used for acquiring the communication function change information from the storage area of the main system according to the change indication and updating a corresponding communication configuration item in the second subsystem according to the communication function change information.
7. The terminal of claim 6,
and the communication module is used for acquiring the communication function change information from the storage area of the main system and carrying out function change according to the communication function change information.
8. The terminal of claim 6, wherein the terminal further comprises a display screen;
and the display screen is used for displaying the communication identifier which is determined based on the first process and is matched with the communication function change information.
9. A computer-readable storage medium, characterized in that it stores a computer program which, when executed, performs the method according to any one of claims 1 to 5.
10. A multi-system terminal, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 5 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 true CN115334197A (en) 2022-11-11
CN115334197B 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
CN115334197B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN107748686B (en) Application program starting optimization method and device, storage medium and intelligent terminal
KR101153147B1 (en) Processing information received at an auxiliary computing device
CN107291456B (en) Multi-screen display control method and system
WO2019223511A1 (en) Application program preloading method and apparatus, storage medium, and terminal
CN107832105B (en) Application program starting method, starting device and computer readable storage medium
CN107885535A (en) A kind of system start method, system switching method and device
CN107341407B (en) Multi-android system implementation method based on terminal, storage medium and terminal
CN107026933B (en) Multi-open application message management method and device and intelligent terminal
CN111708471B (en) Control processing method and related device
WO2023273350A1 (en) Application authorization method and apparatus, and terminal device
CN109782971B (en) Intelligent terminal, screen display method thereof and device with storage function
CN110868693A (en) Application program flow control method, terminal device and storage medium
CN110928397B (en) User interface refreshing method and device, storage medium and electronic device
CN106648737A (en) Application control method and device, and mobile terminal
CN106502732B (en) Application closing method and device and intelligent terminal
CN116451709A (en) Control method of translation control and electronic equipment
CN115334197B (en) Communication function changing method, multi-system terminal and medium
CN106648962A (en) Management method and device and intelligent terminal for multi-open application
CN106648298B (en) Application control method and device and mobile terminal
US9225818B2 (en) Mobile terminal
CN106502730B (en) Multi-open application association management method and device and terminal
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN112114719B (en) Application body-splitting method and device
CN114138343A (en) Terminal and terminal starting method
CN112558833A (en) Application running method and device and electronic equipment

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant