CN115150265B - Dual-system data processing method, device and apparatus - Google Patents

Dual-system data processing method, device and apparatus Download PDF

Info

Publication number
CN115150265B
CN115150265B CN202210750529.XA CN202210750529A CN115150265B CN 115150265 B CN115150265 B CN 115150265B CN 202210750529 A CN202210750529 A CN 202210750529A CN 115150265 B CN115150265 B CN 115150265B
Authority
CN
China
Prior art keywords
subsystem
network
configuration information
network configuration
data
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
CN202210750529.XA
Other languages
Chinese (zh)
Other versions
CN115150265A (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 CN202210750529.XA priority Critical patent/CN115150265B/en
Publication of CN115150265A publication Critical patent/CN115150265A/en
Application granted granted Critical
Publication of CN115150265B publication Critical patent/CN115150265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • 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)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a method, equipment and device for processing dual-system data, which are used for solving the problem of network establishment failure caused by inconsistent data configuration of two systems in dual-system terminal equipment. In the application, network identification information of an installed SIM card is obtained in response to a starting operation triggered by a user; based on the acquired network identification information of the SIM card, respectively acquiring network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem; the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem are fused, and the target network configuration information after the fusion is obtained; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem; the target network configuration information and the target initial attachment data are configured to the modem, and network connection is established through the modem.

Description

