CN116133013B - Communication mode setting method, device, terminal equipment and storage medium - Google Patents

Communication mode setting method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN116133013B
CN116133013B CN202310404047.3A CN202310404047A CN116133013B CN 116133013 B CN116133013 B CN 116133013B CN 202310404047 A CN202310404047 A CN 202310404047A CN 116133013 B CN116133013 B CN 116133013B
Authority
CN
China
Prior art keywords
communication
attribute value
communication mode
mode
domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310404047.3A
Other languages
Chinese (zh)
Other versions
CN116133013A (en
Inventor
李永贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinxun Technology Co ltd
Original Assignee
Shenzhen Jinxun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinxun Technology Co ltd filed Critical Shenzhen Jinxun Technology Co ltd
Priority to CN202310404047.3A priority Critical patent/CN116133013B/en
Publication of CN116133013A publication Critical patent/CN116133013A/en
Application granted granted Critical
Publication of CN116133013B publication Critical patent/CN116133013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application belongs to the technical field of intelligent terminals, and particularly relates to a communication mode setting method, a device, terminal equipment and a storage medium. The method comprises the following steps: receiving an output signal of a voltage dividing circuit in the terminal equipment; selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication; and setting a target communication mode according to the communication attribute value. The method and the device can shorten the development and update cycles of software and hardware.

Description

Communication mode setting method, device, terminal equipment and storage medium
Technical Field
The application belongs to the technical field of intelligent terminals, and particularly relates to a communication mode setting method, a device, terminal equipment and a storage medium.
Background
As the electronic industry is increasingly developed and the updating speed of the terminal equipment industries such as mobile phones, tablet computers and the like is very high, if the terminal equipment industries can keep pace with the times, the development period and modularization requirements on the terminal equipment are more strict. The requirements of different areas or different clients on the communication functions of the terminal device may be different, for example, some clients or areas only need to use the SIM data traffic, and do not need to talk; while some customers or regions only need WIFI, not need SIM cards; also customers or areas need both SIM card and WIFI etc.
The existing common situation is to design a specific hardware main board and load specific software for terminal equipment according to the personalized requirements of clients on communication functions or the requirements of different areas on communication functions, so that the problems are that: the software and hardware of the terminal equipment cannot be automatically adapted to the communication function, so that the development and update period of the software and hardware of the terminal equipment is prolonged.
Disclosure of Invention
The main purpose of the application is to provide a method, a device, a terminal device and a storage medium for setting a communication mode of a terminal device, which aim to solve the technical problem that the period of software and hardware development and updating is long because the software and hardware cannot be automatically adapted to the communication function of the terminal device.
In order to achieve the above object, the present application provides a communication mode setting method of a terminal device, for setting a communication mode of the terminal device, the terminal device including a voltage dividing circuit, the communication mode setting method including:
receiving output signals of the voltage dividing circuit, wherein the output signals of the voltage dividing circuit in terminal equipment in different communication modes are different;
selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication;
and setting a target communication mode according to the communication attribute value.
In some embodiments, before the step of receiving the output signal of the voltage divider circuit, further comprising:
loading an integrated software system into the terminal equipment, wherein the software system comprises functions of all communication modes corresponding to the terminal equipment.
In some embodiments, after the step of setting a target communication mode according to the communication attribute value, the method further includes:
acquiring a software attribute value;
and adjusting the software configuration of the terminal equipment based on the software attribute value.
In some embodiments, the software attribute value is set by an external tool, the software attribute value being stored in a backup partition of the terminal device, the data in the backup partition being deleted only upon formatting.
In some embodiments, the step of setting a target communication mode according to the communication attribute value includes:
if the target communication mode is the first mode, starting the WIFI equipment in the terminal equipment; and turning off the CS domain and the PS domain of the modem in the terminal device.
In some embodiments, the step of setting a target communication mode according to the communication attribute value includes:
if the target communication mode is the second mode, starting the WIFI equipment and the SIM card communication module in the terminal equipment;
and turning off the CS domain of the modem in the terminal device and turning on the PS domain of the modem;
and loading options related to the SIM card PS domain communication function in a setting column of the display interface.
In some embodiments, the step of setting a target communication mode according to the communication attribute value includes:
if the target communication mode is a third mode, enabling the WIFI equipment and the SIM card communication module in the terminal equipment;
opening CS domain and PS domain of modem in the terminal equipment;
loading options related to the SIM card PS domain communication function and the SIM card CS domain communication function in a setting column of a display interface;
and loading the dial plate.
The application also provides a communication mode setting device, which is used for setting a communication mode of a terminal device, wherein the terminal device comprises a voltage dividing circuit, and the device comprises:
the receiving module is used for receiving the output signals of the voltage dividing circuits, wherein the output signals of the voltage dividing circuits in the terminal equipment in different communication modes are different;
the communication attribute value selecting module is used for selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode only using WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication;
and the target communication mode setting module is used for setting a target communication mode according to the communication attribute value.
The application also provides a terminal device, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the communication mode setting method provided by any embodiment when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the communication mode setting method provided in any of the above embodiments.
The beneficial effects are that:
the application provides a communication mode setting method, a device, a terminal device and a storage medium, which are used for setting a communication mode of the terminal device, wherein the terminal device comprises a voltage division circuit, and the method comprises the following steps: receiving output signals of the voltage dividing circuit, wherein the output signals in the terminal equipment in different communication modes are different; selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication; and setting a target communication mode according to the communication attribute value. Because the output signals in the terminal equipment with different communication modes are different, the target communication mode required to be set by the terminal equipment to be set can be determined according to the output signals, and the terminal equipment to be set is set with the communication mode based on the setting scheme of the target communication mode so as to meet the actual communication requirement; and because different terminal equipment and other functional modules except the voltage dividing circuit are the same, and the output adjustment of the voltage dividing circuit is relatively simple, the production of a large number of basic functional hardware mainboards (except the voltage dividing circuit part) of the terminal equipment and the introduction of software can be realized in advance, and the development and updating periods of software and hardware of the terminal equipment are shortened by finally and specially setting the voltage dividing circuit and obtaining output signals so as to load configuration and start a designated target communication mode based on the same functional hardware mainboards.
Drawings
Fig. 1 is a flow chart of a communication mode setting method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a voltage divider circuit in a terminal device according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating a communication mode setting method according to another embodiment of the present application;
fig. 4 is a flowchart of step S103 in a communication mode setting method according to an embodiment of the present application;
fig. 5 is a flowchart of step S103 in a communication mode setting method according to another embodiment of the present application;
fig. 6 is a flowchart of step S103 in a communication mode setting method according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication mode setting device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, modules, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, modules, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any module and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Referring to fig. 1, an embodiment of the present application provides a communication mode setting method for setting a communication mode of a terminal device, where the terminal device includes a voltage dividing circuit, the communication mode setting method performs steps S101 to S103, and details of each step are as follows:
s101, receiving output signals of the voltage dividing circuits, wherein the output signals of the voltage dividing circuits in terminal equipment in different communication modes are different.
In this embodiment, the terminal device may be a device with communication capability, such as a mobile phone, a tablet, etc., the terminal device includes a voltage divider circuit, please refer to fig. 2, fig. 2 shows a circuit structure of the voltage divider circuit in the terminal device, the voltage divider circuit 10 includes a first resistor R1 and a second resistor R2, wherein the first resistor R1 and the second resistor R2 are connected in series, one end of the first resistor R1 is connected to an input power supply VDD, one end of the second resistor R2 is grounded, and a common connection end of the first resistor R1 and the second resistor R2 is connected to a data input end of a CPU of the terminal device. The magnitude of the output signal of the voltage dividing circuit 10 to the terminal device CPU can be adjusted by adjusting the voltage value of the input power supply VDD of the voltage dividing circuit 10 or by adjusting the resistance value of the first resistor R1 and/or the second resistor R2. The hardware main board of the terminal equipment with different communication modes is identical to the configuration of other functional modules except the voltage dividing circuit, so that the communication mode of the terminal equipment can be determined by identifying the output signal of the voltage dividing circuit of the terminal equipment.
S102, selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication.
There are two domains in the data transmission, namely CS (Circuit Switched) and PS (Packet Switch). The CS domain, i.e. the circuit switched domain, needs to establish a connection for transmitting data, and starts data transmission after the establishment is completed, and the connection cannot be disconnected in the data transmission process and can be released until the data transmission is completed, so that although the reliability is very high, the CS domain is not efficient, and the CS domain is often used in voice communication. PS domain, i.e. packet switched domain, cannot directly perform voice service, and its common service type is data service, including streaming media service, VOIP, etc. The communication mode of the SIM card PS domain in the embodiment comprises the data flow (i.e. network) function of the SIM card.
The sizes of the different output signals correspond to different communication attribute values, and the communication attribute values are used for representing the communication modes of the terminal equipment to be set. In this embodiment, the communication attribute values include a first attribute value, a second attribute value and a third attribute value, where the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication. In other embodiments, more types of communication modes may be configured according to actual service requirements, which is not limited herein.
In this embodiment, the first attribute value is a first attribute value, the second attribute value is a second attribute value, the third attribute value is a call, when detecting that the output signal of the voltage division circuit in the terminal device to be set is 0.5mV, the first attribute value is selected, when detecting that the output signal of the voltage division circuit in the terminal device to be set is 1mV, the second attribute value is selected, when detecting that the output signal of the voltage division circuit in the terminal device to be set is 1.5mV, the third attribute value call is selected, and then a corresponding communication mode setting scheme is selected according to different communication attribute values to set the communication mode of the terminal device to be set, so as to meet different communication requirements, for example, when the communication attribute value is the first attribute value, the terminal device only opens the function authority of WIFI communication, that is that the terminal device can only perform data transmission through WIFI, and cannot use the communication functions such as card dialing call, short message, data traffic and the like.
In a preferred embodiment, different output signals are formed when different resistance values (e.g., R1 and/or R2) are configured/connected under the same input power supply VDD, and the different output signals correspond to different communication attribute values.
S103, setting a target communication mode according to the communication attribute value.
In this embodiment, the communication attribute value includes a first attribute value, a second attribute value, and a third attribute value call, where a communication mode corresponding to the first attribute value is a mode of using WIFI communication only, a communication mode corresponding to the second attribute value, a communication mode corresponding to the third attribute value call is a mode of using SIM CS domain communication, SIM PS domain communication, and WIFI communication.
When the communication attribute value is a first attribute value, only the function authority of WIFI communication is opened in the terminal equipment; when the communication attribute value is a second attribute value dataonly, opening the function authority of SIM card PS domain communication and WIFI communication in the terminal equipment; when the communication attribute value is a third attribute value call, functional authorities of SIM card CS domain communication, SIM card PS domain communication and WIFI communication are opened in the terminal equipment so as to meet different communication requirements. In other embodiments, more types of communication modes may be configured according to actual service requirements, and corresponding communication attribute values may be configured, which is not limited herein.
In this embodiment, the above functions are implemented by an integrally configured software system, in which configurations of multiple communication modes are integrated, where the multiple communication modes may implement functions of all communication modes corresponding to the terminal device in the embodiment of the present application, and the working process thereof is as follows: and downloading a total software system in the terminal equipment in advance, and when the terminal equipment is started, confirming and loading corresponding configuration from the total software system based on the total software system downloaded in advance according to the output signal of the voltage dividing circuit in the terminal equipment, so as to meet specific communication requirements. Compared with the mode of developing different software systems according to different communication requirements, the method has stronger adaptability and more perfect functions.
The communication mode setting method provided by the application is used for setting the communication mode of the terminal equipment, wherein the terminal equipment comprises a voltage dividing circuit, and the method comprises the following steps: receiving output signals of the voltage dividing circuit, wherein the output signals in the terminal equipment in different communication modes are different; selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication; and setting a target communication mode according to the communication attribute value. Because the output signals in the terminal equipment with different communication modes are different, the target communication mode required to be set by the terminal equipment to be set can be determined according to the output signals, and the terminal equipment to be set is set with the communication mode based on the setting scheme of the target communication mode so as to meet the actual communication requirement; and because the configuration of other functional modules except the voltage dividing circuit is the same for different terminal equipment, and the output adjustment of the voltage dividing circuit is relatively simple, the production of a large number of basic functional hardware mainboards (except the voltage dividing circuit part) of the terminal equipment and the introduction of software can be realized, and the development and update cycles of software and hardware of the terminal equipment are shortened by finally and specially setting the voltage dividing circuit and obtaining output signals so as to load the configuration and start the appointed target communication mode based on the same functional hardware mainboards and software.
In some embodiments, referring to fig. 3, before the step of receiving the output signal of the voltage dividing circuit, the method further includes:
s100, loading a software system on the terminal equipment, wherein the software system comprises functions of all communication modes corresponding to the terminal equipment.
In this embodiment, in order to avoid the situation that the update period is affected due to the difficulty of increasing the mass production in consideration of the personalized communication needs of different users, after the hardware main board is produced, the integrated software system is loaded in the terminal device in advance, and then, according to the attribute value obtained by the actual hardware configuration, how to start the functions in the software system is determined, that is, by finally, specially setting the voltage dividing circuit and obtaining the output signal, the configuration is loaded and the designated target communication mode is started based on the same functional hardware main board and software, thereby meeting the different user communication needs and shortening the development and update periods of the software and hardware of the terminal device as a whole.
In some embodiments, referring to fig. 3 again, after the step of setting the target communication mode according to the communication attribute value, the method further includes:
s104, acquiring a software attribute value.
In order to meet different software configuration requirements, corresponding software configurations can be set according to different software attribute values so as to realize personalized software configurations. In some embodiments, the software attribute value is set by an external tool (such as a simba tool, an instant messaging software) and written into the terminal device, the software attribute value is stored in a backup partition of the terminal device, the backup partition can backup data, and the data in the backup partition is only deleted when formatted, so that the situation that relevant data of the software configuration are easily lost is avoided, and time is wasted because the external tool is reused for setting and writing after the data is lost.
S105, adjusting the software configuration of the terminal equipment based on the software attribute value.
For example, apps usable in the terminal device may be set according to different software attribute values, page layout of the terminal device, wallpaper color, and the like may be adjusted.
In some embodiments, referring to fig. 4, the step of setting the target communication mode according to the communication attribute value includes:
s1031, if the target communication mode is a first communication mode, starting WIFI equipment in the terminal equipment;
s1032, and switching off the CS domain and the PS domain of the modem in the terminal device.
As described above, since the target communication mode of the terminal device is the first communication mode, that is, the mode using only WIFI communication, in this embodiment, only the WIFI device in the terminal device is started, and the CS domain and the PS domain of the modem in the terminal device are closed, that is, the communication functions of the dial-up call, the short message, and the data traffic of the SIM card are closed. In addition, the setting options related to the communication of the CS domain of the SIM card and the communication function of the PS domain of the SIM card are not loaded and displayed for the user to select.
In some embodiments, referring to fig. 5, the step of setting a target communication mode according to the communication attribute value includes:
s1033, if the target communication mode is the second mode, starting the WIFI equipment and the SIM card communication module in the terminal equipment;
s1034, and turning off the CS domain of the modem in the terminal device and turning on the PS domain of the modem;
s1035, loading options related to the SIM card PS domain communication function in a setting column of the display interface.
As described above, since the target communication mode of the terminal device is the second communication mode, that is, the mode of using the PS domain communication and the WIFI communication of the SIM card, in this embodiment, the SIM card communication module and the WIFI device in the terminal device are started, and the CS domain of the modem in the terminal device is closed (that is, the function of closing the SIM card dialing call and the short message), and the PS domain of the modem is opened (that is, the function of opening the SIM card data traffic); and loading options related to the SIM card PS domain communication function in a setting column of the display interface for selecting or actively suspending related functions, thereby completing actual communication requirements.
In some embodiments, referring to fig. 6, the step of setting a target communication mode according to the communication attribute value includes:
s1036, if the target communication mode is a third mode, starting the WIFI equipment and the SIM card communication module in the terminal equipment;
s1037, opening CS domain and PS domain of the modem in the terminal equipment;
s1038, loading options related to the SIM card PS domain communication function and the SIM card CS domain communication function in a setting column of a display interface;
s1039, loading the dials.
As described above, since the target communication mode of the terminal device is the third communication mode, that is, the modes of communication, SIM card PS domain communication and WIFI communication are used, in this embodiment, the SIM card communication module and WIFI device in the terminal device are enabled, and the CS domain of the modem in the terminal device is opened (i.e., the function of opening SIM dialing communication and short messages), and the PS domain of the modem is opened (i.e., the function of opening SIM card data traffic); loading options related to the SIM card PS domain communication function and the SIM card CS domain communication function in a setting column of a display interface for a user to select or actively pause related functions; and the dial plate is loaded, so that the actual communication requirement is finished.
In some embodiments, the functional configuration of the terminal device is developed based on the android system. The android system has the greatest advantages of high open source, large quantity of software and strong expansibility, so that personalized function development requirements are easily realized; in addition, the android system is simple to develop, related codes can be written only by installing a software development kit (SDK, software Development Kit), and finally, the design result is transplanted to the terminal equipment. In other embodiments, the functional configuration of the terminal device may be developed based on other mobile terminal operating systems (such as blackberry), which only needs to meet the design requirements of the present application, and is not limited herein.
Referring to fig. 7, in an embodiment of the present application, a communication mode setting device is further provided for setting a communication mode of a terminal device, where the terminal device includes a voltage dividing circuit, and the device includes:
a receiving module 701, configured to receive output signals of the voltage division circuits, where the output signals of the voltage division circuits in the terminal devices in different communication modes are different;
the communication attribute value selecting module 702 is configured to select a communication attribute value according to the output signal, where the communication attribute value includes a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using WIFI communication only, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication;
a target communication mode setting module 703, configured to set a target communication mode according to the communication attribute value.
In some embodiments, the communication mode setting device further includes a software attribute value acquisition module and a software configuration adjustment module, where the software attribute value acquisition module is configured to acquire a software attribute value; and the software configuration adjustment module is used for adjusting the software configuration of the terminal equipment based on the software attribute value.
In some embodiments, the software attribute values are set by an external tool and stored in a backup partition of the terminal device, and data in the backup partition is deleted only when formatted.
In some embodiments, the target communication mode setting module 703 includes a first loading unit and a first data transmission domain selection unit, where the first loading unit is configured to load the WIFI device in the terminal device when the target communication mode is the first communication mode, and the first data transmission domain selection unit is configured to close the CS domain and the PS domain of the modem in the terminal device when the target communication mode is the first communication mode.
In some embodiments, the target communication mode setting module 703 includes a second loading unit, a second data transmission domain selection unit, and a third loading unit, where the second loading unit is configured to enable the WIFI device and the SIM card communication module in the terminal device when the target communication mode is the second mode, the second data transmission domain selection unit is configured to close a CS domain of a modem in the terminal device when the target communication mode is the second mode, and open a PS domain of the modem, and the third loading unit is configured to load options related to a SIM card PS domain communication function in a setting column of a display interface of the terminal device when the target communication mode is the second mode.
In some embodiments, the target communication mode setting module 703 includes a fourth loading unit, a third data transmission domain selection unit, a fifth loading unit, and a sixth loading unit, where the fourth loading unit is configured to enable the WIFI device and the SIM card communication module in the terminal device when the target communication mode is the third mode, and the third data transmission domain selection unit is configured to open the CS domain and the PS domain of the modem in the terminal device when the target communication mode is the third mode; the fifth loading unit is used for loading options related to the SIM card PS domain communication function and the SIM card CS domain communication function in a setting column of a display interface of the terminal equipment when the target communication mode is the third mode; the sixth loading unit is used for loading the dial plate when the target communication mode is the third mode.
It can be understood that each component of the communication mode setting device provided in the present application may implement the function of any one of the communication mode setting methods of the terminal device provided in any one of the foregoing embodiments, and the specific structure is not repeated.
Referring to fig. 8, in an embodiment of the present application, there is further provided a terminal device, where the terminal device includes a processor, a memory, a network interface, and a database connected through a system bus. Wherein the processor of the terminal device is designed to provide computing and control capabilities. The memory of the terminal device comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating device, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the terminal device is used for storing communication configuration data and the like. The network interface of the terminal device is used for communicating with an external terminal through a network connection.
Further, the terminal device may be further provided with an input device, a display screen, and the like. The computer program is executed by a processor to realize a communication mode setting method of a terminal device, and the method comprises the following steps: receiving output signals of the voltage dividing circuits in the terminal equipment, wherein the output signals of the voltage dividing circuits in the terminal equipment in different communication modes are different; selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication; and setting a target communication mode according to the communication attribute value.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, the computer program when executed by a processor realizes a method for setting a communication mode of a terminal device, the method includes the following steps: receiving output signals of the voltage dividing circuits in the terminal equipment, wherein the output signals of the voltage dividing circuits in the terminal equipment in different communication modes are different; selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication; and setting a target communication mode according to the communication attribute value.
It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may include the above-described embodiment method when executed. Any reference to memory, storage, database, or other medium provided herein and used in embodiments may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual speed data rate SDRAM (SSRSDRAM), extended SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (7)

1. A communication mode setting method for setting a communication mode of a terminal device, the terminal device comprising a voltage dividing circuit, the communication mode setting method comprising:
receiving output signals of the voltage dividing circuit, wherein the output signals of the voltage dividing circuit in terminal equipment in different communication modes are different;
selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode using only WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication;
setting a target communication mode according to the communication attribute value;
after the step of setting the target communication mode according to the communication attribute value, the method further comprises:
acquiring a software attribute value;
adjusting the software configuration of the terminal equipment based on the software attribute value;
the software attribute value is set through an external tool, the software attribute value is stored in a backup partition of the terminal equipment, and data in the backup partition is deleted only when formatted;
the step of setting a target communication mode according to the communication attribute value includes:
if the target communication mode is the second mode, starting the WIFI equipment and the SIM card communication module in the terminal equipment; the method comprises the steps of,
closing a CS domain of a modem in the terminal equipment and opening a PS domain of the modem; the method comprises the steps of,
and loading options related to the SIM card PS domain communication function in a setting column of a display interface of the terminal equipment.
2. The communication mode setting method according to claim 1, further comprising, before the step of receiving the output signal of the voltage dividing circuit:
loading an integrated software system into the terminal equipment, wherein the software system comprises functions of all communication modes corresponding to the terminal equipment.
3. The communication mode setting method according to any one of claims 1 or 2, characterized in that the step of setting a target communication mode according to the communication attribute value comprises:
if the target communication mode is the first communication mode, starting the WIFI equipment in the terminal equipment; the method comprises the steps of,
and closing the CS domain and the PS domain of the modem in the terminal equipment.
4. The communication mode setting method according to any one of claims 1 or 2, characterized in that the step of setting a target communication mode according to the communication attribute value comprises:
if the target communication mode is a third mode, enabling the WIFI equipment and the SIM card communication module in the terminal equipment; the method comprises the steps of,
opening a CS domain and a PS domain of a modem in the terminal equipment; the method comprises the steps of,
loading options related to the SIM card PS domain communication function and the SIM card CS domain communication function in a setting column of a display interface of the terminal equipment; the method comprises the steps of,
the dial is loaded.
5. A communication mode setting apparatus for implementing the method of any one of claims 1 to 4; a communication mode for setting a terminal device, the terminal device including a voltage divider circuit therein, comprising:
the receiving module is used for receiving the output signals of the voltage dividing circuits, wherein the output signals of the voltage dividing circuits in the terminal equipment in different communication modes are different;
the communication attribute value selecting module is used for selecting a communication attribute value according to the output signal, wherein the communication attribute value comprises a first attribute value, a second attribute value and a third attribute value, the first attribute value corresponds to a first communication mode, the second attribute value corresponds to a second communication mode, the third attribute value corresponds to a third communication mode, the first communication mode is a mode only using WIFI communication, the second communication mode is a mode using SIM card PS domain communication and WIFI communication, and the third communication mode is a mode using SIM card CS domain communication, SIM card PS domain communication and WIFI communication;
and the target communication mode setting module is used for setting a target communication mode according to the communication attribute value.
6. A terminal device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the communication mode setting method of any one of claims 1-4.
7. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the communication mode setting method of any one of claims 1 to 4.
CN202310404047.3A 2023-04-17 2023-04-17 Communication mode setting method, device, terminal equipment and storage medium Active CN116133013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310404047.3A CN116133013B (en) 2023-04-17 2023-04-17 Communication mode setting method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310404047.3A CN116133013B (en) 2023-04-17 2023-04-17 Communication mode setting method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116133013A CN116133013A (en) 2023-05-16
CN116133013B true CN116133013B (en) 2023-06-27

Family

ID=86299472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310404047.3A Active CN116133013B (en) 2023-04-17 2023-04-17 Communication mode setting method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116133013B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114268486A (en) * 2021-12-20 2022-04-01 科华数据股份有限公司 Serial port encryption circuit and encryption method thereof, communication manager and communication system
CN115861554A (en) * 2022-11-21 2023-03-28 国网北京市电力公司 Model display method and device, nonvolatile storage medium and computer equipment

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI319660B (en) * 2006-08-23 2010-01-11 Compal Communications Inc Voip apparatus embedded in mobile communication equipment
US7813772B2 (en) * 2007-05-15 2010-10-12 Sony Ericsson Mobile Communications Ab Methods of operating a mobile terminal such that a communication operation mode is changed based on a current voltage of a battery that powers the mobile terminal and related mobile terminals and computer program products
US8639193B2 (en) * 2011-12-29 2014-01-28 Qualcomm Incorporated Tri-state control for a line driver
KR20130097556A (en) * 2012-02-24 2013-09-03 주식회사 팬택 Multi mode terminal and apparatus and method for controlling the operation mode of the multi mode terminal
TW201338591A (en) * 2012-03-07 2013-09-16 Acer Inc Method for power saving and communication apparatus using the same
KR102278510B1 (en) * 2014-03-26 2021-07-16 삼성전자주식회사 Apparatus and method for serving voice in a wireless network
CN110225576A (en) * 2019-05-08 2019-09-10 华为技术有限公司 A kind of start-up control method and electronic equipment
CN111949107B (en) * 2019-05-15 2023-11-07 北京小米移动软件有限公司 Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment
CN110933724B (en) * 2019-12-11 2021-12-07 上海立可芯半导体科技有限公司 Switching method of VoWiFi and VoLTE voice services and mobile terminal
CN111148135B (en) * 2019-12-23 2023-09-15 东莞宇龙通信科技有限公司 Control method and device for voice call service, storage medium and terminal
CN113411845B (en) * 2020-03-16 2023-05-23 中国电信股份有限公司 Voice service mode switching method, user terminal and computer readable storage medium
CN114518706A (en) * 2020-11-19 2022-05-20 深圳绿米联创科技有限公司 Equipment control method, device and system, intelligent equipment and storage medium
CN115884281A (en) * 2021-09-27 2023-03-31 深圳市万普拉斯科技有限公司 Switching method and device of IMS (IP multimedia subsystem) call network, terminal and readable storage medium
CN113922465A (en) * 2021-11-02 2022-01-11 深圳传音控股股份有限公司 Interface identification circuit, interface identification method and intelligent terminal
CN114867085A (en) * 2022-05-26 2022-08-05 Oppo广东移动通信有限公司 Wireless access point selection method, device, terminal equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114268486A (en) * 2021-12-20 2022-04-01 科华数据股份有限公司 Serial port encryption circuit and encryption method thereof, communication manager and communication system
CN115861554A (en) * 2022-11-21 2023-03-28 国网北京市电力公司 Model display method and device, nonvolatile storage medium and computer equipment

Also Published As

Publication number Publication date
CN116133013A (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US20080119178A1 (en) Allocating Compression-Based Firmware Over the Air
CN109582402B (en) Page display method and device
CN103347118A (en) Message prompting method and device
CN109508198A (en) Application program installation method, device, storage medium and terminal
CN106095477B (en) Using mounting device and method
CN102646037A (en) Menu display processing method and terminal device
US7245904B2 (en) Reconfiguration of programmable components in an electronic apparatus
CN116133013B (en) Communication mode setting method, device, terminal equipment and storage medium
CN104951337B (en) File increment update method and device
CN108132736B (en) Display control method and device in window
CN105204891A (en) Download method and download device during shutdown of mobile terminal and mobile terminal
CN105827809A (en) Method for searching contact number, and terminal
CN111443903A (en) Software development file acquisition method and device, electronic equipment and storage medium
US11221859B2 (en) Method and apparatus for presenting screensaver of application program, and mobile terminal
CN106791134B (en) Method for dialing network telephone, mobile terminal and vehicle-mounted device
CN114168463A (en) Method and device for switching project environment, storage medium and electronic equipment
KR100517999B1 (en) Service method for unstructured supplementary service data information of mobile communication device
US20100235731A1 (en) Portable communication terminal and communication server
CN101179801B (en) Mobile phone and method of special event triggering learning function
CN106656605B (en) Method and device for realizing network scene simulation
CN106648594B (en) Terminal starting method and device
US6788954B1 (en) Cellular phone terminal
CN114691236B (en) Method, device, equipment and medium for integrating native program and applet
CN108737956B (en) Dialing control method in terminal equipment, electronic equipment and storage medium
CN116546484A (en) Configuration file state management method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant