CN106341394A - Method and device for realizing voice call - Google Patents

Method and device for realizing voice call Download PDF

Info

Publication number
CN106341394A
CN106341394A CN201610716121.5A CN201610716121A CN106341394A CN 106341394 A CN106341394 A CN 106341394A CN 201610716121 A CN201610716121 A CN 201610716121A CN 106341394 A CN106341394 A CN 106341394A
Authority
CN
China
Prior art keywords
pixel point
point information
module
data
information
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
CN201610716121.5A
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.)
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 CN201610716121.5A priority Critical patent/CN106341394A/en
Publication of CN106341394A publication Critical patent/CN106341394A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for realizing voice call. A sender draws a pattern in a preset area, encodes the scanned information of all the pixels or pixel change lines in the area into binary data, modulates the binary data into audio signals of two frequencies through binary frequency shift keying, and finally, transmits the audio signals to an opposite terminal through an ordinary voice call channel; and the opposite terminal performs decoding, and redisplays the pattern drawn by the sender in the preset area. In addition, the invention discloses a device for realizing voice call. Through the technical scheme of the invention, efficient and visual call is achieved based on an ordinary call process in an environment without data service.

Description

Method and device for realizing voice call
Technical Field
The invention relates to the technical field of voice calls, in particular to a method and a device for realizing voice calls.
Background
At present, mobile terminals are popularized, and two people who are not acquainted with each other can communicate conveniently. But most users currently remain in the voice call phase. However, some things are completely communicated by voice and cannot express the meaning of the things effectively and intuitively, and in this case, a real-time electronic whiteboard can be established while the two parties are in communication, so that the two parties can be briefly depicted on the electronic whiteboard, and the other party can understand the meaning more clearly. The method for achieving efficient and visual communication by establishing the real-time electronic whiteboard is easy to implement in the existing data environment based on the Internet.
However, not all parties of a call can satisfy the condition of using the data service, and especially, in the existing mobile communication network, the Code Division Multiple Access (CDMA) network of telecommunications cannot use the data service while the call is in progress. For the ordinary call process in the environment without data service, at present, there is no related technical scheme for realizing efficient and intuitive call.
The problem to be considered is to realize the function of the electronic whiteboard by using the existing channel with the bandwidth of 4 k.
Disclosure of Invention
The invention mainly aims to provide a method and a device for realizing voice call, which can realize efficient and intuitive call based on a common call process in a data-free service environment.
In order to achieve the above object, an embodiment of the present invention provides a method for implementing a voice call, including:
enabling the first terminal to scan a preset area in real time to acquire pixel point information representing information to be interacted;
coding the obtained pixel point information to modulate into a tone code;
and sending the obtained voice code to the second terminal through a communication channel.
Optionally, the obtaining pixel point information representing information to be interacted includes:
scanning the pixel point information from beginning to end through a traversal method to generate binary data;
optionally, the obtaining pixel point information representing information to be interacted includes:
and generating changed row data according to the pixel point information, and packaging the generated row data into binary data according to a preset transmission format.
Optionally, the transmission format includes the following fields: start bit, line number terminator, trim data, terminator.
Optionally, the encoding the obtained pixel point information to modulate into a tone code includes: and selecting high frequency to modulate the pixel point information represented by the binary data to modulate into a tone code.
Optionally, the high frequency is a value in the range of 3.5 kilohertz Khz to 4.0 Khz.
The embodiment of the invention also provides a method for realizing voice communication, which comprises the following steps:
enabling the second terminal to receive the sound codes through the communication channel and analyze the received sound codes to obtain effective data in the sound codes;
decoding the obtained effective data to obtain the information of the internal pixel points;
and presenting information to be interacted in a preset area according to the obtained pixel point information.
Optionally, the received voice code is parsed according to a transmission format consistent with the first terminal that sent the received voice code, so as to obtain the valid data.
An embodiment of the present invention further provides a device for implementing voice communication, including: a first obtaining module, a modulation module, and a sending module, wherein,
the first acquisition module is used for scanning a preset area in real time to acquire pixel point information representing information to be interacted;
the modulation module is used for coding the obtained pixel point information to modulate the pixel point information into a tone code;
and the sending module is used for sending the obtained sound code to the second terminal through the communication channel.
Optionally, the first obtaining module is specifically configured to: scanning the pixel point information from beginning to end through a traversal method to generate binary data; or generating changed row data according to the pixel point information, and packaging the generated row data into binary data according to a preset transmission format.
Optionally, the modulation module is specifically configured to: and modulating the pixel point information represented by the binary data in a binary frequency shift keying mode to obtain high-frequency audio signals of two frequencies, wherein one frequency represents a binary number 0, and the other frequency represents a binary number 1.
An embodiment of the present invention further provides a device for implementing voice communication, including: the second acquisition module, the demodulation module and the processing module; wherein,
the second acquisition module is used for receiving the sound codes through the communication channel and analyzing the received sound codes to acquire effective data in the sound codes;
the demodulation module is used for decoding the obtained effective data to obtain the information of the internal pixel points;
and the processing module is used for presenting the information to be interacted in a preset area according to the obtained pixel point information.
The embodiment of the invention also provides a device for realizing voice communication, which comprises the device.
The technical scheme provided by the invention comprises the following steps: the sending end scans all pixel points or pixel point changing lines in a preset area by drawing in the area, encodes the binary data into binary data, modulates the binary data into audio signals with two frequencies in a binary frequency shift keying mode, and finally transmits the audio signals to an opposite terminal through a common voice communication channel; and the opposite terminal decodes the pattern and redisplays the pattern drawn by sending in a preset area. By the technical scheme, efficient and visual communication is realized based on a common communication process in a non-data service environment.
Furthermore, the voice code transmission is carried out through the frequency as high as possible, so that the voice code transmission can be prevented from falling into a human voice frequency spectrum, and the interference to voice communication is reduced.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a flow chart of a method of implementing a voice call in accordance with the present invention;
FIG. 4 is a diagram illustrating an embodiment of pixel information in a preset area according to the present invention;
FIG. 5 is a diagram of a first exemplary embodiment of a terminal modulation waveform;
FIG. 6 is a schematic diagram of a line scan embodiment of the present invention;
FIG. 7 is a flow chart of another method for implementing a voice call in accordance with the present invention;
FIG. 8 is a schematic diagram of a structure of an apparatus for implementing voice communication according to the present invention;
FIG. 9 is a schematic diagram of another apparatus for implementing voice communication according to the present invention;
fig. 10 is a flowchart of a method for implementing a voice call according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
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 present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary 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 hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. 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 combining with a TV or radio broadcast signalThe broadcast signal of (1). 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 a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting system of a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. 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 WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), 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 bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMEtc. of。
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 GPS (global positioning system). According to the current technology, the GPS module 115 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 camera 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 1210 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, and the like due to being touched), scroll wheel, joystick, and the like. 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 sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 1410 as will be described below in connection with a touch screen.
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, an alarm unit 153, 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 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 view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) 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 alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and 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, and the like) that has been or will 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 1810 for reproducing (or playing back) multimedia data, and the multimedia module 1810 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 this point, mobile terminals have been described in terms of their functionality. 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 2750.
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, the present invention provides various embodiments of the method.
Fig. 3 is a flowchart of a method for implementing voice call according to the present invention, and as shown in fig. 3, in the process of call between the first terminal and the second terminal, the method includes:
step 300: the first terminal scans a preset area in real time to acquire pixel point information representing information to be interacted.
Through the preset area, the user can draw patterns in the preset area in a finger touch mode or a stylus mode on the touch screen to present the information to be interacted.
In this step, in the process of a call between a first terminal and a second terminal, a terminal that needs to send information to be interacted, such as the first terminal, may scan a preset area of the terminal in real time, and acquire pixel point information representing the information to be interacted, which is obtained by scanning. Wherein, the pixel point information can be represented by binary data.
In this step, the pixel point information can be scanned from beginning to end by a traversal method to generate binary data; as shown in fig. 4, the schematic diagram of the pixel information in the preset region is obtained after converting the pixel information into binary data:
or, considering the requirement of real-time refresh and the fact that the effective pixel "1" is usually less than "0", the invention also provides a line scanning method in order to improve the transmission efficiency and reduce the transmission data amount as much as possible. The line scanning method specifically comprises the following steps:
and generating changed row data according to the pixel point information, and packaging the generated row data into binary data according to a preset transmission format.
With the schematic diagram of the line scanning embodiment shown in fig. 6, according to a preset transmission format, a set of rectangular coordinate systems is established, and with the first pixel point at the lower left corner as an origin, according to the pattern in the schematic diagram, the data to be transmitted are two (2 lines):
line 15: 0110000000000000
Line 16: 0110000000000000
In order to improve efficiency, a transparent transmission mode is directly used without considering error code and check, and a communication format is preset, for example, the following information is included:
the start bit is hexadecimal number 0xAA, the line number terminator is hexadecimal number 0xCC, the lattice data, and the stop bit is hexadecimal number 0 xFF.
Taking the example of transmitting the 15 th row information, the binary symbols are as follows:
10101010 (start bit) 00010000 (line number) 11001100 (line number terminator) 0110000000000000 (lattice data) 11111111111 (end bit).
Step 301: and coding the obtained pixel point information to modulate the pixel point information into a tone code.
The sound code in this step may be a high frequency audio signal.
Preferably, in order to avoid the influence on the voice call as much as possible, frequencies above 3.5Khz may be selected to modulate the pixel information represented by the binary data, for example, 3.5Khz may be selected to represent binary 0, and 3.8Khz may be selected to represent binary 1. Fig. 5 is a diagram illustrating a modulation waveform of the first terminal. It should be noted that the description is only an example, and the specific value can be determined according to the actual situation, and is not used to limit the protection scope of the present invention.
For the binary data, modulation may be performed using binary frequency shift keying (2FSK), i.e., the binary data to be transmitted is converted into audio signals of the above two frequencies.
In the invention, by adopting a binary frequency shift keying mode, the voice code transmission is carried out on a common voice channel with a bandwidth of 4k through the frequency as high as possible, thereby avoiding falling into a human voice frequency spectrum and reducing the interference to voice communication.
Step 302: and sending the obtained voice code to the second terminal through a communication channel.
The modulated tone code is transmitted to the second terminal in a voice channel Transmit (TX) direction.
Taking the high-pass platform as an example, the modulated audio signal can be mixed into the TX sending direction during the Call through the existing In Call Music Delivery module.
In the invention, the sound codes can be transmitted to the second terminal from beginning to end through a traversal method; or the sound code obtained by modulating the changed row data obtained by adopting the row scanning method is transmitted to the second terminal,
fig. 7 is a flowchart of another method for implementing a voice call according to the present invention, as shown in fig. 4, including:
step 700: and the second terminal receives the sound code through the communication channel and analyzes the received sound code to obtain effective data in the sound code.
In the conversation, the human voice usually hardly reaches higher frequency, therefore, the received phonetic code is analyzed and filtered in frequency in the method of the invention, and the parts of 3.5Khz and 3.8Khz can be considered as effective data. The specific implementation can be realized by various conventional technical means of a person skilled in the art, and is not used for limiting the protection scope of the invention, and the detailed description is omitted here. It is emphasized that, in the method for implementing voice call of the present invention, in order to avoid the influence on the voice call as much as possible, frequencies above 3.5Khz may be selected to modulate the pixel information represented by the binary data, for example, 3.5Khz may be selected to represent binary 0, and 3.8Khz may be selected to represent binary 1.
In this step, the received sound code is analyzed according to the transmission format consistent with the first terminal, so that the effective data can be obtained.
Step 701: and decoding the obtained effective data to obtain the internal pixel point information.
Step 702: and presenting information to be interacted in a preset area according to the obtained pixel point information.
In this step, the number of rows and the pixel point information are restored according to the obtained pixel point information of the binary data, so that the information to be interacted of the first terminal is presented in the preset area of the second terminal.
The technical scheme provided by the invention realizes the purpose of real-time electronic whiteboard, and realizes efficient and intuitive conversation based on the common conversation process under the environment without data service without the support of data service through the common voice channel transmission.
Fig. 8 is a schematic structural diagram of a device for implementing voice communication according to the present invention, as shown in fig. 8, including: a first obtaining module, a modulation module, and a sending module, wherein,
the first acquisition module is used for scanning a preset area in real time to acquire pixel point information representing information to be interacted;
the modulation module is used for coding the obtained pixel point information to modulate the pixel point information into a tone code;
and the sending module is used for sending the obtained sound code to the second terminal through the communication channel.
The first obtaining module is specifically configured to: scanning the pixel point information from beginning to end through a traversal method to generate binary data; or generating changed row data according to the pixel point information, and packaging the generated row data into binary data according to a preset transmission format.
Wherein, the modulation module is specifically configured to: and modulating the pixel point information represented by the binary data in a 2FSK mode to obtain high-frequency audio signals of two frequencies, wherein one frequency represents a binary number 0, and the other frequency represents a binary number 1.
The two frequencies are frequencies of 3.5Khz or more. For example, 3.5Khz may be selected to represent a binary 0 and 3.8Khz may be selected to represent a binary 1.
FIG. 9 is a schematic diagram of another apparatus for implementing voice communication according to the present invention; as shown in fig. 9, includes: the second acquisition module, the demodulation module and the processing module; wherein,
the second acquisition module is used for receiving the sound codes through the communication channel and analyzing the received sound codes to acquire effective data in the sound codes;
the demodulation module is used for decoding the obtained effective data to obtain the information of the internal pixel points;
and the processing module is used for presenting the information to be interacted in a preset area according to the obtained pixel point information.
The invention also provides a device for realizing voice communication, which comprises a first acquisition module, a modulation module, a sending module, a second acquisition module, a demodulation module and a processing module; wherein,
the first acquisition module is used for scanning a preset area in real time to acquire pixel point information representing information to be interacted;
the modulation module is used for coding the obtained pixel point information to modulate the pixel point information into a tone code;
the sending module is used for sending the obtained sound code to the second terminal through the communication channel;
the second acquisition module is used for receiving the sound codes through the communication channel and analyzing the received sound codes to acquire effective data in the sound codes;
the demodulation module is used for decoding the obtained effective data to obtain the information of the internal pixel points;
and the processing module is used for presenting the information to be interacted in a preset area according to the obtained pixel point information.
Fig. 10 is a flowchart of an embodiment of a method for implementing a voice call, assuming that a terminal a and a terminal B process a call, and the terminal a sends interaction information to the terminal B, as shown in fig. 10, the method includes:
step 1000: the terminal a draws a pattern in a preset area.
In this step, through the preset area, the user may draw a pattern in the preset area in a finger touch manner or a stylus manner on the touch screen to present the information to be interacted.
Step 1001: terminal a scans for the changed line number.
Assuming that the binary number corresponding to the row that has not changed is 0, the row is considered to be changed as long as there is a binary number of 1.
Step 1002 to step 1003: generating line data by the terminal A; and the terminal A packs the generated line data into binary data according to the protocol format.
In this embodiment, a line scanning method is adopted to package the line data generated by the pixel point information corresponding to the drawing pattern into binary data according to a preset transmission format. For a specific implementation, see fig. 6, which is not described herein again.
Step 1004: and the terminal A modulates the binary data to generate a tone code, mixes the tone code into a voice channel and sends the tone code to the TX direction for transmission.
For the binary data, modulation may be performed using binary frequency shift keying (2FSK), i.e., the binary data to be transmitted is converted into audio signals of the above two frequencies.
The sound code in this step may be a high frequency audio signal.
Preferably, in order to avoid the influence on the voice call as much as possible, frequencies above 3.5Khz may be selected to modulate the pixel information represented by the binary data, for example, 3.5Khz may be selected to represent binary 0, and 3.8Khz may be selected to represent binary 1.
In the invention, by adopting a binary frequency shift keying mode, the voice code transmission is carried out on a common voice channel with a bandwidth of 4k through the frequency as high as possible, thereby avoiding falling into a human voice frequency spectrum and reducing the interference to voice communication.
Step 1005: and the terminal B receives the sound codes through the voice channel and demodulates the received sound codes.
In this step, if the terminal a transmits by using the traversal method, the terminal B only needs to demodulate the sound code from beginning to end to obtain the complete binary data corresponding to the information to be interacted.
If the terminal A adopts the line scanning method to carry out transmission, the terminal B only needs to demodulate the received tone code according to the transmission format consistent with the domain terminal A to obtain the transmitted binary data corresponding to the changed line.
Step 1006: and the terminal B restores the pixel point information obtained by demodulation and displays the restored pattern in a preset area of the terminal B.
If the binary data 1 represents the changed pixel, the pixel position corresponding to the row of the binary data 1 is only required to be drawn, so that the obtained pixel information can be restored to the pattern information which the terminal A wants to send, and the pattern information is drawn in the preset area of the terminal B.
According to the technical scheme provided by the invention, a sending end scans all pixel points or pixel point change lines in a preset area by drawing in the area, encodes the binary data into binary data, modulates the binary data into audio signals with two frequencies in a binary frequency shift keying mode, and finally transmits the audio signals to an opposite terminal through a common voice communication channel; and the opposite terminal decodes the pattern and redisplays the pattern drawn by sending in a preset area. By the technical scheme, efficient and visual communication is realized based on a common communication process in a non-data service environment.
Furthermore, the voice code transmission is carried out through the frequency as high as possible, so that the voice code transmission can be prevented from falling into a human voice frequency spectrum, and the interference to voice communication is reduced.
The technical scheme provided by the invention adds another vivid and visual interaction mode to the common boring and single voice call, does not need the support of data service, can be carried out under the condition of no data network, realizes high-efficiency and visual call based on the environment without data service, increases interestingness and usability, and improves voice call experience.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A method for implementing a voice call, comprising: enabling the first terminal to scan a preset area in real time to acquire pixel point information representing information to be interacted;
coding the obtained pixel point information to modulate into a tone code;
and sending the obtained voice code to the second terminal through a communication channel.
2. The method according to claim 1, wherein the obtaining pixel point information representing information to be exchanged comprises:
and scanning the pixel point information from beginning to end through a traversal method to generate binary data.
3. The method according to claim 1, wherein the obtaining pixel point information representing information to be exchanged comprises:
and generating changed row data according to the pixel point information, and packaging the generated row data into binary data according to a preset transmission format.
4. The method of claim 3, wherein the transport format comprises the following fields: start bit, line number terminator, trim data, terminator.
5. The method according to claim 2 or 3, wherein the encoding the obtained pixel point information to modulate into a tone code comprises: and selecting high frequency to modulate the pixel point information represented by the binary data to modulate into a tone code.
6. The method according to claim 5, characterized in that the high frequency is a value in the range of 3.5 to 4.0 Khz.
7. A method for implementing a voice call, comprising: the second terminal receives the sound code through the communication channel and analyzes the received sound code to obtain effective data in the sound code;
decoding the obtained effective data to obtain the information of the internal pixel points;
and presenting information to be interacted in a preset area according to the obtained pixel point information.
8. The method of claim 7, wherein the received vocoders are parsed according to a transport format consistent with the first terminal sending the received vocoders to obtain the valid data.
9. An apparatus for enabling a voice call, comprising: a first obtaining module, a modulation module, and a sending module, wherein,
the first acquisition module is used for scanning a preset area in real time to acquire pixel point information representing information to be interacted;
the modulation module is used for coding the obtained pixel point information to modulate the pixel point information into a tone code;
and the sending module is used for sending the obtained sound code to the second terminal through the communication channel.
10. The apparatus of claim 9, wherein the first obtaining module is specifically configured to: scanning the pixel point information from beginning to end through a traversal method to generate binary data; or generating changed row data according to the pixel point information, and packaging the generated row data into binary data according to a preset transmission format.
11. The apparatus of claim 9, wherein the modulation module is specifically configured to: and modulating the pixel point information represented by the binary data in a binary frequency shift keying mode to obtain high-frequency audio signals of two frequencies, wherein one frequency represents a binary number 0, and the other frequency represents a binary number 1.
12. An apparatus for enabling a voice call, comprising: the second acquisition module, the demodulation module and the processing module; wherein,
the second acquisition module is used for receiving the sound codes through the communication channel and analyzing the received sound codes to acquire effective data in the sound codes;
the demodulation module is used for decoding the obtained effective data to obtain the information of the internal pixel points;
and the processing module is used for presenting the information to be interacted in a preset area according to the obtained pixel point information.
13. An apparatus for carrying out a voice call, comprising the apparatus of any one of claims 9 to 11 and the apparatus of claim 12.
CN201610716121.5A 2016-08-24 2016-08-24 Method and device for realizing voice call Pending CN106341394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610716121.5A CN106341394A (en) 2016-08-24 2016-08-24 Method and device for realizing voice call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610716121.5A CN106341394A (en) 2016-08-24 2016-08-24 Method and device for realizing voice call

