Communication control method and device, chip, terminal equipment, electronic equipment and medium

By obtaining communication mode, network status and geofence information in smart terminal devices and selecting cellular or walkie-talkie communication as the target communication method, the functional integration of cellular and walkie-talkie communication is realized, solving the high power consumption problem in multi-chip design. Reduced consumption.

CN119031430APending Publication Date: 2024-11-26BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310597229.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

Two chips are set up in the smart terminal device to support cellular communication and walkie-talkie communication functions respectively, which have invalid overhead of power consumption and high power consumption, and there is a risk of power consumption.

Method used

By obtaining the communication mode setting information, network status information and geofence information of the terminal device, cellular communication or walkie-talkie communication is determined as the target communication method, and the terminal device is controlled to communicate through the target communication method to realize the functional integration of cellular communication and walkie-talkie communication. Only one chip is required.

Benefits of technology

The functional integration of cellular communication and walkie-talkie communication is realized, avoiding the overhead of power consumption in single-chip design, reducing the risk of power consumption and low power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031430A_ABST
    Figure CN119031430A_ABST
Patent Text Reader

Abstract

The invention relates to a communication control method and device, electronic equipment and a storage medium, and belongs to the technical field of communication. The method comprises the steps that communication mode setting information of terminal equipment is acquired, and the communication mode setting information comprises manual communication mode setting information or automatic communication mode setting information; acquiring network state information and geofence information of the terminal equipment; determining one of cellular communication and interphone communication as a target communication mode of the terminal equipment according to the communication mode setting information, the network state information and the geofence information; and controlling the terminal device to communicate in the target communication mode. According to the embodiment of the invention, one of cellular communication and interphone communication is switched and selected for communication according to different scenes of the terminal equipment, so that two functions of cellular communication and interphone communication can be realized only by setting one chip in terminal setting, invalid overhead of power consumption is avoided through the design of a single chip, the power consumption is low, and the cost is low. And the power consumption risk is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a communication control method, apparatus, chip, terminal equipment, electronic equipment and medium. Background Art

[0002] At present, some smart terminal devices such as smartphones are equipped with a single chip to support cellular communication or walkie-talkie communication functions, and some are equipped with two chips to support cellular communication and walkie-talkie communication functions respectively. However, the method of setting two chips to support cellular communication and walkie-talkie communication functions respectively has ineffective power consumption, high power consumption, and power consumption risks. Summary of the invention

[0003] The present disclosure provides a communication control method, apparatus, chip, terminal equipment, electronic equipment and medium, so as to at least solve the problems of invalid power consumption overhead, high power consumption and power consumption risk in the related art.

[0004] The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, a communication control method is provided, comprising: obtaining communication mode setting information of a terminal device, the communication mode setting information comprising manual communication mode setting information or automatic communication mode setting information; obtaining network status information and geo-fence information of the terminal device; determining, based on the communication mode setting information, the network status information and the geo-fence information, one of cellular communication and walkie-talkie communication as a target communication mode of the terminal device; and controlling the terminal device to communicate via the target communication mode.

[0006] In one embodiment of the present disclosure, the manual communication mode setting information includes candidate communication modes set by a user, and the candidate communication modes include the cellular communication or the walkie-talkie communication.

[0007] In one embodiment of the present disclosure, the determining one of cellular communication and walkie-talkie communication as the target communication mode of the terminal device according to the communication mode setting information, the network status information and the geo-fence information includes: if the communication mode setting information is the manual communication mode setting information, then the candidate communication mode in the manual communication mode setting information is determined as the target communication mode; if the communication mode setting information is the automatic communication mode setting information and any of the following conditions is met: if the network status information shows that the signal strength of the searched cell is less than a preset signal strength threshold and the geo-fence information shows that no cell can be searched, then the walkie-talkie communication is determined as the target communication mode; if the communication mode setting information is the automatic communication mode setting information, and the geo-fence information shows that a cell is searched, and the network status information shows that the signal strength of the searched cell is equal to or greater than the signal strength threshold, then the cellular communication is determined as the target communication mode.

[0008] In one embodiment of the present disclosure, controlling the terminal device to communicate via the target communication mode includes: performing corresponding settings on the RF system of the terminal device according to the target communication mode, so that the RF system controls the RF front-end devices and antennas in the terminal device corresponding to the target communication mode to communicate.

[0009] In one embodiment of the present disclosure, the corresponding settings of the radio frequency system of the terminal device according to the target communication mode include: selecting a corresponding target protocol stack according to the target communication mode, the target protocol stack including a cellular communication protocol stack or a walkie-talkie communication protocol stack; and corresponding settings of the radio frequency system through the target protocol stack.

