CN112749017A - Mobile communication method and device, storage medium, and electronic device - Google Patents

Mobile communication method and device, storage medium, and electronic device Download PDF

Info

Publication number
CN112749017A
CN112749017A CN201911052945.7A CN201911052945A CN112749017A CN 112749017 A CN112749017 A CN 112749017A CN 201911052945 A CN201911052945 A CN 201911052945A CN 112749017 A CN112749017 A CN 112749017A
Authority
CN
China
Prior art keywords
mobile communication
main system
subsystem
android
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911052945.7A
Other languages
Chinese (zh)
Inventor
朱哲田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911052945.7A priority Critical patent/CN112749017A/en
Priority to PCT/CN2020/113543 priority patent/WO2021082733A1/en
Publication of CN112749017A publication Critical patent/CN112749017A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a mobile communication method and device, a storage medium and an electronic device, which are applied to a Linux system, wherein the Linux system comprises: the system comprises a main system and a subsystem, wherein the main system is a Linux system, the subsystem is an Android system running in the main system, and the main system comprises: the system comprises a subsystem and an Android mobile communication hal daemon service module, and the method comprises the following steps: under the condition that the main system is started, starting the mobile communication management service of the main system, and starting and operating a subsystem and an Android mobile communication hal daemon service module in the main system; adding an interface adaptive to an Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module; and adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication frame module.

Description

