CN113411449A - Communication mode switching method, device electronic equipment and readable storage medium - Google Patents

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

Info

Publication number
CN113411449A
CN113411449A CN202110688316.4A CN202110688316A CN113411449A CN 113411449 A CN113411449 A CN 113411449A CN 202110688316 A CN202110688316 A CN 202110688316A CN 113411449 A CN113411449 A CN 113411449A
Authority
CN
China
Prior art keywords
information
application program
condition
target
module
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
Application number
CN202110688316.4A
Other languages
Chinese (zh)
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 Software Technology Co Ltd
Original Assignee
Vivo Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Software Technology Co Ltd filed Critical Vivo Software Technology Co Ltd
Priority to CN202110688316.4A priority Critical patent/CN113411449A/en
Publication of CN113411449A publication Critical patent/CN113411449A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a communication mode switching method, a communication mode switching device, electronic equipment and a readable storage medium, and belongs to the technical field of communication, wherein the method comprises the following steps: acquiring first information in the process of carrying out voice communication through a first application program; under the condition that the first information meets the target condition, searching a target contact corresponding to second information of the current call object from a second application program, wherein the second information comprises: at least one of account information and remark information of the call object in the first application program; and switching the conversation of the first application program to a second application program based on the target contact person.

Description

Communication mode switching method, device electronic equipment and readable storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, and in particular relates to a communication mode switching method and device, electronic equipment and a readable storage medium.
Background
At present, there are two main communication modes: and making a call and establishing communication connection through a real-time communication application program. With the rapid development of networks, more and more users select the latter to communicate, and compared with the calling, the real-time communication application program can not only provide good communication experience for the users, but also save telephone expense.
At present, when communication is carried out through a real-time communication application program, a telephone number can be manually dialed to be switched to telephone communication, but the operation is complex when the communication is switched from a telephone communication mode to the real-time communication application program. The specific process comprises the following steps: the method comprises the following steps: informing the other party to switch to a real-time communication application program for communication in the telephone communication process; step two: any party in the call manually hangs up the call; step three: both sides open the appointed real-time communication application program; step four: any one of the two parties searches the contact information of the other party in the real-time communication application program and establishes communication connection with the contact information, and the whole communication mode switching process is complicated.
Disclosure of Invention
An object of the embodiments of the present application is to provide a communication method switching method, an apparatus, an electronic device, and a readable storage medium, which can solve the problem in the prior art that a communication method switching process is complicated.
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 method for switching a communication method, where the method includes: acquiring first information in the process of carrying out voice communication through a first application program;
under the condition that the first information meets the target condition, searching a target contact corresponding to second information of the current call object from a second application program, wherein the second information comprises: at least one of account information and remark information of the call object in the first application program; and switching the conversation of the first application program to a second application program based on the target contact person.
In a second aspect, an embodiment of the present application provides a communication method switching apparatus, where the apparatus includes: the acquisition module is used for acquiring first information in the process of carrying out voice call through a first application program; the searching module is configured to search, from a second application program, a target contact corresponding to second information of a current call object when the first information meets a target condition, where the second information includes: at least one of account information and remark information of the call object in the first application program; and the switching module is used for switching the conversation of the first application program into a second application program based on the target contact person.
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, first information is acquired in the process of carrying out voice communication through a first application program; under the condition that the first information meets the target condition, searching a target contact corresponding to the second information of the current call object from the second application program; the conversation of the first application program is switched to the second application program based on the target contact person, the system can be automatically switched to the second application program for conversation in the conversation process of the first application program, and a user does not need to execute complicated communication mode switching operation.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be 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 that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a communication method switching method according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a call content processing flow according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a communication method switching apparatus according to an embodiment of the present application;
fig. 4 is a block diagram showing a configuration of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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 method switching 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 method switching method according to an embodiment of the present application is shown.
The communication mode switching method of the embodiment of the application comprises the following steps:
step 101: the method comprises the steps of acquiring first information in the process of carrying out voice communication through a first application program.
The communication mode switching method provided by the embodiment of the application is suitable for electronic equipment, and the electronic equipment is any one piece of electronic equipment participating in conversation. The first application may include, but is not limited to: real-time communication-like applications and telephony applications.
Whether the user has a communication mode switching requirement or not can be judged through the acquired first information. Specifically, whether the user has a communication mode switching requirement is detected by judging whether the first information meets a target condition. In the process of performing voice call through the first application program, a user may express that there is a communication mode switching requirement by using call content or a specific trigger action, and a determination mode for determining whether the first information meets the target condition is not specifically limited in the embodiment of the present application.
Step 102: and under the condition that the first information meets the target condition, searching a target contact corresponding to the second information of the current call object from the second application program.
Wherein the second information includes: and at least one of account information and remark information of the call object in the first application program. Account information may include, but is not limited to: the telephone number and the remark information can be the nickname of the user to the call object.
Assuming that two parties of a call are a first user and a second user, if the electronic device of the first user executes the communication mode switching method provided by the embodiment of the application, the second user is a call object; if the communication mode switching method provided by the embodiment of the application is executed from the electronic device of the second user, the first user is a call target.
The communication mode switching method in the embodiment of the application needs to satisfy the following preconditions simultaneously when being executed: the first condition is as follows: the electronic equipment of the users of both parties of the call is provided with a second application program; and a second condition: the two electronic devices are both in a network connection state; and (3) carrying out a third condition: the account numbers of the second application programs of the users of the two parties of the call establish a friend relationship; the second application account of the call target user can be registered through the telephone number of the call target user.
Step 103: and switching the conversation of the first application program to the second application program based on the target contact person.
Because the communication mode needs to be switched, and the communication connection with the target contact in the second application program cannot be established during the voice call through the first application program, the current voice call connection needs to be cut off, and then the communication connection based on the second application program needs to be established.
The electronic equipment system can further judge the communication type under the condition that the first information acquired in the voice communication process judges that the user has the communication mode switching requirement, wherein the communication type comprises the following steps: video communication and voice communication; and establishing corresponding communication connection according to the determined communication type. Under the condition that the communication type is judged to be video communication, video communication connection is established with the target contact person; and under the condition that the communication type is judged to be voice communication, establishing voice communication connection with the target contact person. And after the communication connection with the target contact person is established in the second application program, displaying a call page of the second application program.
In one possible embodiment, a prompt message is output before the telephone call is disconnected, and is used to inquire whether the user performs the communication mode switching, and after receiving the input of the user indicating the switching, step 103 is executed. The feasible implementation mode can avoid the interference caused by the communication mode switched by mistake to the user when the switching requirement of the user is judged to be wrong.
According to the communication mode switching method provided by the embodiment of the application, first information is acquired in the process of carrying out voice communication through a first application program; under the condition that the first information meets the target condition, searching a target contact corresponding to the second information of the current call object from the second application program; the conversation of the first application program is switched to the second application program based on the target contact person, the system can be automatically switched to the second application program for conversation in the conversation process of the first application program, and a user does not need to execute complicated communication mode switching operation.
In an alternative embodiment, during the voice call through the first application, the step of acquiring the first information includes: in the process of carrying out voice call through the first application program, call content and user operation information are obtained.
After the call content and the user operation information are acquired, whether the first information meets the target condition or not is judged according to at least one of the call content and the user operation information, and therefore whether the user has a communication mode switching requirement or not is determined.
In the voice call process, the electronic equipment system automatically acquires the call content and the user operation information of the user in real time. The call content may be only the voice information of the user of the electronic device executing the process, or the voice information of the users of both parties of the call. The user operation information may include, but is not limited to: the method comprises the following operations of inclining the electronic equipment by a user, rotating the electronic equipment by the user, sliding a preset track on a screen of the electronic equipment by the user and the like. The user operation information can be detected by a gravity detection sensor, a direction sensor, a touch sensor arranged below a screen and the like in the electronic equipment.
It should be noted that, in the actual implementation process, only the call content or the user operation information may be acquired, and whether the user has a communication mode switching requirement is determined according to the call content or the user operation information.
The optional mode of combining the conversation content and the user operation information to judge whether the user has the communication mode switching requirement or not has more accurate judgment result.
In an optional embodiment, after obtaining the call content and the user operation information during the voice call through the first application program, the following method flow for arbitrarily detecting whether the user has a communication mode switching requirement may also be included:
the method comprises the following steps: determining whether the first information meets a target condition through the call content, and further determining whether a communication mode switching requirement exists in a user, wherein the method specifically comprises the following substeps:
the first substep: and converting the acquired call content into text information.
The sub-steps one to three in the present alternative embodiment are call content processing flows, and the call content processing flows will be described below with reference to fig. 2. As shown in fig. 2, the call content is input as input data to an ASR (Automatic Speech Recognition) module, and the call content is converted into text information by the ASR module; the converted text information is input into an NLU (Natural Language Understanding) module, and the NLU module analyzes the input text information and determines whether the text information contains a preset keyword.
And a second substep: and identifying whether the character information contains preset keywords or not.
The preset keywords can represent the communication mode switching intention, for example: the preset keywords can be set as switching xxx real-time communication application programs, and switching to the xxx real-time communication application programs, switching voice calls, switching video calls and the like.
The recognition result of the NLU module to the text information mainly includes three types: three possibilities of switching voice of xxx real-time communication application, video of xxx real-time communication application and 'no'. If the analyzed result of the NLU module is 'voice of the transit xxx real-time communication application program' and 'video of the transit xxx real-time communication application program', the fact that a user has a requirement for switching the communication mode is indicated; and if the analysis result of the NLU module is 'no', the fact that the user does not have the requirement for switching the communication mode is shown.
And a third substep: and under the condition that the character information contains preset keywords, determining that the first information meets the target condition.
If the first information meets the target condition, the conversation content of the user indicates to switch the communication mode.
The method comprises the following steps: determining whether the first information meets a target condition through user operation information, and further determining whether a communication mode switching requirement exists in a user, wherein the method specifically comprises the following substeps:
and a fourth substep: and determining the posture parameter variation of the electronic equipment through the user operation information.
The pose parameters may include, but are not limited to: the tilt angle and the rotation angle of the electronic device, etc.
Taking the attitude parameter as the inclination angle of the electronic device as an example, the inclination angle of the electronic device before the user operation information is detected is a, the inclination angle of the electronic device after the user operation information is detected is b, and calculating the difference between a and b, wherein the obtained difference is the variation of the attitude parameter of the electronic device. Similarly, when the attitude parameter is the rotation angle of the electronic device, the variation of the attitude parameter of the electronic device can be determined.
And a fifth substep: and under the condition that the attitude parameter variation meets the preset condition, determining that the first information meets the target condition.
If the first information meets the target condition, the user operation information indicates switching the communication mode.
The preset conditions can be set by those skilled in the art according to actual requirements, for example: and respectively setting a variation threshold for each attitude parameter, and determining that the user operation information meets the target condition under the condition that the attitude parameter variation is greater than the preset variation threshold.
The mode of optionally judging the call content or the user operation information has small calculation amount and high accuracy of the judgment result.
In the actual implementation process, it can also be set that the user is determined that the communication mode switching requirement exists only when the call content and the user operation information both meet the target conditions. The electronic device is preset with a call content determination rule and a user operation information determination rule, and the specific determination rule is not specifically limited in this embodiment.
In an optional embodiment, when the second information is first application account information and the application account information is a phone number, and when the first information meets a target condition, a method for searching a target contact corresponding to the second information of the current call target includes the following steps:
the method comprises the following steps: and under the condition that the first information meets the target condition, searching whether a target contact corresponding to the telephone number of the current call object exists in a contact list of the second application program.
The target contact person exists in the contact person list, and the target contact person is a friend of the user.
Step two: and under the condition that the target contact exists in the contact list, taking the target contact as an object to be connected.
After the target contact is taken as the object to be connected, the step of switching the call of the first application program to the second application program based on the target contact can be directly executed.
Step three: and searching the second application program for the contact corresponding to the telephone number under the condition that the target contact does not exist in the contact list.
If the second application program on the electronic equipment of the current call object is started to add the friend authority through the telephone number, the contact person corresponding to the telephone number can be searched in the contact person searching interface, wherein the friend authority added through the telephone number of the second application program can be opened through the following operation flow: and sequentially selecting a setting of privacy and a mode of adding me in the second application program, and opening the authority. After searching the contact corresponding to the phone number, the user can add the friend by clicking a + search box of the home page of the second application program to input the phone number).
Step one shows a method for judging whether the target contact person is an added friend by searching whether the target contact person corresponding to the telephone number of the current call object exists in the contact person list of the second application program. In the actual implementation process, after the system of the electronic device searches for the contact corresponding to the phone number of the current call object, whether the contact is added as a friend can be judged according to whether voice or video communication connection can be established with the searched contact.
Step four: and outputting first prompt information under the condition that the contact corresponding to the telephone number is searched.
The first prompt message is used for prompting the user to add the contact person.
Step five: and outputting second prompt information under the condition that the contact corresponding to the telephone number is not searched.
The second prompt message is used for prompting that a second application program of the opposite-end device of the user does not start a telephone number to add friend authority, or prompting that the telephone number of the user does not register a second application program account. And the opposite terminal equipment is the electronic equipment of the call object. The second prompt message may be set to "the account of the current call object does not exist, or the second application of the current call object does not open the phone number and add friend authority |)! ".
The optional method for searching the target contact is high in searching efficiency, and the user can be guided to add the contact as a friend by outputting corresponding prompt information under the condition that the contact is not added.
In the above description, the contact searching process is described by taking the first information as the telephone number as an example, and in the actual implementation process, because the remark information of some contacts with specific relationships in different application programs has consistency or similarity, the contact corresponding to the current call object can be searched in the second application program according to the remark information of the current call object in the first application program. For example: the remark information of the current call object in the first application program of the user is 'mother', the contact person 'mother' can be searched in the second application program, and if the contact person 'mother' is searched, the contact person can be regarded as the corresponding contact person of the current call object in the second application program.
It should be noted that, in the communication method switching method provided in the embodiment of the present application, the execution main body may be a communication method switching device, or a control module in the communication method switching device for executing the communication method switching method. In the embodiment of the present application, a method for performing a communication mode switching by a communication mode switching device is taken as an example, and a device for performing a communication mode switching provided in the embodiment of the present application is described.
Fig. 3 is a block diagram of a communication mode switching device according to an embodiment of the present disclosure.
The communication method switching apparatus shown in fig. 3 is used to implement the communication method switching method shown in fig. 1. The communication method switching apparatus 300 according to the embodiment of the present application includes:
an obtaining module 301, configured to obtain first information during a voice call performed through a first application;
a searching module 302, configured to search, in a second application program, a target contact corresponding to second information of a current call object when the first information meets a target condition, where the second information includes: at least one of account information and remark information of the call object in the first application program;
a switching module 303, configured to switch the call of the first application program to a second application program based on the target contact.
Optionally, the obtaining module is specifically configured to: in the process of carrying out voice call through the first application program, call content and user operation information are obtained.
Optionally, the apparatus further comprises: the conversion module is used for converting the acquired call content into character information after the acquisition module acquires the call content and the user operation information; the recognition module is used for recognizing whether the character information contains preset keywords or not; the first determining module is used for determining that the first information meets a target condition under the condition that the text information contains the preset keywords; or, the second determining module is configured to determine a variation of the attitude parameter of the electronic device according to the user operation information; and the third determining module is used for determining that the first information meets the target condition under the condition that the posture parameter variation meets the preset condition.
Optionally, the search module includes: the first sub-module is used for searching whether a target contact corresponding to the telephone number of the current call object exists in a contact list of the second application program or not under the condition that the second information is first application program account information and the application program account information is a telephone number and the first information meets a target condition; the second sub-module is used for taking the target contact as an object to be connected under the condition that the target contact exists in the contact list; the third sub-module is used for searching a contact corresponding to the telephone number in the second application program under the condition that the target contact does not exist in the contact list; and the fourth sub-module is used for outputting first prompt information under the condition that the contact corresponding to the telephone number is searched, wherein the first prompt information is used for prompting a user to add the contact.
Optionally, the search module further includes: and a fifth sub-module, configured to output second prompt information when a contact corresponding to the phone number is not searched, where the second prompt information is used to prompt the user that the second application program of the peer device does not start a phone number and add a friend permission, or is used to prompt the user that the phone number does not register in the second application program account.
The communication mode switching device provided by the embodiment of the application acquires first information in the process of carrying out voice communication through a first application program; under the condition that the first information meets the target condition, searching a target contact corresponding to the second information of the current call object from the second application program; the conversation of the first application program is switched to the second application program based on the target contact person, the system can be automatically switched to the second application program for conversation in the conversation process of the first application program, and a user does not need to execute complicated communication mode switching operation.
The communication method switching device shown in fig. 3 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 Network Attached Storage (NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The communication method switching device shown in fig. 3 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The communication method switching device shown in fig. 2 provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the communication method switching method embodiment, and can achieve the same technical effect, and no further description is provided 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 500 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 510, and the like. Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply 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 processor 510 is configured to obtain first information during a voice call through a first application; under the condition that the first information meets the target condition, searching a target contact corresponding to second information of the current call object from a second application program, wherein the second information comprises: at least one of account information and remark information of the call object in the first application program; and switching the conversation of the first application program to a second application program based on the target contact person.
The electronic equipment provided by the embodiment of the application acquires first information in the process of carrying out voice call through the first application program; under the condition that the first information meets the target condition, searching a target contact corresponding to the second information of the current call object from the second application program; the conversation of the first application program is switched to the second application program based on the target contact person, the electronic equipment can be automatically switched to the second application program for conversation in the conversation process of the first application program, and a user does not need to execute complicated communication mode switching operation.
Optionally, when the processor 510 acquires the first information during the voice call through the first application, the processor is specifically configured to: in the process of carrying out voice call through the first application program, call content and user operation information are obtained.
Optionally, the processor 510, after acquiring the call content and the user operation information during the voice call through the first application program, is further configured to: converting the acquired call content into text information; identifying whether the character information contains preset keywords or not; determining that the first information meets a target condition under the condition that the text information contains the preset keywords; or determining the posture parameter variation of the electronic equipment through the user operation information; and under the condition that the attitude parameter variation meets a preset condition, determining that the first information meets a target condition.
Optionally, when the second information is first application account information and the application account information is a phone number, and when the first information meets a target condition, the processor 510 searches for a target contact corresponding to the second information of the current call target from the second application, and is specifically configured to: under the condition that the first information meets the target condition, searching whether a target contact corresponding to the telephone number of the current call object exists in a contact list of the second application program or not; taking the target contact as an object to be connected under the condition that the target contact exists in the contact list; searching a contact corresponding to the telephone number in the second application program under the condition that the target contact does not exist in the contact list; and under the condition that the contact person corresponding to the telephone number is searched, outputting first prompt information, wherein the first prompt information is used for prompting a user to add the contact person.
Optionally, the processor 510 is further configured to, after searching for the contact corresponding to the phone number in the second application, output second prompt information when the contact corresponding to the phone number is not searched, where the second prompt information is used to prompt the second application of the peer device of the user that the phone number adding friend authority is not started, or is used to prompt the user that the phone number does not register in the second application account.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 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 processor 510.
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 embodiment of the communication method, 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 mode switching method embodiment, and can achieve the same technical effect, and is not described herein again 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 computer 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, 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 (12)

1. A communication mode switching method is characterized by comprising the following steps:
acquiring first information in the process of carrying out voice communication through a first application program;
under the condition that the first information meets the target condition, searching a target contact corresponding to second information of the current call object from a second application program, wherein the second information comprises: at least one of account information and remark information of the call object in the first application program;
and switching the conversation of the first application program to a second application program based on the target contact person.
2. The method of claim 1, wherein obtaining the first information during the voice call through the first application comprises:
in the process of carrying out voice call through the first application program, call content and user operation information are obtained.
3. The method according to claim 2, wherein after the step of acquiring call contents and user operation information during the voice call by the first application, the method further comprises:
converting the acquired call content into text information;
identifying whether the character information contains preset keywords or not;
determining that the first information meets a target condition under the condition that the text information contains the preset keywords;
or the like, or, alternatively,
determining the posture parameter variation of the electronic equipment through the user operation information;
and under the condition that the attitude parameter variation meets a preset condition, determining that the first information meets a target condition.
4. The method according to claim 1, wherein the step of searching for the target contact corresponding to the second information of the current call object from the second application program when the second information is the first application program account information and the application program account information is the telephone number and the first information meets the target condition comprises:
under the condition that the first information meets the target condition, searching whether a target contact corresponding to the telephone number of the current call object exists in a contact list of the second application program or not;
taking the target contact as an object to be connected under the condition that the target contact exists in the contact list;
searching a contact corresponding to the telephone number in the second application program under the condition that the target contact does not exist in the contact list;
and under the condition that the contact person corresponding to the telephone number is searched, outputting first prompt information, wherein the first prompt information is used for prompting a user to add the contact person.
5. The method of claim 4, wherein after the step of searching for the contact corresponding to the phone number in the second application, the method further comprises:
and under the condition that a contact corresponding to the telephone number is not searched, outputting second prompt information, wherein the second prompt information is used for prompting the user that the second application program of the opposite terminal equipment does not start the telephone number and add friend authority, or is used for prompting the user that the telephone number does not register in the account of the second application program.
6. A communication method switching apparatus, comprising:
the acquisition module is used for acquiring first information in the process of carrying out voice call through a first application program;
the searching module is configured to search, from a second application program, a target contact corresponding to second information of a current call object when the first information meets a target condition, where the second information includes: at least one of account information and remark information of the call object in the first application program;
and the switching module is used for switching the conversation of the first application program into a second application program based on the target contact person.
7. The apparatus of claim 6, wherein the obtaining module is specifically configured to:
in the process of carrying out voice call through the first application program, call content and user operation information are obtained.
8. The apparatus of claim 7, further comprising:
the conversion module is used for converting the acquired call content into character information after the acquisition module acquires the call content and the user operation information;
the recognition module is used for recognizing whether the character information contains preset keywords or not;
the first determining module is used for determining that the first information meets a target condition under the condition that the text information contains the preset keywords;
or the like, or, alternatively,
the second determining module is used for determining the posture parameter variation of the electronic equipment through the user operation information;
and the third determining module is used for determining that the first information meets the target condition under the condition that the posture parameter variation meets the preset condition.
9. The apparatus of claim 6, wherein the lookup module comprises:
the first sub-module is used for searching whether a target contact corresponding to the telephone number of the current call object exists in a contact list of the second application program or not under the condition that the second information is first application program account information and the application program account information is a telephone number and the first information meets a target condition;
the second sub-module is used for taking the target contact as an object to be connected under the condition that the target contact exists in the contact list;
the third sub-module is used for searching a contact corresponding to the telephone number in the second application program under the condition that the target contact does not exist in the contact list;
and the fourth sub-module is used for outputting first prompt information under the condition that the contact corresponding to the telephone number is searched, wherein the first prompt information is used for prompting a user to add the contact.
10. The apparatus of claim 9, wherein the lookup module further comprises:
and a fifth sub-module, configured to output second prompt information when a contact corresponding to the phone number is not searched, where the second prompt information is used to prompt the user that the second application program of the peer device does not start a phone number and add a friend permission, or is used to prompt the user that the phone number does not register in the second application program account.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the communication method switching method according to any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the communication method switching method according to any one of claims 1 to 5.
CN202110688316.4A 2021-06-21 2021-06-21 Communication mode switching method, device electronic equipment and readable storage medium Pending CN113411449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110688316.4A CN113411449A (en) 2021-06-21 2021-06-21 Communication mode switching method, device electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110688316.4A CN113411449A (en) 2021-06-21 2021-06-21 Communication mode switching method, device electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113411449A true CN113411449A (en) 2021-09-17

Family

ID=77682091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110688316.4A Pending CN113411449A (en) 2021-06-21 2021-06-21 Communication mode switching method, device electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113411449A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974361A (en) * 2013-01-30 2014-08-06 中兴通讯股份有限公司 Talk mode switching control method and device and terminal
CN104135556A (en) * 2014-08-14 2014-11-05 腾讯科技(深圳)有限公司 Call method and call device based on mobile terminal
CN106921778A (en) * 2015-12-25 2017-07-04 天津三星通信技术研究有限公司 For the communication means and communication equipment of electric terminal
CN108632453A (en) * 2018-03-28 2018-10-09 维沃移动通信有限公司 A kind of call method and mobile terminal
DE102017213999A1 (en) * 2017-08-10 2019-02-14 Deutsche Telekom Ag Method for increasing efficiency and / or error reduction during operation of a mobile radio communication network, network element of a mobile radio communication network or evaluation device for increasing efficiency and / or error reduction during operation of the mobile radio communication network, mobile radio communication network, computer program and computer program product
CN110971757A (en) * 2019-11-22 2020-04-07 珠海格力电器股份有限公司 Method and device for adding WeChat friends from telephone application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974361A (en) * 2013-01-30 2014-08-06 中兴通讯股份有限公司 Talk mode switching control method and device and terminal
CN104135556A (en) * 2014-08-14 2014-11-05 腾讯科技(深圳)有限公司 Call method and call device based on mobile terminal
CN106921778A (en) * 2015-12-25 2017-07-04 天津三星通信技术研究有限公司 For the communication means and communication equipment of electric terminal
DE102017213999A1 (en) * 2017-08-10 2019-02-14 Deutsche Telekom Ag Method for increasing efficiency and / or error reduction during operation of a mobile radio communication network, network element of a mobile radio communication network or evaluation device for increasing efficiency and / or error reduction during operation of the mobile radio communication network, mobile radio communication network, computer program and computer program product
CN108632453A (en) * 2018-03-28 2018-10-09 维沃移动通信有限公司 A kind of call method and mobile terminal
CN110971757A (en) * 2019-11-22 2020-04-07 珠海格力电器股份有限公司 Method and device for adding WeChat friends from telephone application

Similar Documents

Publication Publication Date Title
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN112751971A (en) Voice playing method and device and electronic equipment
CN113094143A (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN112711366A (en) Image generation method and device and electronic equipment
CN113965614A (en) Session creation method and device and electronic equipment
CN113347306B (en) Business name display method and device, electronic equipment and storage medium
CN113993092A (en) Emergency call method, device, mobile terminal and network side equipment
CN113253903A (en) Operation method and operation device
CN112181351A (en) Voice input method and device and electronic equipment
CN114374663B (en) Message processing method and message processing device
CN111324262A (en) Application interface control method, device, terminal and medium
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN112929489B (en) Communication method and device
CN113593614B (en) Image processing method and device
CN113411449A (en) Communication mode switching method, device electronic equipment and readable storage medium
CN112383666B (en) Content sending method and device and electronic equipment
CN113778596A (en) Remote assistance method and device and electronic equipment
CN114374761A (en) Information interaction method and device, electronic equipment and medium
CN113660375B (en) Call method and device and electronic equipment
CN112446366A (en) Image translation evaluating method and device for image translation evaluating
CN113141297B (en) Chat prompting method, device, electronic equipment and medium
CN113709309B (en) Incoming call processing method and device, electronic equipment and readable storage medium
CN113114559B (en) Information display method, device and equipment
CN113691443B (en) Image sharing method and device and electronic equipment
CN113934456A (en) Control method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210917