CN112601269A - Communication connection method and device, electronic equipment and readable storage medium - Google Patents

Communication connection method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112601269A
CN112601269A CN202011271268.0A CN202011271268A CN112601269A CN 112601269 A CN112601269 A CN 112601269A CN 202011271268 A CN202011271268 A CN 202011271268A CN 112601269 A CN112601269 A CN 112601269A
Authority
CN
China
Prior art keywords
communication software
communication
target
software
electric quantity
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.)
Granted
Application number
CN202011271268.0A
Other languages
Chinese (zh)
Other versions
CN112601269B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011271268.0A priority Critical patent/CN112601269B/en
Publication of CN112601269A publication Critical patent/CN112601269A/en
Application granted granted Critical
Publication of CN112601269B publication Critical patent/CN112601269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a communication connection method, a communication connection device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method is applied to the electronic equipment and comprises the following steps: detecting the residual electric quantity of a battery under the condition of receiving the communication connection established between the first communication software and a target contact person, wherein the first communication software is third-party communication software; under the condition that the residual electric quantity is lower than a first preset electric quantity, acquiring target communication software from each piece of installed communication software; the communication contact persons of the target communication software comprise the target contact persons, and the power consumption of the target communication software is lower than that of the first communication software; and establishing communication connection with the target contact through the target communication software. According to the embodiment of the application, when the electronic equipment is in a low-power state, the residual capacity of the battery is reasonably utilized to communicate with the target contact person, and the communication time is prolonged.

Description