Dual-system data processing method, device and apparatus
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a device for processing dual-system data.
Background
Along with the popularization of terminal equipment, many industry markets have high requirements on the safety and control of the terminal equipment, and the information safety and the use convenience are considered at the same time, so that life and work are not wrong. Dual system terminal devices become the primary solution to address the needs of the industry.
In the related art, two systems in the dual-system terminal equipment are mutually independent, and respectively corresponding network data configurations can be issued when network access is performed, but when the network data configurations of the two systems are inconsistent, the network configuration data issued firstly can be covered by the network data configurations issued later, so that the system with the network data configuration issued firstly fails to establish a network, and the condition of abnormal network access occurs. Therefore, it is an important problem to solve the network establishment failure caused by the inconsistent data configuration of the two systems in the dual-system terminal device.
Disclosure of Invention
The application aims to provide a method, equipment and device for processing dual-system data, which are used for solving the problem of network establishment failure caused by inconsistent data configuration of two systems in dual-system terminal equipment.
In a first aspect, the present application provides a method for processing dual-system data, where the dual-system includes a first subsystem and a second subsystem, and the method includes:
Responding to a starting operation triggered by a user, and acquiring network identification information of an installed SIM card (Subscriber Identity Module, user identification card) by the terminal equipment;
the terminal equipment respectively acquires network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem based on the acquired network identification information of the SIM card;
carrying out fusion processing on the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem to obtain target network configuration information after fusion processing; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem;
and configuring the target network configuration information and the target initial attachment data to a modem, and establishing network connection through the modem.
In a possible implementation manner, the determining the target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem includes:
and selecting one of initial attachment data corresponding to the first subsystem and initial attachment data corresponding to the second subsystem as the target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem.
In one possible implementation manner, the selecting, as the target initial attach data, one from initial attach data corresponding to the first subsystem and initial attach data corresponding to the second subsystem according to the network type configured by the first subsystem and the network type configured by the second subsystem includes:
if the network type of the first subsystem configuration is the same as the network type of the second subsystem configuration, the initial attachment data corresponding to the first subsystem or the initial attachment data corresponding to the second subsystem is used as the target initial attachment data;
and if the network type of the first subsystem configuration is different from the network type of the second subsystem configuration, and the network type of the first subsystem configuration or the network type of the second subsystem configuration is a private network type, taking initial attachment data corresponding to a subsystem with the network type of the private network type as the target initial attachment data.
In a possible implementation manner, the network configuration information corresponding to the first subsystem includes a plurality of configuration parameters, and the network configuration information corresponding to the second subsystem includes a plurality of configuration parameters;
The fusing processing is performed on the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem to obtain target network configuration information after the fusing processing, including:
comparing each configuration parameter in the network configuration information corresponding to the first subsystem with each configuration parameter in the network configuration information corresponding to the second subsystem;
if each configuration parameter in the network configuration information corresponding to the first subsystem is the same as each configuration parameter in the network configuration information corresponding to the second subsystem, using the network configuration information corresponding to the first subsystem or the network configuration information corresponding to the second subsystem as the target network configuration information after fusion processing;
if each configuration parameter in the network configuration information corresponding to the first subsystem is partially or completely different from each configuration parameter in the network configuration information corresponding to the second subsystem, each configuration parameter in the network configuration information corresponding to the first subsystem and each configuration parameter in the network configuration information corresponding to the second subsystem are combined to obtain the target network configuration information after fusion processing.
In a possible implementation manner, if the first subsystem is a system operated by the foreground of the terminal device, the terminal device obtains network configuration information of the first subsystem based on the obtained network identification information of the SIM card, including:
determining a storage space corresponding to the first subsystem based on a unique subsystem identifier corresponding to the first subsystem; the storage space corresponding to the first subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the first subsystem;
based on the network identification information of the SIM card, network configuration information of the first subsystem is obtained from a storage space corresponding to the first subsystem.
In a possible implementation manner, if the first subsystem is a system operated by the foreground of the terminal device, the terminal device obtains network configuration information of the second subsystem based on the obtained network identification information of the SIM card, including:
the terminal equipment acquires network configuration information of the second subsystem from a memory corresponding to the second subsystem by calling a data synchronization service;
The network configuration information of the second subsystem stored in the memory corresponding to the second subsystem is obtained from the memory space corresponding to the second subsystem based on the network identification information of the SIM card; the storage space corresponding to the second subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the second subsystem; the storage space corresponding to the second subsystem is determined based on the unique subsystem identification corresponding to the second subsystem.
In a second aspect, the present application provides a dual system data processing apparatus, the dual system including a first subsystem and a second subsystem, the apparatus comprising:
the acquisition module is used for responding to the starting operation triggered by the user and acquiring the network identification information of the installed SIM card;
the acquisition module is further used for respectively acquiring network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem based on the acquired network identification information of the SIM card;
the processing module is used for carrying out fusion processing on the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem to obtain target network configuration information after fusion processing; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem;
And the configuration module is used for configuring the target network configuration information and the target initial attachment data to a modem, and establishing network connection through the modem.
In a third aspect, the present application provides a terminal device, where the terminal device is a dual-system terminal, the dual-system includes a first subsystem and a second subsystem, and the terminal device includes: a display, a processor, and a memory;
the display is used for displaying a screen display area;
the memory is configured to store the processor-executable instructions;
the processor is configured to perform the method of processing dual system data as described in the first aspect above.
In a fourth aspect, the present application provides a computer readable storage medium, which when executed by a terminal device, causes the terminal device to perform the method of processing dual system data as described in the first aspect.
In a fifth aspect, the application provides a computer program product comprising a computer program:
the computer program, when executed by a processor, implements the method for processing dual system data as described in the first aspect above.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
In the embodiment of the application, network identification information of an installed SIM card is acquired in response to a starting operation triggered by a user; based on the acquired network identification information of the SIM card, respectively acquiring network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem; the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem are fused, and the target network configuration information after the fusion is obtained; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem; the target network configuration information and the target initial attachment data are configured to the modem, and network connection is established through the modem. Therefore, when the network is established, no matter whether the first subsystem or the second subsystem initiates the establishment of the network connection, the problem of inconsistent data setting can not occur through the detection of the modem, and the problem of network establishment failure caused by inconsistent data configuration of the two systems is solved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 2 is a software architecture block diagram of a terminal device according to an embodiment of the present application;
fig. 3 is a software architecture block diagram of another terminal device according to an embodiment of the present application;
fig. 4 is an application scenario diagram of a dual-system data processing method provided by an embodiment of the present application;
FIG. 5 is a flow chart of a method for processing single system data according to an embodiment of the present application;
FIG. 6 is a flow chart of a dual system data processing method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of determining initial attachment data of a target according to an embodiment of the present application;
fig. 8 is a flowchart of a target initial attachment data determining method according to an embodiment of the present application;
Fig. 9 is a flowchart of a method for determining initial attachment data of a target according to an embodiment of the present application;
fig. 10 is a flowchart of a method for determining initial attachment data of a target according to an embodiment of the present application;
fig. 11 is a flowchart of a target network configuration information processing method according to an embodiment of the present application;
fig. 12 is a flowchart of a method for obtaining network configuration information of a first subsystem according to an embodiment of the present application;
fig. 13 is a flowchart of a method for obtaining network configuration information of a second subsystem according to an embodiment of the present application;
FIG. 14 is a flow chart of another method for processing dual-system data according to an embodiment of the present application;
FIG. 15 is a schematic diagram of a dual-system data processing apparatus according to an embodiment of the present application;
FIG. 16 is a schematic diagram of another dual system data processing apparatus according to an embodiment of the present application;
FIG. 17 is a schematic diagram of another dual system data processing apparatus according to an embodiment of the present application;
FIG. 18 is a schematic diagram of another dual system data processing apparatus according to an embodiment of the present application;
fig. 19 is a schematic diagram of another dual-system data processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Wherein the described embodiments are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Also, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and furthermore, in the description of the embodiments of the present application, "plural" means two or more than two.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or the like may explicitly or implicitly include one or more such feature, and in the description of embodiments of the application, unless otherwise indicated, the meaning of "a plurality" is two or more.
Along with the popularization of terminal equipment, many industry markets have high requirements on the safety and control of the terminal equipment, and the information safety and the use convenience are considered at the same time, so that life and work are not wrong. Dual system terminal devices become the primary solution to address the needs of the industry.
In the related art, two systems in the dual-system terminal equipment are mutually independent, and respectively corresponding network data configurations can be issued when network access is performed, but when the network data configurations of the two systems are inconsistent, the network configuration data issued firstly can be covered by the network data configurations issued later, so that the system with the network data configuration issued firstly fails to establish a network, and the condition of abnormal network access occurs.
In view of the above, the present application provides a method, an apparatus, and a device for processing dual-system data, which are used for solving the problem of network establishment failure caused by inconsistent data configuration of two systems in dual-system terminal equipment.
The inventive concept of the present application can be summarized as follows: in the embodiment of the application, network identification information of an installed SIM card is acquired in response to a starting operation triggered by a user; based on the acquired network identification information of the SIM card, respectively acquiring network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem; the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem are fused, and the target network configuration information after the fusion is obtained; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem; the target network configuration information and the target initial attachment data are configured to the modem, and network connection is established through the modem.
Therefore, when the network is established, no matter whether the first subsystem or the second subsystem initiates the establishment of the network connection, the problem of inconsistent data setting can not occur through the detection of the modem, and the problem of network establishment failure caused by inconsistent data configuration of the two systems is solved.
After the inventive concept of the present application is introduced, the terminal device provided by the present application will be described.
Fig. 1 shows a schematic structure of a terminal device 100. It should be understood that the terminal device 100 shown in fig. 1 is only one example, and that the terminal device 100 may have more or fewer components than shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A hardware configuration block diagram of the terminal device 100 in accordance with an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the terminal device 100 includes: radio Frequency (RF) circuitry 110, memory 120, display unit 130, camera 140, sensor 150, audio circuitry 160, wireless fidelity (Wireless Fidelity, wi-Fi) module 170, processor 180, bluetooth module 181, and power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, and may receive downlink data of the base station and then transmit the downlink data to the processor 180 for processing; uplink data may be sent to the base station. Typically, RF circuitry includes, but is not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers, diplexers, and the like.
Memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal device 100 and data processing by running software programs or data stored in the memory 120. Memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. The memory 120 stores an operating system that enables the terminal device 100 to operate. The memory 120 of the present application may store an operating system and various application programs, and may also store program codes for executing the processing method of dual system data according to the embodiment of the present application.
The display unit 130 may be used to receive input digital or character information, generate signal inputs related to user settings and function control of the terminal device 100, and in particular, the display unit 130 may include a touch screen 131 provided at the front surface of the terminal device 100, and may collect touch operations on or near the user, such as clicking a button.
The display unit 130 may also be used to display information input by a user or information provided to the user and a graphical user interface (graphical user interface, GUI) of various menus of the terminal device 100. Specifically, the display unit 130 may include a display 132 provided on the front surface of the terminal device 100. The display 132 may be configured in the form of a liquid crystal display, light emitting diodes, or the like. The display unit 130 may be used to display a screen display area of the terminal device in the present application.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal device 100, and after integration, the touch screen may be simply referred to as a touch display screen. The display unit 130 may display the application program and the corresponding operation steps in the present application.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the processor 180 for conversion into a digital image signal.
The terminal device 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal device 100 may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, light sensors, motion sensors, and the like.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and terminal device 100. The audio circuit 160 may transmit the received electrical signal converted from audio data to the speaker 161, and the speaker 161 converts the electrical signal into a sound signal and outputs the sound signal. The terminal device 100 may also be provided with a volume button for adjusting the volume of the sound signal, and may also be used for combining other buttons to adjust the enclosed area. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, which is output to the RF circuit 110 for transmission to, for example, another terminal device, or to the memory 120 for further processing.
Wi-Fi belongs to a short-range wireless transmission technology, and the terminal device 100 can help a user to send and receive e-mail, browse web pages, access streaming media and the like through the Wi-Fi module 170, so that wireless broadband internet access is provided for the user.
The processor 180 is a control center of the terminal device 100, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs stored in the memory 120, and calling data stored in the memory 120. In some embodiments, the processor 180 may include one or more processing units; the processor 180 may also integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., and a baseband processor that primarily handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. The processor 180 of the present application may run an operating system, applications, user interface displays, and touch responses. In addition, the processor 180 is coupled to the display unit 130, and the processor 180 may also execute the dual system data processing method according to the embodiment of the present application.
The bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the terminal device 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) also provided with a bluetooth module through the bluetooth module 181, thereby performing data interaction.
The terminal device 100 also includes a power supply 190 (e.g., a battery) that provides power to the various components. The power supply may be logically connected to the processor 180 through a power management system, so that functions of managing charge, discharge, power consumption, etc. are implemented through the power management system. The terminal device 100 may also be configured with a power button for powering on and off the terminal device, and for locking the screen.
Fig. 2 is a software configuration block diagram of a terminal device 100 according to an embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively. The first subsystem and the second subsystem respectively use an application program layer and an application program framework layer, and the first subsystem and the second subsystem commonly use a system library and a kernel layer.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include multimedia messaging, wiFi, mobile data, phone, weChat, alarm clock, information, gallery, calendar, WLAN, and other applications.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, telephone calls made and received, browsing history and bookmarks, phonebooks, short messages, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a short message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the terminal device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information (e.g., the message content of a short message) in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the terminal equipment vibrates, and an indicator light blinks.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc. In addition, the system library also comprises a sharing service and a synchronous service which are commonly used by the first subsystem and the second subsystem.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
A 2D (one way of animation) graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver and a bottom layer driver.
Fig. 3 is a block diagram of another software structure of a terminal device according to an embodiment of the present application.
As shown in fig. 3, the first subsystem and the second subsystem are two independent systems, which are not visible from each other. The first subsystem and the second subsystem are user interfaces for users, and are a security system and a common system for users, respectively.
In the dual system architecture shown in fig. 3, the first subsystem and the second subsystem use respective application layers, application framework layers, and system libraries, respectively, and commonly use the kernel layer of the terminal device. Meanwhile, due to the unique modem and network sharing requirement, the data establishment of the terminal equipment is completed by the host system (main system), so that rild (Radio Interface Layer Daemon, wireless interface module daemon) is required to run in the sharing service under the host system. In order that the first subsystem and the second subsystem can share the mobile data network and do not affect each other, abstract management objects such as connection service (Connectivity Service), network daemon, routing management (netd) and the like are respectively put into respective system libraries of the first subsystem and the second subsystem and are independent from each other. Meanwhile, the netd also keeps a share running in the shared service of the host system and is responsible for constructing a virtual network for the first subsystem and the second subsystem. The network daemon under the main system manages the real network and is responsible for virtualizing the corresponding network and handing over to the first subsystem and the second subsystem. The network daemon of the first subsystem and the second subsystem manages the network that the host system virtualizes.
The terminal device 100 in the embodiment of the present application may be an electronic device including, but not limited to, a smart phone, a tablet computer, a wearable electronic device (e.g., a smart watch), a notebook computer, and the like.
After the terminal device of the present application is introduced, an application scenario diagram of a dual-system data processing method provided by the embodiment of the present application is described below with reference to the accompanying drawings. Fig. 4 includes: terminal device 100, network 402, network device 403, wherein:
the terminal device 100 is configured to obtain network identification information of an installed SIM card in response to a startup operation triggered by a user, and obtain network configuration information corresponding to a first subsystem and network configuration information corresponding to a second subsystem of the terminal device 100 based on the obtained network identification information of the SIM card; the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem are fused, and the target network configuration information after the fusion processing is obtained; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem; and configures the target network configuration information and the target initial attachment data to the modem, through which the network connection between the terminal device 100 and the network-side device 403 is established.
A network 402 for transmitting target network configuration information and target initial attachment data sent by the modem of the terminal device 100 to the network side device 403, and receiving data information fed back by the network side device 403 to the terminal device 100.
The network side device 403 is configured to receive the target network configuration information and the target initial attachment data sent by the modem of the terminal device 100, and feed back corresponding data information to the terminal device 100.
Of course, the method provided by the embodiment of the present application is not limited to the application scenario shown in fig. 4, but may be used in other possible application scenarios, and the embodiment of the present application is not limited. The functions that can be implemented by each device in the application scenario shown in fig. 4 will be described together in the following method embodiments, which are not described in detail herein.
In order to further explain the technical solution provided by the embodiments of the present application, the following details are described with reference to the accompanying drawings and the detailed description. Although embodiments of the present application provide the method operational steps shown in the following embodiments or figures, more or fewer operational steps may be included in the method based on routine or non-inventive labor. In steps where there is logically no necessary causal relationship, the execution order of the steps is not limited to the execution order provided by the embodiments of the present application. The processing method of the dual-system data provided by the embodiment of the application is suitable for network communication modes such as mobile data network communication, WIFI network communication, multimedia message communication and the like.
In order to facilitate understanding of the dual-system data processing method provided by the embodiment of the present application, a flow of the single-system data processing method is described with reference to fig. 5. Referring to fig. 5, a flow chart of a method for processing single system data according to an embodiment of the present application is shown. As shown in fig. 5, the method comprises the steps of:
in step 501, in response to a user-triggered power-on operation, the terminal device obtains network identification information of the installed SIM card.
The network identification information of the SIM card includes, but is not limited to, MCC (Mobile Country Code ) information, MNC (Mobile Network Code, mobile network code) information, ICCID (Integrate circuit card identity, integrated circuit card identification code), IMSI (International Mobile Subscriber Identity ), SPN (Service Principal name, service principal name) information.
In step 502, the terminal device obtains network configuration information corresponding to the terminal device based on the obtained network identification information of the SIM card.
The network configuration information corresponding to the terminal device includes network configuration information corresponding to data services such as internet surfing service, multimedia message service, positioning service, and the like, including but not limited to APN (Access Point Name, access point), user name, password, and protocol type.
In step 503, the network configuration information corresponding to the terminal device is configured to the modem.
In step 504, the initial attach data is configured to a modem through which a network connection is established.
The initial attach data includes, but is not limited to, configuration information of the 4G network, such as APN, user name, password, protocol type, etc.
In the specific implementation, responding to the starting operation of the terminal equipment triggered by a user, waiting for the completion of the loading of the SIM card of the terminal equipment, namely acquiring network identification information of the installed SIM card, such as MCC information and MNC information of the SIM card, and then acquiring data setting configuration information in a database corresponding to the terminal equipment of the single system according to the MCC information and the MNC information of the SIM card; the data setting configuration information is then sent to the modem, and the initial attached data in the data setting configuration information is sent to the modem. After the data setting configuration information and the initial attachment data are all sent to the modem, the modem establishes a data channel between the terminal equipment and the network side equipment of the target network based on the initial attachment data, then establishes a network through the data channel by using the data setting configuration information, at the moment, the modem can check whether the data setting configuration information initiated when the terminal equipment establishes the network is consistent with the data setting configuration information sent to the modem before, if so, the terminal equipment of the single system successfully establishes the network, and if not, the terminal equipment of the single system can fail to establish the network.
Thus, the terminal device of the single system transmits the data setting configuration information based on the flow shown in fig. 5, and if the first subsystem and the second subsystem of the terminal device of the dual system still use the flow shown in fig. 5 to transmit the data setting configuration information, the data setting configuration information of the subsystem transmitted before is covered by the data setting configuration information of the subsystem transmitted after, so that only the data setting configuration information of the subsystem transmitted after and the initial attachment data are validated. When the data setting configuration information of the first subsystem and the second subsystem are consistent, no problem occurs when the network is established. However, when two systems preset different data setting configuration information, or when a certain system performs service clipping on the data setting configuration information, inconsistent conditions can occur, which results in network establishment failure. The method comprises the following two specific scenes:
first kind: if the first subsystem configures private network data setting, the second subsystem configures public network data setting, and at this time, the private network data setting configuration information of the first subsystem or the data setting configuration information in the public network data setting configuration information of the second subsystem needs to be sent to make initial attached data, but because the data setting configuration information of the first subsystem and the data setting configuration information of the second subsystem are different, the situation that the public network or the private network data is failed to be established can occur;
Second kind: if the public network data is used for setting and receiving the multimedia message in the first subsystem, the common network data is used for surfing the Internet. And if the public network data setting for receiving and transmitting the multimedia message has the capacity of both the multimedia message and the Internet surfing, the Internet surfing capacity is required to be cut off in the data setting of the public network in the first subsystem, and only the capacity of receiving and transmitting the multimedia message is reserved. At this time, the public network data setting in the first subsystem and the second subsystem may have a problem of inconsistent data setting, resulting in network establishment failure.
In order to solve the above-mentioned problems, after knowing the flow of the processing method of single system data shown in fig. 5, the embodiment of the present application provides a processing method of dual system data. The flow of the dual system data processing method provided by the embodiment of the application is further described with reference to fig. 6. As shown in fig. 6, the dual system includes a first subsystem and a second subsystem, the first subsystem and the second subsystem operating in a main system, the method comprising the steps of:
in step 601, in response to a start-up operation triggered by a user, the terminal device obtains network identification information of the installed SIM card.
Wherein the network identification information of the SIM card includes, but is not limited to, MCC information, MNC information, ICCID, IMSI, SPN information.
In step 602, the terminal device obtains network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem based on the obtained network identification information of the SIM card.
The network configuration information is network configuration information corresponding to a plurality of data services provided by an operator, for example, network configuration information corresponding to data services such as internet surfing service, multimedia message service, positioning service, and the like, including but not limited to APN, user name, password, and protocol type.
In step 603, the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem are fused, so as to obtain target network configuration information after the fusion processing; and determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem.
In step 604, the target network configuration information and the target initial attach data are configured to a modem, through which a network connection is established.
In one possible implementation, determining the target initial attach data according to the network type of the first subsystem configuration and the network type of the second subsystem configuration may be performed as:
And selecting one of initial attachment data corresponding to the first subsystem and initial attachment data corresponding to the second subsystem as target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem.
In one possible implementation manner, according to the network type configured by the first subsystem and the network type configured by the second subsystem, one of the initial attachment data corresponding to the first subsystem and the initial attachment data corresponding to the second subsystem is selected as the target initial attachment data, and specifically two cases may be executed as shown in fig. 7:
first case: if the network type of the first subsystem configuration is the same as the network type of the second subsystem configuration, the initial attachment data corresponding to the first subsystem or the initial attachment data corresponding to the second subsystem is used as target initial attachment data.
Therefore, in one possible implementation, it is further required to determine that the network type of the first subsystem configuration is the same as the network type of the second subsystem configuration, so as to determine the target initial attachment data, and the specific steps are as shown in fig. 8:
in step 801, a network type of a first subsystem configuration and a network type of a second subsystem configuration are obtained.
In step 802, if the network type of the first subsystem configuration is the same as the network type of the second subsystem configuration, the initial attachment data corresponding to the first subsystem or the initial attachment data corresponding to the second subsystem is used as the target initial attachment data.
For example, if the network type of the first subsystem configuration and the network type of the second subsystem configuration are both public networks or private networks, the initial attachment data corresponding to the first subsystem is used as target initial attachment data or the initial attachment data corresponding to the second subsystem is used as target initial attachment data.
Second case: if the network type of the first subsystem configuration is different from the network type of the second subsystem configuration, and the network type of the first subsystem configuration or the network type of the second subsystem configuration is a private network type, initial attachment data corresponding to a subsystem with the network type of the private network type is used as target initial attachment data.
Therefore, in one possible implementation, it is further required to determine that the network type of the first subsystem configuration is different from the network type of the second subsystem configuration, so as to determine the target initial attachment data, and the specific steps are as shown in fig. 9:
In step 901, a network type of the first subsystem configuration and a network type of the second subsystem configuration are obtained, and it is determined that the network type of the first subsystem configuration and the network type of the second subsystem configuration are different.
In step 902, it is determined whether the network type configured by the first subsystem is a private network type, if yes, in step 903, initial attachment data corresponding to the first subsystem is used as target initial attachment data, and if not, in step 904, initial attachment data corresponding to the second subsystem is used as target initial attachment data.
If the network type configured by the first subsystem is a private network and the network type configured by the second subsystem is a public network, initial attachment data corresponding to the first subsystem is used as target initial attachment data; if the network type of the second subsystem is private network and the network type of the first subsystem is public network, the initial attachment data corresponding to the second subsystem is used as target initial attachment data.
In summary, the specific steps for determining the target initial attach data according to the network type configured by the first subsystem and the network type configured by the second subsystem are shown in fig. 10:
in step 1001, a network type of a first subsystem configuration and a network type of a second subsystem configuration are obtained.
In step 1002, it is determined whether the network type of the first subsystem configuration and the network type of the second subsystem configuration are the same; if the initial attachment data is the same, in step 1003, the initial attachment data corresponding to the first subsystem or the initial attachment data corresponding to the second subsystem is used as the target initial attachment data; if the network type is different, in step 1004, it is determined whether the network type configured by the first subsystem is a private network type, if yes, in step 1005, initial attachment data corresponding to the first subsystem is used as target initial attachment data, and if not, in step 1006, initial attachment data corresponding to the second subsystem is used as target initial attachment data.
And if one of the first subsystem and the second subsystem is a safety system and the other is a common system, only the initial attachment data corresponding to the safety system is sent to the modem.
Thus, the target initial attach data that is ultimately configured to the modem may be determined based on the network type of the first subsystem configuration and the network type of the second subsystem configuration.
In a possible implementation manner, the network configuration information corresponding to the first subsystem includes a plurality of configuration parameters, and the network configuration information corresponding to the second subsystem includes a plurality of configuration parameters; in this embodiment of the present application, the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem are fused to obtain the target network configuration information after the fusion processing, which is specifically implemented as steps shown in fig. 11:
in step 1101, each configuration parameter in the network configuration information corresponding to the first subsystem is compared with each configuration parameter in the network configuration information corresponding to the second subsystem.
In step 1102, if each configuration parameter in the network configuration information corresponding to the first subsystem is the same as each configuration parameter in the network configuration information corresponding to the second subsystem, the network configuration information corresponding to the first subsystem or the network configuration information corresponding to the second subsystem is used as the target network configuration information after the fusion processing.
In step 1103, if each configuration parameter in the network configuration information corresponding to the first subsystem is partially different or completely different from each configuration parameter in the network configuration information corresponding to the second subsystem, each configuration parameter in the network configuration information corresponding to the first subsystem and each configuration parameter in the network configuration information corresponding to the second subsystem are combined to obtain the target network configuration information after the fusion processing.
In one possible implementation manner, each configuration parameter is composed of a plurality of fields, if the configuration parameter in the network configuration information corresponding to the first subsystem is different from a part of the fields of the configuration parameter in the network configuration information corresponding to the second subsystem, the two configuration parameters with the same fields can be fused to obtain the fused configuration parameters, and the fused configuration parameters are combined to obtain the target network configuration information.
Therefore, each configuration parameter in the network configuration information corresponding to the first subsystem can be combined with each configuration parameter in the network configuration information corresponding to the second subsystem to obtain the target network configuration information finally configured to the modem, so that the problem of inconsistent data setting can not occur in detection of the modem no matter whether the network connection is established by the first subsystem or the second subsystem.
In a possible implementation manner, if the first subsystem is a system operated by a foreground of the terminal device, the terminal device obtains network configuration information of the first subsystem based on the obtained network identification information of the SIM card, and specifically performs the steps as shown in fig. 12:
In step 1201, a storage space corresponding to the first subsystem is determined based on the unique subsystem identifier corresponding to the first subsystem; the storage space corresponding to the first subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the first subsystem.
In step 1202, network configuration information of the first subsystem is obtained from a storage space corresponding to the first subsystem based on network identification information of the SIM card.
In a possible implementation manner, if the first subsystem is a system operated by a foreground of the terminal device, the terminal device obtains network configuration information of the second subsystem based on the obtained network identification information of the SIM card, and specifically performs:
the terminal equipment acquires the network configuration information of the second subsystem from the memory corresponding to the second subsystem by calling the data synchronization service; the network configuration information of the second subsystem stored in the memory corresponding to the second subsystem is acquired from the memory space corresponding to the second subsystem based on the network identification information of the SIM card; the storage space corresponding to the second subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the second subsystem; the storage space corresponding to the second subsystem is determined based on the unique subsystem identification corresponding to the second subsystem.
The obtaining the network configuration information of the second subsystem stored in the memory corresponding to the second subsystem may be performed as the steps shown in fig. 13:
in step 1301, a storage space corresponding to the second subsystem is determined based on the unique subsystem identifier corresponding to the second subsystem; the storage space corresponding to the second subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the second subsystem.
In step 1302, network configuration information of the second subsystem is obtained from a storage space corresponding to the second subsystem based on the network identification information of the SIM card.
In addition, when the network configuration information of any subsystem changes, the network configuration information of the other subsystem is acquired at the same time, and then the network configuration information of the two subsystems is fused and then configured to the modem.
Therefore, when the network is established, no matter whether the first subsystem or the second subsystem initiates the establishment of the network connection, the problem of inconsistent data setting can not occur through the detection of the modem, and the problem of network establishment failure caused by inconsistent data configuration of the two systems is solved.
In order to facilitate understanding of the solution provided by the embodiment of the present application, a system in which the first subsystem is operated as a foreground of the terminal device is taken as an example, and a flow of the dual-system data processing method when the dual system is started up provided by the embodiment of the present application is described below. The method includes the steps as shown in fig. 14:
In step 1401, a terminal device is started up, and waits for loading of network identification information of a SIM card corresponding to a first subsystem;
in step 1402, network configuration information in a database corresponding to the first subsystem is matched according to network identification information of the SIM card, and is loaded into a memory corresponding to the first subsystem;
in step 1403, obtaining network configuration information in a database corresponding to the second subsystem matched with the second subsystem;
in step 1404, the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem are fused, and then the fused network configuration information is uniformly sent to the modem;
in step 1405, initial attachment data corresponding to the subsystem of the network type being the private network type is configured to the modem, and a network connection is established through the modem.
Therefore, after the network configuration information is issued, when the network is subsequently established, no matter a request for establishing data is initiated by a foreground or a background, the problem of inconsistency can be avoided through modem inspection, and the network use of a working system is preferentially ensured.
Based on the foregoing description, in the embodiment of the present application, network identification information of an installed SIM card is obtained in response to a startup operation triggered by a user; based on the acquired network identification information of the SIM card, respectively acquiring network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem; the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem are fused, and the target network configuration information after the fusion is obtained; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem; the target network configuration information and the target initial attachment data are configured to the modem, and network connection is established through the modem. Therefore, when the network is established, no matter whether the first subsystem or the second subsystem initiates the establishment of the network connection, the problem of inconsistent data setting can not occur through the detection of the modem, and the problem of network establishment failure caused by inconsistent data configuration of the two systems is solved.
Based on the same inventive concept, the embodiment of the application also provides a dual-system data processing device, as shown in fig. 15, which includes: an acquisition module 1501, a processing module 1502 and a configuration module 1503, wherein:
a first obtaining module 1501, configured to obtain network identification information of an installed SIM card in response to a startup operation triggered by a user;
the first obtaining module 1501 is further configured to obtain network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem based on the obtained network identification information of the SIM card;
a processing module 1502, configured to perform fusion processing on the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem, so as to obtain target network configuration information after the fusion processing; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem;
a configuration module 1503, configured to configure the target network configuration information and the target initial attachment data to a modem, and establish a network connection through the modem.
In one possible embodiment, as shown in fig. 16, the apparatus further includes:
a selecting module 1601, configured to select, according to the network type configured by the first subsystem and the network type configured by the second subsystem, one from initial attach data corresponding to the first subsystem and initial attach data corresponding to the second subsystem as the target initial attach data.
In one possible embodiment, as shown in fig. 17, the apparatus further includes:
a judging module 1701, configured to, if the network type configured by the first subsystem is the same as the network type configured by the second subsystem, use initial attachment data corresponding to the first subsystem or initial attachment data corresponding to the second subsystem as the target initial attachment data; and if the network type of the first subsystem configuration is different from the network type of the second subsystem configuration, and the network type of the first subsystem configuration or the network type of the second subsystem configuration is a private network type, taking initial attachment data corresponding to a subsystem with the network type of the private network type as the target initial attachment data.
In a possible implementation manner, the network configuration information corresponding to the first subsystem includes a plurality of configuration parameters, and the network configuration information corresponding to the second subsystem includes a plurality of configuration parameters; as shown in fig. 18, the apparatus further includes:
a comparison module 1801, configured to compare each configuration parameter in the network configuration information corresponding to the first subsystem with each configuration parameter in the network configuration information corresponding to the second subsystem;
a fusion module 1802, configured to, if each configuration parameter in the network configuration information corresponding to the first subsystem is the same as each configuration parameter in the network configuration information corresponding to the second subsystem, use the network configuration information corresponding to the first subsystem or the network configuration information corresponding to the second subsystem as target network configuration information after the fusion processing;
if each configuration parameter in the network configuration information corresponding to the first subsystem is partially or completely different from each configuration parameter in the network configuration information corresponding to the second subsystem, each configuration parameter in the network configuration information corresponding to the first subsystem and each configuration parameter in the network configuration information corresponding to the second subsystem are combined to obtain the target network configuration information after fusion processing.
In a possible implementation manner, if the first subsystem is a system operated by the foreground of the terminal device, as shown in fig. 19, the apparatus further includes:
a second obtaining module 1901, configured to determine a storage space corresponding to the first subsystem based on a unique subsystem identifier corresponding to the first subsystem; the storage space corresponding to the first subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the first subsystem;
the second obtaining module 1901 is further configured to obtain, based on the network identification information of the SIM card, network configuration information of the first subsystem from a storage space corresponding to the first subsystem.
In a possible implementation manner, if the first subsystem is a system running in the foreground of the terminal device, the second obtaining module 1901 is further configured to:
acquiring network configuration information of the second subsystem from a memory corresponding to the second subsystem by calling a data synchronization service;
the network configuration information of the second subsystem stored in the memory corresponding to the second subsystem is obtained from the memory space corresponding to the second subsystem based on the network identification information of the SIM card; the storage space corresponding to the second subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the second subsystem; the storage space corresponding to the second subsystem is determined based on the unique subsystem identification corresponding to the second subsystem.
In an exemplary embodiment, the present application also provides a computer readable storage medium including instructions, such as the memory 120 including instructions, executable by the processor 180 of the terminal device to perform the above-described dual system data processing method. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program which, when executed by the processor 180, implements a method of processing dual system data as provided by the present application.
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 (9)

