CN106791567B - Switching method and terminal - Google Patents

Switching method and terminal Download PDF

Info

Publication number
CN106791567B
CN106791567B CN201611228784.9A CN201611228784A CN106791567B CN 106791567 B CN106791567 B CN 106791567B CN 201611228784 A CN201611228784 A CN 201611228784A CN 106791567 B CN106791567 B CN 106791567B
Authority
CN
China
Prior art keywords
terminal
network state
information
unit
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611228784.9A
Other languages
Chinese (zh)
Other versions
CN106791567A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611228784.9A priority Critical patent/CN106791567B/en
Publication of CN106791567A publication Critical patent/CN106791567A/en
Application granted granted Critical
Publication of CN106791567B publication Critical patent/CN106791567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a switching method, which can improve the display effect of a mobile terminal under the condition of poor network quality, and comprises the following steps: detecting a first network state between the first terminal and the second terminal in a first communication connection mode, and judging whether the first network state meets a switching condition, wherein the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted; when the network state is judged to meet the switching condition, converting the first voice information into first character information, wherein the first character information is character information corresponding to the first voice information; and displaying the first text information on a display interface.

Description

Switching method and terminal
Technical Field
The present invention relates to the field of communications, and in particular, to a handover method and a terminal.
Background
With the increasing maturity of communication technology, the forms of conversation performed by users using mobile terminals are also more and more abundant, such as: the requirement on the network quality is very high when a user carries out video call, and the discontinuity of videos and voices can be caused when the user carries out video call in a call environment with poor network quality, so that the use effect of the user is greatly influenced.
Currently, when a video call is performed under the condition of poor network quality, a mobile terminal instructs a user to switch the video call into a voice call
However, switching the video call to the voice call may reduce the display effect of the mobile terminal.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present invention are directed to providing a handover method and a terminal, which can improve a display effect of a mobile terminal under a condition of poor network quality.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a switching method, which is applied to a first terminal and comprises the following steps:
detecting a first network state between the first terminal and a second terminal in a first communication connection mode, and judging whether the first network state meets a switching condition, wherein the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted;
when the network state is judged to meet the switching condition, converting the first voice message into first character message, wherein the first character message is character message corresponding to the first voice message;
and displaying the first text information on a display interface.
In the above method, the detecting a first network status with the second terminal includes:
acquiring first transmission data which is in communication transmission with the second terminal;
and detecting the first network state according to the first transmission data.
In the above method, the determining whether the first network status satisfies a handover condition includes:
comparing the first transmission data with a preset transmission threshold value;
when the first transmission data is larger than the preset transmission threshold value, representing that the first network state does not meet a switching condition;
and when the first transmission data is smaller than the preset transmission threshold value, representing that the first network state meets the switching condition.
In the above method, after the displaying the first text information on the display interface, the method further includes:
and when the first network state is judged not to meet the switching condition, switching back to the first communication connection mode, and continuously realizing the synchronous display of the voice and the video.
In the above method, the displaying the first text information on a display interface includes:
typesetting the first text information at a preset position of the display page;
and synchronously displaying the typeset first text information and the typeset first video information on the preset position of the display interface.
An embodiment of the present invention provides a first terminal, where the first terminal includes:
the detection unit is used for detecting a first network state between the first terminal and the second terminal in a first communication connection mode and judging whether the first network state meets a switching condition or not, wherein the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted;
a conversion unit, configured to convert the first voice message into first text message when it is determined that the network state satisfies the switching condition, where the first text message is text message corresponding to the first voice message;
and the display unit is used for displaying the first text information on a display interface.
In the above first terminal, the first terminal further includes: an acquisition unit;
the acquiring unit is used for acquiring first transmission data which is in communication transmission with the second terminal;
the detection unit is specifically configured to detect the first network state according to the first transmission data.
In the above first terminal, the first terminal further includes: a judgment unit;
the judging unit is used for comparing the first transmission data with a preset transmission threshold value; when the first transmission data is larger than the preset transmission threshold value, representing that the first network state does not meet a switching condition; and when the first transmission data is smaller than the preset transmission threshold value, representing that the first network state meets the switching condition.
In the above first terminal, the first terminal further includes: a switching unit;
and the switching unit is used for switching back to the first communication connection mode to continuously realize the synchronous display of the voice and the video when the first network state is judged not to meet the switching condition.
In the above first terminal, the first terminal further includes: a typesetting unit;
the typesetting unit is used for typesetting the first character information at a preset position of the display page;
the display unit is specifically configured to synchronously display the typesetted first text information and the first video information at the preset position of the display interface.
The embodiment of the invention provides a switching method and a terminal, wherein a first network state between the terminal and a second terminal is detected in a first communication connection mode, whether the first network state meets a switching condition is judged, and the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted; when the network state is judged to meet the switching condition, converting the first voice information into first character information, wherein the first character information is character information corresponding to the first voice information; and displaying the first text information on a display interface. By adopting the technical implementation scheme, when the first terminal and the second terminal carry out video call, the first terminal detects the first network state, converts the first voice information into the first character information when the first network state meets the switching condition, and displays the first character information at the preset position of the display interface, so that the display effect of the first terminal is improved under the condition of poor network quality.
Drawings
Fig. 1 is a schematic hardware structure of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a communication system in which a mobile terminal of the present invention is capable of operating;
fig. 3 is a first flowchart of a handover method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an exemplary conversion of a first voice message into a first text message according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an exemplary first terminal displaying first text information according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an exemplary conversion of a first text message into a first voice message according to an embodiment of the present invention;
fig. 7 is a flowchart of a handover method according to an embodiment of the present invention;
fig. 8 is a first schematic structural diagram of a first terminal according to an embodiment of the present invention;
fig. 9 is a second schematic structural diagram of a first terminal according to an embodiment of the present invention;
fig. 10 is a third schematic structural diagram of a first terminal according to an embodiment of the present invention;
fig. 11 is a fourth schematic structural diagram of a first terminal according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a first terminal according to an embodiment of the present invention;
fig. 13 is a sixth schematic structural diagram of a first terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a PAD computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an audio/video (a/V) input unit 120, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, and the like. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include Wireless Local Area Network (WLAN) (Wi-Fi), wireless broadband (Wibro), worldwide interoperability for microwave access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a Global Positioning System (GPS). According to the current technology, the location information module 115, which is a GPS, calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 1220, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, etc. due to being touched), scroll wheel, joystick, etc. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User's Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to see from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a Transparent Organic Light Emitting Diode (TOLED) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the present invention are proposed.
Example one
An embodiment of the present invention provides a handover method, as shown in fig. 3, the method may include:
s101, detecting a first network state between the first terminal and the second terminal in a first communication connection mode, and judging whether the first network state meets a switching condition, wherein the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted.
The switching method provided by the embodiment of the invention is applied to the scene with poor network condition during video call.
In the embodiment of the invention, the first communication connection mode can be a video call mode, when a user carries out video call, the first video information can be displayed on a display page of the first terminal in real time, and the first voice information can be transmitted to the first terminal through a sound receiver such as an earphone in real time.
In the embodiment of the invention, when the first terminal and the second terminal carry out video call, the first terminal judges whether the current network condition meets the switching condition or not by detecting the network condition between the first terminal and the second terminal.
Optionally, in the embodiment of the present invention, the parameter for detecting the network state may be a transmission speed, a number of received packets, and the like, which is specifically selected according to an actual situation, and the embodiment of the present invention is not specifically limited.
In the embodiment of the invention, a preset time period is arranged in the first terminal, when the preset time period is reached, the first terminal acquires a value of first transmission data between the first terminal and the second terminal, and the value of the first transmission data is compared with a preset transmission threshold value; when the numerical value of the first transmission data is larger than a preset transmission threshold value, the network state between the first terminal and the second terminal is represented to be good, and the network state does not meet the switching condition; when the value of the first transmission data is smaller than the preset transmission threshold value, the network state between the current first terminal and the second terminal is represented to be poor, and the first network state at the moment meets the switching condition.
Optionally, in this embodiment of the present invention, the first terminal may initiate a first communication connection with the second terminal, and the second terminal agrees to perform the first communication connection with the first terminal; the second terminal may initiate a first communication connection with the first terminal, and the first terminal agrees to perform the first communication connection with the second terminal.
And S102, when the network state is judged to meet the switching condition, converting the first voice information into first character information, wherein the first character information is character information corresponding to the first voice information.
And the first terminal completes the operation of converting the first voice information into the first text information according to the detected network state.
In the embodiment of the present invention, when the value of the first transmission data is smaller than the preset transmission threshold, the network state difference between the current first terminal and the current second terminal is represented, and the switching condition is satisfied, at this time, the first voice information needs to be converted into the first text information.
In the embodiment of the invention, the first terminal acquires the second voice information in the preset time period according to the preset strategy, converts the second voice information into the corresponding second text information, then acquires the third voice information in the next preset time period, and completes the corresponding conversion operation.
For example, as shown in fig. 4, when a user a uses a mobile phone a to perform a video call with a user B, when poor network quality is detected, a dialog box of "whether to convert voice into text" pops up on a display page of the mobile phone a, and when the user a clicks a "confirm" button below, the mobile phone a converts the received voice into text; when the user a clicks the "cancel" button below, the mobile phone a continues the video call therebetween.
S103, displaying the first character information on a display interface.
After the first terminal converts the first voice message into the first text message, the first terminal displays the first voice message on the display interface.
In the embodiment of the invention, the first terminal reserves a preset display position for the first text information on the display interface, and after the first terminal typesets the first text information, the first text information and the first video information after typesetting are displayed at the preset position on the display interface.
For example, as shown in fig. 5, the text information displayed in the area a of the display screen of the mobile phone a is the voice information sent by the mobile phone B to the mobile phone a, and the non-area a of the display screen of the mobile phone a is the video information sent by the mobile phone B to the mobile phone a.
Further, the first terminal detects the first network state, and when the first network is judged not to meet the switching condition, the first terminal switches back to the first communication connection mode to continue to realize synchronous display of voice and video.
For example, as shown in fig. 6, when the network quality of the mobile phone a is good, the display page of the mobile phone a pops up a dialog box of "whether to convert characters into voice", and when the user a clicks the "confirm" button below, the mobile phone a performs a video call with the mobile phone B; when the user A clicks the 'cancel' button on the lower part, the mobile phone A continues to convert the received voice into characters.
It can be understood that when the first terminal and the second terminal carry out a video call, the first terminal detects the first network state, and when the first network state meets the switching condition, the first voice information is converted into the first text information, and the first text information is displayed at the preset position of the display interface, and the display effect of the first terminal is improved under the condition of poor network quality.
Example two
An embodiment of the present invention provides a handover method, as shown in fig. 7, the method may include:
s201, a first communication connection is established between the first terminal and the second terminal, and a first communication connection mode is entered, wherein the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted.
The switching method provided by the embodiment of the invention is applied to the scene with poor network condition during video call.
Optionally, in this embodiment of the present invention, the first terminal may initiate a first communication connection with the second terminal, and the second terminal agrees to perform the first communication connection with the first terminal; the second terminal may initiate a first communication connection with the first terminal, and the first terminal agrees to perform the first communication connection with the second terminal.
In the embodiment of the invention, the first communication connection mode can be a video call mode, when a user carries out video call, the first video information can be displayed on a display page of the first terminal in real time, and the first voice information can be transmitted to the first terminal through a sound receiver such as an earphone in real time.
S202, under the first communication connection mode, the first terminal obtains first transmission data which are in communication transmission with the second terminal.
When the first terminal establishes a first communication connection with the second terminal, the first terminal acquires first transmission data when a preset time period is reached.
In the embodiment of the invention, when the first terminal and the second terminal carry out video call, the time inside the first terminal starts to be started, when the preset time period is reached, the first terminal acquires the value of the first transmission data between the first terminal and the second terminal,
s203, the first terminal detects a first network state according to the first transmission data.
After the first terminal acquires the first transmission data, the first terminal detects the first network state according to the first transmission data.
In the embodiment of the invention, the first terminal detects the first network state by detecting the size of the first transmission data in real time.
Optionally, in the embodiment of the present invention, the parameter for detecting the network state may be a transmission speed, a number of received packets, and the like, which is specifically selected according to an actual situation, and the embodiment of the present invention is not specifically limited.
S204, the first terminal compares the first transmission data with a preset transmission threshold value.
After the first terminal acquires the size of the first transmission data in real time, the first terminal compares the first transmission data with a preset transmission threshold value to judge that the first network state is up.
In the embodiment of the invention, the first terminal is internally preset with the preset transmission threshold, and after the first terminal acquires the first transmission data, the first terminal compares the first transmission data with the preset transmission threshold.
S205, when the first transmission data is larger than a preset transmission threshold value, the first network state is represented to not meet the switching condition.
And the first terminal judges whether the first network state meets the switching condition or not according to the comparison result of the first transmission data and the preset threshold value.
In the embodiment of the invention, when the value of the first transmission data is greater than the preset transmission threshold value, the network state between the first terminal and the second terminal is good, and the network state does not meet the switching condition.
And S206, when the first transmission data is smaller than the preset transmission threshold value, representing that the first network state meets the switching condition.
And the first terminal judges whether the first network state meets the switching condition or not according to the comparison result of the first transmission data and the preset threshold value.
In the embodiment of the invention, when the value of the first transmission data is smaller than the preset transmission threshold value, the network state between the current first terminal and the second terminal is represented to be poor, and the first network state at the moment meets the switching condition.
Step S205 and step S206 are two parallel steps after step S204, which are specifically selected according to actual situations, and the embodiment of the present invention is not limited specifically.
And S207, when the first terminal judges that the network state meets the switching condition, converting the first voice information into first character information by the first terminal, wherein the first character information is character information corresponding to the first voice information.
And the first terminal completes the operation of converting the first voice information into the first text information according to the detected network state.
In the embodiment of the present invention, when the value of the first transmission data is smaller than the preset transmission threshold, the network state difference between the current first terminal and the current second terminal is represented, and the switching condition is satisfied, at this time, the first voice information needs to be converted into the first text information.
In the embodiment of the invention, the first terminal acquires the second voice information in the preset time period according to the preset strategy, converts the second voice information into the corresponding second text information, then acquires the third voice information in the next preset time period, and completes the corresponding conversion operation.
For example, as shown in fig. 4, when a user a uses a mobile phone a to perform a video call with a user B, when poor network quality is detected, a dialog box of "whether to convert voice into text" pops up on a display page of the mobile phone a, and when the user a clicks a "confirm" button below, the mobile phone a converts the received voice into text; when the user a clicks the "cancel" button below, the mobile phone a continues the video call therebetween.
S208, the first terminal typesets the first text information at the preset position of the display page.
After the first terminal converts the first voice message into the first text message, the first terminal typesets the first text message.
In the embodiment of the invention, the first terminal typesets the first text information and changes the first text information into a text form which can be displayed on the display interface.
In the embodiment of the invention, the first terminal reserves a preset display position for the first text information on the display interface.
S209, the first terminal synchronously displays the typesetted first text information and the first video information on a preset position of a display interface.
After the first terminal typesets the first text information, the first text information after typesetting is displayed on the preset position of the display interface.
In the embodiment of the invention, the first terminal continues to display the first video information on the display interface, and displays the typesetted first text information at the preset position of the display interface.
For example, as shown in fig. 5, the text information displayed in the area a of the display screen of the mobile phone a is the voice information sent by the mobile phone B to the mobile phone a, and the non-area a of the display screen of the mobile phone a is the video information sent by the mobile phone B to the mobile phone a.
And S210, when the first terminal judges that the first network state does not meet the switching condition, the first terminal switches back to the first communication connection mode to continuously realize the synchronous display of the voice and the video.
After the first terminal displays the first text information on a display page of the first terminal, the first terminal detects a first network state in real time.
In the embodiment of the invention, when the first terminal detects that the first network state does not meet the switching condition, the first terminal switches back to the normal video call mode to synchronously display the video and the voice.
For example, as shown in fig. 6, when the network quality of the mobile phone a is good, the display page of the mobile phone a pops up a dialog box of "whether to convert characters into voice", and when the user a clicks the "confirm" button below, the mobile phone a performs a video call with the mobile phone B; when the user A clicks the 'cancel' button on the lower part, the mobile phone A continues to convert the received voice into characters.
It can be understood that when the first terminal and the second terminal carry out a video call, the first terminal detects the first network state, and when the first network state meets the switching condition, the first voice information is converted into the first text information, and the first text information is displayed at the preset position of the display interface, and the display effect of the first terminal is improved under the condition of poor network quality.
EXAMPLE III
An embodiment of the present invention provides a first terminal 1, and as shown in fig. 8, the first terminal 1 includes:
the detecting unit 10 is configured to detect a first network state between the first terminal and the second terminal in a first communication connection mode, and determine whether the first network state meets a switching condition, where the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted.
A converting unit 11, configured to convert the first voice message into first text message when it is determined that the network state satisfies the switching condition, where the first text message is a text message corresponding to the first voice message.
And the display unit 12 is used for displaying the first character information on a display interface.
Optionally, as shown in fig. 9 based on fig. 8, the first terminal 1 further includes: an acquisition unit 13.
The obtaining unit 13 is configured to obtain first transmission data for communication transmission with the second terminal.
The detecting unit 10 is specifically configured to detect the first network state according to the first transmission data.
Optionally, as shown in fig. 10 based on fig. 9, the first terminal 1 further includes: and a judging unit 14.
The judging unit 14 is configured to compare the first transmission data with a preset transmission threshold; when the first transmission data is larger than the preset transmission threshold value, representing that the first network state does not meet a switching condition; and when the first transmission data is smaller than the preset transmission threshold value, representing that the first network state meets the switching condition.
Optionally, as shown in fig. 11 based on fig. 8, the first terminal 1 further includes: a switching unit 15.
The switching unit 15 is specifically configured to switch back to the first communication connection mode when it is determined that the first network state does not satisfy the switching condition, and continue to implement synchronous display of voice and video.
Optionally, as shown in fig. 12 based on fig. 8, the first terminal further includes: and a typesetting unit 16.
The typesetting unit 16 is configured to typeset the first text information at a preset position of the display page.
The display unit 12 is specifically configured to synchronously display the typesetted first text information and the first video information at the preset position of the display interface.
As shown in fig. 13, in practical applications, the detecting unit 10, the converting unit 11, the obtaining unit 13, the judging unit 14, the switching unit 15, and the typesetting unit 16 may be implemented by a processor 17, specifically a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like, located on the first terminal 1, the displaying unit 12 may be implemented by a display 18, the first terminal 1 may further include a memory 19, and the memory 19 and the display 18 may be connected to the processor 17, where the memory 19 is used to store executable program codes, the program codes include computer operating instructions, and the memory 19 may include a high-speed RAM memory or may further include a nonvolatile memory, such as at least one disk memory.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (8)

