CN115988129A - Dual-system cloud security mobile phone wifi safe use method - Google Patents
Dual-system cloud security mobile phone wifi safe use method Download PDFInfo
- Publication number
- CN115988129A CN115988129A CN202211694939.3A CN202211694939A CN115988129A CN 115988129 A CN115988129 A CN 115988129A CN 202211694939 A CN202211694939 A CN 202211694939A CN 115988129 A CN115988129 A CN 115988129A
- Authority
- CN
- China
- Prior art keywords
- container
- wifi
- mobile phone
- dual
- foreground
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000005516 engineering process Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a wifi safe use method of a dual-system cloud safe mobile phone, which comprises the steps of establishing the dual-system cloud safe mobile phone; deploying an LXC container in a mobile phone Linux kernel, and establishing a dual-container system based on the LXC container; disabling a wifi drive starting module in the host machine; the double-container system shares a set of baseband network equipment and is allocated to a foreground container system when being started, and the foreground container system is connected with a wifi network; when the system operation is switched, whether the current wifi drive is loaded by other container systems or not is judged on a host machine hal layer; and waiting for the hal layer to unload the wifi drive and kill the relevant modem process, and after unloading is completed, starting the wifi service by the foreground container and restarting the relevant process of the modem. The method solves the problem of wifi use management of the dual-system cloud security mobile phone, and ensures normal use of the client.
Description
Technical Field
The invention belongs to the technical field of dual-system mobile phones, and particularly relates to a wifi safe use method of a dual-system cloud safe mobile phone.
Background
With the rapid development of cloud technology and mobile terminal technology, more and more users need terminal application scenarios with isolated inside and outside, for example, a mobile terminal device user applied to public inspection, and a user for separating mobile terminal devices used for work and life, and the like, and the users usually adopt a two-handset strategy from the viewpoints of information security, data confidentiality and the like, where one handset is used for life and the other handset is used for office. However, the use of two mobile phones is not only inconvenient to carry but also brings operation troubles.
Based on the above requirements of users, dual-system mobile phones are in operation. The dual system handset is capable of using both systems in parallel by means of container technology. And the background system can be awakened according to the use requirement of the user, so that the real-time switching of the two systems is realized.
Although the dual-system mobile phone meets the requirements of user information safety or data confidentiality and the like to a certain extent, problems, especially wifi network connection, exist in use, and because two container systems share one set of wifi driving equipment, the problem that the driving is loaded by the other set of container easily occurs during system switching, so that a new foreground container system cannot safely use wifi; especially, the safety system used for working in the dual system has high requirements on wifi safety use, and network information conflict is not allowed to occur.
Disclosure of Invention
The invention provides a wifi safe use method of a dual-system cloud safe mobile phone, which solves the problem of wifi use management of the dual-system cloud safe mobile phone and ensures normal use of a client.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a wifi safe use method of a dual-system cloud safe mobile phone comprises the following steps:
s1, establishing a dual-system cloud security mobile phone; deploying an LXC container in a mobile phone Linux kernel, and establishing a dual-container system based on the LXC container; the first container system is used as a default system and arranged on the mobile phone body, and the second container system is stored in the cloud server in a cloud mirror image mode; the method comprises the following steps that a mobile phone Linux is used as a host system, only init and basic service and an lxc _ loader container management program are reserved;
s2, disabling a wifi driving starting module in the host machine; the double-container system shares a set of baseband network equipment and is allocated to a foreground container system when being started, and the foreground container system is connected with a wifi network;
s3, when the system operation is switched, whether the current wifi drive is loaded by other container systems or not is judged on a host hal layer;
and S4, if the current container is loaded by other container systems, judging whether the current container is on a foreground or not, if so, waiting for a hal layer to unload the wifi drive and kill the related modem process, and after unloading is completed, starting the wifi service by the foreground container and restarting the related process of the modem.
Further, in the step S3, the determining method is to determine which container system the wifi driver is currently located by setting pid.
Compared with the prior art, the invention has the following beneficial effects:
the method solves the problem of wifi safe use of the dual-system cloud safety mobile phone, avoids wifi being loaded and used by a background container system, can avoid network information conflict of the dual-container system, ensures the safety of the dual-container system of a client, particularly the network information of a safety system, and ensures the normal use of the dual-system cloud safety mobile phone.
Drawings
Fig. 1 is a schematic structural diagram of a dual-system cloud mobile phone according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
When a common Android system is connected with wifi, whether config is not null or not is checked, network information is stored firstly, and connection is carried out. Android then calls wificonfigugmanager. And if the saving is successful, sending the broadcast. Then, after the operations such as checking the NETWORK authority and the like are finished, a message CMD _ CONNECT _ NETWORK is sent. Processing begins in connectictmodestate, where AP information is updated, the scorer scores, gets macaddress from the bottom layer, and then turns on IPClient. After this is done, the connectToNetwork is started. Then, the network is added and registered in the supplementstadifacehal and the supplicalant through the WifiNative, and the connection is started after the completion.
And for the dual-system mobile phone, network information conflict and other conditions are not allowed to occur.
As shown in fig. 1, the basic architecture of the dual-system cloud security mobile phone of the present invention is based on a Linux operating system, an LXC is deployed at a kernel layer kernel of the Linux system, and the LXC creates a virtual environment, i.e., a container, having its own process and network space; when the LXC is deployed, a container management program for managing the LXC container is set.
Establishing a double-container system based on the LXC container; the first container system is used as a default system and arranged on the mobile phone body, and the second container system is stored in the cloud server in a cloud mirror image mode.
And establishing a host system of a double-container system for cutting, wherein the cut Android system only reserves init and some basic services, and the lxc _ loader (used for managing local lxc containers).
Based on the architecture of the dual-system cloud security mobile phone, the flow of the method for wifi safe use provided by the invention is shown in fig. 2, and specifically includes:
s1, establishing a dual-system cloud security mobile phone; deploying an LXC container in a mobile phone Linux kernel, and establishing a dual-container system based on the LXC container; the first container system is used as a default system and arranged on the mobile phone body, and the second container system is stored in the cloud server in a cloud mirror image mode; the method comprises the following steps that a mobile phone Linux is used as a host system, only init and basic service and an lxc _ loader container management program are reserved;
s2, the two container systems share one set of wifi driving equipment, and in order to prevent the drivers from being loaded by other containers, the wifi driving starting module is forbidden in the slimming system in the host machine. The method comprises the steps that the method is distributed to a foreground container system when the method is started, and the foreground container system is connected with a wifi network;
s3, when the system operation is switched, adding and judging whether the current wifi drive is loaded by other container systems or not in the host computer hal layer wifi _ hal _ common; if loaded, the driver is unloaded first by rmmod; the judgment method is to judge which container system the wifi driver is in by setting pid; the pids are set for the two container systems respectively, the associated pids correspond to the wifi drivers when the wifi drivers are loaded, and the fact that which container system the wifi drivers are loaded by can be judged through the pids.
S4, if the container is judged to be loaded by other container systems through the pid, whether the current container is in the foreground or not is judged, if the wifi drive is unloaded and the related modem process is dropped by kill while waiting for a hal layer in the foreground, the foreground container passes through execl ("/system/bin/svc", "svc", "wifi", "enable", nullptr) after unloading is completed; and starting wifi service and ForkAndRun restarting the relevant process of the modem. The above process is equivalent to restarting the drive part of the mobile phone baseband, re-reading the network configuration information under the current container, and loading the network.
By the method, the real network isolation of the two container systems can be realized, information conflict is avoided, and wifi safe use is realized.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.
Claims (2)
1. A wifi safe use method of a dual-system cloud safe mobile phone is characterized by comprising the following steps:
s1, establishing a dual-system cloud security mobile phone; deploying an LXC container in a mobile phone Linux kernel, and establishing a double-container system based on the LXC container; the first container system is used as a default system and arranged on the mobile phone body, and the second container system is stored in the cloud server in a cloud mirror image mode; the mobile phone Linux is used as a host system, only init and basic service are reserved, and an lxc _ loader container management program is reserved;
s2, disabling a wifi driving starting module in the host machine; the double-container system shares a set of baseband network equipment and is allocated to a foreground container system when being started, and the foreground container system is connected with a wifi network;
s3, when the system operation is switched, whether the current wifi drive is loaded by other container systems or not is judged on a host hal layer;
and S4, if the current container is loaded by another container system, judging whether the current container is in a foreground, if so, waiting for a hal layer to unload the wifi drive and kill the related modem process, and after unloading is completed, starting the wifi service and restarting the related process of the modem by the foreground container.
2. The wifi safe use method of the dual-system cloud safe mobile phone according to claim 1, wherein the determining method in step S3 is to determine which container system the wifi driver is currently located by setting pid.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211694939.3A CN115988129A (en) | 2022-12-28 | 2022-12-28 | Dual-system cloud security mobile phone wifi safe use method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211694939.3A CN115988129A (en) | 2022-12-28 | 2022-12-28 | Dual-system cloud security mobile phone wifi safe use method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115988129A true CN115988129A (en) | 2023-04-18 |
Family
ID=85964411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211694939.3A Pending CN115988129A (en) | 2022-12-28 | 2022-12-28 | Dual-system cloud security mobile phone wifi safe use method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115988129A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117075984A (en) * | 2023-10-17 | 2023-11-17 | 海马云(天津)信息技术有限公司 | Module processing method, device, communication equipment and computer readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103995748A (en) * | 2014-05-15 | 2014-08-20 | 乐视致新电子科技(天津)有限公司 | Intelligent terminal task processing method and system |
CN105046156A (en) * | 2015-08-26 | 2015-11-11 | 北京元心科技有限公司 | Intelligent terminal and equipment access permission control method thereof |
CN106020942A (en) * | 2016-05-05 | 2016-10-12 | 四川安嵌科技有限公司 | Multi-system based WiFi device reuse method and device |
WO2017059724A1 (en) * | 2015-10-09 | 2017-04-13 | 中兴通讯股份有限公司 | Operating system starting method and device |
CN107463402A (en) * | 2017-07-31 | 2017-12-12 | 腾讯科技(深圳)有限公司 | The operation method and device of virtual opetrating system |
CN107741877A (en) * | 2017-11-06 | 2018-02-27 | 湖南红手指信息技术有限公司 | A kind of method, storage medium and the processor of cloud handset starting virtual opetrating system |
WO2018039967A1 (en) * | 2016-08-31 | 2018-03-08 | 深圳前海达闼云端智能科技有限公司 | Virtual machine switching method and apparatus, electronic device, and computer program product |
CN110139265A (en) * | 2018-02-09 | 2019-08-16 | 成都鼎桥通信技术有限公司 | The management method of dual system termi-nal double SIM card data service |
KR20200013028A (en) * | 2020-01-29 | 2020-02-05 | 주식회사 티맥스에이앤씨 | Integrated managrment system for container-based cloud servers |
CN111290792A (en) * | 2018-12-07 | 2020-06-16 | 成都鼎桥通信技术有限公司 | Method for carrying out system switching in multi-container domain at top speed |
-
2022
- 2022-12-28 CN CN202211694939.3A patent/CN115988129A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103995748A (en) * | 2014-05-15 | 2014-08-20 | 乐视致新电子科技(天津)有限公司 | Intelligent terminal task processing method and system |
CN105046156A (en) * | 2015-08-26 | 2015-11-11 | 北京元心科技有限公司 | Intelligent terminal and equipment access permission control method thereof |
WO2017059724A1 (en) * | 2015-10-09 | 2017-04-13 | 中兴通讯股份有限公司 | Operating system starting method and device |
CN106020942A (en) * | 2016-05-05 | 2016-10-12 | 四川安嵌科技有限公司 | Multi-system based WiFi device reuse method and device |
WO2018039967A1 (en) * | 2016-08-31 | 2018-03-08 | 深圳前海达闼云端智能科技有限公司 | Virtual machine switching method and apparatus, electronic device, and computer program product |
CN107463402A (en) * | 2017-07-31 | 2017-12-12 | 腾讯科技(深圳)有限公司 | The operation method and device of virtual opetrating system |
CN107741877A (en) * | 2017-11-06 | 2018-02-27 | 湖南红手指信息技术有限公司 | A kind of method, storage medium and the processor of cloud handset starting virtual opetrating system |
CN110139265A (en) * | 2018-02-09 | 2019-08-16 | 成都鼎桥通信技术有限公司 | The management method of dual system termi-nal double SIM card data service |
CN111290792A (en) * | 2018-12-07 | 2020-06-16 | 成都鼎桥通信技术有限公司 | Method for carrying out system switching in multi-container domain at top speed |
KR20200013028A (en) * | 2020-01-29 | 2020-02-05 | 주식회사 티맥스에이앤씨 | Integrated managrment system for container-based cloud servers |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117075984A (en) * | 2023-10-17 | 2023-11-17 | 海马云(天津)信息技术有限公司 | Module processing method, device, communication equipment and computer readable storage medium |
CN117075984B (en) * | 2023-10-17 | 2023-12-26 | 海马云(天津)信息技术有限公司 | Module processing method, device, communication equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9883410B2 (en) | Method and apparatus for creating virtual base station | |
US11704944B2 (en) | Automobile diagnosis instrument, method for running system of automobile diagnosis instrument and automobile diagnosis system | |
US8107432B2 (en) | Dual-mode mobile terminal and method for handover of packet service call between different communication networks | |
EP3528466A1 (en) | Information sending method, unit and system | |
GB2412042A (en) | Firmware update method of a wireless communication terminal | |
JP2002516549A (en) | Multi-mode mobile terminal and operation method thereof | |
US20070061482A1 (en) | Information processing apparatus, communication control method, and communication control program | |
US20170118797A1 (en) | Dual System-Based Communication Method and Terminal | |
WO2009097776A1 (en) | System, device and method for achieving service upgrade | |
CN115988129A (en) | Dual-system cloud security mobile phone wifi safe use method | |
CN113556727B (en) | Data transmission method and system of cloud equipment based on mobile container | |
CN102065579B (en) | Communication method and communication system | |
CN117014835A (en) | Vehicle hot spot connection method and device, vehicle and storage medium | |
US8266259B2 (en) | Managing user customizations of pre-provisioned contexts | |
CN113992630B (en) | Network resource conflict processing method, device, equipment and storage medium | |
CN112787828B (en) | Application flow statistical method and device and mobile electronic device | |
CN113676894B (en) | Service processing method and equipment | |
CN114071453B (en) | Information processing method, device, equipment and readable storage medium | |
EP3119128B1 (en) | Apn access method and program, and telematics device and computer-readable recording medium for performing the same | |
CN115988469A (en) | Dual-system cloud security mobile phone Bluetooth management method | |
CN116016766A (en) | Fingerprint verification management method based on container judgment | |
CN114980028A (en) | High-availability network design method for intelligent networked automobile | |
CN115633344A (en) | CSG selection behavior management method, USIM, terminal and medium | |
CN117135396A (en) | Screen projection method and related equipment thereof | |
CN113453382A (en) | Network connection method, network connection device, electronic device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |