Communication control method and device, electronic equipment and storage medium
By receiving requests for target communication types and protocols, obtaining SIM parameters and sending or receiving communication messages, the problem of single satellite communication functions is solved, and better communication effects and functional expansion is achieved.
Patent Information
- Application Number
- CN202311595976.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2025-05-27
AI Technical Summary
The communication function of satellite communication is relatively single, resulting in poor communication effect.
By receiving communication requests for the target communication type and target communication protocol, obtaining the SIM parameters of the user identification module, and sending or receiving communication messages based on the target communication protocol and SIM parameters, realizing a two-way data communication function.
It supports users' personalized choice of data communication functions, improves communication effects and expands communication functions.
Smart Images

Figure CN120049934A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technologies, and in particular, to a communication control method, apparatus, electronic device, and storage medium. Background Art
[0002] Satellite communication can support direct connection to satellites in space. The coverage range of satellite communication is relatively wide and can basically cover all activity ranges that humans can reach. It is often used in special fields such as geological exploration, ocean transportation, and forest patrol. In related technologies, a terminal can communicate based on a satellite network and send short distress messages in the absence of ground network signals.
[0003] In this way, the communication function is relatively single, resulting in poor communication effects. Summary of the Invention
[0004] The present disclosure aims to at least partly solve one of the technical problems in the related technologies.
[0005] To this end, the present disclosure provides a communication control method, apparatus, electronic device, non-transitory computer-readable storage medium storing computer instructions, and computer program product, which can effectively expand the communication function and improve the communication effect.
[0006] The communication control method provided by the first aspect embodiment of the present disclosure includes: receiving a first communication request, where the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol; obtaining subscriber identity module (SIM) parameters according to the target communication type; sending a first communication message according to the target communication protocol and the SIM parameters, and / or receiving a second communication message according to the target communication protocol and the SIM parameters.
[0007] The communication control apparatus provided by the second aspect embodiment of the present disclosure includes: a receiving module, configured to receive a first communication request, where the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol; an obtaining module, configured to obtain subscriber identity module (SIM) parameters according to the target communication type; and a control module, configured to send a first communication message according to the target communication protocol and the SIM parameters, and / or receive a second communication message according to the target communication protocol and the SIM parameters.
[0008] The electronic device provided by the third aspect embodiment of the present disclosure includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the communication control method provided by the first aspect embodiment of the present disclosure when executing the program.
[0009] A fourth aspect embodiment of the present disclosure provides a non - transitory computer - readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the communication control method proposed in the first aspect embodiment of the present disclosure.
[0010] A fifth aspect embodiment of the present disclosure provides a computer program product. When the instructions in the computer program product are executed by a processor, they execute the communication control method proposed in the first aspect embodiment of the present disclosure.
[0011] The communication control method, device, electronic device, non - transitory computer - readable storage medium storing computer instructions, and computer program product provided by the present disclosure receive a first communication request, where the first communication request includes a target communication type, and the target communication type has a corresponding target communication protocol. According to the target communication type, user identification module (SIM) parameters are obtained, and a first communication message is sent according to the target communication protocol and SIM parameters, and / or a second communication message is received according to the target communication protocol and SIM parameters. It not only supports users' personalized selection of data communication functions but also supports the effective sending and receiving of communication messages in the data communication functions of the target communication type, realizing two - way data communication functions. Therefore, it can effectively expand communication functions and improve communication effects.
[0012] Additional aspects and advantages of the present disclosure will be given in part in the following description, become apparent in part from the following description, or be understood through the practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above - mentioned and / or additional aspects and advantages of the present disclosure will become apparent and be readily understood from the following description of the embodiments in conjunction with the drawings, where:
[0014] Figure 1 is a flowchart of the communication control method proposed in an embodiment of the present disclosure;
[0015] Figure 2 is a schematic diagram of the terminal architecture in an embodiment of the present disclosure;
[0016] Figure 3 is an interaction schematic diagram in an embodiment of the present disclosure;
[0017] Figure 4 is a flowchart of the communication control method proposed in another embodiment of the present disclosure;
[0018] Figure 5 is a schematic diagram of the structure of the communication control device proposed in an embodiment of the present disclosure;
[0019] Figure 6 is a schematic diagram of the structure of the terminal proposed in an embodiment of the present disclosure;
[0020] Figure 7 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Detailed implementation manners
[0021] Embodiments of the present disclosure will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure and should not be construed as a limitation of the present disclosure. On the contrary, the embodiments of the present disclosure include all variations, modifications, and equivalents that fall within the spirit and scope of the appended claims.
[0022] Figure 1 is a schematic flowchart of a communication control method proposed in an embodiment of the present disclosure.
[0023] In this embodiment, the communication control method is exemplified as being configured in a communication control device. In this embodiment, the communication control method can be configured in a communication control device, and the communication control device can be set in an electronic device, which is not limited herein. Among them, the electronic device is, for example, a hardware device with various operating systems such as a smart phone, a mobile device, a terminal, a tablet computer, a personal digital assistant, an e-book, etc.
[0024] The execution subject of the embodiments of the present disclosure can be, for example, an application processor (AP) in an electronic device. In terms of hardware, it can be, for example, the AP, and in terms of software, it can be, for example, the relevant background service of the AP, which is not limited herein. The AP is an integrated circuit chip and is usually used in mobile devices, smart phones, tablet computers, and other portable devices. The AP is mainly responsible for running the operating system, application programs, and user interfaces, as well as processing data, graphics, and multimedia content. The AP usually includes a high-performance central processing unit, a graphics processing unit, a memory controller, a multimedia processing unit, etc. to meet the requirements of mobile devices for processor performance, power consumption, and integration. The design of the AP aims to provide efficient computing and graphics processing capabilities while minimizing power consumption to extend the battery life of mobile devices.
[0025] As Figure 1 shown, the communication control method includes:
[0026] S101: Receive a first communication request, where the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol.
[0027] Among them, the request for data communication can be referred to as the first communication request. The first communication request in the embodiments of the present disclosure may include a target communication type, where the target communication type refers to the type of data communication required by the user currently. The target communication type may be the first communication type or the second communication type. Among them, the first communication type indicates communication based on a satellite network, and the second communication type indicates communication based on a terrestrial network.
[0028] That is to say, compared with the related art that only supports communication based on a satellite network when there is no terrestrial network signal, the embodiments of the present disclosure can support the user to set personalized whether to communicate based on a satellite network or a terrestrial network according to the communication requirements, so as to support the user's personalized selection of the data communication function.
[0029] Among them, the communication protocol for supporting data communication of the target communication type can be referred to as the target communication protocol. For example, in the case of communication based on a satellite network, the target communication protocol supports data communication based on a satellite network. In the case of communication based on a data network, the target communication protocol supports data communication based on a data network.
[0030] In some embodiments, the AP may receive the first communication request, determine the target communication type based on the first communication request, and determine the corresponding target communication protocol of the target communication type, and then execute the data communication function of the target communication type.
[0031] S102: Obtain Subscriber Identity Module (SIM) parameters according to the target communication type.
[0032] After receiving the first communication request as described above, the Subscriber Identity Module (SIM) parameters can be obtained with reference to the target communication type. The SIM parameters may refer to various parameter settings of the SIM card, and these parameters are usually used to configure the terminal to access the operator's network. Among them, the SIM parameters corresponding to different target communication types may be different. Therefore, in the embodiments of the present disclosure, the SIM parameters corresponding to the target communication type can be obtained.
[0033] For example, in the case of communication based on a satellite network, the SIM parameters corresponding to satellite network communication can be obtained. In the case of communication based on a data network, the SIM parameters corresponding to data network communication can be obtained.
[0034] In some embodiments, the AP may be disposed in the terminal, and the terminal may further include: a Universal Subscriber Identity Module (USIM) control module USIM-CTL. The AP may pre-store the SIM parameters corresponding to the first communication type and the SIM parameters corresponding to the second communication type in the USIM control module (USIM-CTL), so that the USIM control module (USIM-CTL) can manage the SIM parameters corresponding to the first communication type and the SIM parameters corresponding to the second communication type.
[0035] In some embodiments, the USIM-CTL may also be disposed in the AP, or may be independently disposed from the AP.
[0036] That is to say, in the embodiments of the present disclosure, the SIM parameters required for data communication of different communication types can be encapsulated in the USIM-CTL. Thus, after selecting a personalized target communication type, it is possible to support obtaining SIM parameters adapted to the target communication type to support the data communication function of the target communication type.
[0037] In some embodiments, when the AP determines that the target communication type is the first communication type, it may obtain the SIM parameters corresponding to the first communication type from the USIM control module. This enables timely acquisition of SIM parameters adapted to the target communication type to support the data communication function of the target communication type.
[0038] S103: Send a first communication message according to the target communication protocol and the SIM parameters, and / or receive a second communication message according to the target communication protocol and the SIM parameters.
[0039] After determining the target communication type and obtaining the subscriber identity module (SIM) parameters according to the target communication type as described above, a first communication message may be sent based on the target communication protocol and the SIM parameters corresponding to the target communication type, and / or a second communication message may be received according to the target communication protocol and the SIM parameters.
[0040] Among them, the sent communication message may be referred to as the first communication message. The received communication message may be referred to as the second communication message.
[0041] In this embodiment, by receiving a first communication request, where the first communication request includes: a target communication type, the target communication type has a corresponding target communication protocol, and according to the target communication type, user identification module (SIM) parameters are obtained, and a first communication message is sent according to the target communication protocol and the SIM parameters, and / or a second communication message is received according to the target communication protocol and the SIM parameters. It not only supports users' personalized selection of data communication functions, but also supports the effective sending and receiving of communication messages in the data communication functions of the target communication type, realizing two-way data communication functions, thus effectively expanding the communication functions and improving the communication effect.
[0042] As Figure 2 shown, Figure 2 is a schematic diagram of the terminal architecture in an embodiment of the present disclosure, which includes an AP and a central processor (CP). The CP is responsible for processing and executing various functions and tasks of the terminal. The terminal processor generally includes components such as a central processing unit (CPU), memory, and storage, and is used to run the operating system and application programs, and provide an interaction interface between the user and the terminal device. The CP includes: communication firmware corresponding to the first communication type, and the communication firmware is used to provide the data communication function of the first communication type, and the first communication type represents communication based on a satellite network.
[0043] In Figure 2It also includes: USIM-CTL, USIM, Type-b / c (indicating the data interface type), DIAG (DIAG is the abbreviation of Diagnostic, which is a communication interface protocol for mobile phone hardware and software diagnosis. The DIAG interface is usually used for low-level interaction and debugging with mobile phone devices for troubleshooting, performance optimization, function testing, etc.), application APP (for dialing, text messaging, configuration). In the AP, a satellite communication protocol module can be set to provide a satellite communication protocol, and the satellite communication protocol can be an optional example of the target communication protocol. Specifically, the satellite communication protocol is, for example, (TianTong-Protocol Stack (Radio Interface Layer (RIL)), TT-PS (RIL)) (TT-PS represents the TianTong protocol stack, which is a communication protocol stack used in the field of mobile communication. It includes various protocol layers such as the physical layer, data link layer, network layer, and transport layer to support data transmission, signaling control, etc. in the mobile communication system). SOCKET (socket), which is a programming interface for communication in a computer network. It provides a standard method for different computers to establish connections and transfer data. mgr represents management / manager, which can refer to the functional part that provides protocol management in TT-PS (RIL). AT represents the Attention instruction, and AT instructions are used to guide the modem to work. Non-Access Stratum (NAS), Radio Resource Control (RRC), Packet Data Convergence Protocol (PDCP). Radio Link Control (RLC), Medium Access Control (MAC), High layer mac (H-mac), Pulse Code Modulation (PCM).
[0044] Figure 2The CP therein includes a Low layer mac (L-mac), a Layer1control (L1C) module, a receiving antenna (RX), a transmitting antenna (TX), a Radio Frequency Identification Unit (RFIU). The terminal may further include an AUDIO module, and the AUDIO module includes: an AUDIO part, an SPK part (speaker), and a MIC part (microphone).
[0045] In some embodiments, as described above Figure 2 As shown in, the AP is disposed in the terminal, and the terminal further includes: a central processing unit CP, and the CP includes: communication firmware corresponding to a first communication type, and the communication firmware is used to provide a data communication function of the first communication type, where the first communication type represents communication based on a satellite network. By way of example Figure 2 The communication firmware included in the CP in may be at least used to support satellite network communication. Of course, the communication firmware included in the CP may also be extended according to actual communication application requirements. Thus, in this embodiment, by integrating a satellite communication protocol stack (such as TT-PS (RIL)) into the AP in a software manner, while implementing the parts strongly related to the MAC and the physical layer (L-mac), the physical layer, and the radio frequency part using independent external chips (deployed in the CP), and deploying the parts of the MAC layer and the physical layer with a weak relationship (H-mac) and other upper-layer satellite communication protocol stacks in the form of software in the AP. When the AP calls the satellite communication protocol to support satellite network communication, the satellite communication efficiency can be effectively improved.
[0046] In some embodiments, the AP may trigger the activation of the communication firmware corresponding to the first communication type in the central processing unit CP, where the communication firmware is used to provide a data communication function of the first communication type, and the first communication type represents communication based on a satellite network.
[0047] In the embodiments of the present disclosure, the satellite communication function is equivalent to an application software of the AP. That is, the SIM parameters can be stored in the USIM-CTL of the AP and can directly communicate with the satellite communication protocol stack TT-PS (RIL).
[0048] The embodiments of the present disclosure further provide an interaction schematic diagram for obtaining SIM parameters corresponding to the first communication type from the USIM control module when it is determined that the target communication type is the first communication type. To achieve timely and effective acquisition of SIM parameters corresponding to satellite network communication.
[0049] As Figure 3 shown Figure 3This is an interaction schematic diagram in an embodiment of the present disclosure. In the AP, TT-PS (RIL) can interact with the modem via USIM-CTL to obtain SIM parameters. The process of obtaining SIM parameters includes: obtaining the International Mobile Subscriber Identity (IMSI), authentication calculation, etc. If the IMSI acquisition fails, the default IMSI will be used. If the authentication fails, the SIM will be RESET (reset SIM) and the authentication will be performed again. TT-PS (RIL) interacts with the SIM card and can communicate using an inter-process message queue. The data plane interface, that is, the interaction interface for voice data, includes forward and reverse voice data interactions. TT-PS (RIL) and the high-level APP can communicate using an inter-process message queue.
[0050] Figure 4 This is a schematic flowchart of a communication control method proposed in another embodiment of the present disclosure.
[0051] The execution subject of the embodiment of the present disclosure can be, for example, an application processor (AP) in an electronic device. In terms of hardware, it can be, for example, the AP, and in terms of software, it can be, for example, the relevant background service of the AP, and there is no limitation thereto.
[0052] As Figure 4 shown, the communication control method includes:
[0053] S401: Receive a first communication request, where the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol.
[0054] S402: Determine that the target communication type is a first communication type, where the first communication type indicates communication based on a satellite network.
[0055] S403: Send a first instruction message to the CP, where the first instruction message is used to enable the communication firmware.
[0056] S404: Enable the communication firmware based on the first instruction message.
[0057] That is to say, if it is determined to select communication based on a satellite network, the AP can send an instruction message to the CP to enable the communication firmware in the CP to support satellite network communication. For example, the AP pulls up the protocol stack TT-PS (RIL), TT-PS (RIL) controls the CP to power on, TT-PS (RIL) loads the CP firmware, and the AP sends AT+CFUN=1 (an AT instruction, an optional example of the first instruction message), triggering the network access process.
[0058] S405: Send a first communication message based on the data communication function provided by the communication firmware, the communication protocol corresponding to the first communication type, and the SIM parameters, and / or receive a second communication message based on the data communication function provided by the communication firmware, the communication protocol corresponding to the first communication type, and the SIM parameters.
[0059] After enabling the communication firmware in the CP as described above, a first communication message can be sent based on the data communication function provided by the communication firmware, the communication protocol corresponding to the first communication type, and the SIM parameters.
[0060] After enabling the communication firmware in the CP as described above, a second communication message can be received based on the data communication function provided by the communication firmware, the communication protocol corresponding to the first communication type, and the SIM parameters.
[0061] After enabling the communication firmware in the CP as described above, a first communication message can be sent based on the data communication function provided by the communication firmware, the communication protocol corresponding to the first communication type, and the SIM parameters, and a second communication message can be received based on the data communication function provided by the communication firmware, the communication protocol corresponding to the first communication type, and the SIM parameters. Implement two-way communication based on the satellite network.
[0062] S406: Receive a second communication request, where the second communication request is used to stop data communication of the first communication type.
[0063] Among them, the request for stopping data communication of the first communication type can be referred to as the second communication request.
[0064] In the embodiments of the present disclosure, when the satellite network communication is completed, the communication firmware in the CP can also be turned off. This enables the communication firmware supporting satellite network communication to run on demand, avoiding consuming the computing resources of the terminal, thereby effectively improving the battery life of the terminal.
[0065] S407: Send second instruction information to the CP, where the second instruction information is used to turn off the communication firmware.
[0066] S408: Turn off the communication firmware based on the second instruction information.
[0067] That is to say, if it is determined to stop communicating based on the satellite network, the AP can send an instruction information (such as the second instruction information) to the CP to turn off the communication firmware in the CP to stop satellite network communication. For example, the AP sends AT+CFUN=4 (an AT instruction, an optional example of the second instruction information), thereby implementing powering off the CP.
[0068] In this embodiment, it not only supports users' personalized selection of data communication functions, but also enables effective sending and receiving of communication messages in the data communication functions of the target communication type, realizing two-way data communication functions. Therefore, it can effectively expand the communication functions and improve the communication effect. When satellite network communication is selected, the communication firmware in the CP can be enabled to support satellite network communication, realizing the on-demand enabling of the communication firmware that supports satellite network communication. When the satellite network communication is completed, the communication firmware in the CP can also be disabled. This enables the communication firmware that supports satellite network communication to run on demand, avoiding consumption of the terminal's computing resources, and thus effectively improving the terminal's battery life.
[0069] Figure 5 It is a schematic structural diagram of a communication control device proposed in an embodiment of the present disclosure.
[0070] As Figure 5 shown, the communication control device 50 includes:
[0071] A receiving module 501, configured to receive a first communication request, where the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol.
[0072] An obtaining module 502, configured to obtain user identification module SIM parameters according to the target communication type.
[0073] A control module 503, configured to send a first communication message according to the target communication protocol and SIM parameters, and / or receive a second communication message according to the target communication protocol and SIM parameters.
[0074] It should be noted that the foregoing explanations of the communication control method also apply to the communication control device in this embodiment, and will not be elaborated here.
[0075] In this embodiment, by receiving a first communication request, where the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol, and obtaining user identification module SIM parameters according to the target communication type, and sending a first communication message according to the target communication protocol and SIM parameters, and / or receiving a second communication message according to the target communication protocol and SIM parameters. It not only supports users' personalized selection of data communication functions, but also enables effective sending and receiving of communication messages in the data communication functions of the target communication type, realizing two-way data communication functions. Therefore, it can effectively expand the communication functions and improve the communication effect.
[0076] Figure 6 It is a schematic structural diagram of a terminal proposed in an embodiment of the present disclosure.
[0077] As Figure 6As shown, the terminal 60 includes: an application processor AP601, and AP601 is configured to execute:
[0078] Receive a first communication request, where the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol;
[0079] Obtain subscriber identity module (SIM) parameters according to the target communication type;
[0080] Send a first communication message according to the target communication protocol and the SIM parameters, and / or receive a second communication message according to the target communication protocol and the SIM parameters.
[0081] In some embodiments of the present disclosure, the target communication type is a first communication type or a second communication type, where the first communication type represents communication based on a satellite network, and the second communication type represents communication based on a terrestrial network.
[0082] In some embodiments of the present disclosure, the terminal 60 further includes: a universal subscriber identity module (USIM) control module 602, and the USIM control module 602 is configured to manage the SIM parameters corresponding to the first communication type and the SIM parameters corresponding to the second communication type.
[0083] In some embodiments of the present disclosure, the terminal 60 further includes: a central processing unit (CPU) CP603, and CP603 includes: communication firmware corresponding to the first communication type, and the communication firmware is configured to provide a data communication function for the first communication type, and the first communication type represents communication based on a satellite network.
[0084] It should be noted that the foregoing explanation of the communication control method also applies to the terminal in this embodiment, and will not be elaborated herein.
[0085] In this embodiment, by receiving a first communication request, where the first communication request includes: a target communication type, the target communication type has a corresponding target communication protocol, obtaining subscriber identity module (SIM) parameters according to the target communication type, and sending a first communication message according to the target communication protocol and the SIM parameters, and / or receiving a second communication message according to the target communication protocol and the SIM parameters. It not only supports the user's personalized selection of the data communication function, but also supports the effective sending and receiving of communication messages in the data communication function of the target communication type, realizing a two-way data communication function, and thus can effectively expand the communication function and improve the communication effect.
[0086] Figure 7 The block diagram of an exemplary electronic device suitable for implementing the embodiments of the present disclosure is shown. Figure 7 The illustrated electronic device 12 is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.
[0087] As Figure 7 shown, the electronic device 12 is presented in the form of a general-purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that connects different system components (including the memory 28 and the processing unit 16).
[0088] The bus 18 represents one or more of several types of bus architectures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnection (PCI) bus.
[0089] The electronic device 12 typically includes a variety of computer system-readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0090] The memory 28 may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or a cache 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, a storage system 34 can be used for reading and writing non-removable, non-volatile magnetic media ( Figure 7 not shown, typically referred to as a "hard disk drive").
[0091] Although Figure 7Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing a removable non-volatile optical disk (such as a Compact Disc Read Only Memory (hereinafter referred to as "CD-ROM"), a Digital Video Disc Read Only Memory (hereinafter referred to as "DVD-ROM") or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 through one or more data medium interfaces. The memory 28 may include at least one program product having a set (such as at least one) of program modules configured to perform the functions of the embodiments of the present disclosure.
[0092] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. The implementation of a network environment may be included in each or some combination of these examples. The program modules 42 generally execute the functions and / or methods in the embodiments described in the present disclosure.
[0093] The electronic device 12 may also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and may also communicate with one or more devices that enable a human body to interact with the electronic device 12, and / or communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication may be performed through the input / output (I / O) interface 22. In addition, the electronic device 12 may also communicate with one or more networks (such as a Local Area Network (hereinafter referred to as "LAN"), a Wide Area Network (hereinafter referred to as "WAN") and / or a public network, such as the Internet) through the network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the electronic device 12 through the bus 18. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in combination with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0094] The processing unit 16 executes various functional applications and data processing by running the programs stored in the memory 28, such as implementing the methods mentioned in the foregoing embodiments.
[0095] To implement the above embodiments, the present disclosure also provides a non-transitory computer-readable storage medium storing a computer program which, when executed by a processor, implements the method as proposed in the foregoing embodiments of the present disclosure.
[0096] To implement the above embodiments, the present disclosure also provides a computer program product which, when the instructions in the computer program product are executed by a processor, executes the method as proposed in the foregoing embodiments of the present disclosure.
[0097] It should be noted that in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be construed as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "a plurality of" is two or more.
[0098] Any process or method description in a flowchart or described otherwise herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of the present disclosure includes additional implementations where functions may be executed in a substantially simultaneous manner or in an order opposite to that shown or discussed, according to the functions involved, which should be understood by those skilled in the technical field of the embodiments of the present disclosure.
[0099] It should be understood that the various parts of the present disclosure can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following well-known technologies in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
[0100] Those of ordinary skill in the art of this technology can understand that all or part of the steps carried by the method for implementing the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.
[0101] In addition, each functional unit in various embodiments of the present disclosure may be integrated into a processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0102] The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disc, or the like.
[0103] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0104] Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A communication control method, characterized in that, the method includes: receiving a first communication request, wherein the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol; acquiring a Subscriber Identity Module (SIM) parameter according to the target communication type; sending a first communication message according to the target communication protocol and the SIM parameter, and / or receiving a second communication message according to the target communication protocol and the SIM parameter.
2. The method according to claim 1, characterized in that, the target communication type is a first communication type or a second communication type, wherein the first communication type represents communication based on a satellite network, and the second communication type represents communication based on a terrestrial network.
3. The method according to claim 2, characterized in that, the method further includes: storing the SIM parameter corresponding to the first communication type and the SIM parameter corresponding to the second communication type into a Universal Subscriber Identity Module (USIM) control module.
4. The method according to claim 3, characterized in that, the acquiring a Subscriber Identity Module (SIM) parameter according to the target communication type includes: determining that the target communication type is the first communication type; obtaining the SIM parameter corresponding to the first communication type from the USIM control module.
5. The method according to claim 1, characterized in that, the method further includes: enabling a communication firmware corresponding to the first communication type in a Central Processing Unit (CPU), wherein the communication firmware is used to provide a data communication function for the first communication type, and the first communication type represents communication based on a satellite network.
6. The method according to claim 5, characterized in that, the enabling the communication firmware corresponding to the first communication type in the CPU includes: determining that the target communication type is the first communication type; sending a first instruction message to the CPU, wherein the first instruction message is used to enable the communication firmware; enabling the communication firmware based on the first instruction message.
7. The method according to claim 6, characterized in that, the sending a first communication message according to the target communication protocol and the SIM parameter, and / or receiving a second communication message according to the target communication protocol and the SIM parameter includes: sending the first communication message based on the data communication function provided by the communication firmware, the communication protocol corresponding to the first communication type, and the SIM parameter; and / or receiving the second communication message based on the data communication function provided by the communication firmware, the communication protocol corresponding to the first communication type, and the SIM parameter.
8. The method according to claim 6, characterized in that, the method further includes: receiving a second communication request, wherein the second communication request is used to stop the data communication of the first communication type; sending a second instruction message to the CPU, wherein the second instruction message is used to disable the communication firmware; disabling the communication firmware based on the second instruction message.
9. A communication control device, characterized in that, the device includes: A receiving module, configured to receive a first communication request, where the first communication request includes: a target communication type, and the target communication type has a corresponding target communication protocol; An obtaining module, configured to obtain subscriber identity module (SIM) parameters according to the target communication type; A control module, configured to send a first communication message according to the target communication protocol and the SIM parameters, and / or receive a second communication message according to the target communication protocol and the SIM parameters.
10. An electronic device characterized in that it includes at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method according to any one of claims 1-8.
11. A non-transitory computer-readable storage medium storing computer instructions characterized in that wherein, the computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.