1. A switching method is applied to a first terminal and comprises the following steps:
detecting a first network state between the first terminal and a second terminal in a first communication connection mode, and judging whether the first network state meets a switching condition, wherein the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted;
when the network state is judged to meet the switching condition, converting the first voice message into first character message, wherein the first character message is character message corresponding to the first voice message;
displaying the first text information on a display interface;
the displaying the first text information on a display interface includes:
typesetting the first text information at a preset position of the display page;
and synchronously displaying the typeset first text information and the typeset first video information on the preset position of the display interface so as to improve the display effect of the first terminal.
2. The method of claim 1, wherein the detecting the first network status with the second terminal comprises:
acquiring first transmission data which is in communication transmission with the second terminal;
and detecting the first network state according to the first transmission data.
3. The method of claim 2, wherein the determining whether the first network status satisfies a handover condition comprises:
comparing the first transmission data with a preset transmission threshold value;
when the first transmission data is larger than the preset transmission threshold value, representing that the first network state does not meet a switching condition;
and when the first transmission data is smaller than the preset transmission threshold value, representing that the first network state meets the switching condition.
4. The method of claim 1, wherein after displaying the first textual information on a display interface, the method further comprises:
and when the first network state is judged not to meet the switching condition, switching back to the first communication connection mode, and continuously realizing the synchronous display of the voice and the video.
5. A first terminal, characterized in that the first terminal comprises:
the detection unit is used for detecting a first network state between the first terminal and the second terminal in a first communication connection mode and judging whether the first network state meets a switching condition or not, wherein the first communication connection mode is a communication connection mode in which first video information and first voice information are synchronously interacted;
a conversion unit, configured to convert the first voice message into first text message when it is determined that the network state satisfies the switching condition, where the first text message is text message corresponding to the first voice message;
the display unit is used for displaying the first text information on a display interface;
the first terminal further comprises: a typesetting unit;
the typesetting unit is used for typesetting the first character information at a preset position of the display page;
the display unit is specifically configured to synchronously display the typesetted first text information and the first video information on the preset position of the display interface, so as to improve the display effect of the first terminal.
6. The first terminal of claim 5, wherein the first terminal further comprises: an acquisition unit;
the acquiring unit is used for acquiring first transmission data which is in communication transmission with the second terminal;
the detection unit is specifically configured to detect the first network state according to the first transmission data.
7. The first terminal of claim 6, wherein the first terminal further comprises: a judgment unit;
the judging unit is used for comparing the first transmission data with a preset transmission threshold value; when the first transmission data is larger than the preset transmission threshold value, representing that the first network state does not meet a switching condition; and when the first transmission data is smaller than the preset transmission threshold value, representing that the first network state meets the switching condition.
8. The first terminal of claim 5, wherein the first terminal further comprises: a switching unit;
and the switching unit is used for switching back to the first communication connection mode to continuously realize the synchronous display of the voice and the video when the first network state is judged not to meet the switching condition.
CN201611228784.9A 2016-12-27 2016-12-27 Switching method and terminal Active CN106791567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611228784.9A CN106791567B (en) 2016-12-27 2016-12-27 Switching method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611228784.9A CN106791567B (en) 2016-12-27 2016-12-27 Switching method and terminal