Mobile communication method and device, storage medium, and electronic device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a mobile communication method and apparatus, a storage medium, and an electronic apparatus.
Background
With the continuous popularization of intelligent equipment and the continuous improvement of network speed, users enjoy the convenience brought by the network and pay more attention to the safety of the system, so that the multi-system mobile communication equipment comes into play. In a plurality of systems, a working system with higher safety requirement and a daily life system can operate independently, so that the safety requirement of work is met, and the free internet access requirement of the life system is not hindered.
In various intelligent devices, the share of Android accounts for more than 80%, the ecology of the Android is the most perfect, but the security of the Android is not as strict as that of a Linux system controlled by user access authority, so that most of the multiple systems adopt concurrent multi-system fusion of the Android and the Linux system in order to take the ecology and the security into consideration. However, as for how to support the Android mobile communication application on the Linux system, a mature solution is not available for the time being.
Aiming at the problems of how to support Android mobile communication application on a Linux system and the like in the related technology, an effective technical scheme is not provided.
Disclosure of Invention
The embodiment of the invention provides a mobile communication method and device, a storage medium and an electronic device, which are used for at least solving the problems of how to support Android mobile communication application on a Linux system and the like in the related technology.
According to an embodiment of the present invention, there is provided a mobile communication method applied to a Linux system, the Linux system including: the system comprises a main system and a subsystem, wherein the main system is a Linux system, the subsystem is an Android system running in the main system, and the main system at least comprises one of the following systems: the subsystem and the Android mobile communication hal daemon service module comprise: under the condition that the main system is started, starting the mobile communication management service of the main system, and starting and operating the subsystem and the Android mobile communication hal daemon service module in the main system; adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module; and adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication frame module.
Optionally, after the mobile communication management service of the host system is started, the method further includes: adding a conflict processing module in the mobile communication management service of the main system; and the conflict processing module is used for processing the transfer and conflict of the communication command so as to ensure that the mobile communication application of the subsystem normally operates in the main system.
Optionally, the processing, by the conflict processing module, the relaying and the conflict of the communication command so that the mobile communication application of the subsystem operates normally in the main system includes: and processing the transfer and conflict of the communication command between the main system and the subsystem through the conflict processing module so as to keep the mobile communication state of the main system and the mobile communication state of the subsystem synchronous.
Optionally, the authority between the main system and the subsystem is processed by the conflict processing module, so that the authority of the subsystem in the main system is normal.
Optionally, in the case of generating an operation request corresponding to an Android mobile communication application, sending the operation request to the Android mobile communication hal daemon service module for processing; and reporting the processing result to the Android mobile communication application through the Android mobile communication hal daemon service module under the condition that the Android mobile communication hal daemon service module responds to the operation request and obtains the processing result, wherein the Android mobile communication application is an application in the subsystem.
According to another embodiment of the present invention, there is also provided a mobile communication device applied to a Linux system, the Linux system including: the system comprises a main system and a subsystem, wherein the main system is a Linux system, the subsystem is an Android system running in the main system, and the main system at least comprises one of the following systems: the subsystem and the Android mobile communication hal daemon service module comprise: the starting unit is used for starting the mobile communication management service of the main system under the condition that the main system is started, and starting and operating the subsystem and the Android mobile communication hal daemon service module in the main system; the first processing unit is used for adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module; and the second processing unit is used for adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication frame module.
Optionally, the apparatus further comprises: an adding unit configured to add a conflict processing module to a mobile communication management service of the host system; and the third processing unit is used for processing the transfer and collision of the communication command through the collision processing module so as to ensure that the mobile communication application of the subsystem normally operates in the main system.
Optionally, the third processing unit is further configured to process, by the conflict processing module, relay and conflict of the communication command between the main system and the subsystem, so as to keep the mobile communication state of the main system and the mobile communication state of the subsystem synchronized.
According to another embodiment of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program executes to perform any one of the above mobile communication methods.
According to another embodiment of the present invention, there is also provided an electronic apparatus, the storage medium including a stored program, wherein the program executes the mobile communication method according to any one of the above.
According to the method and the system, under the condition that the main system is started, the mobile communication management service of the main system is started, and the subsystem and the Android mobile communication hal daemon service module are started and operated in the main system; adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module; and adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication frame module. By adopting the technical scheme, the problems that Android mobile communication application is supported on a Linux system and the like in the related technology are solved. By the technical scheme, when the main system (such as a Linux system) is started, the subsystems in the main system and the Android mobile communication hal daemon service module can be started, so that the technical effects that the mobile communication management service of the main system is communicated with the Android mobile communication hal daemon service module, and the mobile communication management service of the main system is communicated with the Android mobile communication frame module can be achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a terminal of an alternative mobile communication method according to an embodiment of the present invention;
fig. 2 is a flow chart of an alternative mobile communication method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an alternative method for supporting an Android mobile communication application on a Linux system according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating an alternative system for supporting an Android mobile communication application on a Linux system according to an embodiment of the present invention;
FIG. 5 is a block diagram of an alternative mobile communication device according to an embodiment of the present invention;
fig. 6 is another block diagram of an alternative mobile communication device in accordance with an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a terminal, a computer terminal or a similar operation device. Taking a computer terminal as an example, fig. 1 is a hardware block diagram of a terminal of an alternative mobile communication method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the terminal. For example, the terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the mobile communication method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a mobile communication method operating in the terminal shown in fig. 1 is provided, and fig. 2 is a flowchart of an alternative mobile communication method according to an embodiment of the present invention, as shown in fig. 2, the method is applied to a Linux system, where the Linux system includes: the system comprises a main system and a subsystem, wherein the main system is a Linux system, the subsystem is an Android system running in the main system, and the main system at least comprises one of the following systems: the subsystem and the Android mobile communication hal daemon service module comprise the following steps:
step S202, under the condition that the main system is started, starting the mobile communication management service of the main system, and starting and operating the subsystem and the Android mobile communication hal daemon service module in the main system;
step S204, adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module;
step S206, adding an interface adapted to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system, so that the mobile communication management service of the main system communicates with the Android mobile communication frame module.
According to the method and the system, under the condition that the main system is started, the mobile communication management service of the main system is started, and the subsystem and the Android mobile communication hal daemon service module are started and operated in the main system; adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module; and adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication frame module. By adopting the technical scheme, the problem of how to support Android mobile communication application on a Linux system in the related technology is solved. By the technical scheme, when the main system (such as a Linux system) is started, the subsystems in the main system and the Android mobile communication hal daemon service module can be started, so that the technical effects that the mobile communication management service of the main system is communicated with the Android mobile communication hal daemon service module, and the mobile communication management service of the main system is communicated with the Android mobile communication frame module can be achieved.
In this embodiment of the present invention, after step S202, the method may further include the following step, after the mobile communication management service of the host system is started, the method may further include: adding a conflict processing module in the mobile communication management service of the main system; and the conflict processing module is used for processing the transfer and conflict of the communication command so as to ensure that the mobile communication application of the subsystem normally operates in the main system.
Optionally, the processing, by the conflict processing module, the relaying and the conflict of the communication command so that the mobile communication application of the subsystem operates normally in the main system includes: and processing the transfer and conflict of the communication command between the main system and the subsystem through the conflict processing module so as to keep the mobile communication state of the main system and the mobile communication state of the subsystem synchronous.
In this embodiment of the present invention, the method may further perform an operation of processing the authority between the main system and the subsystem through the conflict processing module, so that the authority of the subsystem in the main system is normal.
Optionally, the method may further include the step of sending the operation request to the Android mobile communication hal daemon service module for processing when the operation request corresponding to the Android mobile communication application is generated; and reporting the processing result to the Android mobile communication application through the Android mobile communication hal daemon service module under the condition that the Android mobile communication hal daemon service module responds to the operation request and obtains the processing result, wherein the Android mobile communication application is an application in the subsystem.
The following explains the mobile communication process with an example, but is not intended to limit the technical solution of the embodiment of the present invention, and the technical solution of the example of the present invention is as follows:
the embodiment of the invention discloses a method for supporting Android mobile communication application on a Linux system, which comprises a main system and a subsystem, and comprises the following specific steps of:
the main system, namely the Linux system module, comprises a service starting management module and a mobile communication management module which are related to equipment management, authority management, communication management, service starting management and Android mobile communication application running, an Android mobile communication frame module, an Android mobile communication hal daemon service module and the like.
The subsystem, namely an Android system running in a main system Linux, serves as a module of the main system and supports Android corresponding functions.
When the main system is started, the service management module starts the mobile communication management service of the main system, and the subsystem module and the Android mobile communication hal daemon service module are used as services to be started and run in the main system. Adding an interface matched with an Android mobile communication hal daemon service module in the mobile communication management service of a main system, so that the mobile communication management service of the main system is directly communicated with the Android mobile communication hal daemon service module; an interface adaptive to a subsystem mobile communication frame is newly added in the mobile communication management service of the main system, so that the direct communication between the mobile communication management service of the main system and the subsystem mobile communication frame is realized, and the interface between the Android mobile communication application and the subsystem mobile communication frame is kept unchanged; the conflict processing is newly added in the mobile communication management service of the main system, and the possible mobile communication command conflict between the sub-system and the main system is solved. The Android mobile communication application can normally run in the Linux system by starting the subsystem, running the Android mobile communication hal daemon service and transferring and conflict resolution of the communication command by the main system mobile communication module.
By adopting the technical scheme, the Android mobile communication application can normally run in the Linux system, and the safety of the Android mobile communication application is improved due to the higher safety of the Linux system.
Optionally, an embodiment of the present invention further provides a system applied to the method for supporting the Android mobile communication application on the Linux system, where the system is a system for supporting the Android mobile communication application on the Linux system, and the system includes:
1. a host system service management module comprising:
(1) a service initiation unit: starting various services of the main system, such as main system mobile communication management service, subsystem service in the main system and Android mobile communication hal daemon service;
(2) a packet management unit: the system is used for managing the installation, the uninstallation and the maintenance of the running state of each application package of the Linux, and comprises the management of the Linux mobile communication application;
2. a host system communication management module comprising:
(1) the system comprises a main-subsystem mobile communication hal adaptation unit, a main system mobile communication management service and a server, wherein an inter-process communication mechanism for adapting the Android mobile communication hal daemon service is added in the main system mobile communication management service, the adaptation is used as a client, and the Android mobile communication hal daemon service is used as a server; the mobile communication command received by the hal adapting unit can be directly issued to the Android mobile communication hal daemon service through the adapting unit, and the state message returned and actively reported by the command processing result message is received and forwarded to each mobile communication command receiving end;
(2) the system comprises a main-subsystem mobile communication frame adapting unit, a main system mobile communication management service and a main-subsystem mobile communication frame adapting unit, wherein an inter-process communication mechanism is added in the main system mobile communication management service and serves as a service end, and the main-subsystem mobile communication frame adapting unit is used for receiving a communication command issued by a subsystem mobile communication frame, issuing the received command to the main-subsystem mobile communication hal adapting unit and issuing the command to an Android mobile communication hal daemon service; and dispatching the received command processing result message and actively reporting the state message to the subsystem mobile communication framework;
(3) and the main-subsystem mobile communication conflict processing unit is used for processing conflict commands issued by the main system and the subsystems, so that the main system mobile communication state and the subsystem mobile communication state are kept synchronous, and sensitive command authorities are uniformly controlled.
3. A subsystem management module, comprising:
(1) subsystem mobile communication framework adaptation unit: the system is used for cutting off a mobile communication command at a subsystem side and directly issuing the mobile communication command to an Android mobile communication hal daemon service, adding an interprocess communication mechanism with a main-subsystem mobile communication frame adapting unit and using the interprocess communication mechanism as a client, issuing the subsystem mobile communication command to the main-subsystem mobile communication frame adapting unit, receiving a command processing result message and an active report state message issued by the main-subsystem mobile communication frame adapting unit and issuing the command processing result message and the active report state message to Android mobile communication application.
(2) The subsystem application management unit: the android application management method is used for managing the android application, and comprises installation and uninstallation and running state maintenance of the mobile communication application.
The following explains the mobile communication method with another example, but is not intended to limit the technical solution of the embodiment of the present invention, and the technical solution of the example of the present invention is as follows:
the embodiment of the invention discloses another method for supporting Android mobile communication application on a Linux system, which comprises the following specific steps of:
step 1, starting a subsystem as a module in a main system, starting android mobile communication hal daemon service in the main system, and ensuring the normal operation and the normal required authority;
step 2, starting a main system mobile communication management service comprising a main-subsystem mobile communication hal adapting unit, a main-subsystem mobile communication conflict processing unit and a main-subsystem mobile communication framework adapting unit in a main system, and ensuring that a communication service end between the main system mobile communication management service and android mobile communication hal daemon service and a subsystem mobile communication framework adapting unit process normally operates;
step 3, starting subsystem service in the main system and ensuring normal operation of the subsystem mobile communication frame adapting unit and the subsystem application management unit;
step 4, installing android mobile communication application in the subsystem, performing operations such as conversation, short message and internet surfing and the like through the mobile communication application, transmitting operation related mobile communication commands to the android mobile communication hall service processing through the android mobile communication application, the subsystem mobile communication frame adaptation unit, the main-subsystem mobile communication conflict processing unit and the main-subsystem mobile communication hall adaptation unit, and reporting the processed operation result messages and the state messages actively reported by the android mobile communication hall service to the android mobile communication application through opposite paths, so that the mobile communication function conversation, the Linux and the Linux of the corresponding android mobile communication application are realized, Short message and internet access support.
It should be noted that in a Linux and android integrated multisystem, the android mobile communication signaling is transferred to the Linux system by adding core modules such as main subsystem adaptation and conflict processing; and the android mobile communication daemon is adapted and then operated in a Linux system, and mobile communication signaling sent by Linux is uniformly sent to the android mobile communication daemon for processing, so that the normal operation of the mobile communication functions of Linux and android is ensured. Therefore, in the multi-system fusion of Linux and Android, the Android mobile communication application is supported on the Linux system by adding the main subsystem to adapt to realize the communication signaling transfer method. Meanwhile, other peripheral applications of the Android, such as bluetooth, NFC, GPS, fingerprint, audio, camera, and the like, may add system adaptation and communication signaling transfer by the same or similar method to implement support of corresponding Android applications on the Linux system, and the embodiment of the present invention is not limited herein.
By the embodiment of the invention, the android mobile communication application is operated on the Linux system, so that the safety of Linux is ensured, the usability of android is fused, the application ecology of Linux is expanded, the cost of ecological expansion of the Linux system is reduced, the usability of the Linux system is improved, and the user experience of the Linux system is improved.
The following explains how to support the Android mobile communication application on the Linux system with reference to an example, but the technical solution of the embodiment of the present invention is not limited thereto, and the technical solution of the example of the present invention is as follows:
fig. 3 is a schematic diagram of an alternative method for supporting an Android mobile communication application on a Linux system according to an embodiment of the present invention, as shown in fig. 3:
the method supports the Android mobile communication application on the Linux system, wherein a mobile communication command stream of the Android mobile communication application is shown in an arrow direction in fig. 3, when the Android mobile communication application initiates a short message, telephone or mobile data internet access request, a mobile communication application operation command forms a mobile communication command flow path through an Android mobile communication application subsystem mobile communication frame adapting unit < - > a main-subsystem mobile communication conflict processing unit < - > a main-subsystem mobile communication hall adapting unit < - > an Android mobile communication hall daemon service, and can realize timely reporting, processing result information and actively reported state information of the mobile communication command, and the method can be used for establishing a mobile communication command flow path Dispatching and processing.
The normal function of the Android mobile communication application on the Linux system is ensured through the establishment of the mobile communication command flow direction path and the dispatching and processing of the corresponding message.
Optionally, another system applied to the method for supporting the Android mobile communication application on the Linux system is further provided in an embodiment of the present invention, where the system is another system for supporting the Android mobile communication application on the Linux system, as shown in fig. 4, the system includes:
e1, a main system service management module for managing the start, termination and restart of each system service of the main system; managing the installation, the uninstallation and the maintenance of the running state of each Linux application package of the main system;
e2, a main system communication management module, which is used for receiving the mobile communication command issued by the main system Linux mobile communication application and the subsystem mobile communication framework, and the timely reporting, dispatching and processing of the information of the android mobile communication hal daemon service processing result and the actively reported state information; and processing conflict commands issued by the Linux mobile communication application of the main system and the mobile communication framework of the subsystem and synchronizing the mobile communication states of the main system and the subsystem.
E3, a subsystem management module for managing the running state of each service of the subsystem and the installation, uninstallation and maintenance of the running state of each android application of the subsystem.
Corresponding to the step E1, the method specifically includes:
e101, a service starting unit for starting each main service of the main system, including starting the mobile communication management service of the main system, the packet management service of the main system, the subsystem service and the android mobile communication hal daemon service;
and E102, a packet management unit for managing installation and uninstallation and running state maintenance of each Linux application of the main system.
Corresponding to the step E2, the method specifically includes:
e201, a main-subsystem mobile communication hal adaptation unit, configured to establish a mobile communication command communication channel between a main system mobile communication management service and an android mobile communication hal daemon service, and implement communication between the android mobile communication hal daemon service and the main system mobile communication management service;
e202, a main-subsystem mobile communication frame adapting unit, which is used for receiving the communication command sent by the subsystem mobile communication frame adapting unit, the forwarding processing result message and the actively reported state message;
e203, a main-subsystem mobile communication conflict processing unit, which is used for processing a conflict command issued by the Linux mobile communication application of the main system and the subsystem mobile communication frame adapting unit and realizing the communication state synchronization of the main system and the subsystem;
corresponding to the step E3, the method specifically includes:
e301, a subsystem mobile communication frame adapting unit, for cutting off communication with android mobile communication hal daemon service and communicating with the main-subsystem mobile communication frame adapting unit, transferring a mobile communication command issued by the subsystem mobile communication frame adapting unit to the main-subsystem mobile communication frame adapting unit, and receiving a processing result message and an active report message from the main-subsystem mobile communication frame adapting unit;
e302, a subsystem application management unit for managing installation, uninstallation and operation state maintenance of each application in the subsystem, including the mobile communication application.
In summary, in the embodiment of the present invention, the operation environment of the Android mobile communication application is placed in the application management unit of the subsystem, the Android mobile communication hal daemon service is operated in the Linux main system, when the communication command corresponding to the phone call, short message and mobile data requested by the Android mobile communication application is transferred to the main-subsystem mobile communication framework adapting unit in the main system mobile communication management service through the subsystem mobile communication framework adapting unit, the command is finally sent to Android mobile communication hal daemon service for processing after the main-subsystem mobile communication conflict is processed and then forwarded through a main-subsystem mobile communication hal adaptation unit, and a processing result message is dispatched to the Android mobile communication application along the reverse direction, meanwhile, the Android mobile communication hal daemon service active report message is also reversely distributed to the Android mobile communication application. The conflict command issued by the main subsystem and the subsystem is processed and the communication state synchronization of the main subsystem and the subsystem is realized in a main-subsystem mobile communication conflict processing unit of the main system mobile communication management service. The Android mobile communication application is supported on the Linux system by providing the Android mobile communication application running environment and establishing a communication command issuing and result message processing and message active reporting dispatching path.
It should be noted that the method in the embodiment of the present invention may be applied to a multi-system pc with a Linux system, a mobile device, a pad, an intelligent device, and the like, so that the application ecology of the Linux system is expanded, the usability is improved, and the user experience is improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a mobile communication device is further provided, and the mobile communication device is used for implementing the above embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of an alternative mobile communication device according to an embodiment of the present invention, and as shown in fig. 5, the mobile communication device may be applied to a Linux system, where the Linux system includes: the system comprises a main system and a subsystem, wherein the main system is a Linux system, the subsystem is an Android system running in the main system, and the main system at least comprises one of the following systems: the subsystem and the Android mobile communication hal daemon service module comprise:
a starting unit 502, configured to start a mobile communication management service of the main system when the main system is started, and start and run the subsystem and the Android mobile communication hal daemon service module in the main system; a first processing unit 504, configured to add an interface adapted to the Android mobile communication hal daemon service module to a mobile communication management service of the host system, so that the mobile communication management service of the host system communicates with the Android mobile communication hal daemon service module; a second processing unit 506, configured to add an interface adapted to the Android mobile communication framework module of the subsystem in the mobile communication management service of the main system, so that the mobile communication management service of the main system communicates with the Android mobile communication framework module.
According to the method and the system, under the condition that the main system is started, the mobile communication management service of the main system is started, and the subsystem and the Android mobile communication hal daemon service module are started and operated in the main system; adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module; and adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication frame module. By adopting the technical scheme, the problem of how to support Android mobile communication application on a Linux system in the related technology is solved. By the technical scheme, when the main system (such as a Linux system) is started, the subsystems in the main system and the Android mobile communication hal daemon service module can be started, so that the technical effects that the mobile communication management service of the main system is communicated with the Android mobile communication hal daemon service module, and the mobile communication management service of the main system is communicated with the Android mobile communication frame module can be achieved.
In the embodiment of the present invention, as shown in fig. 6, the apparatus further includes:
an adding unit 508, configured to add a collision processing module in the mobile communication management service of the host system; a third processing unit 510, configured to process relaying and collision of the communication command through the collision processing module, so that the mobile communication application of the subsystem operates normally in the main system.
In this embodiment of the present invention, as shown in fig. 6, the third processing unit 510 is further configured to process, by the conflict processing module, the relay and conflict of the communication command between the main system and the subsystem, so as to keep the mobile communication state of the main system and the mobile communication state of the subsystem synchronized.
In the embodiment of the present invention, as shown in fig. 6, the apparatus further includes: a fourth processing unit 512, configured to process, by the conflict processing module, the authority between the main system and the subsystem, so that the authority of the subsystem in the main system is normal.
In the embodiment of the present invention, as shown in fig. 6, the apparatus further includes: a sending unit 514, configured to send, when an operation request corresponding to an Android mobile communication application is generated, the operation request to the Android mobile communication hal daemon service module for processing; and a reporting unit, configured to report the processing result to the Android mobile communication application through the Android mobile communication hal daemon service module under the condition that the Android mobile communication hal daemon service module responds to the operation request and obtains the processing result, where the Android mobile communication application is an application in the subsystem.
Embodiments of the present invention also provide a computer-readable storage medium including a stored program, wherein the program performs any one of the methods described above when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, under the condition that the main system is started, starting the mobile communication management service of the main system, and starting and running the subsystem and the Android mobile communication hal daemon service module in the main system;
s2, adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module;
and S3, adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to communicate with the Android mobile communication frame module.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, under the condition that the main system is started, starting the mobile communication management service of the main system, and starting and running the subsystem and the Android mobile communication hal daemon service module in the main system;
s2, adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module;
and S3, adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to communicate with the Android mobile communication frame module.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A mobile communication method, applied to a Linux system, the Linux system comprising: the system comprises a main system and a subsystem, wherein the main system is a Linux system, the subsystem is an Android system running in the main system, and the main system at least comprises one of the following systems: the subsystem and the Android mobile communication hal daemon service module comprise:
under the condition that the main system is started, starting the mobile communication management service of the main system, and starting and operating the subsystem and the Android mobile communication hal daemon service module in the main system;
adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module;
and adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication frame module.
2. The method of claim 1, wherein after the initiating of the mobile communication management service of the host system, the method further comprises:
adding a conflict processing module in the mobile communication management service of the main system;
and the conflict processing module is used for processing the transfer and conflict of the communication command so as to ensure that the mobile communication application of the subsystem normally operates in the main system.
3. The method according to claim 2, wherein the processing of the relay and collision of the communication command by the collision processing module to make the mobile communication application of the subsystem operate normally in the main system comprises:
and processing the transfer and conflict of the communication command between the main system and the subsystem through the conflict processing module so as to keep the mobile communication state of the main system and the mobile communication state of the subsystem synchronous.
4. The method of claim 2, further comprising:
and processing the authority between the main system and the subsystem through the conflict processing module so as to ensure that the authority of the subsystem in the main system is normal.
5. The method of claim 1, further comprising:
under the condition that an operation request corresponding to the Android mobile communication application is generated, the operation request is sent to the Android mobile communication hal daemon service module for processing;
and reporting the processing result to the Android mobile communication application through the Android mobile communication hal daemon service module under the condition that the Android mobile communication hal daemon service module responds to the operation request and obtains the processing result, wherein the Android mobile communication application is an application in the subsystem.
6. A mobile communication device, applied to a Linux system, the Linux system comprising: the system comprises a main system and a subsystem, wherein the main system is a Linux system, the subsystem is an Android system running in the main system, and the main system at least comprises one of the following systems: the subsystem and the Android mobile communication hal daemon service module comprise:
the starting unit is used for starting the mobile communication management service of the main system under the condition that the main system is started, and starting and operating the subsystem and the Android mobile communication hal daemon service module in the main system;
the first processing unit is used for adding an interface adaptive to the Android mobile communication hal daemon service module in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication hal daemon service module;
and the second processing unit is used for adding an interface adaptive to the Android mobile communication frame module of the subsystem in the mobile communication management service of the main system so as to enable the mobile communication management service of the main system to be communicated with the Android mobile communication frame module.
7. The apparatus of claim 6, further comprising:
an adding unit configured to add a conflict processing module to a mobile communication management service of the host system;
and the third processing unit is used for processing the transfer and collision of the communication command through the collision processing module so as to ensure that the mobile communication application of the subsystem normally operates in the main system.
8. The apparatus of claim 7, wherein the third processing unit is further configured to process, by the conflict processing module, the relaying and the conflicting of the communication command between the main system and the subsystem, so as to keep the mobile communication state of the main system and the mobile communication state of the subsystem synchronized.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 5 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 5.
CN201911052945.7A 2019-10-31 2019-10-31 Mobile communication method and device, storage medium, and electronic device Pending CN112749017A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911052945.7A CN112749017A (en) 2019-10-31 2019-10-31 Mobile communication method and device, storage medium, and electronic device
PCT/CN2020/113543 WO2021082733A1 (en) 2019-10-31 2020-09-04 Mobile communication method and apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911052945.7A CN112749017A (en) 2019-10-31 2019-10-31 Mobile communication method and device, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
CN112749017A true CN112749017A (en) 2021-05-04

