CN109831375B - Method for transmitting and receiving instant messaging information, terminal and computer readable storage medium - Google Patents

Method for transmitting and receiving instant messaging information, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109831375B
CN109831375B CN201910206013.7A CN201910206013A CN109831375B CN 109831375 B CN109831375 B CN 109831375B CN 201910206013 A CN201910206013 A CN 201910206013A CN 109831375 B CN109831375 B CN 109831375B
Authority
CN
China
Prior art keywords
instant messaging
display
preset
information
sound
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
CN201910206013.7A
Other languages
Chinese (zh)
Other versions
CN109831375A (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.)
Shenzhen Groud Technology Co ltd
Original Assignee
Shenzhen Groud 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 Shenzhen Groud Technology Co ltd filed Critical Shenzhen Groud Technology Co ltd
Priority to CN201910206013.7A priority Critical patent/CN109831375B/en
Publication of CN109831375A publication Critical patent/CN109831375A/en
Application granted granted Critical
Publication of CN109831375B publication Critical patent/CN109831375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for receiving and transmitting instant communication information, a terminal and a computer readable storage medium, wherein the method comprises the following steps: when a display screen of the detection terminal receives a mode switching instruction, switching the display mode of the display screen into a preset driving mode for display; when instant messaging information based on a preset driving mode is received, converting the instant messaging information into a first sound signal, and playing the first sound signal; when a sending request triggered based on a preset driving mode is received, starting a sound receiving function of the terminal to collect sound, and sending the collected sound serving as a second sound signal to a receiver corresponding to the sending request. The scheme converts the received instant messaging information into first sound information through a preset driving mode and automatically plays the first sound information, and generates the instant messaging information to be sent into a second sound signal to be sent; the driver does not need to pay more attention to instant messaging information and operate a display screen in the driving process, and the driving safety is improved.

Description

Method for transmitting and receiving instant messaging information, terminal and computer readable storage medium
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a method for receiving and sending instant messaging information, a terminal and a computer readable storage medium.
Background
With the development of intelligent terminals and network technologies, people have higher and higher dependence on terminals such as mobile phones and tablet computers; in life and work, people can perform social contact, work object processing and the like through various instant messaging software installed in the terminal, and the occasions where people use the terminal are visible everywhere; especially, the mobile phone can even reach the situation of being unseparated.
People do not distinguish occasions to use the terminal, and are easy to bring danger to the people and other people; if the terminal is used while the vehicle is driven, the driver pays close attention to the traffic condition while watching, listening or replying to the instant messaging information received in the instant messaging software. Because the terminal is limited to operate, touch control is concentrated on a small display screen, and the display screen is inconvenient to operate while a vehicle is driven; once a driver pays more attention to instant messaging information and operates a display screen, the driver is easily distracted from driving a vehicle, and a traffic accident is caused.
Disclosure of Invention
The invention mainly aims to provide a method for transmitting and receiving instant messaging information, a terminal and a computer readable storage medium, aiming at solving the problems that in the prior art, drivers pay more attention to the instant messaging information received by the terminal, and are easy to be distracted, so that traffic accidents are caused.
In order to achieve the above object, the present invention provides a method for receiving and sending instant messaging information, wherein the method for receiving and sending instant messaging information comprises the following steps:
when a display screen of a detection terminal receives a mode switching instruction, switching the display mode of the display screen into a preset driving mode for display;
when instant messaging information based on the preset driving mode is received, converting the instant messaging information into a first sound signal, and playing the first sound signal;
and when a sending request triggered based on the preset driving mode is received, starting a radio reception function of the terminal to collect sound, and sending the collected sound to a receiver corresponding to the sending request as a second sound signal, wherein the second sound signal is instant messaging information to be sent.
Optionally, the step of converting the instant messaging information into a first sound signal and playing the first sound signal includes:
reading a display control corresponding to the instant messaging information in the display screen, and determining the information attribute of the instant messaging information according to the control attribute of the display control;
if the information attribute is a character attribute, converting characters in the instant messaging information into a first sound signal and playing the first sound signal;
if the information attribute is a voice attribute, playing the instant messaging information;
and if the information attribute is other attributes, generating voice prompt information and playing the voice prompt information.
Optionally, the step of converting the text in the instant messaging information into a first sound signal and playing the first sound signal includes:
reading characters in the instant messaging information, comparing each character with a preset voice character library one by one, and determining voice corresponding to each character;
and sequencing the voices according to the arrangement sequence relation among the characters to generate a first voice signal and play the first voice signal.
Optionally, the step of starting the radio reception function of the terminal to collect sound, and sending the collected sound as a second sound signal to a receiver corresponding to the sending request includes:
starting a radio reception function of the terminal, and detecting whether sound is collected within a first preset time;
if the sound is collected, detecting a stopping point of the sound, and judging whether the stopping time of the stopping point is greater than a second preset time;
and if the time is longer than the second preset time, sending the collected sound serving as a second sound signal to a receiver corresponding to the sending request.
Optionally, the step of determining whether the stop time of the stop point is greater than a second preset time is followed by:
if the stopping time is not longer than the second preset time, analyzing the sound, and judging whether ending information exists in the sound or not;
and if the end information exists, sending the collected sound as a second sound signal to a receiving party corresponding to the sending request.
Optionally, the step when receiving a transmission request triggered based on the preset driving mode is preceded by:
when the point touch operation sent based on the preset driving mode is detected, determining an operation area corresponding to the point touch operation;
when the operation area corresponds to a first display area in the preset driving mode, switching the display content of the display screen into a communication list corresponding to the instant messaging information;
when the operation area corresponds to a second display area in the preset driving mode, determining the point touch operation as a sending request triggered based on the preset driving mode;
and when the operation area corresponds to a third display area in the preset driving mode, switching the display mode of the display screen from the preset driving mode to a preset common mode.
Optionally, the step of switching the display mode of the display screen to the preset driving mode display includes:
when an adjusting instruction for each display area in the display screen is received, adjusting operation is carried out between the first display area and the second display area and/or between the second display area and the third display area according to the adjusting instruction;
reading the area areas of the first display area, the second display area and the third display area after the adjustment operation, and judging whether a target area smaller than a preset area threshold exists in each area;
and if the target area smaller than the preset area threshold exists, adjusting the area of the target area according to the preset area threshold, and outputting preset prompt information.
Optionally, the step of detecting that the display screen of the terminal receives the mode switching instruction includes:
when the terminal is detected to be in a moving state, detecting a moving speed corresponding to the moving state;
and judging whether the moving speed is greater than a preset speed threshold, if so, starting a generation mechanism corresponding to the mode switching instruction to generate the mode switching instruction.
In addition, to achieve the above object, the present invention further provides a terminal, including: the instant messaging system comprises a memory, a processor, a communication bus and a receiving and sending program of instant messaging information stored on the memory, wherein the receiving and sending program comprises the following steps:
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the receiving and sending program of the instant communication information so as to realize the following steps:
when a display screen of a detection terminal receives a mode switching instruction, switching the display mode of the display screen into a preset driving mode for display;
when instant messaging information based on the preset driving mode is received, converting the instant messaging information into a first sound signal, and playing the first sound signal;
and when a sending request triggered based on the preset driving mode is received, starting a radio reception function of the terminal to collect sound, and sending the collected sound to a receiver corresponding to the sending request as a second sound signal, wherein the second sound signal is instant messaging information to be sent.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors for:
when a display screen of a detection terminal receives a mode switching instruction, switching the display mode of the display screen into a preset driving mode for display;
when instant messaging information based on the preset driving mode is received, converting the instant messaging information into a first sound signal, and playing the first sound signal;
and when a sending request triggered based on the preset driving mode is received, starting a radio reception function of the terminal to collect sound, and sending the collected sound to a receiver corresponding to the sending request as a second sound signal, wherein the second sound signal is instant messaging information to be sent.
According to the method for receiving and sending the instant messaging information, when the display screen of the detection terminal receives the mode switching instruction, the display mode of the display screen is switched to the preset driving mode to display, and the received and sent instant messaging information is processed in a sound signal mode in the preset driving mode; when instant messaging information is received in a preset driving mode, converting the instant messaging information into a first sound signal and playing the first sound signal; and when the sending request is received in the preset driving mode and the sending requirement of the instant messaging information is met, starting a radio function of the terminal, collecting sound through the radio function, and sending the collected sound to a corresponding receiver set by the sending request as a second sound signal, wherein the second sound signal is the instant messaging information needing to be sent, namely the instant messaging information to be sent. According to the scheme, the received instant messaging information is converted into the first sound information through the preset driving mode and automatically played, the instant messaging information needing to be sent is generated into the second sound signal to be sent, and therefore the situation that the instant messaging information is manually clicked and the content is checked in the vehicle driving process and the information is manually replied is avoided; the driver does not need to pay much attention to instant messaging information and operate a display screen in the driving process, the driving safety is improved, and traffic accidents are avoided to a great extent.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram illustrating a wireless communication system of the terminal shown in FIG. 1;
fig. 3 is a flowchart illustrating a method for transceiving instant messaging information according to a first embodiment of the present invention;
fig. 4 is a schematic view of a scene in which a terminal of the instant messaging information transceiving method is divided into display areas in a preset driving mode according to the present invention;
fig. 5 is a schematic view of an adjustment scene of each display area in the instant messaging information transceiving method according to 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.
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 itself. Thus, "module", "component" or "unit" may be used mixedly.
The 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 tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
While a fixed terminal will be exemplified in the following description, those skilled in the art will appreciate that the configuration according to the embodiment of the present invention can be applied to a mobile type terminal in addition to elements particularly used for fixing purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, the terminal 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110 (e.g., CPU), communication bus 1002, and power supply 111. Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting of the terminal, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Such as adding user interfaces, network interfaces, cameras, etc. Wherein the user interface may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
The following describes the various components of the terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the terminal 100 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 unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing 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 radio frequency unit 101 in case of a phone call mode. The microphone 1042 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 terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light. In addition, other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors and the like can be configured, and are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, without limitation.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the 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 interface unit 108 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 terminal 100 or may be used to transmit data between the terminal 100 and an external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, text data, etc.) created according to the use of the terminal, etc. Further, memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The communication bus 1002 is used to enable communications between the processor 110 and the memory 109. The memory 109 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 109 may alternatively be a storage device separate from the processor 110 described above.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
Although not shown in fig. 1, the terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
As shown in fig. 1, the memory 109, which is a kind of computer storage medium, may include an operating system, a network communication module, and a program for transceiving instant messaging information. The operating system is a program that manages and controls the hardware and software resources of the terminal, and supports the transmission and reception of instant messaging information and the operation of other software and/or programs. The network communication module is used to implement communication between the components within the memory 109 and with other hardware and software in the terminal.
In the terminal shown in fig. 1, the processor 110 is configured to execute the instant messaging information transceiving program stored in the memory 109, and implement the following steps:
when a display screen of a detection terminal receives a mode switching instruction, switching the display mode of the display screen into a preset driving mode for display;
when instant messaging information based on the preset driving mode is received, converting the instant messaging information into a first sound signal, and playing the first sound signal;
and when a sending request triggered based on the preset driving mode is received, starting a radio reception function of the terminal to collect sound, and sending the collected sound to a receiver corresponding to the sending request as a second sound signal, wherein the second sound signal is instant messaging information to be sent.
Further, the step of converting the instant messaging information into a first sound signal and playing the first sound signal includes:
reading a display control corresponding to the instant messaging information in the display screen, and determining the information attribute of the instant messaging information according to the control attribute of the display control;
if the information attribute is a character attribute, converting characters in the instant messaging information into a first sound signal and playing the first sound signal;
if the information attribute is a voice attribute, playing the instant messaging information;
and if the information attribute is other attributes, generating voice prompt information and playing the voice prompt information.
Further, the step of converting the text in the instant messaging information into a first sound signal and playing the first sound signal comprises:
reading characters in the instant messaging information, comparing each character with a preset voice character library one by one, and determining voice corresponding to each character;
and sequencing the voices according to the arrangement sequence relation among the characters to generate a first voice signal and play the first voice signal.
Further, the step of starting the radio function of the terminal to collect sound and sending the collected sound as a second sound signal to a receiver corresponding to the sending request includes:
starting a radio reception function of the terminal, and detecting whether sound is collected within a first preset time;
if the sound is collected, detecting a stopping point of the sound, and judging whether the stopping time of the stopping point is greater than a second preset time;
and if the time is longer than the second preset time, sending the collected sound as a second sound signal to a receiver corresponding to the sending request.
Further, after the step of determining whether the stop time of the stop point is greater than a second preset time, the processor 110 is configured to execute a transceiving program of the instant messaging information stored in the memory 109, and implement the following steps:
if the stopping time is not longer than the second preset time, analyzing the sound, and judging whether ending information exists in the sound or not;
and if the ending information exists, sending the collected sound as a second sound signal to a receiving party corresponding to the sending request.
Further, before the step when the sending request triggered based on the preset driving mode is received, the processor 110 is configured to execute the transceiving program of the instant messaging information stored in the memory 109, and implement the following steps:
when the point touch operation sent based on the preset driving mode is detected, determining an operation area corresponding to the point touch operation;
when the operation area corresponds to a first display area in the preset driving mode, switching the display content of the display screen into a communication list corresponding to the instant messaging information;
when the operation area corresponds to a second display area in the preset driving mode, determining the point touch operation as a sending request triggered based on the preset driving mode;
and when the operation area corresponds to a third display area in the preset driving mode, switching the display mode of the display screen from the preset driving mode to a preset common mode.
Further, after the step of switching the display mode of the display screen to the preset driving mode, the processor 110 is configured to execute a transceiving program of the instant messaging information stored in the memory 109, and implement the following steps:
when an adjusting instruction for each display area in the display screen is received, adjusting operation is carried out between the first display area and the second display area and/or between the second display area and the third display area according to the adjusting instruction;
reading the area areas of the first display area, the second display area and the third display area after the adjustment operation, and judging whether a target area smaller than a preset area threshold value exists in each area;
and if the target area smaller than the preset area threshold exists, adjusting the area of the target area according to the preset area threshold, and outputting preset prompt information.
Further, before the step of detecting that the display screen of the terminal receives the mode switching instruction, the processor 110 is configured to execute the transceiving program of the instant messaging information stored in the memory 109, and implement the following steps:
when the terminal is detected to be in a moving state, detecting a moving speed corresponding to the moving state;
and judging whether the moving speed is greater than a preset speed threshold, if so, starting a generation mechanism corresponding to the mode switching instruction to generate the mode switching instruction.
The specific implementation of the terminal of the present invention is basically the same as the following embodiments of the method for receiving and sending instant messaging information, and will not be described herein again.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an epc (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. The eNodeB2021 may be connected with other eNodeB2022 via backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 with access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an hss (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a pgw (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, and the like.
Based on the hardware structure and the communication device structure of the mobile terminal, the embodiments of the instant messaging information receiving and sending method are provided.
Referring to fig. 3, the present invention provides a method for transceiving instant messaging information, in a first embodiment of the method for transceiving instant messaging information, the method for transceiving instant messaging information comprises:
step S10, when a display screen of a detection terminal receives a mode switching instruction, switching the display mode of the display screen into a preset driving mode for display;
the method for receiving and sending the instant messaging information is applied to a control center of a terminal and is suitable for receiving and sending the instant messaging information required to be transmitted in instant messaging application software installed in the terminal; the terminal can be an intelligent terminal such as a mobile phone and a tablet personal computer; the instant messaging software is software for realizing online chat and communication through an instant messaging technology, such as WeChat, QQ and the like, and information transmitted through the instant messaging software is instant messaging information. The terminal is provided with a display screen, and developers set the mode of the content displayed on the display screen to be a preset driving mode and a preset common mode in advance according to driving scenes and non-driving common scenes. A forbidden intervention mechanism is set in a preset driving mode, a display screen is divided into a plurality of areas, and each area is used for receiving and sending instant messaging information through point touch operation; but not have the functions of long-time operation such as long-time press, sliding and the like, and further have the functions of video watching, game playing and the like. In the preset common mode, all functions supported by the terminal can be realized without forbidden intervention.
Further, a switching virtual key for switching a preset driving mode and a preset common mode is arranged in a display interface of the display screen, and before a terminal holder drives a vehicle and becomes a driver, the switching virtual key is selected to switch the display mode of the display screen from the preset common mode under the normal use condition to the preset driving mode; meanwhile, after the driver finishes driving the vehicle, the switching virtual key is selected, and the display mode is switched from the preset driving mode to the preset common mode under the normal use condition.
In addition, an automatic switching mechanism between a preset driving mode and a preset common mode is further arranged, and specifically, a displacement sensor or a speed sensor and other sensors which can be used for detecting whether the terminal generates displacement are installed in the terminal in advance; when the sensor detects that the terminal generates displacement, the terminal is in a moving state due to the action of the owner of the terminal, otherwise, the terminal is in a non-moving static state due to the static state of the owner of the terminal. After the terminal is determined to be in the moving state, further detecting a moving speed corresponding to the moving state through a sensor, wherein the moving speed represents the moving speed of a terminal holder; in order to determine the moving speed, a preset speed threshold is preset, the moving speed corresponding to the moving state is compared with the preset speed threshold, and whether the moving speed is greater than the preset speed threshold is judged. If the moving speed is greater than the preset speed threshold value, the moving speed is relatively high, and the terminal holder is judged to be driving the vehicle; and thus, a generating mechanism for generating a mode switching instruction is started, and the mode switching instruction is generated through the generating mechanism so as to switch the display mode to the preset driving mode. If the moving speed is judged to be not greater than the preset speed threshold value, the moving speed is relatively low, the terminal holder is judged not to be driving the vehicle and possibly walking or running, the display mode does not need to be switched, and the current normal use preset common mode is kept. In addition, if the terminal is changed from the moving state to the static state, the current display mode is the preset driving mode, or the moving speed is reduced to be smaller than the preset speed threshold value, the terminal holder stops driving the vehicle; at the moment, the display mode is switched to a preset common mode so as to facilitate the normal use of the terminal holder; the preset driving mode and the preset common mode are automatically switched through the moving speed, manual operation is not needed, and the automation and intelligent degree of display mode switching are improved.
Furthermore, the selection instruction for switching the virtual key and the mode switching instruction generated by the generation mechanism are both used as the mode switching instruction received by the display screen, and when the control center detects that the display screen receives the mode switching instruction, the display mode of the display screen is switched to the preset driving mode, and the preset driving mode is displayed in the display screen.
Step S20, when instant messaging information based on the preset driving mode is received, converting the instant messaging information into a first sound signal, and playing the first sound signal;
further, when instant messaging information of certain instant messaging software is received in a preset driving mode, the instant messaging information is converted into a first sound signal, and after the conversion is completed, the converted first sound signal is automatically played, so that a driver serving as a terminal holder can know the content of the instant messaging information without manually clicking to view the content of the instant messaging information. Understandably, the instant messaging information may exist in the form of voice information, and at this time, the received instant messaging information is directly played as the first voice signal without conversion. Only when the instant communication information does not exist in the form of voice information but exists in the form of text information, the instant communication information is converted; when the conversion is performed, the character pronunciation corresponding to the character information is identified, and then the pronunciation is formed into a first sound signal for playing.
In addition, considering that the volume played by the terminal has settable characteristics, the volume played by the first sound signal may be larger or smaller; in order to facilitate the listening of the terminal holder, the volume currently set by the terminal is detected before playing, and the volume that other terminal holders are accustomed to listening to or the volume that the terminal holder is accustomed to listening to in the past is collected in advance, and the reference volume is generated according to the volume that is accustomed to listening to. Comparing the detected current volume with the reference volume, and adjusting the current volume according to the comparison result; and adjusting the current volume to be close to the reference volume so as to ensure that the current volume is in a customary range. Meanwhile, the environment volume can be detected, and the current volume is adjusted by combining the environment volume, so that the situation that the listening of the terminal holder to the first sound signal is influenced by the overlarge environment volume is avoided.
And step S30, when a sending request triggered based on the preset driving mode is received, starting a radio reception function of the terminal to collect sound, and sending the collected sound to a receiver corresponding to the sending request as a second sound signal, wherein the second sound signal is instant messaging information to be sent.
Furthermore, each area divided by the display screen in the preset driving mode comprises a trigger area for triggering the sending of the instant messaging information; when the terminal holder has a requirement for sending instant messaging information in the process of driving the vehicle or a requirement for replying the received instant messaging information, point touch operation is carried out in the trigger area, and a sending request is triggered through the point touch operation. When the control center detects the sending request, the radio function of the terminal is started, and the radio function is realized through a microphone and other communication devices in the terminal. After the radio reception function is started, the sound in the environment where the terminal is located can be collected, and at the moment, a terminal holder can form to-be-sent instant communication information to be sent by speaking; and the sound receiving function collects the speaking sound content and sends the speaking sound content as a second sound signal to a receiver corresponding to the sending request, wherein the second sound signal is the instant communication information to be sent. Under the preset driving mode, the instant messaging information can be sent only by key touch operation, so that the condition that the instant messaging information is input by a terminal holder as a driver through a long-time operation terminal is avoided, and the driving safety is improved.
According to the method for receiving and sending the instant messaging information, when the display screen of the detection terminal receives the mode switching instruction, the display mode of the display screen is switched to the preset driving mode for displaying, and the received and sent instant messaging information is processed in a sound signal mode in the preset driving mode; when instant messaging information is received in a preset driving mode, converting the instant messaging information into a first sound signal and playing the first sound signal; and when the sending request is received in the preset driving mode and the sending requirement of the instant messaging information is met, starting a radio function of the terminal, collecting sound through the radio function, and sending the collected sound to a corresponding receiver set by the sending request as a second sound signal, wherein the second sound signal is the instant messaging information needing to be sent, namely the instant messaging information to be sent. The scheme converts the received instant messaging information into first sound information through a preset driving mode and automatically plays the first sound information, and generates the instant messaging information to be sent into a second sound signal to be sent, so that the situation that the instant messaging information is manually clicked and the content is checked in the process of driving a vehicle and the information is manually returned is avoided; the driver does not need to pay much attention to instant messaging information and operate a display screen in the driving process, the driving safety is improved, and traffic accidents are avoided to a great extent.
Further, in another embodiment of the instant messaging information transceiving method of the present invention, the step of converting the instant messaging information into a first sound signal and playing the first sound signal includes:
step S21, reading a display control corresponding to the instant messaging information in the display screen, and determining the information attribute of the instant messaging information according to the control attribute of the display control;
step S22, if the information attribute is a character attribute, converting characters in the instant messaging information into a first sound signal and playing the first sound signal;
understandably, in order to realize the display of various display contents by the display screen, a plurality of types of display controls are arranged; such as a display control for displaying text information, a display control for displaying picture information, a display control for displaying sound information, and the like; different display controls have different control attributes to distinguish between the types of display controls. After receiving instant messaging information in a preset driving mode and displaying the instant messaging information in a display screen, reading a display control for displaying the instant messaging information by the display screen, capturing a control attribute of the display control, and determining an information attribute of the instant messaging information according to the control attribute.
Further, when the control attribute representation display control is a control for displaying text information, it indicates that the information attribute of the instant messaging information is a text attribute, that is, the received instant messaging information exists in a text information form, and needs to be converted into a first sound signal and played. Specifically, the step of converting the text in the instant messaging information into a first sound signal and playing the first sound signal comprises:
step S221, reading characters in the instant messaging information, comparing each character with a preset voice character library one by one, and determining voice corresponding to each character;
step S222, sorting the voices according to the arrangement order relationship between the characters to generate a first voice signal and play the first voice signal.
Furthermore, a preset voice character library is preset, and the preset voice character library includes a plurality of pairs of corresponding relations between characters and voice, and each corresponding relation may exist in the form of a key value pair (key _ value). The character is used as a key, the voice corresponding to the character is used as a value, a key value pair is formed between the character and the value, and the voice corresponding to the character is searched for as the value through the character as the key. When the instant messaging information is converted, screen capturing processing is carried out on the instant messaging information displayed on a display screen to obtain the instant messaging information; and reading each character in the instant messaging information one by one for recognition, comparing each recognized character with a preset voice character library, and determining the voice corresponding to the recognized character in the preset voice character library. After all the characters in the instant messaging information are recognized, sequencing all the voices according to the front-back arrangement sequence relation among the read characters, and generating a first sound signal to play after the sequencing is completed. In addition, a mechanism for playing the recognized fonts one by one can be set, namely, after one character is read and the corresponding voice is recognized, the corresponding voice is output and played until each character in the instant messaging information is recognized to obtain the voice and played. The first sound signal corresponding to the instant messaging information is generated and played completely, and the terminal holder can hear the first sound signal in a short time in a text-by-text playing mode; however, the complete playing of the first sound signal can shorten the time for the terminal holder to listen to the first sound signal, and the terminal holder can set the listening mode autonomously according to the requirements, so as to meet the requirements of different terminal users.
Step S23, if the information attribute is a voice attribute, playing the instant messaging information;
and step S24, if the information attribute is other attribute, generating voice prompt information and playing.
Further, when the control attribute representation display control is a control for displaying voice information, it is indicated that the information attribute of the instant messaging information is the voice attribute, that is, the received instant messaging information exists in the form of voice information without performing conversion operation on the received instant messaging information, and the received instant messaging information is directly played as a first sound signal.
In addition, the received instant messaging information is considered to relate to information such as pictures and expressions besides voice information and character information, and the information is taken as other information; when the read control attribute representation display control is a control for displaying other information, the information attribute of the instant messaging information is not a voice attribute, is not a character attribute, but represents other attributes of the other information; at the moment, voice prompt information is generated and output to prompt the instant messaging information received at present to be other information, and a terminal holder does not need to pay attention to the instant messaging information in the driving process.
Further, in another embodiment of the instant messaging information transceiving method of the present invention, the step of starting a radio function of the terminal to collect sound and sending the collected sound as a second sound signal to a receiver corresponding to the sending request includes:
step S31, starting a radio reception function of the terminal, and detecting whether sound is collected within a first preset time;
step S32, if the sound is collected, detecting a stopping point of the sound, and judging whether the stopping time of the stopping point is greater than a second preset time;
and step S33, if the time is longer than a second preset time, sending the collected sound as a second sound signal to a receiver corresponding to the sending request.
Furthermore, a first preset time representing the delay time is preset according to the requirement, when a trigger sending request of a specific trigger area of a terminal holder in a preset driving mode is detected, a radio receiving function of the terminal equipment is started, and whether sound is collected within the first preset time after the radio receiving function is started is detected; the complete starting of the radio reception function is ensured through the first preset time as the delay time, and the condition that no sound is collected for a long time is avoided.
When detecting that the sound is collected within the first preset time, further detecting a stopping point of the sound, wherein the stopping point is a stopping point of the speaking of the terminal holder and a discontinuous point appearing in the sound collecting process. Presetting a second preset time representing the pause time length, reading the stop time representing the stop time length of the stop point after detecting the stop point, comparing the stop time with the second preset time, and judging whether the stop time is greater than the second preset time. If the time is longer than the second preset time, the pause time is over long, the pause point is used as the point that the speaking of the terminal holder is completed, the sound collected before the pause point is used as a second sound signal, and the second sound signal is sent to the receiving party corresponding to the sending request. A terminal holder only needs to perform point touch operation in a specific area under a preset driving mode, and can transmit instant messaging information in a speaking mode; the instant messaging information is prevented from being sent in a mode of long-time pressing of a talk button on a terminal screen to perform voice input or manual character input, hands are liberated, and safe driving is facilitated.
Further, if no sound is collected within the first preset time, it indicates that the terminal holder does not speak after triggering the sending request, and at this time, the speaking prompt information is output to prompt the terminal holder to speak to collect the sound as the instant messaging information to be sent. And after the speaking prompt message is output, timing operation is carried out again, and whether the sound is collected within the new first preset time is judged until the sound is collected or the terminal holder cancels the sending request for sending the instant messaging information.
In addition, a mechanism for judging whether the speaking is finished or not through the end information in the voice is also arranged after the terminal holder is judged to finish the speaking through the second preset time; specifically, the step of determining whether the stop time of the stop point is greater than a second preset time includes:
step S34, if the stop time is not more than the second preset time, analyzing the sound, and judging whether end information exists in the sound;
and step S35, if the end information exists, transmitting the collected sound as a second sound signal to a receiving party corresponding to the transmission request.
Furthermore, if the time of the hall is judged not to be greater than the second preset time, the collected sounds are analyzed, and only the preset sound signal which is closest to the current time in the collected sounds is analyzed, so that whether the end information representing the completion of the speaking exists in the speaking content of the terminal holder or not is judged. If collected sound is 'working tired today, people want to go back to rest early and do not feel boring first and then see', wherein a preset sound signal closest to the current time is 'do not feel boring first and then see'. End characters for representing the completion of speaking, such as 'baibaiye', 'bye', 'next chat', and the like, are preset; and analyzing the preset sound signals to generate analyzed characters, comparing the analyzed characters with the ending characters, and judging whether the analyzed characters exist in the ending characters or not. If the voice exists, the voice is judged to have the end information, the terminal holder is described to finish speaking, and the voice collected before is sent to the receiver corresponding to the sending request as second voice information. Whether the collection of the second sound signal is finished or not is judged through the combination of the end information and the second preset time, and the collection and sending time of the second sound signal is reduced under the condition that the sound obviously has end characters.
Further, in another embodiment of the instant messaging information transceiving method according to the present invention, the step of when receiving the transmission request triggered based on the preset driving mode comprises:
step a1, when point touch operation sent based on the preset driving mode is detected, determining an operation area corresponding to the point touch operation;
step a2, when the operation area corresponds to a first display area in the preset driving mode, switching the display content of the display screen into a communication list corresponding to the instant messaging information;
step a3, when the operation area corresponds to a second display area in the preset driving mode, determining the point touch operation as a sending request triggered based on the preset driving mode;
and a4, when the operation area corresponds to a third display area in the preset driving mode, switching the display mode of the display screen from the preset driving mode to a preset common mode.
In the embodiment, in order to facilitate the terminal holder to operate the terminal display screen in the driving process, the display screen is divided into three display areas in the preset driving mode; referring to fig. 4, the three display areas are a first display area for returning a communication list corresponding to the instant messaging information, a second display area for triggering a transmission request, and a third display area for switching the preset driving mode to the preset normal mode, respectively. The terminal holder can perform point touch operation on any one of the display areas in the preset driving mode, and when the point touch operation sent in the preset driving mode is detected, the operation area corresponding to the point touch operation is determined firstly, namely the terminal holder performs the point touch operation in the display area. The operating area can be determined by a two-dimensional plane coordinate system preset in the terminal, different display areas correspond to different coordinate value ranges, point touch coordinate values corresponding to point touch operation are compared with the coordinate value ranges, and a target coordinate value range where the point touch coordinate values are located is determined; and the display area corresponding to the target coordinate value range is the operation area corresponding to the point touch operation.
Further, when the operation area is determined to be the first display area, that is, the terminal holder triggers the point touch operation in the first display area, it indicates that the terminal holder has a need to return to the communication list; the communication list is a list of the communication receiving and sending persons corresponding to the instant communication information, and the display content of the display screen is switched to the communication list, so that the terminal holder can select the required communication person to send the instant communication information. When the operation area is determined to be the second display area, namely the terminal holder triggers the point touch operation in the second display area, the terminal holder is indicated to have the requirement of sending the instant messaging information; and determining the point touch operation as a transmission request triggered based on a preset driving mode so as to start a sound receiving function, collect sound, generate a second sound signal and transmit the second sound signal. When the operation area is determined to be the third display area, namely the terminal holder triggers the point touch operation in the third display area, the terminal holder is indicated to have the requirement for switching the display mode; and at the moment, the display mode of the display screen is switched from the preset driving mode to the preset common mode, so that the terminal holder can normally use the terminal.
Understandably, the display screens of different terminals have different display sizes, and the display sizes used by different terminal users to operate different display areas are different. Dividing the display area into display areas with equal area size by default if the terminal is in the state that the first display area, the second display area and the third display area have the same display size; the terminal user is used to operate in the second display area with a larger display size, and if the display size of the display screen is smaller as a whole, the display size of the second display area is correspondingly smaller. In order to fit the operation habit of the terminal user, a mechanism for adjusting the display areas of the first display area, the second display area and the third display area in a preset driving mode is arranged; specifically, the step of switching the display mode of the display screen to the preset driving mode display includes:
step b1, when an adjusting instruction for each display area in the display screen is received, adjusting operation is carried out between the first display area and the second display area and/or between the second display area and the third display area according to the adjusting instruction;
b2, reading the area areas of the first display area, the second display area and the third display area after the adjustment operation, and judging whether a target area smaller than a preset area threshold value exists in each area;
and b3, if the target area smaller than a preset area threshold exists, adjusting the area of the target area according to the preset area threshold, and outputting preset prompt information.
Furthermore, boundary lines of respective boundaries are formed among the first display region, the second display region and the third display region, and the requirement of the terminal holder for adjusting the display area of each display region can be met by adjusting the respective boundary lines. Specifically, referring to fig. 5, a terminal holder performs a drag operation on a boundary line, and the drag operation is used as an instruction for adjusting each display area in a display screen; and when receiving the adjusting instruction, the control center adjusts between the first display area and the second display area and/or between the second display area and the third display area according to the adjusting instruction. If the adjustment instruction is used for adjusting the boundary between the first display area and the second display area, adjusting the area of the first display area and the area of the second display area; if the adjustment instruction is adjusted according to a boundary line between the second display area and the third display area, adjusting the area of the second display area and the area of the third display area; if the adjustment instruction is simultaneously adjusted for the boundary lines between the first display region and the second display region and between the second display region and the third display region, the region areas of the three display regions are simultaneously adjusted.
Understandably, in order to ensure the safety of the terminal holder in the terminal operation process, a preset area threshold value representing the minimum area is preset, and the area of each display area cannot be smaller than the preset area threshold value, so that the situation that the operation area in each area is smaller and the terminal holder is inconvenient to operate is avoided. After the area of each display area in the display screen is adjusted, the adjusted area of each display area is read, that is, the area of each of the first display area, the second display area and the third display area is read. Then, comparing the area of each region with a preset area threshold value respectively, and judging whether a target region area with an area value smaller than the preset area threshold value exists in the area of each region; if the target area exists, the operable area of the target area is smaller, the area of the target area is adjusted according to a preset area threshold, and the area of the target area is adjusted to be the same size as the preset area threshold. Meanwhile, preset prompt information is output to inform the terminal holder that the area of the target area cannot be smaller than a preset area threshold value. Adjusting the area of each display area in the display screen to enable the area of each display area to meet the operation habit of a terminal holder; while defining a preset area threshold to ensure that the available area for operation is within a reasonable range.
The present invention provides a computer readable storage medium storing one or more programs, the one or more programs further executable by one or more processors for:
when a display screen of a detection terminal receives a mode switching instruction, switching the display mode of the display screen into a preset driving mode for display;
when instant messaging information based on the preset driving mode is received, converting the instant messaging information into a first sound signal, and playing the first sound signal;
and when a sending request triggered based on the preset driving mode is received, starting a radio reception function of the terminal to collect sound, and sending the collected sound to a receiver corresponding to the sending request as a second sound signal, wherein the second sound signal is instant messaging information to be sent.
Further, the step of converting the instant messaging information into a first sound signal and playing the first sound signal includes:
reading a display control corresponding to the instant messaging information in the display screen, and determining the information attribute of the instant messaging information according to the control attribute of the display control;
if the information attribute is a character attribute, converting characters in the instant messaging information into a first sound signal and playing the first sound signal;
if the information attribute is a voice attribute, playing the instant messaging information;
and if the information attribute is other attributes, generating voice prompt information and playing the voice prompt information.
Further, the step of converting the text in the instant messaging information into a first sound signal and playing the first sound signal comprises:
reading characters in the instant messaging information, comparing each character with a preset voice character library one by one, and determining voice corresponding to each character;
and sequencing the voices according to the arrangement sequence relation among the characters to generate a first voice signal and play the first voice signal.
Further, the step of starting the sound reception function of the terminal to collect sound and sending the collected sound as a second sound signal to a receiver corresponding to the sending request includes:
starting a radio reception function of the terminal, and detecting whether sound is collected within a first preset time;
if the sound is collected, detecting a stopping point of the sound, and judging whether the stopping time of the stopping point is greater than a second preset time;
and if the time is longer than the second preset time, sending the collected sound as a second sound signal to a receiver corresponding to the sending request.
Further, after the step of determining whether the stopping time of the stopping point is greater than a second preset time, the one or more programs may be further executable by the one or more processors for:
if the stopping time is not more than the second preset time, analyzing the sound, and judging whether end information exists in the sound;
and if the end information exists, sending the collected sound as a second sound signal to a receiving party corresponding to the sending request.
Further, the one or more programs may be further executable by the one or more processors for, prior to the step of when receiving a request to send based on the preset driving mode trigger:
when the point touch operation sent based on the preset driving mode is detected, determining an operation area corresponding to the point touch operation;
when the operation area corresponds to a first display area in the preset driving mode, switching the display content of the display screen into a communication list corresponding to the instant messaging information;
when the operation area corresponds to a second display area in the preset driving mode, determining the point touch operation as a sending request triggered based on the preset driving mode;
and when the operation area corresponds to a third display area in the preset driving mode, switching the display mode of the display screen from the preset driving mode to a preset common mode.
Further, after the step of switching the display mode of the display screen to a preset driving mode display, the one or more programs may be further executable by one or more processors for:
when an adjusting instruction for each display area in the display screen is received, adjusting operation is carried out between the first display area and the second display area and/or between the second display area and the third display area according to the adjusting instruction;
reading the area areas of the first display area, the second display area and the third display area after the adjustment operation, and judging whether a target area smaller than a preset area threshold value exists in each area;
and if the target area smaller than the preset area threshold exists, adjusting the area of the target area according to the preset area threshold, and outputting preset prompt information.
Further, before the step of detecting that the display screen of the terminal receives the mode switching instruction, the one or more programs may be further executable by the one or more processors to:
when the terminal is detected to be in a moving state, detecting a moving speed corresponding to the moving state;
and judging whether the moving speed is greater than a preset speed threshold, if so, starting a generating mechanism corresponding to the mode switching instruction to generate the mode switching instruction.
The specific implementation manner of the computer-readable storage medium of the present invention is substantially the same as that of the embodiments of the method for receiving and sending instant messaging information, and is not described herein again.
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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages 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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A method for receiving and sending instant messaging information is characterized by comprising the following steps:
when a display screen of a detection terminal receives a mode switching instruction, switching the display mode of the display screen into a preset driving mode for display;
when instant messaging information based on the preset driving mode is received, converting the instant messaging information into a first sound signal, and playing the first sound signal;
when a sending request triggered based on the preset driving mode is received, starting a radio reception function of the terminal to collect sound, and sending the collected sound as a second sound signal to a receiver corresponding to the sending request, wherein the second sound signal is instant messaging information to be sent;
the step of starting the radio function of the terminal to collect sound and sending the collected sound as a second sound signal to a receiver corresponding to the sending request comprises the following steps:
starting a radio receiving function of the terminal, and detecting whether sound is collected within a first preset time;
if the sound is collected, detecting a stopping point of the sound, and judging whether the stopping time of the stopping point is greater than a second preset time;
and if the time is longer than the second preset time, sending the collected sound serving as a second sound signal to a receiver corresponding to the sending request.
2. The method for transceiving instant messaging information according to claim 1, wherein the step of converting the instant messaging information into a first sound signal and playing the first sound signal comprises:
reading a display control corresponding to the instant messaging information in the display screen, and determining the information attribute of the instant messaging information according to the control attribute of the display control;
if the information attribute is a character attribute, converting characters in the instant messaging information into a first sound signal and playing the first sound signal;
if the information attribute is a voice attribute, playing the instant messaging information;
and if the information attribute is other attributes, generating voice prompt information and playing the voice prompt information.
3. The method for transceiving instant messaging information according to claim 2, wherein the step of converting the text in the instant messaging information into a first voice signal and playing the first voice signal comprises:
reading characters in the instant messaging information, comparing each character with a preset voice character library one by one, and determining voice corresponding to each character;
and sequencing the voices according to the arrangement sequence relation among the characters to generate a first voice signal and play the first voice signal.
4. The method for transceiving instant messaging information according to claim 1, wherein the step of determining whether the stop time of the stop point is greater than a second predetermined time comprises:
if the stopping time is not longer than the second preset time, analyzing the sound, and judging whether ending information exists in the sound or not;
and if the end information exists, sending the collected sound as a second sound signal to a receiving party corresponding to the sending request.
5. The method for transceiving instant messaging information according to any one of claims 1 to 4, wherein the step when receiving the transmission request triggered based on the preset driving mode is preceded by:
when the point touch operation sent based on the preset driving mode is detected, determining an operation area corresponding to the point touch operation;
when the operation area corresponds to a first display area in the preset driving mode, switching the display content of the display screen into a communication list corresponding to the instant messaging information;
when the operation area corresponds to a second display area in the preset driving mode, determining the point touch operation as a sending request triggered based on the preset driving mode;
and when the operation area corresponds to a third display area in the preset driving mode, switching the display mode of the display screen from the preset driving mode to a preset common mode.
6. The method for transceiving instant messaging information according to claim 5, wherein the step of switching the display mode of the display screen to a preset driving mode display is followed by:
when an adjusting instruction for each display area in the display screen is received, adjusting operation is carried out between the first display area and the second display area and/or between the second display area and the third display area according to the adjusting instruction;
reading the area areas of the first display area, the second display area and the third display area after the adjustment operation, and judging whether a target area smaller than a preset area threshold exists in each area;
and if the target area smaller than a preset area threshold exists, adjusting the target area according to the preset area threshold, and outputting preset prompt information.
7. The method for transceiving instant messaging information according to any one of claims 1 to 4, wherein the step of detecting when the display screen of the terminal receives the mode switching command comprises:
when the terminal is detected to be in a moving state, detecting a moving speed corresponding to the moving state;
and judging whether the moving speed is greater than a preset speed threshold, if so, starting a generation mechanism corresponding to the mode switching instruction to generate the mode switching instruction.
8. A terminal, characterized in that the terminal comprises: the instant messaging system comprises a memory, a processor, a communication bus and a transceiving program of instant messaging information stored on the memory, wherein the memory comprises the following steps:
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the instant messaging information transceiving program to realize the steps of the instant messaging information transceiving method according to any one of claims 1 to 7.
9. A computer-readable storage medium, wherein an instant messenger transceiving program is stored on the computer-readable storage medium, and when executed by a processor, implements the steps of the instant messenger transceiving method according to any one of claims 1 to 7.
CN201910206013.7A 2019-03-18 2019-03-18 Method for transmitting and receiving instant messaging information, terminal and computer readable storage medium Active CN109831375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910206013.7A CN109831375B (en) 2019-03-18 2019-03-18 Method for transmitting and receiving instant messaging information, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910206013.7A CN109831375B (en) 2019-03-18 2019-03-18 Method for transmitting and receiving instant messaging information, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109831375A CN109831375A (en) 2019-05-31
CN109831375B true CN109831375B (en) 2022-12-06

Family

ID=66870846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910206013.7A Active CN109831375B (en) 2019-03-18 2019-03-18 Method for transmitting and receiving instant messaging information, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109831375B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110379408A (en) * 2019-07-24 2019-10-25 中山安信通机器人制造有限公司 Method, computer installation and the computer readable storage medium of speech communication in a kind of driving
CN112737920B (en) * 2020-12-16 2022-10-04 交通运输部南海航海保障中心广州通信中心 Multi-party instant messaging system based on audio energy detection
CN114760257A (en) * 2021-01-08 2022-07-15 上海博泰悦臻网络技术服务有限公司 Commenting method, electronic device and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817479A (en) * 2015-12-01 2017-06-09 腾讯科技(深圳)有限公司 The treating method and apparatus of instant communication information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101363866B1 (en) * 2013-03-13 2014-02-20 에스케이플래닛 주식회사 Method for generating of voice message, apparatus and system for the same
US9706299B2 (en) * 2014-03-13 2017-07-11 GM Global Technology Operations LLC Processing of audio received at a plurality of microphones within a vehicle
CN105227746A (en) * 2014-06-09 2016-01-06 中兴通讯股份有限公司 Mobile terminal driving model control method, device and mobile terminal
CN106371740A (en) * 2015-07-23 2017-02-01 中兴通讯股份有限公司 Driving mode switching method and device
US10708725B2 (en) * 2017-02-03 2020-07-07 T-Mobile Usa, Inc. Automated text-to-speech conversion, such as driving mode voice memo

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817479A (en) * 2015-12-01 2017-06-09 腾讯科技(深圳)有限公司 The treating method and apparatus of instant communication information

Also Published As

Publication number Publication date
CN109831375A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN107835464B (en) Video call window picture processing method, terminal and computer readable storage medium
CN108289244B (en) Video subtitle processing method, mobile terminal and computer readable storage medium
CN108572764B (en) Character input control method and device and computer readable storage medium
CN108196750B (en) Screen interface screenshot method and device and computer-readable storage medium
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN107885448B (en) Control method for application touch operation, mobile terminal and readable storage medium
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN109831375B (en) Method for transmitting and receiving instant messaging information, terminal and computer readable storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN109542325B (en) Double-sided screen touch method, double-sided screen terminal and readable storage medium
CN108536383B (en) Game control method, game control equipment and computer readable storage medium
CN112764704A (en) Screen projection method and system, screen projection equipment, mobile equipment and storage medium
CN107422956B (en) Mobile terminal operation response method, mobile terminal and readable storage medium
CN110381202B (en) Display adjustment method, mobile terminal and computer-readable storage medium
CN108579081B (en) Event processing method, device and computer storage medium based on game
CN108153477B (en) Multi-touch operation method, mobile terminal and computer-readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN112102780B (en) Display frame rate regulation and control method, device and computer readable storage medium
CN109918015B (en) Terminal response method, terminal and computer readable storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN111443850A (en) Terminal operation method, terminal and storage medium
CN107807876B (en) Split screen display method, mobile terminal and storage medium
CN112306328B (en) Control method of mobile terminal, mobile terminal and storage medium
CN109558049B (en) Notification message display processing method, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221118

Address after: 1204, University Town Entrepreneurship Park, No. 10, Lishan Road, Pingshan Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Shenzhen Groud Technology Co.,Ltd.

Address before: 518057 Dazu Innovation Building, 9018 Beihuan Avenue, Nanshan District, Shenzhen City, Guangdong Province, 6-8, 10-11, 6 and 6-10 floors in Area A, B and C

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Instant messaging messaging methods, terminals, and computer-readable storage media

Effective date of registration: 20230926

Granted publication date: 20221206

Pledgee: Shenzhen Rural Commercial Bank Co.,Ltd. Nanshan Sub branch

Pledgor: Shenzhen Groud Technology Co.,Ltd.

Registration number: Y2023980059282

PE01 Entry into force of the registration of the contract for pledge of patent right