Publications (2)

Publication Number Publication Date
CN106791567A CN106791567A (en) 2017-05-31
CN106791567B true CN106791567B (en) 2020-02-18

Family

ID=58921956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611228784.9A Active CN106791567B (en) 2016-12-27 2016-12-27 Switching method and terminal

Country Status (1)

Country Link
CN (1) CN106791567B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491251B (en) * 2017-08-07 2021-06-15 努比亚技术有限公司 Mobile terminal and fingerprint control method
CN109257729A (en) * 2018-09-19 2019-01-22 Oppo广东移动通信有限公司 Method for message transmission, device, terminal and storage medium
CN112637613A (en) * 2020-11-16 2021-04-09 深圳市声扬科技有限公司 Live broadcast audio processing method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175264A (en) * 2006-10-31 2008-05-07 上海晨兴电子科技有限公司 Visual communication device
CN101521797A (en) * 2009-03-11 2009-09-02 深圳市融创天下科技发展有限公司 Digital television content transmitting system
CN102223406A (en) * 2011-06-09 2011-10-19 华平信息技术股份有限公司 System and method for network-based digitalized real-time transmission of video information
CN102244760A (en) * 2011-04-28 2011-11-16 大连亿创天地科技发展有限公司 Internet-based remote video consultation system
CN104468472A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 Data processing method and data processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175264A (en) * 2006-10-31 2008-05-07 上海晨兴电子科技有限公司 Visual communication device
CN101521797A (en) * 2009-03-11 2009-09-02 深圳市融创天下科技发展有限公司 Digital television content transmitting system
CN102244760A (en) * 2011-04-28 2011-11-16 大连亿创天地科技发展有限公司 Internet-based remote video consultation system
CN102223406A (en) * 2011-06-09 2011-10-19 华平信息技术股份有限公司 System and method for network-based digitalized real-time transmission of video information
CN104468472A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 Data processing method and data processing device