Family

ID=75644597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911052945.7A Pending CN112749017A (en) 2019-10-31 2019-10-31 Mobile communication method and device, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN112749017A (en)
WO (1) WO2021082733A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608898A (en) * 2021-07-12 2021-11-05 北京鲸鲮信息系统技术有限公司 Fingerprint access method, device, equipment and storage medium
CN113792280A (en) * 2021-09-24 2021-12-14 北京鲸鲮信息系统技术有限公司 Fingerprint access method, device, equipment and storage medium
CN113821363A (en) * 2021-11-25 2021-12-21 北京鲸鲮信息系统技术有限公司 Inter-process communication method and system
CN113840271A (en) * 2021-09-27 2021-12-24 北京鲸鲮信息系统技术有限公司 NFC data transmission method and device, electronic equipment and storage medium
CN114153564A (en) * 2021-12-07 2022-03-08 北京鲸鲮信息系统技术有限公司 Access method and device for near field communication unit in multiple systems, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876906B (en) * 2010-03-31 2013-08-21 北京播思软件技术有限公司 Method and device for running Linux application in Android system
CN105204913A (en) * 2015-10-20 2015-12-30 福建升腾资讯有限公司 Method and system for running Linux application on Android operating system and system
CN106371809B (en) * 2016-08-31 2019-03-01 北京奇虎科技有限公司 Thread processor and thread processing method
CN106844206B (en) * 2017-01-13 2020-03-27 北京元心科技有限公司 Method and device for debugging multiple systems in mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608898A (en) * 2021-07-12 2021-11-05 北京鲸鲮信息系统技术有限公司 Fingerprint access method, device, equipment and storage medium
CN113792280A (en) * 2021-09-24 2021-12-14 北京鲸鲮信息系统技术有限公司 Fingerprint access method, device, equipment and storage medium
WO2023045509A1 (en) * 2021-09-24 2023-03-30 北京字节跳动网络技术有限公司 Fingerprint access method and apparatus, and device and storage medium
CN113840271A (en) * 2021-09-27 2021-12-24 北京鲸鲮信息系统技术有限公司 NFC data transmission method and device, electronic equipment and storage medium
CN113840271B (en) * 2021-09-27 2024-04-19 北京字节跳动网络技术有限公司 NFC data transmission method and device, electronic equipment and storage medium
CN113821363A (en) * 2021-11-25 2021-12-21 北京鲸鲮信息系统技术有限公司 Inter-process communication method and system
CN113821363B (en) * 2021-11-25 2022-03-01 北京鲸鲮信息系统技术有限公司 Inter-process communication method and system
WO2023093039A1 (en) * 2021-11-25 2023-06-01 北京字节跳动网络技术有限公司 Inter-process communication method and system
CN114153564A (en) * 2021-12-07 2022-03-08 北京鲸鲮信息系统技术有限公司 Access method and device for near field communication unit in multiple systems, electronic equipment and storage medium
CN114153564B (en) * 2021-12-07 2024-04-26 北京字节跳动网络技术有限公司 Near field communication unit access method and device in multiple systems, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021082733A1 (en) 2021-05-06