[0010] In one embodiment of the present disclosure, the selecting a corresponding target protocol stack according to the target communication mode includes: generating a modem command according to the target communication mode, the modem command including the target communication mode; and selecting the corresponding target protocol stack according to the modem command.

[0011] In one embodiment of the present disclosure, the modem command is an AT command.

[0012] In one embodiment of the present disclosure, the correspondingly setting the radio frequency system through the target protocol stack includes: correspondingly setting the radio frequency system through the target protocol stack and a digital radio frequency interface of a system chip.

[0013] According to a second aspect of an embodiment of the present disclosure, a communication control device is provided, comprising: a first acquisition module, configured to acquire communication mode setting information of a terminal device, the communication mode setting information comprising manual communication mode setting information or automatic communication mode setting information; a second acquisition module, configured to acquire network status information and geo-fence information of the terminal device; a determination module, configured to determine, based on the communication mode setting information, the network status information and the geo-fence information, that one of cellular communication and walkie-talkie communication is a target communication mode of the terminal device; and a control module, configured to control the terminal device to communicate via the target communication mode.

[0014] In one embodiment of the present disclosure, the manual communication mode setting information includes candidate communication modes set by a user, and the candidate communication modes include the cellular communication or the walkie-talkie communication.

[0015] In one embodiment of the present disclosure, the determination module is further configured as follows: if the communication mode setting information is the manual communication mode setting information, then the candidate communication mode in the manual communication mode setting information is determined as the target communication mode; if the communication mode setting information is the automatic communication mode setting information and any of the following conditions is met: if the network status information shows that the signal strength of the searched cell is less than a preset signal strength threshold and the geo-fence information shows that no cell can be searched, then the walkie-talkie communication is determined as the target communication mode; if the communication mode setting information is the automatic communication mode setting information, and the geo-fence information shows that a cell is searched, and the network status information shows that the signal strength of the searched cell is equal to or greater than the signal strength threshold, then the cellular communication is determined as the target communication mode.

[0016] In one embodiment of the present disclosure, the control module is further configured to: perform corresponding settings on the RF system of the terminal device according to the target communication mode, so that the RF system controls the RF front-end devices and antennas in the terminal device corresponding to the target communication mode to communicate.

[0017] In one embodiment of the present disclosure, the control module is further configured to: select a corresponding target protocol stack according to the target communication mode, the target protocol stack including a cellular communication protocol stack or a walkie-talkie communication protocol stack; and perform corresponding settings on the radio frequency system through the target protocol stack.

[0018] In one embodiment of the present disclosure, the control module is further configured to: generate a modem command according to the target communication mode, wherein the modem command includes the target communication mode; and select the corresponding target protocol stack according to the modem command.

[0019] In one embodiment of the present disclosure, the modem command is an AT command.

[0020] In one embodiment of the present disclosure, the control module is further configured to: perform corresponding settings on the radio frequency system through the target protocol stack and the digital radio frequency interface of the system chip.

[0021] According to a third aspect of an embodiment of the present disclosure, a chip is provided, comprising: a communication control device as described in the second aspect of an embodiment of the present disclosure.

[0022] According to a fourth aspect of an embodiment of the present disclosure, a terminal device is provided, including: a chip as described in the third aspect of an embodiment of the present disclosure.

[0023] According to the fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions to implement the communication control method as described in the first aspect of the embodiment of the present disclosure.

[0024] According to the sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the communication control method as described in the first aspect of the embodiment of the present disclosure.

[0025] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0026] The communication control method of the disclosed embodiment determines one of cellular communication and intercom communication as the target communication mode of the terminal device according to the communication mode setting information, network status information and geographic fence information of the terminal device, and controls the terminal device to communicate through the target communication mode. The disclosed embodiment switches and selects one of cellular communication and intercom communication for communication according to different scenarios of the terminal device, realizes the integration of the two functions of cellular communication and intercom communication, so that only one chip needs to be set in the terminal setting to realize the two functions of cellular communication and intercom communication. The single-chip design avoids the ineffective overhead of power consumption, has low power consumption, and reduces the power consumption risk.

[0027] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0029] Figure 1 The diagram is a schematic structural diagram of a system chip integrating two functions of cellular communication and walkie-talkie communication according to an exemplary embodiment.

[0030] Figure 2 The present invention is a flow chart showing a communication control method according to an exemplary embodiment.

[0031] Figure 3 The present invention is a flowchart of a communication control method according to another exemplary embodiment.

[0032] Figure 4 The present invention is a flowchart of a communication control method according to another exemplary embodiment.

[0033] Figure 5 The present invention is a flowchart of a communication control method according to another exemplary embodiment.

[0034] Figure 6 It is a flowchart of a communication control method according to another exemplary embodiment.

[0035] Figure 7 It is a block diagram of a communication control device according to an exemplary embodiment.