Also Published As

Publication number Publication date
CN106791567A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106909274B (en) Image display method and device
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN105468158B (en) Color adjustment method and mobile terminal
CN106302651B (en) Social picture sharing method and terminal with social picture sharing system
CN106911850B (en) Mobile terminal and screen capturing method thereof
CN106210286B (en) Parameter adjusting method and device for double-screen mobile terminal
CN105515619B (en) Bluetooth communication method and system
CN107092418B (en) Terminal and method for operating application floating window
CN106686672B (en) Network connection method and terminal
CN107018326B (en) Shooting method and device
CN106791567B (en) Switching method and terminal
CN106507418B (en) Cell reselection method and device based on signal strength and mobile terminal
CN106455009B (en) Network searching device and method
CN106453863B (en) Method and system for controlling terminal and earphone
CN106453883B (en) Intelligent terminal and message notification processing method thereof
CN105791541B (en) Screenshot method and mobile terminal
CN106161790B (en) Mobile terminal and control method thereof
CN105722246B (en) Network speed superposition device and method
CN109168029B (en) Method, device and computer-readable storage medium for adjusting resolution
CN107241497B (en) Mobile terminal and loudness output adjusting method
CN105959301B (en) Multimedia call optimization method and optimization system thereof
CN107197084B (en) Method for projection between mobile terminals and first mobile terminal
CN106569670B (en) Device and method for processing application
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN105094733B (en) Split screen display method and device

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