Similar Documents

Publication Publication Date Title
CN112749017A (en) Mobile communication method and device, storage medium, and electronic device
AU2007269514B2 (en) Method and system for communicating within a communication network
CN101895873B (en) The update method of the Java application of mobile terminal, server and mobile terminal
CN1989779A (en) Method and system for associating subscriber identity information
CN108781358B (en) Method for managing subscription information set in eUICC and related equipment
CN102379153B (en) Method and system for reducing time for call failure indication
WO2012092728A1 (en) Short message processing method and terminal
CN111510493B (en) Distributed data transmission method and device
CN105245556A (en) Intelligent mobile phone remote control method and device
CN101621764B (en) Method and system for transferring information of mobile phone communication based on Java Push mechanism
CN102611717A (en) Service data sending method and system, client-side agent and server agent
CN101917687B (en) Message sending method and message centre
CN106231538B (en) Method and device for binding OneM2M architecture equipment
CN101345905A (en) Method and equipment for updating controlling parameter of network side user
US9215574B2 (en) Method and apparatus for scheduling short messages in code division multiple access single-mode dual-standby terminal
CN101883419A (en) Synchronization method of client-side information and system
CN114125052A (en) Target operation execution method and device, storage medium and electronic device
KR20070105928A (en) Method and system for accelerating access to a content from mobile terminal
CN112533194A (en) Method and device for realizing data service in dual-card mode and mobile terminal
EP2062450A1 (en) Mobile communications systems
KR100250621B1 (en) Data recovering apparatus when restarting central control station of satellite communication system
CN112383886B (en) Subscription data synchronization method and device of LTE B-Trunc system
CN102301756B (en) Method and device used for communication
CN101394675A (en) Call implementing method and terminal
EP3163844B1 (en) Method, system and device for establishing an http-ota session between a secure element and an http-ota platform

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