[0036] Figure 8 is a block diagram of a chip according to an exemplary embodiment.

[0037] Fig. 9 The present invention is a block diagram of a terminal device according to an exemplary embodiment.

[0038] Fig.10 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0039] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0041] To clearly illustrate the communication control method of the present disclosure, Figure 1 The system chip integrating the two functions of cellular communication and intercom communication in the embodiment of the present disclosure is described. Figure 1 As shown, the central processing unit (CPU), double data rate synchronous dynamic random access memory (DDR memory) and register (Flash) in the dotted box are devices that need to be reused to realize the cellular communication function and the intercom communication function. The device on the left side of the dotted box is a device that realizes the cellular communication function, and the device on the right side of the dotted box is a device that realizes the intercom communication function. The DDR memory stores software programs, and the CPU calls and executes these software programs to realize the communication control method of the embodiment of the present disclosure.

[0042] Among them, the devices for realizing the cellular communication function include: a digital radio frequency (Digital Radio Frequency, DigRF) interface, a signal transmission interface (Transport Interface, TX I / F), a signal receiving interface (Receive Interface, RX I / F), a signal transmission buffer (TX Buffers), a signal receiving buffer (RX Buffers), a signal conversion module (Transform), an uplink vector processing unit (Uplink Vector Processing Unit, Uplink VPU), an encoding module (Encode), a decoding module (Decoder), a downlink vector processing unit (Downlink VPU), a hybrid automatic repeat request buffer (HARQ Buffer), a transmission signal direct memory access control (Transport Direct Memory Access Controller, TX DMA Controller) module, a reception signal direct memory access control module (RX DMA Controller) and a scheduling (Scheduler) vector processing unit.

[0043] Among them, the devices that realize the communication function of the walkie-talkie include: continuous tone controlled squelch system (CTCSS), continuous digital control squelch system (CDCSS), selective call (Selcall) squelch protocol, dual tone multi-frequency signal (DTMF) module, frequency shift keying modulation module (FSK MODulation), frequency shift keying demodulation module (FSK DEMODulation), multiplexer (MUX), header processing module, concatenation segmentation module, encryption (Cipher), header compression (HC), voice processing module, analog-to-digital converter (ADC), digital-to-analog converter (ADC), voice buffer (Voice) module. Buffers), signal transmission buffer area (TX Buffers), signal reception buffer area (RX Buffers), voice interface (Voice I / F), signal transmission interface (TX I / F), signal reception interface (RX I / F), chip built-in audio (Inter-IC Sound) bus interface and digital radio frequency (DigRF) interface.

[0044] For the signal to be transmitted, the signal conversion module can realize the functions of inverse Fast Fourier Transform (IFFT), discrete Fourier Transform (DFT) and time correction. For the received signal, the signal conversion module can realize the functions of Fast Fourier Transform (IFFT), decimal conversion (Dec), filter and frequency correction. Both the encoding module and the decoding module can realize the two signal encoding and decoding functions of Turbo code and log-likelihood ratio (LLR). The downlink vector processing unit can realize the Viterbi algorithm (Viterbi), fast Walsh transform (Fast Discrete Walsh-Hadamard Transform, FWHT), multiple-input multiple-output (MIMO), maximum likelihood detection (MLD) and despreader (Despreader) functions. The encryption module can implement the Advanced Encryption Standard (AES) and SNOW 4G encryption algorithm functions. The header compression module can implement the Robust Header Compression (RoHC) and Robust Header DeCompression (RoHDC) functions.

[0045] The technical solutions in the embodiments of the present disclosure are further described clearly and completely below in conjunction with the accompanying drawings.

[0046] Figure 2 FIG. 1 is a flow chart of a communication control method according to an exemplary embodiment. Figure 2 As shown, the communication control method of the embodiment of the present disclosure may include the following steps:

[0047] S201, acquiring communication mode setting information of a terminal device, where the communication mode setting information includes manual communication mode setting information or automatic communication mode setting information.

[0048] It should be noted that the execution subject of the communication control method of the embodiment of the present disclosure is the communication control device provided in the embodiment of the present disclosure, and the communication control device can be set in the system chip of the terminal device to execute the communication control method of the embodiment of the present disclosure. The terminal device can specifically be a smart terminal device such as a mobile phone, a tablet computer, a vehicle-mounted device, a smart wearable device, etc.

[0049] In an embodiment of the present disclosure, a user can set the current communication mode of the terminal device through the user interface (UI) layer of the terminal device, and the communication mode includes a manual communication mode or an automatic communication mode. The manual communication mode means that the user manually sets the current communication mode of the terminal device, and the automatic communication mode means that the system chip determines the current communication mode of the terminal device according to the scenario in which the terminal device is located. The communication modes include cellular communication or walkie-talkie communication. For example, when a user initiates a communication mode setting request at the UI layer, if a cell is manually selected, the communication mode set by the user is determined to be a manual communication mode. If a cell is not manually selected, the communication mode set by the user is determined to be an automatic communication mode.

[0050] The system chip obtains the communication mode setting information of the terminal device set by the user, and the communication mode setting information includes manual communication mode setting information or automatic communication mode setting information. The communication mode setting information is the information used by the user to set the communication mode, the manual communication mode setting information is the information that the user sets the communication mode to the manual communication mode, and the automatic communication mode setting information is the information that the user sets the communication mode to the automatic communication mode. Among them, the manual communication mode setting information at least includes the candidate communication mode set by the user, and the candidate communication mode includes cellular communication or walkie-talkie communication.

[0051] Among them, cellular communication may specifically include but is not limited to second generation (2nd Generation, abbreviated as 2G) mobile communication, third generation (3rd Generation, abbreviated as 3G) mobile communication, fourth generation (4th Generation, abbreviated as 4G) mobile communication and fifth generation (5th Generation, abbreviated as 5G) mobile communication.

[0052] S202, obtaining network status information and geo-fence information of the terminal device.

[0053] In the disclosed embodiment, network status information such as the signal strength of the searched cell can be obtained by cell measurement, and geo-fence information such as whether the cell can be searched.

[0054] S203, determining one of cellular communication and walkie-talkie communication as a target communication mode of the terminal device according to the communication mode setting information, the network status information and the geo-fence information.

[0055] In the disclosed embodiment, based on the communication mode setting information obtained in step S201 and the network status information and geo-fence information obtained in step S202, one of cellular communication and walkie-talkie communication is determined as the target communication mode of the terminal device through a preset strategy.

[0056] S204, controlling the terminal device to communicate via the target communication mode.

[0057] In the disclosed embodiment, the terminal device is controlled to send and receive signals in the target communication mode determined in step S203 to achieve communication in the target communication mode.

[0058] In summary, the communication control method provided by the embodiment of the present disclosure determines one of cellular communication and walkie-talkie communication as the target communication mode of the terminal device according to the communication mode setting information, network status information and geographic fence information of the terminal device, and controls the terminal device to communicate through the target communication mode. The embodiment of the present disclosure switches and selects one of cellular communication and walkie-talkie communication for communication according to different scenarios of the terminal device, realizes the integration of the two functions of cellular communication and walkie-talkie communication, so that only one chip needs to be set in the terminal setting to realize the two functions of cellular communication and walkie-talkie communication. The single-chip design avoids the ineffective overhead of power consumption, has low power consumption, and reduces the power consumption risk.

[0059] Figure 3 FIG. 1 is a flow chart of a communication control method according to another exemplary embodiment. Figure 3 As shown, based on the above embodiment, the communication control method of the embodiment of the present disclosure may include the following steps:

[0060] S301, acquiring communication mode setting information of a terminal device, where the communication mode setting information includes manual communication mode setting information or automatic communication mode setting information.

[0061] S302, obtaining network status information and geo-fence information of the terminal device.

[0062] In the embodiment of the present disclosure, the specific process of steps S301-S302 can refer to the relevant description of steps S201-S202 in the above embodiment, and will not be repeated here.

[0063] In the above embodiment, step S203 "determine one of cellular communication and walkie-talkie communication as the target communication mode of the terminal device according to the communication mode setting information, network status information and geo-fence information" may specifically include the following steps S303-S305.

[0064] S303: If the communication mode setting information is manual communication mode setting information, the candidate communication mode in the manual communication mode setting information is determined as the target communication mode.

[0065] In the embodiment of the present disclosure, if the communication mode setting information acquired in step 301 is manual communication mode setting information, the target communication mode is determined to be the candidate communication mode included in the manual communication mode setting information, that is, the cellular communication mode set by the user, the target communication mode is determined to be the cellular communication mode, and the walkie-talkie communication mode set by the user, the target communication mode is determined to be the walkie-talkie communication mode.

[0066] S304, the communication mode setting information is automatic communication mode setting information, and any of the following conditions is met: the network status information is that the signal strength of the searched cell is less than the preset signal strength threshold and the geo-fence information is that no cell can be searched, then walkie-talkie communication is determined as the target communication mode.

[0067] In the disclosed embodiment, if the communication mode setting information acquired in step 301 is the automatic communication mode setting information, it is determined whether the geo-fence information indicates that no cell can be found and whether the signal strength of the searched cell is less than the preset signal strength threshold. If the network status information indicates that the signal strength of the searched cell is less than the preset signal strength threshold and the geo-fence information indicates that no cell can be found, it is determined that the target communication mode is walkie-talkie communication. The preset signal strength threshold can be set to 125db-135db, and can be specifically set to 130db.