Publications (1)

Publication Number Publication Date
CN106341394A true CN106341394A (en) 2017-01-18

Family

ID=57825298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610716121.5A Pending CN106341394A (en) 2016-08-24 2016-08-24 Method and device for realizing voice call

Country Status (1)

Country Link
CN (1) CN106341394A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070081522A1 (en) * 2005-10-12 2007-04-12 First Data Corporation Video conferencing systems and methods
CN101431736A (en) * 2007-11-08 2009-05-13 康佳集团股份有限公司 Mobile terminal and its communication method
CN102209063A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Realization method of blank conversation, blank conversation server and terminal
CN103269346A (en) * 2013-06-04 2013-08-28 温才燚 Remote interactive system for teaching
CN104753841A (en) * 2013-12-31 2015-07-01 上海晨兴希姆通电子科技有限公司 Mobile terminal and method for transmitting non-voice data by using voice channel
CN105429930A (en) * 2014-09-05 2016-03-23 芯讯通无线科技(上海)有限公司 Whiteboard conversation realization method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070081522A1 (en) * 2005-10-12 2007-04-12 First Data Corporation Video conferencing systems and methods
CN101431736A (en) * 2007-11-08 2009-05-13 康佳集团股份有限公司 Mobile terminal and its communication method
CN102209063A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Realization method of blank conversation, blank conversation server and terminal
CN103269346A (en) * 2013-06-04 2013-08-28 温才燚 Remote interactive system for teaching
CN104753841A (en) * 2013-12-31 2015-07-01 上海晨兴希姆通电子科技有限公司 Mobile terminal and method for transmitting non-voice data by using voice channel
CN105429930A (en) * 2014-09-05 2016-03-23 芯讯通无线科技(上海)有限公司 Whiteboard conversation realization method and system

Similar Documents

Publication Publication Date Title
CN105045509B (en) A kind of device and method of editing picture
CN106375840A (en) Screen projection device, mobile terminal and screen projection connection method
CN105138255A (en) Terminal and image information acquisition method
CN104866352A (en) Method for starting application and mobile terminal
CN106412316A (en) Media resource playing control device and method
CN106453883B (en) Intelligent terminal and message notification processing method thereof
CN105261054A (en) Device and method for compositing audio GIF image
CN105049612A (en) Method of realizing recording and device of realizing recording
CN104639428B (en) Self-adaptive method for session scene in instant messaging and mobile terminal
CN106550116B (en) Interface display device and method and mobile terminal
CN105357188B (en) A kind of method that realizing WIFI connections, server and mobile terminal
CN106506473A (en) A kind of information processing method and projection terminal
CN106900037B (en) Display method and terminal
CN106302943B (en) Unlocking method and unlocking device of mobile terminal
CN105847590A (en) Picture display device and method of Android system
CN106780661A (en) A kind of picture editing method and terminal
CN106210315A (en) A kind of method for regulation of sound volume and mobile terminal
CN106455079B (en) A kind of information processing method and terminal
CN106873979B (en) Information processing method and mobile terminal
CN106341394A (en) Method and device for realizing voice call
CN106254676B (en) A kind of mobile terminal and the method for controlling numeral input
CN106385491B (en) A kind of system, method and mobile terminal controlling PUSH message
CN104991724B (en) A kind of object handles apparatus and method
CN104794188B (en) File positioning method and device
CN104955020B (en) A kind of method, apparatus, smart card and the system of the binding of management smart card

Legal Events

Date Code Title Description
C06 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: 20170118