Communication connection method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a communication connection method, a communication connection device, electronic equipment and a readable storage medium.
Background
Currently, with the rapid development of smart electronic devices such as smart phones, third-party communication software for users to perform network communication through the electronic devices is diversified, and communication modes of the users are greatly enriched.
However, in the prior art, when the electronic device is in the standby state, the third-party communication software continuously communicates with the background through the network, which causes high power consumption and affects the power usage duration of the electronic device, especially when the power is insufficient and cannot be charged in time, and needs to communicate with other people, the third-party communication software not only affects the power usage duration of the electronic device, but also easily causes the user to be in an anxiety state with insufficient power.
Disclosure of Invention
The embodiment of the application aims to provide a communication connection method, which can solve the problem that the existing electronic equipment cannot communicate with a target contact person for a long time due to high power consumption of communication software in use when the existing electronic equipment is in a low-power state.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a communication connection method, where the method is applied to an electronic device, and the method includes:
detecting the residual electric quantity of a battery under the condition of receiving the communication connection established between the first communication software and a target contact person, wherein the first communication software is third-party communication software;
under the condition that the residual electric quantity is lower than a first preset electric quantity, acquiring target communication software from each piece of installed communication software; the communication contact persons of the target communication software comprise the target contact persons, and the power consumption of the target communication software is lower than that of the first communication software;
and establishing communication connection with the target contact through the target communication software.
In a second aspect, an embodiment of the present application provides a communication connection apparatus, where the communication connection apparatus is applied to an electronic device, the apparatus includes:
the detection module is used for detecting the residual electric quantity of the battery under the condition of receiving the condition that the communication connection with the target contact person is established through the first communication software, wherein the first communication software is third-party communication software;
the selection module is used for acquiring target communication software from the installed communication software under the condition that the residual electric quantity is lower than a first preset electric quantity; the communication contact persons of the target communication software comprise the target contact persons, and the power consumption of the target communication software is lower than that of the first communication software;
and the connection module is used for establishing communication connection with the target contact through the target communication software.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the residual capacity of the battery is detected under the condition that the communication connection with the target contact person is established through first communication software, wherein the first communication software is third-party communication software; under the condition that the residual electric quantity is lower than a first preset electric quantity, target communication software which contains a target contact person in the communication contact persons and has lower power consumption than that of the first communication software is obtained from each piece of installed communication software; and establishing communication connection with the target contact person through the target communication software. In the process of carrying out communication connection by using the third-party communication software, under the condition that the residual electric quantity of the electronic equipment is lower than the first preset electric quantity, the communication connection between the user and the target contact person can be always established by using the communication software with lower power consumption in the electronic equipment, so that when the electronic equipment is in a low-power state, the power consumption is reduced, the residual electric quantity of the battery is reasonably utilized to communicate with the target contact person, and the communication time of the user and the target contact person is effectively prolonged.
Drawings
Fig. 1 is a flowchart illustrating steps of a communication connection method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating power consumption sequencing for configuring each third-party communication software in the server according to this embodiment;
fig. 3 is a flowchart illustrating an implementation of the communication connection method provided in the present embodiment;
fig. 4 is a schematic structural diagram of a communication connection device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in 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, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The communication connection method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of a communication connection method provided in an embodiment of the present application is shown, where the method is applied to an electronic device and may include steps S100 to S300.
In the embodiment of the application, the electronic device is a mobile electronic device installed with third-party communication software, and specifically may be a mobile phone, a tablet computer, a smart watch, and the like.
Step S100, detecting the residual electric quantity of the battery under the condition that the communication connection with the target contact person is established through the first communication software, wherein the first communication software is third-party communication software.
In the step S100, the first communication software is third-party communication software installed in the electronic device and including a communication contact; the first input is an input for requesting to establish a communication connection with the target contact through the first communication software, that is, an input for determining that the user needs to communicate with the target contact, and specifically, the first input may be an operation for opening a dialog box with the target contact through the first communication software to perform text, voice or video communication.
In the step S100, when the user opens a dialog box with the target contact through the first communication software to perform text, voice or video communication, it indicates that the user needs to establish communication connection with the target contact, so as to obtain the current remaining power of the electronic device.
Step S200, under the condition that the residual electric quantity is lower than a first preset electric quantity, acquiring target communication software from each piece of installed communication software; the communication contact persons of the target communication software comprise the target contact persons, and the power consumption of the target communication software is lower than that of the first communication software.
In the step S200, the first preset electric quantity is a preset residual electric quantity value of the electronic device in the low electric quantity state, which may be determined according to actual conditions such as a battery capacity of the electronic device and a power consumption performance of the electronic device.
In the step S200, when the current remaining power of the electronic device is lower than the preset low power, it indicates that the current power of the electronic device is insufficient, so that the target communication software with power consumption lower than that of the first communication software is selected from the communication software installed in the electronic device, that is, all the communication software with communication contacts including the target contact is screened from all the communication software installed in the electronic device; because the screened communication contact persons of the communication software all comprise the target contact person, the user can communicate with the target contact person through any one of the screened communication software. In order to reduce the power consumption of the user and the target contact person and prolong the communication time of the user and the target contact person, the power consumption of each piece of communication software which is selected from the communication software and can be communicated with the target contact person needs to be lower than that of the first communication software, namely, the target communication software is obtained.
And step S300, establishing communication connection with the target contact through the target communication software.
In the step S300, the user can still communicate with the target contact person by using the target communication software, and the power consumption is lower than that of the first communication software, so that the communication power consumption can be reduced by performing communication connection with the target contact person by using the target communication software, thereby prolonging the time for the user to communicate with the target contact person by using the communication software, relieving the anxiety of the user caused by insufficient electric quantity of the electronic device, and creating a very durable experience of the battery.
According to the communication connection method provided by the embodiment of the application, the residual capacity of the battery is detected under the condition that the communication connection with the target contact person is established through first communication software, wherein the first communication software is third-party communication software; under the condition that the residual electric quantity is lower than a first preset electric quantity, target communication software which contains a target contact person in the communication contact persons and has lower power consumption than that of the first communication software is obtained from each piece of installed communication software; and establishing communication connection with the target contact person through the target communication software. In the process of carrying out communication connection by using the third-party communication software, under the condition that the residual electric quantity of the electronic equipment is in the first preset electric quantity, the communication connection between the user and the target contact person can be always established by using the communication software with lower power consumption in the electronic equipment, so that when the electronic equipment is in a low-power state, the power consumption is reduced, the residual electric quantity of the battery is reasonably utilized to communicate with the target contact person, and the communication time of the user and the target contact person is effectively prolonged.
Optionally, in an embodiment, in the process of performing step S300, when a second input indicating that the user uses the first communication software to perform communication is received, the establishing of the communication connection between the user and the target contact based on the first communication software is continued. In this embodiment, considering that the user may wish to communicate with the target contact by using the current first communication software although the current power is insufficient, the user may trigger the second output, and then the electronic device may establish a communication connection between the user and the target contact based on the first communication software, and then the user may communicate with the target contact through the first communication software.
Optionally, in an implementation manner of the communication connection method according to an embodiment of the present invention, the step S200 includes steps S201 to S202.
Step S201, under the condition that the residual electric quantity is lower than the first preset electric quantity and higher than a second preset electric quantity, acquiring second communication software from each installed third-party communication software, and selecting target communication software from each second communication software; the second preset electric quantity is lower than the first preset electric quantity, and the communication contact of the second communication software comprises the target contact; the power consumption of the target communication software is lower than the power consumption of the first communication software.
In the step S201, the second preset power is a remaining power threshold value at the low power shutdown edge when the current power of the electronic device is seriously insufficient; that is, the range defined by the second preset electric quantity and the first preset electric quantity is a remaining electric quantity range in which the electronic device is in a low-electric-quantity state and communication can be performed by using third-party communication software, and the remaining electric quantity range can be determined according to actual conditions such as battery capacity of the electronic device and power consumption performance of the electronic device.
In the step S201, when the current remaining power of the electronic device is lower than the first preset power and higher than the second preset power, it indicates that the current power of the electronic device is insufficient, so that each piece of second communication software including the target contact in the communication contacts is selected from each piece of third-party communication software installed in the electronic device, that is, all pieces of communication software including the target contact in the communication contacts are screened from all pieces of third-party communication software installed in the electronic device, and the second communication software is obtained; and then selecting communication software with power consumption lower than that of the first communication software from the second communication software as target communication software, so that on the premise of realizing communication by using third-party communication software, the power consumption of the user and the target contact person is reduced, and the communication time of the user and the target contact person is prolonged.
And step S202, determining the built-in communication software as target communication software under the condition that the residual electric quantity is lower than a second preset electric quantity.
In the step S202, when the remaining power is lower than the second preset power, it indicates that the current power of the electronic device is seriously insufficient, and the electronic device is located at the edge of low power shutdown, and at this time, a short message interface or a dialing interface of the target contact is popped up (further, the contact phone of the target contact can be automatically input), that is, the electronic device contacts the target contact through the built-in communication software such as a short message and a phone.
Optionally, when the remaining power is less than the second preset power, the data network and all communication application software are turned off, so as to achieve the maximum power saving effect.
Optionally, in an implementation manner of the communication connection method according to an embodiment of the present invention, the step S201 includes steps S2011 to S2012.
And step S2011, acquiring a first power consumption sequence of the third-party communication software.
In step S2011, the first power consumption sequence is a sequence of power consumption consumed by each third-party communication software in a unit time.
It is understood that the first power consumption ranking is a power consumption ranking of all third party communication software in the electronic device.
Optionally, in a specific embodiment, the first power consumption ranking is determined by the electronic device through a power consumption condition of actually running third-party communication software, and is stored in the electronic device in the form of an XML file, and when the first power consumption ranking needs to be obtained, the first power consumption ranking is directly obtained through the XML file.
Optionally, in another specific embodiment, the first power consumption ranking is determined by power consumption conditions of all communication software according to which a tester of the electronic device tests the current electronic device in advance, and the first power consumption ranking is uploaded to the server in the form of an XML file; and then when the electronic equipment is started, requesting a server to acquire an XML file related to the first power consumption sequencing of the third-party communication software through a wifi network or data traffic, and further directly acquiring the XML file when the first power consumption sequencing is required to be acquired.
Optionally, in another specific embodiment, the first power consumption ranking is determined by power consumption conditions of all communication software according to which a tester of the electronic device tests the current electronic device in advance, and the first power consumption ranking is uploaded to the server in the form of an XML file; and then, when the first power consumption sequence needs to be acquired, requesting the server to acquire an XML file related to the first power consumption sequence of the third-party communication software in real time through a wifi network or data traffic, and further acquiring the first power consumption sequence of the third-party communication software by receiving the XML file sent by the server.
Step S2012, selecting the target communication software with the lowest power consumption from the second communication software according to the first power consumption ranking.
In step S2012, the second communication software with the lowest power consumption may be quickly determined according to the power consumption of each second communication software in the first power consumption ranking, and the second communication software is used as the target communication software.
Optionally, step S2012 specifically includes: comparing the first power consumption sequences to generate second power consumption sequences of the second communication software; and selecting the target communication software with the lowest power consumption according to the second power consumption sequence.
It can be understood that the second power consumption ranking is a power consumption ranking only including second communication software, that is, only including communication software supporting communication with a target contact person, and a first ranking value of each second communication software in the first power consumption ranking is determined through the first power consumption ranking including power consumption situations of all third-party communication software, so as to generate a second power consumption ranking only including power consumption situations of each second communication software; and then, through the sequencing situation of the power consumption of each piece of second communication software in the second power consumption sequencing, the second communication software with the lowest power consumption can be quickly determined and taken as the target communication software.
In this embodiment, after the second power consumption ranking is determined, the second communication software may be directly selected in sequence, and it is not necessary to determine whether communication with the target contact is supported, so that the determination of the second communication software is faster.
In the above embodiment, by obtaining the first power consumption ranking of the third-party communication software and comparing the first power consumption ranking, the target communication software with the lowest power consumption in each second communication software is quickly and accurately selected, and then the target communication software is used to establish the communication connection between the user and the target contact person, so that when the electronic device is in a low-power state, the power consumption is reduced, and the communication duration between the user and the target contact person is effectively prolonged.
Optionally, in an implementation manner, the communication connection method provided in the embodiment of the present invention further includes step S400 after step S300.
Step S400, under the condition that the target communication software is not the first communication software, closing the first communication software.
In the step S400, when the target communication software is not the first communication software for receiving the first input, it is determined that the communication software currently required by the user to communicate with the target contact is not the target communication software with the lowest power consumption in the third-party communication software installed in the electronic device, and therefore, the communication connection between the user and the target contact needs to be established through the target communication software, so as to save electric energy by using the low power consumption of the target communication software, and achieve the effect of prolonging the communication time; and when the user utilizes the target communication software to communicate with the user, the first communication software is closed, namely the first communication software is closed from the background program, so that the electric energy can be further saved.
In addition, if the target communication software is the first communication software, the first communication software is directly used for establishing the communication connection between the user and the target contact.
Optionally, in another implementation manner, after the step S201, the communication connection method provided in the embodiment of the present invention further includes a step S203:
and S203, outputting prompt information for prompting the communication by using the built-in communication software.
In step S203, although the electronic device selects the communication contacts in the installed third-party communication software to include the target contact and the communication software with the lowest power consumption establishes the communication connection between the user and the target contact when the first input to the first communication software is received and the current remaining power of the electronic device is within the preset low power range, so that the user can communicate with the target contact through the third-party communication software, the communication with the target contact can be realized only by using the built-in communication software and the communication mode with the lowest power consumption is the communication mode with the lowest power consumption, and at this time, the electronic device outputs the prompt information for prompting the communication with the built-in communication software, so as to inform the user of the current power state of the electronic device, and facilitate the user to select the built-in communication software to communicate with the target contact as soon as possible, thereby maximally extending the communication time period for communicating with the target contact by using the remaining amount of electricity. Optionally, the prompt information may be displayed in a form of text, voice, or vibration, and specifically may be displayed on a display interface of the electronic device in a form of text.
Referring to fig. 2, a schematic flow chart of power consumption sequencing for configuring each third-party communication software in a server according to this embodiment is shown.
As shown in fig. 2, in step S211, a tester of an electronic device manufacturer such as a mobile phone tests power consumption of third-party communication software on the market at the end, and provides a power consumption sequence of the communication software;
in step S212, the configuration engineer orders the power consumption of the third-party communication software in the current stage, and uploads the ordered power consumption to the background server in the form of xml, so that the electronic device can obtain and utilize the power consumption of each third-party communication software when the power consumption needs to be determined.
Referring to fig. 3, a flowchart illustrating an implementation of the communication connection method according to the present embodiment is shown.
As shown in fig. 3, in step S311, when the electronic device is powered on, the xml file related to the power consumption ranking of the third-party communication software in the background server is obtained through the wifi network or the data traffic;
in step S312, when a first input requesting to establish a communication connection with a target contact is required to be received through a first communication software in a third-party communication software, acquiring a current remaining power of the electronic device, and determining whether the remaining power is lower than a first power threshold, where the first power threshold is an upper limit of a preset low power range; if the remaining power is lower than the first power threshold, performing step S314, otherwise performing step S313;
in step S313, the communication software is not replaced, that is, the communication software opened by the user is directly used to send information, so as to communicate with the target contact;
for example, when the user opens the application software 1 and needs to send information to the contact a, if the electric quantity is higher than the first electric quantity threshold value, the electric quantity is sufficient, so that the power saving policy is not executed, and the application software 1 is directly used to send information to the contact a;
in step S314, it is further determined whether the current remaining power of the electronic device is higher than a second power threshold, where the second power threshold is a lower limit of a preset low power range; if the remaining power is lower than the second power threshold, performing step S316, otherwise performing step S315;
in step S315, matching the xml file according to the power consumption ranking of the third-party communication software obtained in step S311 to the lowest power consumption communication software with the target contact from the third-party communication software installed in the electronic device, and sending information to the target contact by using the software;
for example, when a user opens the application software 1 and needs to send information to the contact A, if the remaining power is lower than the first power threshold and higher than the second power threshold, at this time, address lists of all third-party communication software on the electronic device are scanned, which software has the contact A, then the application software 2 with the lowest power consumption is matched according to the software power consumption sequence of the xml file, then the application software 2 is skipped to send information to the contact A, and the application software 1 before skipping is synchronously closed, so that the purpose of reducing the power consumption of the mobile phone is achieved;
in step S316, the data network and all third party communication software are closed, the contact phone of the target contact is automatically input by popping up the short message interface or the dial-up interface of the target contact, and the non-networking built-in communication software is used for communicating with the target contact.
It should be noted that, in the communication connection method provided in the embodiment of the present application, the execution main body may be an electronic device, or a control module in the electronic device, which is used for executing the loading of the communication connection method. In the embodiment of the present application, a method for a terminal device to execute a loading communication connection is taken as an example to describe the communication connection method provided in the embodiment of the present application.
Referring to fig. 4, please refer to fig. 4, which is a schematic structural diagram illustrating a communication connection device according to an embodiment of the present application, the communication connection device is applied to an electronic device, and as shown in fig. 4, the communication connection device includes:
the detection module 41 is used for detecting the residual electric quantity of the battery under the condition that the communication connection with the target contact person is established through the first communication software, wherein the first communication software is third-party communication software;
a selecting module 42, configured to obtain target communication software from the installed communication software when the remaining power is lower than a first preset power; the communication contact persons of the target communication software comprise the target contact persons, and the power consumption of the target communication software is lower than that of the first communication software;
and a connection module 43, configured to establish a communication connection with the target contact through the target communication software.
Optionally, in the apparatus, the selecting module 42 includes:
a first selection unit, configured to, when the remaining power is lower than the first preset power and higher than a second preset power, acquire second communication software from each installed third-party communication software, and select target communication software from each second communication software; the second preset electric quantity is lower than the first preset electric quantity, the communication contact of the second communication software comprises the target contact, and the power consumption of the target communication software is lower than that of the first communication software;
and the second selection unit is used for determining the built-in communication software as the target communication software under the condition that the residual electric quantity is lower than a second preset electric quantity.
Optionally, in the apparatus, the first selecting unit includes:
the acquiring subunit is used for acquiring a first power consumption sequence of the third-party communication software;
and the selecting subunit is used for selecting the target communication software with the lowest power consumption from the second communication software according to the first power consumption sequence.
Optionally, the apparatus further comprises:
and the closing module is used for closing the first communication software under the condition that the target communication software is not the first communication software after the communication connection is established with the target contact through the target communication software.
Optionally, the apparatus further comprises:
and the prompting module is used for acquiring second communication software from each installed third-party communication software under the condition that the residual electric quantity is lower than the first preset electric quantity and higher than the second preset electric quantity, and outputting prompting information after target communication software is selected from each second communication software, wherein the prompting information is used for prompting the communication using built-in communication software.
The punctuation mark input device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The punctuation input device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The punctuation mark input device provided in the embodiment of the present application can implement each process implemented by the document display method in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
In the embodiment of the application, the detection module 41 detects the remaining capacity of the battery when receiving the condition that the communication connection with the target contact person is established through the first communication software, wherein the first communication software is third-party communication software; under the condition that the residual electric quantity is lower than the first preset electric quantity, the selection module 42 acquires target communication software which contains a target contact person and has lower power consumption than that of the first communication software from all the installed communication software; and then the connection module 43 establishes communication connection with the target contact through the target communication software. In the process of performing communication connection by using the third-party communication software, under the condition that the residual electric quantity of the electronic equipment is lower than the first preset electric quantity, the communication connection between the user and the target contact person can be established by the communication software with lower power consumption in the electronic equipment, so that when the electronic equipment is in a low-power state, the power consumption is reduced, and the communication time of the user and the target contact person is effectively prolonged.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction is executed by the processor to implement each process of the foregoing communication connection method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 50 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 810, and the like.
Those skilled in the art will appreciate that the electronic device 50 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 507 includes a display interface in the embodiment of the present application;
a processor 510, configured to detect a remaining power of a battery when receiving a communication connection with a target contact through the first communication software, where the first communication software is third-party communication software; under the condition that the residual electric quantity is lower than a first preset electric quantity, acquiring target communication software from each piece of installed communication software; the communication contact persons of the target communication software comprise the target contact persons, and the power consumption of the target communication software is lower than that of the first communication software; and establishing communication connection with the target contact through the target communication software.
According to the electronic equipment provided by the embodiment of the application, the residual electric quantity of the battery is detected under the condition that the communication connection with the target contact person is established through first communication software, wherein the first communication software is third-party communication software; under the condition that the residual electric quantity is lower than a first preset electric quantity, target communication software which contains a target contact person in the communication contact persons and has lower power consumption than that of the first communication software is obtained from each piece of installed communication software; and establishing communication connection with the target contact person through the target communication software. In the process of carrying out communication connection by using the third-party communication software, under the condition that the residual electric quantity of the electronic equipment is in the first preset electric quantity, the communication connection between the user and the target contact person can be always established by using the communication software with lower power consumption in the electronic equipment, so that when the electronic equipment is in a low-power state, the power consumption is reduced, the residual electric quantity of the battery is reasonably utilized to communicate with the target contact person, and the communication time of the user and the target contact person is effectively prolonged.
Optionally, the processor 510 is specifically configured to, when the remaining power is lower than the first preset power and higher than a second preset power, obtain second communication software from each installed third-party communication software, and select target communication software from each second communication software; the second preset electric quantity is lower than the first preset electric quantity, the communication contact of the second communication software comprises the target contact, and the power consumption of the target communication software is lower than that of the first communication software; and under the condition that the residual electric quantity is lower than a second preset electric quantity, determining the built-in communication software as target communication software.
Optionally, the processor 510 is specifically configured to obtain a first power consumption ranking of the third-party communication software; and selecting the target communication software with the lowest power consumption from the second communication software according to the first power consumption sequence.
Optionally, the processor 510 is further configured to, after establishing a communication connection with a target contact through the target communication software, turn off the first communication software if the target communication software is not the first communication software.
Optionally, the processor 510 is further configured to, when the remaining power is lower than the first preset power and higher than the second preset power, obtain second communication software from each installed third-party communication software, and output a prompt message after selecting a target communication software from each second communication software, where the prompt message is used to prompt to use built-in communication software for communication.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the software testing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the communication connection method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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, method, article, or apparatus 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, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A communication connection method is applied to an electronic device, and the method comprises the following steps:
detecting the residual electric quantity of a battery under the condition of receiving the communication connection established between the first communication software and a target contact person, wherein the first communication software is third-party communication software;
under the condition that the residual electric quantity is lower than a first preset electric quantity, acquiring target communication software from each piece of installed communication software; the communication contact persons of the target communication software comprise the target contact persons, and the power consumption of the target communication software is lower than that of the first communication software;
and establishing communication connection with the target contact through the target communication software.
2. The method according to claim 1, wherein the step of acquiring the target communication software from each installed communication software in case that the remaining power is lower than a first preset power comprises:
under the condition that the residual electric quantity is lower than the first preset electric quantity and higher than a second preset electric quantity, acquiring second communication software from each installed third-party communication software, and selecting target communication software from each second communication software; the second preset electric quantity is lower than the first preset electric quantity, the communication contact of the second communication software comprises the target contact, and the power consumption of the target communication software is lower than that of the first communication software;
or, determining the built-in communication software as the target communication software when the remaining power is lower than the second preset power.
3. The method of claim 2, wherein the step of selecting the target communication software from each of the second communication software comprises:
acquiring a first power consumption sequence of third-party communication software;
and selecting the target communication software with the lowest power consumption from the second communication software according to the first power consumption sequence.
4. The method of claim 1, wherein after the step of establishing a communication connection with a target contact through the target communication software, the method further comprises:
in the event that the target communication software is not the first communication software, shutting down the first communication software.
5. The method according to claim 2, wherein after the steps of acquiring second communication software from each of the installed third-party communication software and selecting target communication software from each of the second communication software, in the case where the remaining power is lower than the first preset power and higher than the second preset power, the method further comprises:
and outputting prompt information which is used for prompting the communication using the built-in communication software.
6. A communication connection device applied to an electronic device, the device comprising:
the detection module is used for detecting the residual electric quantity of the battery under the condition of receiving the condition that the communication connection with the target contact person is established through the first communication software, wherein the first communication software is third-party communication software;
the selection module is used for acquiring target communication software from the installed communication software under the condition that the residual electric quantity is lower than a first preset electric quantity; the communication contact persons of the target communication software comprise the target contact persons, and the power consumption of the target communication software is lower than that of the first communication software;
and the connection module is used for establishing communication connection with the target contact through the target communication software.
7. The apparatus of claim 6, wherein the selection module comprises:
a first selection unit, configured to, when the remaining power is lower than the first preset power and higher than a second preset power, acquire second communication software from each installed third-party communication software, and select target communication software from each second communication software; the second preset electric quantity is lower than the first preset electric quantity, the communication contact of the second communication software comprises the target contact, and the power consumption of the target communication software is lower than that of the first communication software;
and the second selection unit is used for determining the built-in communication software as the target communication software under the condition that the residual electric quantity is lower than a second preset electric quantity.
8. The apparatus of claim 7, wherein the first selecting unit comprises:
the acquiring subunit is used for acquiring a first power consumption sequence of the third-party communication software;
and the selecting subunit is used for selecting the target communication software with the lowest power consumption from the second communication software according to the first power consumption sequence.
9. The apparatus of claim 6, further comprising:
and the closing module is used for closing the first communication software under the condition that the target communication software is not the first communication software after the communication connection is established with the target contact through the target communication software.
10. The apparatus of claim 7, further comprising:
and the prompting module is used for acquiring second communication software from each installed third-party communication software under the condition that the residual electric quantity is lower than the first preset electric quantity and higher than the second preset electric quantity, and outputting prompting information after target communication software is selected from each second communication software, wherein the prompting information is used for prompting the communication using built-in communication software.
CN202011271268.0A 2020-11-13 2020-11-13 Communication connection method, device, electronic equipment and readable storage medium Active CN112601269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011271268.0A CN112601269B (en) 2020-11-13 2020-11-13 Communication connection method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011271268.0A CN112601269B (en) 2020-11-13 2020-11-13 Communication connection method, device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112601269A true CN112601269A (en) 2021-04-02
CN112601269B CN112601269B (en) 2023-08-15

Family

ID=75182957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011271268.0A Active CN112601269B (en) 2020-11-13 2020-11-13 Communication connection method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112601269B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040268159A1 (en) * 2003-06-30 2004-12-30 Microsoft Corporation Power profiling
US20110154007A1 (en) * 2009-12-23 2011-06-23 Nokia Corporation Low energy boot options for devices
CN106604373A (en) * 2016-11-28 2017-04-26 深圳市金立通信设备有限公司 Method for managing power consumption and terminal
US20180167981A1 (en) * 2016-12-14 2018-06-14 American Megatrends, Inc. Methods and systems of establishing communication between devices
CN108566475A (en) * 2018-03-22 2018-09-21 广东欧珀移动通信有限公司 Contact person information processing method and device, electronic equipment, storage medium
US20190053065A1 (en) * 2015-01-19 2019-02-14 Sony Corporation Resource management device, resource management method, and device and method in communication system
US20190163250A1 (en) * 2017-11-30 2019-05-30 Samsung Electronics Co., Ltd Apparatus and method for managing power consumption in electronic device
CN110290270A (en) * 2019-06-27 2019-09-27 维沃移动通信有限公司 Theft preventing method and mobile terminal
CN111158455A (en) * 2019-12-27 2020-05-15 惠州Tcl移动通信有限公司 Power consumption control method and device, storage medium and terminal
CN111431250A (en) * 2020-05-28 2020-07-17 维沃移动通信有限公司 Electric quantity display method and device and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040268159A1 (en) * 2003-06-30 2004-12-30 Microsoft Corporation Power profiling
US20110154007A1 (en) * 2009-12-23 2011-06-23 Nokia Corporation Low energy boot options for devices
US20190053065A1 (en) * 2015-01-19 2019-02-14 Sony Corporation Resource management device, resource management method, and device and method in communication system
CN106604373A (en) * 2016-11-28 2017-04-26 深圳市金立通信设备有限公司 Method for managing power consumption and terminal
US20180167981A1 (en) * 2016-12-14 2018-06-14 American Megatrends, Inc. Methods and systems of establishing communication between devices
US20190163250A1 (en) * 2017-11-30 2019-05-30 Samsung Electronics Co., Ltd Apparatus and method for managing power consumption in electronic device
CN108566475A (en) * 2018-03-22 2018-09-21 广东欧珀移动通信有限公司 Contact person information processing method and device, electronic equipment, storage medium
CN110290270A (en) * 2019-06-27 2019-09-27 维沃移动通信有限公司 Theft preventing method and mobile terminal
CN111158455A (en) * 2019-12-27 2020-05-15 惠州Tcl移动通信有限公司 Power consumption control method and device, storage medium and terminal
CN111431250A (en) * 2020-05-28 2020-07-17 维沃移动通信有限公司 Electric quantity display method and device and electronic equipment

Also Published As

Publication number Publication date
CN112601269B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
EP3502889B1 (en) Method and device for preloading application, storage medium, and terminal device
US20220035435A1 (en) Management of near field communications using a low power express mode of an electronic device
US8532716B2 (en) Electric power control method and mobile device adapted thereto
CN107734616B (en) Application program closing method and device, storage medium and electronic equipment
CN109947496B (en) Application program preloading method and device, storage medium and mobile terminal
CN109947497B (en) Application program preloading method and device, storage medium and mobile terminal
KR101941510B1 (en) Method for saving power consumption and an electronic device thereof
CN106786962B (en) Charging control method and device and terminal
CN107843802A (en) Internal short-circuit detection method and device
KR20100072857A (en) Controlling method of interrupt and potable device using the same
CN107302633B (en) Application control method, device, storage medium and electronic equipment
CN110636598B (en) Terminal power saving control method and device, mobile terminal and storage medium
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN106532876B (en) Power supply control method and device and computer equipment
KR20130046861A (en) Apparatus and method for determining battery current consumption in portable terminal
CN112311029B (en) Charging method, electronic device and storage medium
CN109217411B (en) Charging method and device and electronic equipment
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN109256825B (en) Charging method and electronic device
RU2008141845A (en) SYSTEM AND METHOD FOR COMMUNICATION COMMUNICATION IN THE MIDDLE FIELD FOR A MOBILE MULTIFUNCTIONAL DEVICE WHEN THE BATTERY OF THIS DEVICE IS NOT CHARGED OR IS CHARGED ONLY PARTIALLY
EP1986406B1 (en) System and method for recognizing external device by portable terminal
CN113451669A (en) Charging method and device, electronic device and storage medium
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN113572210A (en) Charging method, device, equipment and storage medium
CN110888093A (en) Display screen connection detection method and device, computer readable storage medium and terminal

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