[0068] S305, if the communication mode setting information is automatic communication mode setting information, the geo-fence information is that a cell is searched, and the network status information is that the signal strength of the searched cell is equal to or greater than the signal strength threshold, cellular communication is determined as the target communication mode.

[0069] In an embodiment of the present disclosure, if the communication mode setting information acquired in step 301 is automatic communication mode setting information, and the geo-fence information is that a cell is searched, and the network status information is that the signal strength of the searched cell is equal to or greater than the signal strength threshold, then the target communication mode is determined to be cellular communication.

[0070] In the above embodiment, step S204 “controlling the terminal device to communicate in the target communication mode” may specifically include the following steps:

[0071] S306, setting the radio frequency system of the terminal device accordingly according to the target communication mode, so that the radio frequency system controls the radio frequency front-end device and the antenna corresponding to the target communication mode in the terminal device to communicate.

[0072] In the disclosed embodiment, the RF chip (Radio Frequency Integrated Circuit, RFIC) outside the system chip can be controlled according to the target communication mode determined in steps S303-S305 to perform corresponding settings on the RF system of the terminal device, so that the RF system can control the RF front-end device and antenna (Radio Frequency Front-End and Ant, RFFE&Ant) corresponding to the target communication mode in the terminal device to receive and send corresponding signals, that is, control the cellular communication RFFE&Ant to receive and send cellular communication signals, or control the walkie-talkie communication RFFE&Ant to receive and send walkie-talkie communication signals.

[0073] Further, such as Figure 4 As shown, the step S306 of the above embodiment of “setting the radio frequency system of the terminal device accordingly according to the target communication mode” may specifically include the following steps:

[0074] S401, selecting a corresponding target protocol stack according to a target communication mode, where the target protocol stack includes a cellular communication protocol stack or a walkie-talkie communication protocol stack.

[0075] In the disclosed embodiment, a protocol stack corresponding to the target communication mode is selected from the cellular communication protocol stack and the walkie-talkie communication protocol stack as the target protocol stack for subsequent communication.

[0076] S402: Perform corresponding settings on the radio frequency system through the target protocol stack.

[0077] In the embodiment of the present disclosure, the RF system of the terminal device is correspondingly set by controlling the RF chip RFIC outside the system chip through the selected target protocol stack, so that the RF system can control the RF front-end device and antenna RFFE&Ant corresponding to the target communication mode in the terminal device to send and receive corresponding signals.

[0078] Further, such as Figure 5 As shown, the "selecting a corresponding target protocol stack according to the target communication mode" in step S401 in the above embodiment may specifically include the following steps:

[0079] S501, generating a modulation and demodulation command according to a target communication mode, wherein the modulation and demodulation command includes the target communication mode.

[0080] In the disclosed embodiment, the modem command is a command to which the modem can respond, such as an AT command, wherein AT is a modem language and each AT command begins with the letter "AT".

[0081] The target communication mode can be sent to the Radio Interface Layer (RIL), which packages the target communication mode into a modulation and demodulation command to complete the transmission from the application processor (AP) to the baseband processor (BP). The modulation and demodulation command includes the target communication mode.

[0082] S502: Select a corresponding target protocol stack according to the modulation and demodulation command.

[0083] In the disclosed embodiment, a target protocol stack corresponding to a target communication mode is selected according to a modulation and demodulation command.

[0084] Furthermore, step S402 of the above embodiment, “performing corresponding settings on the radio frequency system through the target protocol stack”, may specifically include the following steps: performing corresponding settings on the radio frequency system through the target protocol stack and the digital radio frequency interface of the system chip.

[0085] In the disclosed embodiment, based on the previously selected target protocol stack, the RF system of the terminal device can be configured accordingly by controlling the RF chip RFIC around the system chip through the digital RF interface of the system chip, such as the DigRF interface, so that the RF system can control the RF front-end devices and antenna RFFE&Ant corresponding to the target communication mode in the terminal device to send and receive corresponding signals.

[0086] In summary, the communication control method provided by the embodiment of the present disclosure determines one of the cellular communication and the walkie-talkie communication as the target communication mode of the terminal device according to the communication mode setting information, the network status information and the geographic fence information of the terminal device, generates a modulation and demodulation command according to the target communication mode, selects the corresponding target protocol stack according to the modulation and demodulation command, and sets the RF system accordingly through the target protocol stack and the digital RF interface of the system chip, and the RF system then controls the RF front-end device and the antenna corresponding to the target communication mode in the terminal device to communicate. The embodiment of the present disclosure selects one of the cellular communication and the walkie-talkie communication to communicate according to the different scene switching of the terminal device, realizes the integration of the two functions of cellular communication and walkie-talkie communication, so that only one chip needs to be set in the terminal setting to realize the two functions of cellular communication and walkie-talkie communication, and the single-chip design avoids the ineffective overhead of power consumption, and has low power consumption, reducing the power consumption risk. Generate a modulation and demodulation command according to the target communication mode, and complete the information transmission from the application processor to the baseband processor. Complete the switching of the target protocol stack according to the modulation and demodulation command, and then the setting of the RF system outside the chip can be realized through the target protocol stack, and then the control of the corresponding RF front-end device and antenna can be realized.

[0087] To clearly illustrate the communication control method of the present disclosure, Figure 6 An exemplary embodiment of the communication control method of the present disclosure is described in detail. Figure 6 As shown, the standard (i.e., communication mode) setting management (Rat Setting Manager) module of the core service (Telephony) layer of the telephone subsystem obtains the manual standard setting information input by the user in the manual standard setting (Munual Rat Setting) module of the user interface UI layer or the automatic standard setting information input by the automatic standard setting (Auto Rat Setting) module, and obtains the network status information obtained by the network status determination (NW Status) module of the Telephony layer and the geographic fence information obtained by the geographic fence determination (Geofencing) module, and determines the target standard according to the preset strategy based on the obtained standard setting information, network status information and geographic fence information, and sends the target standard to the radio interface layer (RIL), and the standard setting message (Rat Setting Message) module in the RIL packages the target standard into an AT command and sends it to the modem. The modem receives AT commands carrying the target format through the AT Message Receive module, and performs multi-mode switching through the Multi-mode Manager module to complete the switching of the 2G / 3G / 4G / 5G protocol stack and the Walkie-talkie Protocol stack. The selected protocol stack controls the RF chip (RFIC) outside the system chip to complete the setting of the RF system (RF), and then controls the 2G / 3G / 4G / 5G RF front-end device and antenna (2G / 3G / 4G / 5G RFFE&Ant) or the Walkie-talkie RF front-end device and antenna (Walkie-talkieRFFE&Ant) to send and receive corresponding signals.

[0088] Figure 7 FIG. 1 is a block diagram of a communication control device according to an exemplary embodiment. Figure 7 As shown, the communication control device 700 of the embodiment of the present disclosure includes: a first acquisition module 701 , a second acquisition module 702 , a determination module 703 and a control module 704 .

[0089] The first acquisition module 701 is configured to acquire communication mode setting information of a terminal device, where the communication mode setting information includes manual communication mode setting information or automatic communication mode setting information.

[0090] The second acquisition module 702 is configured to acquire network status information and geographic fence information of the terminal device.

[0091] The determination module 703 is configured to determine one of cellular communication and walkie-talkie communication as the target communication mode of the terminal device according to the communication mode setting information, the network status information and the geo-fence information.

[0092] The control module 704 is configured to control the terminal device to communicate via the target communication mode.

[0093] The manual communication mode setting information includes candidate communication modes set by the user, and the candidate communication modes include cellular communication or walkie-talkie communication.

[0094] In one embodiment of the present disclosure, the determination module 703 is further configured as follows: if the communication mode setting information is manual communication mode setting information, then the candidate communication mode in the manual communication mode setting information is determined as the target communication mode; if the communication mode setting information is automatic communication mode setting information and any of the following conditions is met: if the network status information shows that the signal strength of the searched cell is less than a preset signal strength threshold and the geo-fence information shows that no cell can be searched, then the walkie-talkie communication is determined as the target communication mode; if the communication mode setting information is automatic communication mode setting information, and the geo-fence information shows that a cell is searched, and the network status information shows that the signal strength of the searched cell is equal to or greater than the signal strength threshold, then the cellular communication is determined as the target communication mode.

[0095] In one embodiment of the present disclosure, the control module 704 is further configured to: perform corresponding settings on the RF system of the terminal device according to the target communication mode, so that the RF system controls the RF front-end device and antenna corresponding to the target communication mode in the terminal device to communicate.

[0096] In one embodiment of the present disclosure, the control module 704 is further configured to: select a corresponding target protocol stack according to the target communication mode, the target protocol stack including a cellular communication protocol stack or a walkie-talkie communication protocol stack; and perform corresponding settings on the radio frequency system through the target protocol stack.

[0097] In one embodiment of the present disclosure, the control module 704 is further configured to: generate a modem command according to the target communication mode, the modem command including the target communication mode; and select a corresponding target protocol stack according to the modem command.

[0098] In one embodiment of the present disclosure, the modem command is an AT command.

[0099] In one embodiment of the present disclosure, the control module 704 is further configured to: perform corresponding settings on the radio frequency system through the target protocol stack and the digital radio frequency interface of the system chip.

[0100] In the embodiments of the present disclosure, the specific manner in which each module in the device of the above embodiments performs operations has been described in detail in the embodiments of the method, and will not be repeated here.

[0101] In summary, the communication control device provided by the embodiment of the present disclosure determines one of cellular communication and walkie-talkie communication as the target communication mode of the terminal device according to the communication mode setting information, network status information and geographic fence information of the terminal device, generates a modulation and demodulation command according to the target communication mode, selects the corresponding target protocol stack according to the modulation and demodulation command, and sets the RF system accordingly through the target protocol stack and the digital RF interface of the system chip, and the RF system then controls the RF front-end device and antenna corresponding to the target communication mode in the terminal device to communicate. The embodiment of the present disclosure selects one of cellular communication and walkie-talkie communication for communication according to different scene switching of the terminal device, realizes the integration of the two functions of cellular communication and walkie-talkie communication, so that only one chip needs to be set in the terminal setting to realize the two functions of cellular communication and walkie-talkie communication, and the single-chip design avoids the ineffective overhead of power consumption, and has low power consumption, reducing the power consumption risk. Generate a modulation and demodulation command according to the target communication mode, and complete the information transmission from the application processor to the baseband processor. Complete the switching of the target protocol stack according to the modulation and demodulation command, and then the setting of the RF system outside the chip can be realized through the target protocol stack, and then the control of the corresponding RF front-end device and antenna can be realized.

[0102] In order to implement the above embodiments, the present disclosure also proposes a chip (corresponding to the system chip in the above embodiments). Figure 8 As shown, the chip 800 of the embodiment of the present disclosure includes the communication control device 700 shown in the above embodiment.

[0103] The chip of the embodiment of the present disclosure determines that one of the cellular communication and the walkie-talkie communication is the target communication mode of the terminal device according to the communication mode setting information, network status information and geographic fence information of the terminal device, generates a modulation and demodulation command according to the target communication mode, selects the corresponding target protocol stack according to the modulation and demodulation command, and sets the RF system accordingly through the target protocol stack and the digital RF interface of the system chip, and the RF system then controls the RF front-end device and antenna corresponding to the target communication mode in the terminal device to communicate. The embodiment of the present disclosure selects one of the cellular communication and the walkie-talkie communication to communicate according to the different scene switching of the terminal device, realizes the integration of the two functions of cellular communication and walkie-talkie communication, so that only one chip needs to be set in the terminal setting to realize the two functions of cellular communication and walkie-talkie communication, and the single-chip design avoids the ineffective overhead of power consumption, and has low power consumption, reducing the power consumption risk. The modulation and demodulation command is generated according to the target communication mode, and the information transmission from the application processor to the baseband processor is completed. The switching of the target protocol stack is completed according to the modulation and demodulation command, and then the setting of the RF system outside the chip can be realized through the target protocol stack, and then the control of the corresponding RF front-end device and antenna is realized.

[0104] In order to implement the above embodiment, the present disclosure also provides a terminal device. Fig. 9 As shown, the terminal device 900 of the embodiment of the present disclosure includes the chip 800 shown in the above embodiment.

[0105] Fig.10 is a block diagram of an electronic device 1000 according to an exemplary embodiment.

[0106] like Fig.10 As shown, the electronic device 1000 includes:

[0107] The memory 1001 and the processor 1002, a bus 1003 connecting different components (including the memory 1001 and the processor 1002), the memory 1001 stores a computer program, and when the processor 1002 executes the program, the communication control method of the embodiment of the present disclosure is implemented.

[0108] Bus 1003 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For 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 Interconnect (PCI) bus.

[0109] The electronic device 1000 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 1000, including volatile and non-volatile media, removable and non-removable media.

[0110] The memory 1001 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1004 and / or cache memory 1005. The electronic device 1000 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 1006 may be used to read and write non-removable, non-volatile magnetic media ( Fig.10 not shown, usually called a "hard drive"). Although Fig.10 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 1003 via one or more data medium interfaces. The memory 1001 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0111] A program / utility 1008 having a set (at least one) of program modules 1007 may be stored, for example, in the memory 1001, such program modules 1007 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 1007 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0112] The electronic device 1000 may also communicate with one or more external devices 1009 (e.g., keyboard, pointing device, display 1011, etc.), one or more devices that enable a user to interact with the electronic device 1000, and / or any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 1012. Furthermore, the electronic device 1000 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1013. Fig.10As shown, the network adapter 1013 communicates with other modules of the electronic device 1000 via the bus 1003. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0113] The processor 1002 executes various functional applications and data processing by running the programs stored in the memory 1001 .

[0114] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the communication control method of the embodiment of the present disclosure, and will not be repeated here.

[0115] The electronic device provided by the embodiment of the present disclosure determines one of cellular communication and walkie-talkie communication as the target communication mode of the terminal device according to the communication mode setting information, network status information and geographic fence information of the terminal device, generates a modulation and demodulation command according to the target communication mode, selects the corresponding target protocol stack according to the modulation and demodulation command, and sets the RF system accordingly through the target protocol stack and the digital RF interface of the system chip, and the RF system then controls the RF front-end device and antenna corresponding to the target communication mode in the terminal device to communicate. The embodiment of the present disclosure selects one of cellular communication and walkie-talkie communication for communication according to different scene switching of the terminal device, realizes the integration of the two functions of cellular communication and walkie-talkie communication, so that only one chip needs to be set in the terminal setting to realize the two functions of cellular communication and walkie-talkie communication, and the single-chip design avoids the ineffective overhead of power consumption, and has low power consumption, reducing the power consumption risk. The modulation and demodulation command is generated according to the target communication mode, and the information transmission from the application processor to the baseband processor is completed. The switching of the target protocol stack is completed according to the modulation and demodulation command, and then the setting of the RF system outside the chip can be realized through the target protocol stack, and then the control of the corresponding RF front-end device and antenna is realized.

[0116] In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.

[0117] When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can perform the communication control method as described above. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0118] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0119] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A communication control method, characterized in that: include: Acquire communication mode setting information of the terminal device, wherein the communication mode setting information includes manual communication mode setting information or automatic communication mode setting information; Obtaining network status information and geo-fence information of the terminal device; Determining, according to the communication mode setting information, the network status information and the geo-fence information, one of cellular communication and walkie-talkie communication as a target communication mode of the terminal device; Control the terminal device to communicate via the target communication mode.

2. The communication control method according to claim 1, characterized in that: The manual communication mode setting information includes candidate communication modes set by a user, and the candidate communication modes include the cellular communication or the walkie-talkie communication.

3. The communication control method according to claim 2, characterized in that: The determining, according to the communication mode setting information, the network status information and the geo-fence information, one of the cellular communication and the walkie-talkie communication as the target communication mode of the terminal device comprises: The communication mode setting information is the manual communication mode setting information, then determining the candidate communication mode in the manual communication mode setting information as the target communication mode; The communication mode setting information is the automatic communication mode setting information and satisfies any of the following conditions: the network status information indicates that the signal strength of the searched cell is less than a preset signal strength threshold and the geo-fence information indicates that no cell can be searched, then the intercom communication is determined as the target communication mode; If the communication mode setting information is the automatic communication mode setting information, and the geo-fence information is a searched cell, and the network status information is that the signal strength of the searched cell is equal to or greater than the signal strength threshold, then the cellular communication is determined as the target communication mode.

4. The communication control method according to claim 1, characterized in that: The controlling the terminal device to communicate through the target communication mode includes: The radio frequency system of the terminal device is set accordingly according to the target communication mode, so that the radio frequency system controls the radio frequency front-end device and antenna corresponding to the target communication mode in the terminal device to communicate.

5. The communication control method according to claim 4, characterized in that: The step of correspondingly setting the radio frequency system of the terminal device according to the target communication mode includes: Selecting a corresponding target protocol stack according to the target communication mode, wherein the target protocol stack includes a cellular communication protocol stack or a walkie-talkie communication protocol stack; The radio frequency system is configured accordingly through the target protocol stack.

6. The communication control method according to claim 5, characterized in that: The selecting a corresponding target protocol stack according to the target communication mode includes: generating a modulation and demodulation command according to the target communication mode, wherein the modulation and demodulation command includes the target communication mode; The corresponding target protocol stack is selected according to the modulation and demodulation command.

7. The communication control method according to claim 6, characterized in that: The modem command is an AT command.

8. The communication control method according to claim 5, characterized in that: The correspondingly setting the radio frequency system through the target protocol stack includes: The radio frequency system is configured accordingly through the target protocol stack and the digital radio frequency interface of the system chip.

9. A communication control device, characterized in that: include: A first acquisition module is configured to acquire communication mode setting information of a terminal device, wherein the communication mode setting information includes manual communication mode setting information or automatic communication mode setting information; A second acquisition module is configured to acquire network status information and geo-fence information of the terminal device; a determination module configured to determine, according to the communication mode setting information, the network status information and the geo-fence information, one of cellular communication and walkie-talkie communication as a target communication mode of the terminal device; The control module is configured to control the terminal device to communicate via the target communication mode.

10. A chip, characterized in that: include: The communication control device according to claim 9.

11. A terminal device, characterized in that: include: The chip as claimed in claim 10.

12. An electronic device, characterized in that: include: processor; a memory for storing executable instructions for the processor; The processor is configured to execute the instructions to implement the communication control method according to any one of claims 1 to 8.

13. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the communication control method according to any one of claims 1 to 8.