1. A method of processing dual system data, the dual system comprising a first subsystem and a second subsystem, the method comprising:
responding to a starting operation triggered by a user, and acquiring network identification information of an installed Subscriber Identity Module (SIM) card by terminal equipment;
the terminal equipment respectively acquires network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem based on the acquired network identification information of the SIM card;
Carrying out fusion processing on the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem to obtain target network configuration information after fusion processing; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem;
and configuring the target network configuration information and the target initial attachment data to a modem, and establishing network connection through the modem.
2. The method of claim 1, wherein the determining target initial attach data based on the network type of the first subsystem configuration and the network type of the second subsystem configuration comprises:
and selecting one of initial attachment data corresponding to the first subsystem and initial attachment data corresponding to the second subsystem as the target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem.
3. The method according to claim 2, wherein the selecting one of initial attach data corresponding to the first subsystem and initial attach data corresponding to the second subsystem as the target initial attach data according to the network type of the first subsystem configuration and the network type of the second subsystem configuration includes:
If the network type of the first subsystem configuration is the same as the network type of the second subsystem configuration, the initial attachment data corresponding to the first subsystem or the initial attachment data corresponding to the second subsystem is used as the target initial attachment data;
and if the network type of the first subsystem configuration is different from the network type of the second subsystem configuration, and the network type of the first subsystem configuration or the network type of the second subsystem configuration is a private network type, taking initial attachment data corresponding to a subsystem with the network type of the private network type as the target initial attachment data.
4. The method of claim 1, wherein the network configuration information corresponding to the first subsystem includes a plurality of configuration parameters, and the network configuration information corresponding to the second subsystem includes a plurality of configuration parameters;
the fusing processing is performed on the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem to obtain target network configuration information after the fusing processing, including:
comparing each configuration parameter in the network configuration information corresponding to the first subsystem with each configuration parameter in the network configuration information corresponding to the second subsystem;
If each configuration parameter in the network configuration information corresponding to the first subsystem is the same as each configuration parameter in the network configuration information corresponding to the second subsystem, using the network configuration information corresponding to the first subsystem or the network configuration information corresponding to the second subsystem as the target network configuration information after fusion processing;
if each configuration parameter in the network configuration information corresponding to the first subsystem is partially or completely different from each configuration parameter in the network configuration information corresponding to the second subsystem, each configuration parameter in the network configuration information corresponding to the first subsystem and each configuration parameter in the network configuration information corresponding to the second subsystem are combined to obtain the target network configuration information after fusion processing.
5. The method according to claim 1, wherein if the first subsystem is a system operated by the foreground of the terminal device, the terminal device obtains network configuration information of the first subsystem based on the obtained network identification information of the SIM card, including:
determining a storage space corresponding to the first subsystem based on a unique subsystem identifier corresponding to the first subsystem; the storage space corresponding to the first subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the first subsystem;
Based on the network identification information of the SIM card, network configuration information of the first subsystem is obtained from a storage space corresponding to the first subsystem.
6. The method according to claim 1, wherein if the first subsystem is a system operated by the foreground of the terminal device, the terminal device obtains network configuration information of the second subsystem based on the obtained network identification information of the SIM card, including:
the terminal equipment acquires network configuration information of the second subsystem from a memory corresponding to the second subsystem by calling a data synchronization service;
the network configuration information of the second subsystem stored in the memory corresponding to the second subsystem is obtained from the memory space corresponding to the second subsystem based on the network identification information of the SIM card; the storage space corresponding to the second subsystem comprises a corresponding relation between the network identification information of the SIM card and the network configuration information of the second subsystem; the storage space corresponding to the second subsystem is determined based on the unique subsystem identification corresponding to the second subsystem.
7. A dual system data processing apparatus, the dual system comprising a first subsystem and a second subsystem, the apparatus comprising:
The acquisition module is used for responding to the starting operation triggered by the user and acquiring the network identification information of the SIM card of the installed user identification card;
the acquisition module is further used for respectively acquiring network configuration information corresponding to the first subsystem and network configuration information corresponding to the second subsystem based on the acquired network identification information of the SIM card;
the processing module is used for carrying out fusion processing on the network configuration information corresponding to the first subsystem and the network configuration information corresponding to the second subsystem to obtain target network configuration information after fusion processing; determining target initial attachment data according to the network type configured by the first subsystem and the network type configured by the second subsystem;
and the configuration module is used for configuring the target network configuration information and the target initial attachment data to a modem, and establishing network connection through the modem.
8. A terminal device, wherein the terminal device is a dual system terminal, the dual system including a first subsystem and a second subsystem, the terminal device comprising: a display, a processor, and a memory;
the display is used for displaying a screen display area;
The memory is configured to store the processor-executable instructions;
the processor is configured to perform the dual system data processing method of any of claims 1-6.
9. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a terminal device, enable the terminal device to perform the dual system data processing method according to any of claims 1-6.
CN202210750529.XA 2022-06-28 2022-06-28 Dual-system data processing method, device and apparatus Active CN115150265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210750529.XA CN115150265B (en) 2022-06-28 2022-06-28 Dual-system data processing method, device and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210750529.XA CN115150265B (en) 2022-06-28 2022-06-28 Dual-system data processing method, device and apparatus

Publications (2)

Publication Number Publication Date
CN115150265A CN115150265A (en) 2022-10-04
CN115150265B true CN115150265B (en) 2023-10-20

Family

ID=83409585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210750529.XA Active CN115150265B (en) 2022-06-28 2022-06-28 Dual-system data processing method, device and apparatus

Country Status (1)

Country Link
CN (1) CN115150265B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346725A (en) * 2010-08-05 2012-02-08 鸿富锦精密工业(深圳)有限公司 Message notification device and method for changing equipment configuration file
WO2016078060A1 (en) * 2014-11-20 2016-05-26 宇龙计算机通信科技(深圳)有限公司 Multi-system terminal system updating method, updating device and terminal
CN107025037A (en) * 2016-02-02 2017-08-08 腾讯科技(深圳)有限公司 A kind of control method and device of smart machine
WO2017152419A1 (en) * 2016-03-11 2017-09-14 华为技术有限公司 Network attachment method and apparatus
CN112996137A (en) * 2019-12-17 2021-06-18 成都鼎桥通信技术有限公司 Method for establishing data connection on multi-operation system terminal
CN113840295A (en) * 2021-09-26 2021-12-24 北京鲸鲮信息系统技术有限公司 Mobile data network establishing method and device, electronic equipment and storage medium
CN114168203A (en) * 2020-09-10 2022-03-11 成都鼎桥通信技术有限公司 Dual-system running state control method and device and electronic equipment
CN114585002A (en) * 2022-02-23 2022-06-03 上海闻泰信息技术有限公司 Communication processing method, communication processing device, terminal equipment and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10736025B2 (en) * 2017-11-30 2020-08-04 Corning Optical Communications LLC Fifth generation (5G) non-standalone (NSA) radio access system employing virtual fourth generation (4G) master connection to enable dual system data connectivity
TWI766319B (en) * 2020-07-23 2022-06-01 蔡安泰 Dual-network dual-system mobile device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346725A (en) * 2010-08-05 2012-02-08 鸿富锦精密工业(深圳)有限公司 Message notification device and method for changing equipment configuration file
WO2016078060A1 (en) * 2014-11-20 2016-05-26 宇龙计算机通信科技(深圳)有限公司 Multi-system terminal system updating method, updating device and terminal
CN107025037A (en) * 2016-02-02 2017-08-08 腾讯科技(深圳)有限公司 A kind of control method and device of smart machine
WO2017152419A1 (en) * 2016-03-11 2017-09-14 华为技术有限公司 Network attachment method and apparatus
CN112996137A (en) * 2019-12-17 2021-06-18 成都鼎桥通信技术有限公司 Method for establishing data connection on multi-operation system terminal
CN114168203A (en) * 2020-09-10 2022-03-11 成都鼎桥通信技术有限公司 Dual-system running state control method and device and electronic equipment
CN113840295A (en) * 2021-09-26 2021-12-24 北京鲸鲮信息系统技术有限公司 Mobile data network establishing method and device, electronic equipment and storage medium
CN114585002A (en) * 2022-02-23 2022-06-03 上海闻泰信息技术有限公司 Communication processing method, communication processing device, terminal equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN115150265A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN111818669B (en) Mobile terminal and data transmission method thereof
US20230054451A1 (en) Communication Connection Method and Electronic Device
CN111294884A (en) Communication terminal supporting dual-card dual-standby single-pass and data service switching method
CN114666864A (en) Multi-network communication method, terminal device, storage medium, and program product
CN113207115B (en) Mobile terminal and network searching control method
CN113552808A (en) Network distribution method for electronic home equipment, electronic home equipment and mobile terminal
CN114679752B (en) Method for sharing wireless communication capability by double systems and terminal equipment
CN112825072B (en) Communication terminal and data sharing method
CN114666395B (en) Dual-system network sharing method and device
CN115150265B (en) Dual-system data processing method, device and apparatus
CN111600862B (en) User account management method and device
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN114071652B (en) Binding relation establishing method and related equipment
CN112954622A (en) Mobile terminal and short message sending method thereof
CN114007202A (en) Method for establishing binding relationship and related equipment
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
CN112114885B (en) Terminal, control equipment and service processing method
CN114095913A (en) Network distribution method of electronic household equipment and electronic household equipment
CN113543366B (en) Mobile terminal and call method, call server and call system thereof
CN114501389A (en) Mobile terminal, network sharing method and storage medium
CN113179198A (en) Communication detection method and terminal of electronic home equipment and electronic home equipment
CN115334604A (en) Terminal device, network control method and storage medium
CN114595203A (en) File synchronization method based on dual systems, terminal device and storage medium
CN114896009A (en) Terminal device, server, theme recommendation method and storage medium
CN115297467A (en) Data domain switching method, device, terminal equipment and 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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant