CN111008049A - Communication control method, communication control device, storage medium and mobile terminal - Google Patents
Communication control method, communication control device, storage medium and mobile terminal Download PDFInfo
- Publication number
- CN111008049A CN111008049A CN201911194003.2A CN201911194003A CN111008049A CN 111008049 A CN111008049 A CN 111008049A CN 201911194003 A CN201911194003 A CN 201911194003A CN 111008049 A CN111008049 A CN 111008049A
- Authority
- CN
- China
- Prior art keywords
- application
- communication function
- function type
- communication
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 246
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000006870 function Effects 0.000 claims description 254
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 abstract description 11
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/442—Shutdown
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a communication control method, a communication control device, a storage medium and a mobile terminal, wherein the method comprises the following steps: receiving an application starting instruction, and determining a first application to be started; acquiring the communication function type of the first application requirement; and determining a target function program from a plurality of function programs corresponding to a preset communication module according to the first communication function type. The functional programs corresponding to the application are started to avoid starting all the functional programs, so that the occupancy rate of the communication module is reduced, and the processing rate of the processor is improved.
Description
Technical Field
The present application relates to the field of communications, and in particular, to a communication control method, apparatus, storage medium, and mobile terminal.
Background
Wireless Fidelity (WiFi) is a technology that can connect mobile terminals to each other wirelessly, and is a Wireless network connection technology that is most widely used at present. Currently, for mobile terminals having input and output devices, the mobile terminals allow a user to access a network by directly configuring WiFi networking parameters through the input/output devices (e.g., keyboard, screen, etc.).
In the related art, after the mobile terminal accesses the network, when the user starts the application program, no matter what type of application program, as long as the application program uses the WiFi function, all the sub-function programs of the WiFi function are started, and some sub-function programs are not used, so that the WiFi occupies larger resources such as a memory, and the processing rate of the processor is reduced.
Disclosure of Invention
The embodiment of the application provides a communication control method, which can reduce the occupancy rate of a communication module and improve the processing rate of a processor.
An embodiment of the present application provides a communication control method, including:
receiving an application starting instruction, and determining a first application to be started;
acquiring the communication function type of the first application requirement;
and according to the first communication function type, determining a target function program from a plurality of function programs corresponding to a preset communication module, and starting the target function program.
An embodiment of the present application further provides a communication control apparatus, including:
the first determining unit is used for receiving an application starting instruction and determining a first application to be started;
a first obtaining unit, configured to obtain a communication function type of the first application requirement;
and the second determining unit is used for determining a target function program from a plurality of function programs corresponding to a preset communication module according to the first communication function type and starting the target function program.
An embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the communication control method as described above.
The embodiment of the present application further provides a mobile terminal, where the mobile terminal includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the communication control method described above by calling the computer program stored in the memory.
The communication control method provided by the embodiment of the application comprises the following steps: receiving an application starting instruction, and determining a first application to be started; acquiring the communication function type of the first application requirement; and determining a target function program from a plurality of function programs corresponding to a preset communication module according to the first communication function type. The functional programs corresponding to the application are started to avoid starting all the functional programs, so that the occupancy rate of the communication module is reduced, and the processing rate of the processor is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart of a communication control method according to an embodiment of the present application.
Fig. 2 is a second flowchart of a communication control method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a communication control apparatus according to an embodiment of the present application.
Fig. 4 is a specific structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a first flowchart illustrating a communication control method according to an embodiment of the present disclosure. A communication control method, comprising:
Specifically, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, and the like, and various application programs, such as applications with an entertainment function (e.g., a video application, an audio playing application, a game application, and reading software), and applications with a service function (e.g., a map navigation application, a dining application, and the like) are stored in the mobile terminal.
The user may select to open a certain application program through an input device such as a screen or a physical key, taking the input device as the screen as an example, when the user clicks a certain position of the screen, the user may identify which application program the user needs to open by identifying a click point coordinate of the user clicking the screen. And then the corresponding first application to be started can be determined according to the application starting instruction of the screen clicked by the user.
And 102, acquiring the communication function type required by the first application.
Specifically, the communication function type in the first application is acquired, for example: the first application is a local area network battle game, the first application needs to be connected with WiFi, other users in the local area network are searched, and the communication function types required by the first application are WiFi wireless internet access and local area network search.
Specifically, the communication function type required by the first application can be determined by acquiring the communication function module of the first application and checking which communication function types are supported by the first application.
Therefore, step 102 specifically includes:
acquiring a communication function module of a first application;
and determining the communication function type of the first application program according to the communication function module.
Specifically, for example, WiFi (Wireless Fidelity) has many functional programs, such as: WiFi Display, cell phone/mobile PC-tv/Display will enable wireless connectivity; WiFi direct connection, namely point-to-point connection of WiFi equipment, does not need point-to-end connection, and mutual sharing and information exchange among the equipment are realized; the WiFi hotspot is a technology for converting GPRS, 3G or 4G signals received by the mobile phone into WiFi signals to be sent out, so that other mobile terminals such as mobile phones, tablets or notebooks and the like can surf the internet by connecting with the hotspot; WiFi access point searching, namely searching access points in a certain range of the mobile terminal; and the WiFi wireless Internet access is to connect to the Internet through the searched WIFI access point. These functional programs are also related to WiFi protocols, and are not described herein.
After the first communication function type required by the first application program is determined, directly starting a target function program corresponding to the first communication function type.
Specifically, after the first application and the corresponding function program are started, if the user starts the second application again, the second communication function type required by the second application is acquired according to the method in step 102; after the second application is started, the running states of the first application and the second application can be divided into two types: the first is that a first application and a second application run simultaneously, for example: the first application and the second application are operated in a split screen mode, or the first application is placed to a background to be operated; the second is to open the second application and close the first application. However, since the first application and the second application may have a problem that the required communication functions are different in types and need to control the function program accordingly, the method further includes, after step 103:
if the second application is detected to be started, acquiring a second communication function type required by the second application;
comparing the second communication function type with the first communication function type to obtain a comparison result;
judging whether the first application and the second application run simultaneously to obtain a running state result;
and controlling the state of the functional program based on the comparison result and the operation state result.
And if the running state result indicates that the first application and the second application run simultaneously, checking a first different communication function type of the second communication function type and the first communication function type in the comparison result. For example, the first communication function type is a + b, the second communication function type is a + c, where a, b, and c are different function programs, and the first distinguished communication function type is c, the function program corresponding to the first distinguished communication function type is started. Therefore, controlling the state of the functional program based on the comparison result and the operation state result may include:
and if the operation state result indicates that the first application and the second application operate simultaneously, starting a function program corresponding to a first distinguished communication function type of the second communication function type and the first communication function type of the first communication function type in the comparison result, wherein the second communication function type comprises the first distinguished communication function type and the first communication function type does not comprise the first distinguished communication function type.
If the operation state result is that the first application is closed and the second application is running, the second communication function type distinguished from the second communication function type in the first communication function type is checked, for example, the first communication function type is a + b, the second communication function type is a + c, where a, b, and c are different function programs, and the second communication function type is b, the function program corresponding to the second communication function type is closed, so controlling the state of the function program based on the comparison result and the operation state result may include:
if the operation state result is that the second application is started and the first application is closed, the function program corresponding to a second distinguished communication function type of the second communication function type in the first communication function type in the comparison result is closed, wherein the first communication function type comprises the second distinguished communication function type and the second communication function type does not comprise the first distinguished communication function type.
The communication control method provided by the embodiment of the application comprises the following steps: receiving an application starting instruction, and determining a first application to be started; acquiring the communication function type of the first application requirement; and determining a target function program from a plurality of function programs corresponding to a preset communication module according to the first communication function type. The functional programs corresponding to the application are started to avoid starting all the functional programs, so that the occupancy rate of the communication module is reduced, and the processing rate of the processor is improved.
Referring to fig. 2, fig. 2 is a second flowchart illustrating a communication control method according to an embodiment of the present disclosure. The method comprises the following steps:
Specifically, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, and the like, and various application programs, such as applications with an entertainment function (e.g., a video application, an audio playing application, a game application, and reading software), and applications with a service function (e.g., a map navigation application, a dining application, and the like) are stored in the mobile terminal.
The user may select to open a certain application program through an input device such as a screen or a physical key, taking the input device as the screen as an example, when the user clicks a certain position of the screen, the user may identify which application program the user needs to open by identifying a click point coordinate of the user clicking the screen. And then the corresponding first application to be started can be determined according to the application starting instruction of the screen clicked by the user.
Specifically, the communication function type required by the first application can be determined by acquiring the communication function module of the first application and checking which communication function types are supported by the first application.
Specifically, the communication function type in the first application is acquired, for example: the first application is a local area network battle game, the first application needs to be connected with WiFi, other users in the local area network are searched, and the communication function types required by the first application are WiFi wireless internet access and local area network search.
And 204, determining a target function program from a plurality of function programs corresponding to the preset communication module according to the first communication function type, and starting the target function program.
Specifically, for example, WiFi (Wireless Fidelity) has many functional programs, such as: WiFi Display, cell phone/mobile PC-tv/Display will enable wireless connectivity; WiFi direct connection, namely point-to-point connection of WiFi equipment, does not need point-to-end connection, and mutual sharing and information exchange among the equipment are realized; the WiFi hotspot is a technology for converting GPRS, 3G or 4G signals received by the mobile phone into WiFi signals to be sent out, so that other mobile terminals such as mobile phones, tablets or notebooks and the like can surf the internet by connecting with the hotspot; WiFi access point searching, namely searching access points in a certain range of the mobile terminal; and the WiFi wireless Internet access is to connect to the Internet through the searched WIFI access point. These functional programs are also related to WiFi protocols, and are not described herein.
After the first communication function type required by the first application program is determined, directly starting a target function program corresponding to the first communication function type.
Specifically, after the first application and the corresponding function program are started, if the user starts the second application again, the second communication function type required by the second application is acquired according to the method in step 102; after the second application is started, the running states of the first application and the second application can be divided into two types: the first is that a first application and a second application run simultaneously, for example: the first application and the second application are operated in a split screen mode, or the first application is placed to a background to be operated; the second is to open the second application and close the first application. Since the first application and the second application may have different communication function types, the function program needs to be controlled correspondingly
And step 206, comparing the second communication function type with the first communication function type to obtain a comparison result.
And step 207, judging whether the first application and the second application run simultaneously to obtain a running state result.
The running states are two, the first is that the first application and the second application run simultaneously, the second is that the first application is closed, and the second application runs.
And step 208, if the operation state result indicates that the first application and the second application operate simultaneously, starting a function program corresponding to the first distinguished communication function type of the second communication function type and the first communication function type in the comparison result.
Specifically, if the operation state result indicates that the first application and the second application are simultaneously operated, the first distinguished communication function type of the second communication function type and the first communication function type in the comparison result is checked. For example, the first communication function type is a + b, the second communication function type is a + c, where a, b, and c are different function programs, and the first distinguished communication function type is c, the function program corresponding to the first distinguished communication function type is started. The second communication function category comprises the first distinct communication function category and the first communication function category does not comprise the first distinct communication function category.
Specifically, if the operation state result is that the first application is closed and the second application is running, the second differentiated communication function type between the first communication function type and the second communication function type is checked, for example, the first communication function type is a + b, the second communication function type is a + c, where a, b, and c are different function programs, and the second differentiated communication function type is b, and the function program corresponding to the second differentiated communication function type is closed. And turning on c, wherein the first communication function category includes the second distinct communication function category and the second communication function category does not include the first distinct communication function category.
The communication control method provided by the embodiment of the application comprises the following steps: receiving an application starting instruction, and determining a first application to be started; acquiring the communication function type of the first application requirement; and determining a target function program from a plurality of function programs corresponding to a preset communication module according to the first communication function type. The functional programs corresponding to the application are started to avoid starting all the functional programs, so that the occupancy rate of the communication module is reduced, and the processing rate of the processor is improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a communication control apparatus according to an embodiment of the present disclosure. The communication control apparatus includes: a first determination unit 31, a first acquisition unit 32 and a second determination unit 33.
The first determining unit 31 is configured to receive an application starting instruction and determine a first application to be started.
Specifically, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, and the like, and various application programs, such as applications with an entertainment function (e.g., a video application, an audio playing application, a game application, and reading software), and applications with a service function (e.g., a map navigation application, a dining application, and the like) are stored in the mobile terminal.
The user may select to open a certain application program through an input device such as a screen or a physical key, taking the input device as the screen as an example, when the user clicks a certain position of the screen, the user may identify which application program the user needs to open by identifying a click point coordinate of the user clicking the screen. And then the corresponding first application to be started can be determined according to the application starting instruction of the screen clicked by the user.
A first obtaining unit 32, configured to obtain a communication function type required by the first application.
Specifically, the communication function type in the first application is acquired, for example: the first application is a local area network battle game, the first application needs to be connected with WiFi, other users in the local area network are searched, and the communication function types required by the first application are WiFi wireless internet access and local area network search.
Specifically, the communication function type required by the first application can be determined by acquiring the communication function module of the first application and checking which communication function types are supported by the first application.
The second determining unit 33 is configured to determine a target function program from a plurality of function programs corresponding to preset communication modules according to the first communication function type, and start the target function program.
Specifically, for example, WiFi (Wireless Fidelity) has many functional programs, such as: WiFi Display, cell phone/mobile PC-tv/Display will enable wireless connectivity; WiFi direct connection, namely point-to-point connection of WiFi equipment, does not need point-to-end connection, and mutual sharing and information exchange among the equipment are realized; the WiFi hotspot is a technology for converting GPRS, 3G or 4G signals received by the mobile phone into WiFi signals to be sent out, so that other mobile terminals such as mobile phones, tablets or notebooks and the like can surf the internet by connecting with the hotspot; WiFi access point searching, namely searching access points in a certain range of the mobile terminal; and the WiFi wireless Internet access is to connect to the Internet through the searched WIFI access point. These functional programs are also related to WiFi protocols, and are not described herein.
After the first communication function type required by the first application program is determined, directly starting a target function program corresponding to the first communication function type.
In some embodiments, the first obtaining unit 33 may further include:
the acquisition subunit is used for acquiring the communication function module of the first application;
and the determining subunit is used for determining the communication function type of the first application program according to the communication function module.
In some embodiments, the communication control apparatus may further include:
the second obtaining unit is used for obtaining a second communication function type required by a second application if the second application is detected to be started;
the comparison unit is used for comparing the second communication function type with the first communication function type to obtain a comparison result;
the judging unit is used for judging whether the first application and the second application run simultaneously to obtain a running state result;
and the control unit is used for controlling the state of the functional program based on the comparison result and the running state result.
In some embodiments, the control unit may further include:
a starting subunit, configured to start a function program corresponding to a second communication function type and a first distinct communication function type of a first communication function type in the comparison result if the operation state result indicates that the first application and the second application are simultaneously operating, where the second communication function type includes the first distinct communication function type and the first communication function type does not include the first distinct communication function type.
In some embodiments, the control unit may further include:
a closing subunit, configured to close a function program, in the first communication function type and corresponding to a second differentiated communication function type of a second communication function type, in the comparison result, if the operation state result indicates that the second application is opened and the first application is closed, where the first communication function type includes the second differentiated communication function type and the second communication function type does not include the first differentiated communication function type.
Based on the above method, the present invention also provides a storage medium having a plurality of instructions stored thereon, wherein the instructions are adapted to be loaded by a processor and to perform the communication control method as described above.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Fig. 4 is a specific block diagram of a terminal according to an embodiment of the present invention, where the terminal may be used to implement the communication control method, the storage medium, and the terminal provided in the foregoing embodiments.
As shown in fig. 4, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 4 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuit 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with a second device over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network.
The memory 120 may be configured to store software programs and modules, such as the bright screen duration control method, apparatus, storage medium, and program instructions/modules corresponding to the mobile terminal in the foregoing embodiments, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120, so as to implement the function of mutual chip identification. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or a second non-volatile solid-state memory. In some examples, memory 120 may be a storage medium as described above.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and further, the touch-sensitive surface 131 may cover the display panel 141. The display interface of the mobile terminal in the above embodiment may be represented by the display unit 140, that is, the display content displayed by the display interface may be displayed by the display unit 140.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and a second sensor. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As for the second sensor such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, the detailed description is omitted here.
The mobile terminal 1200, which can help a user send and receive e-mails, browse web pages, access streaming media, etc., provides the user with wireless broadband internet access through the transmission module 170.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Specifically, the processor 180 includes: an Arithmetic Logic Unit (ALU), an application processor, a Global Positioning System (GPS) and a control and status Bus (Bus) (not shown).
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 180 via a power management system in some embodiments to provide management of power, and power consumption via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a re-power system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein.
Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
receiving an application starting instruction, and determining a first application to be started;
acquiring the communication function type of the first application requirement;
and according to the first communication function type, determining a target function program from a plurality of function programs corresponding to a preset communication module, and starting the target function program.
In some embodiments, in obtaining the communication function type of the first application requirement, processor 380 may further execute the instructions of:
acquiring a communication function module of the first application;
and determining the communication function type of the first application program according to the communication function module.
In some embodiments, processor 380 may also execute instructions to:
if detecting that a second application is to be started, acquiring a second communication function type required by the second application;
comparing the second communication function type with the first communication function type to obtain a comparison result;
judging whether the first application and the second application run simultaneously or not to obtain a running state result;
and controlling the state of the functional program based on the comparison result and the operation state result.
In some embodiments, in controlling the state of the functional program based on the comparison result and the running state result, processor 380 may further execute instructions to:
and if the operation state result indicates that the first application and the second application operate simultaneously, starting a function program corresponding to a second communication function type and a first distinguished communication function type of the first communication function type in the comparison result, wherein the second communication function type comprises the first distinguished communication function type and the first communication function type does not comprise the first distinguished communication function type.
In some embodiments, in controlling the state of the functional program based on the comparison result and the running state result, processor 380 may further execute instructions to:
if the operation state result is that the second application is started and the first application is closed, the function program corresponding to a second distinguished communication function type of the second communication function type in the first communication function type in the comparison result is closed, wherein the first communication function type comprises the second distinguished communication function type and the second communication function type does not comprise the first distinguished communication function type.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The communication control method, the communication control device, the storage medium and the terminal provided by the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the embodiments above is only used to help understanding the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.
Claims (10)
1. A communication control method, comprising:
receiving an application starting instruction, and determining a first application to be started;
acquiring the communication function type of the first application requirement;
and according to the first communication function type, determining a target function program from a plurality of function programs corresponding to a preset communication module, and starting the target function program.
2. The communication control method according to claim 1, wherein the obtaining of the communication function type required by the first application includes:
acquiring a communication function module of the first application;
and determining the communication function type of the first application program according to the communication function module.
3. The communication control method according to claim 1, further comprising, after the determining, according to the first communication function type, a target function program from among a plurality of function programs corresponding to preset communication modules:
if detecting that a second application is to be started, acquiring a second communication function type required by the second application;
comparing the second communication function type with the first communication function type to obtain a comparison result;
judging whether the first application and the second application run simultaneously or not to obtain a running state result;
and controlling the state of the functional program based on the comparison result and the operation state result.
4. The communication control method according to claim 3, wherein the controlling the state of the functional program based on the comparison result and the operation state result includes:
and if the operation state result indicates that the first application and the second application operate simultaneously, starting a function program corresponding to a second communication function type and a first distinguished communication function type of the first communication function type in the comparison result, wherein the second communication function type comprises the first distinguished communication function type and the first communication function type does not comprise the first distinguished communication function type.
5. The communication control method according to claim 3, wherein the controlling the state of the functional program based on the comparison result and the operation state result includes:
if the operation state result is that the second application is started and the first application is closed, the function program corresponding to a second distinguished communication function type of the second communication function type in the first communication function type in the comparison result is closed, wherein the first communication function type comprises the second distinguished communication function type and the second communication function type does not comprise the first distinguished communication function type.
6. A communication control apparatus, comprising:
the first determining unit is used for receiving an application starting instruction and determining a first application to be started;
a first obtaining unit, configured to obtain a communication function type of the first application requirement;
and the second determining unit is used for determining a target function program from a plurality of function programs corresponding to a preset communication module according to the first communication function type and starting the target function program.
7. The communication control apparatus according to claim 6, wherein the first acquisition unit includes:
the acquisition subunit is used for acquiring the communication function module of the first application;
and the determining subunit is used for determining the communication function type of the first application program according to the communication function module.
8. The communication control apparatus according to claim 6, characterized in that the communication control apparatus further comprises:
the second obtaining unit is used for obtaining a second communication function type required by a second application if the second application is detected to be started;
the comparison unit is used for comparing the second communication function type with the first communication function type to obtain a comparison result;
the judging unit is used for judging whether the first application and the second application run simultaneously to obtain a running state result;
and the control unit is used for controlling the state of the functional program based on the comparison result and the running state result.
9. A storage medium having stored therein a computer program that, when run on a computer, causes the computer to execute a communication control method according to any one of claims 1 to 5.
10. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, the memory having stored therein a computer program, the processor being configured to execute the communication control method according to any one of claims 1 to 5 by calling the computer program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911194003.2A CN111008049A (en) | 2019-11-28 | 2019-11-28 | Communication control method, communication control device, storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911194003.2A CN111008049A (en) | 2019-11-28 | 2019-11-28 | Communication control method, communication control device, storage medium and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111008049A true CN111008049A (en) | 2020-04-14 |
Family
ID=70112333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911194003.2A Pending CN111008049A (en) | 2019-11-28 | 2019-11-28 | Communication control method, communication control device, storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111008049A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105430726A (en) * | 2015-11-28 | 2016-03-23 | 广东欧珀移动通信有限公司 | Carrier aggregation (CA) function control method for communication terminal and communication terminal |
CN107529207A (en) * | 2017-09-30 | 2017-12-29 | 北京领通科技有限公司 | Network communication method and device |
CN107944258A (en) * | 2017-11-21 | 2018-04-20 | 广东欧珀移动通信有限公司 | Start control method, device, storage medium and the terminal of application with method of service |
CN108882241A (en) * | 2018-07-27 | 2018-11-23 | 珠海格力电器股份有限公司 | Communication module access authentication system, control method and mobile terminal thereof |
CN109947498A (en) * | 2017-12-20 | 2019-06-28 | 广东欧珀移动通信有限公司 | Application program preloads method, apparatus, storage medium and mobile terminal |
-
2019
- 2019-11-28 CN CN201911194003.2A patent/CN111008049A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105430726A (en) * | 2015-11-28 | 2016-03-23 | 广东欧珀移动通信有限公司 | Carrier aggregation (CA) function control method for communication terminal and communication terminal |
CN107529207A (en) * | 2017-09-30 | 2017-12-29 | 北京领通科技有限公司 | Network communication method and device |
CN107944258A (en) * | 2017-11-21 | 2018-04-20 | 广东欧珀移动通信有限公司 | Start control method, device, storage medium and the terminal of application with method of service |
CN109947498A (en) * | 2017-12-20 | 2019-06-28 | 广东欧珀移动通信有限公司 | Application program preloads method, apparatus, storage medium and mobile terminal |
CN108882241A (en) * | 2018-07-27 | 2018-11-23 | 珠海格力电器股份有限公司 | Communication module access authentication system, control method and mobile terminal thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017206916A1 (en) | Method for determining kernel running configuration in processor and related product | |
CN104852885B (en) | Method, device and system for verifying verification code | |
US9921735B2 (en) | Apparatuses and methods for inputting a uniform resource locator | |
CN111078523B (en) | Log acquisition method and device, storage medium and electronic equipment | |
CN112230877A (en) | Voice operation method and device, storage medium and electronic equipment | |
CN108270757B (en) | User account switching method, device, client and system | |
CN111026457B (en) | Hardware configuration method and device, storage medium and terminal equipment | |
CN110958352B (en) | Network signal display method, device, storage medium and mobile terminal | |
CN111045737B (en) | Equipment identifier acquisition method, device, terminal equipment and storage medium | |
CN111027406B (en) | Picture identification method and device, storage medium and electronic equipment | |
CN105703808A (en) | Method and device for transmitting data | |
CN111404242A (en) | Charging method, charging device, storage medium and mobile terminal | |
CN111182153B (en) | System language setting method and device, storage medium and mobile terminal | |
CN115348256A (en) | Posting data downloading method and device, storage medium and electronic equipment | |
CN110191503B (en) | Audio playing method, system, storage medium and mobile terminal | |
CN111008049A (en) | Communication control method, communication control device, storage medium and mobile terminal | |
CN108111553B (en) | Method and device for providing service | |
CN111506439B (en) | Data acquisition method and device, storage medium and mobile terminal | |
CN111182141B (en) | Method, device and storage medium for acquiring state of terminal device | |
CN105988801B (en) | Method and device for displaying annotation information | |
CN111601036B (en) | Camera focusing method and device, storage medium and mobile terminal | |
CN112199245B (en) | Mobile terminal screen detection method, system, storage medium and mobile terminal | |
CN112243269B (en) | Method and device for downloading data and mobile terminal | |
CN110806914B (en) | Application processing method and device and electronic equipment | |
CN110109582B (en) | Display method and device of mobile terminal 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200414 |
|
RJ01 | Rejection of invention patent application after publication |